| | |
| | | public void OnBeforePlayerDataInitialize()
|
| | | {
|
| | | isBossPass = false;
|
| | | SysNotifyMgr.Instance.OnSystemNotifyEvent -= OnSystemNotifyEvent;
|
| | | }
|
| | |
|
| | | public void OnPlayerLoginOk()
|
| | | {
|
| | | redpointDirty = true;
|
| | |
|
| | | SysNotifyMgr.Instance.OnSystemNotifyEvent -= OnSystemNotifyEvent;
|
| | | SysNotifyMgr.Instance.OnSystemNotifyEvent += OnSystemNotifyEvent;
|
| | | }
|
| | |
|
| | | public override void UnInit()
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private void OnSystemNotifyEvent(string key)
|
| | | {
|
| | | if (key == "BigRealmUpSuccess")
|
| | | {
|
| | | if (WindowCenter.Instance.IsOpen<MainInterfaceWin>()
|
| | | && !WindowCenter.Instance.ExistAnyFullScreenOrMaskWin())
|
| | | {
|
| | | EffectMgr.Instance.PlayUIEffect(7047, 1800, WindowCenter.Instance.uiRoot.baseCanvas, false);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | private void PlayerDataRefreshEvent(PlayerDataType dataType)
|
| | | {
|
| | | if (dataType == PlayerDataType.RealmLevel
|