| | |
| | | public Dictionary<PhantasmPavilionTab, int> nowIDDict = new Dictionary<PhantasmPavilionTab, int>();
|
| | |
|
| | | // 幻境阁入口红点 459
|
| | | Redpoint mainRedPoint = new Redpoint(MainRedDot.PhantasmPavilionRepoint);
|
| | | Redpoint mainRedPoint = new Redpoint(10101, MainRedDot.PhantasmPavilionRepoint);
|
| | |
|
| | | //标签页红点 4591 - 4594
|
| | | public Dictionary<PhantasmPavilionTab, Redpoint> tabRedPointDict = new Dictionary<PhantasmPavilionTab, Redpoint>();
|
| | |
| | | public override void Init()
|
| | | {
|
| | | PlayerDatas.Instance.playerDataRefreshEvent += OnPlayerDataRefreshEvent;
|
| | | packModel.refreshItemCountEvent += OnRefreshItemCountEvent;
|
| | | InitHandler();
|
| | | InitTable();
|
| | | InitRedPoint();
|
| | |
| | | public override void UnInit()
|
| | | {
|
| | | PlayerDatas.Instance.playerDataRefreshEvent -= OnPlayerDataRefreshEvent;
|
| | | packModel.refreshItemCountEvent -= OnRefreshItemCountEvent;
|
| | | }
|
| | |
|
| | | private void OnRefreshItemCountEvent(PackType type, int arg2, int arg3)
|
| | | {
|
| | | UpdateRedPoint();
|
| | | }
|
| | |
|
| | | public void OnPlayerLoginOk()
|