| | |
| | |
|
| | | using Snxxz.UI;
|
| | | using System;
|
| | | using System.Security.Cryptography;
|
| | |
|
| | | namespace EnhancedUI.EnhancedScroller
|
| | | {
|
| | |
| | | [SerializeField] Image m_TitleEquipImg;
|
| | | [SerializeField] Button m_TitleGetBtn;
|
| | | [SerializeField] RectTransform m_ContainerNewGet;
|
| | | [SerializeField] Button m_StarBtn;
|
| | | [SerializeField] Text m_StarTxt;
|
| | | [SerializeField] RedpointBehaviour redpoint;
|
| | |
|
| | | TitleModel m_Model;
|
| | | TitleModel model
|
| | |
| | | }
|
| | | });
|
| | | }
|
| | |
|
| | | if (titleData == null || !TitleStarUpConfig.titleIDToIDs.ContainsKey(_titleId))
|
| | | {
|
| | | m_StarBtn.SetActive(false);
|
| | | redpoint.redpointId = 0;
|
| | | }
|
| | | else
|
| | | {
|
| | | redpoint.redpointId = 1010104 * 1000 + _titleId;
|
| | | m_StarBtn.SetActive(true);
|
| | | m_StarTxt.text = Language.Get("EquipStar11", model.GetTitleStar(_titleId));
|
| | | m_StarBtn.AddListener(() =>
|
| | | {
|
| | | model.selectTitleId = _titleId;
|
| | | WindowJumpMgr.Instance.WindowJumpToEx("TitleStarUpWin");
|
| | | });
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnTitleUseClick(int _index)
|