| | |
| | | [SerializeField] Text m_ConfirmLabel;
|
| | | [SerializeField] Button m_Rule;
|
| | | [SerializeField] Button m_ViewQuality;
|
| | | [SerializeField] Button m_Gift;
|
| | | [SerializeField] int m_GiftType = 11;
|
| | | [SerializeField] int m_JumpGiftType = 224;
|
| | |
|
| | | Dictionary<int, int> currentPropertyDict = new Dictionary<int, int>();
|
| | | Dictionary<int, int> upPropertyDict = new Dictionary<int, int>();
|
| | |
| | |
|
| | | ReikiRootModel model { get { return ModelCenter.Instance.GetModel<ReikiRootModel>(); } }
|
| | | TreasureSkillModel treasureSkillModel { get { return ModelCenter.Instance.GetModel<TreasureSkillModel>(); } }
|
| | | OSGiftModel giftModel { get { return ModelCenter.Instance.GetModel<OSGiftModel>(); } }
|
| | |
|
| | | #region Built-in
|
| | | protected override void BindController()
|
| | |
| | | m_Rule.AddListener(OnRule);
|
| | | m_GetPath.AddListener(GetPath);
|
| | | m_ViewQuality.AddListener(ViewQuality);
|
| | | m_Gift.AddListener(GotoGift);
|
| | |
|
| | | m_NumKeyboard.onValueChange.AddListener(OnPointValChange);
|
| | | m_NumKeyboard.onConfirm.AddListener((bool isOk) =>
|
| | |
| | | PlayerDatas.Instance.playerDataRefreshEvent += PlayerDataRefreshEvent;
|
| | | ReikiFuncOpenWin.onFlyComplete += OnFlyComplete;
|
| | | model.onReikiRootPointRefresh += OnReikiRootPointRefresh;
|
| | |
|
| | | m_Gift.gameObject.SetActive(giftModel.IsGiftExist(m_GiftType));
|
| | |
|
| | | Display();
|
| | | }
|
| | |
| | | {
|
| | | propertyRefreshDirty = true;
|
| | | }
|
| | |
|
| | | private void GotoGift()
|
| | | {
|
| | | WindowJumpMgr.Instance.WindowJumpTo((JumpUIType)m_JumpGiftType);
|
| | | }
|
| | | }
|
| | |
|
| | | }
|