少年修仙传客户端代码仓库
client_linchunjie
2019-03-19 5ae5afefacde39bb137271290d00bacc98835d67
6340  【前端】【2.0】境界改版开发单(修改境界表现)
2个文件已修改
25 ■■■■ 已修改文件
System/Realm/RealmModel.cs 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmWin.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmModel.cs
@@ -73,11 +73,15 @@
        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()
@@ -338,6 +342,18 @@
            }
        }
        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
System/Realm/RealmWin.cs
@@ -176,17 +176,16 @@
            if (model.SatisfyChallengeBoss(model.displayRealmLevel))
            {
                if (model.GetBossEffectShow(model.displayRealmLevel))
                {
                    DisplayEffectBoss();
                }
                else
                if (!model.GetBossEffectShow(model.displayRealmLevel))
                {
                    m_RealmAnimation.StartBossEffectShow();
                    m_GotoBoss.gameObject.SetActive(false);
                    model.SetBossEffectShow(model.displayRealmLevel);
                    return;
                }
            }
            DisplayEffectBoss();
        }
        void HideRealmUp()