少年修仙传客户端代码仓库
client_Wu Xijin
2018-09-26 f7dc33c89b3b90a8cbc5999062519e58a5b8fa19
3335 修理窗口管理api
125个文件已修改
676 ■■■■ 已修改文件
Core/GameEngine/Model/Player/Realm/PlayerRealmData.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Player/Realm/RealmModel.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/HA1_Sys/DTCA126_tagMCPrepareChangeMap.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Actor/UserInputHandler.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GA_NpcClientFunc.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GA_NpcCollect.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/MapTransferUtility.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/PreFightMission.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Stage/Dungeon/DungeonStage.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Stage/Dungeon/MapTransfer.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Stage/StageManager.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Achievement/AchievementModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Activity/ActivityModel.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Activity/ActivityNotifyWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/AssetVersion/InGameDownLoad.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/BlastFurnace/BlastFurnaceModel.cs 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/BossShow/BossShowModel.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Chat/ChatCenter.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Chat/ChatCtrl.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Chat/ChatSendComponent.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Chat/ChatTip.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Debug/DebugController.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dogz/DogzWin.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/DogzDungeon/DogzDungeonModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/DungeonFightWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/DungeonModel.cs 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/TargetBriefInfoWin.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/FairyAuTaskWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/FairyGrabBossModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/FairyModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/KingFairyModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/PlayerRedPacketDatas.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/UnionPanel.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairylandCeremony/FairylandCeremonyWin.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/FindPreciousSubscribeHintWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FriendSystem/New/FriendsModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HappyXB/HappyXBWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HeavenBattle/BattlePrepareCoolDownWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HeavenBattle/HeavenBattleModel.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/EquipDecomposeBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/BoxGetItemModel.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/PlayerPackModels.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/TreasureEffectModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/New/KnapSackEventMgr.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/ChatFrame.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/CoinTaskTipModel.cs 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/DefaultDialogueBoxWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/DialogueDuidanceWin.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/FeatureNoticeModel.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/FlyingShoesTask.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/FunctionForecastWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/HeadPortraitTip.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/HighSettingTip.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/MainInterfaceWin.cs 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/PlayerMainDate.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/PlayerTaskDatas.cs 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/PowerAddWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/RechargeTipWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskAllocation.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskBoxBGMWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskListTip.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TipPanel.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TopAnimationPlay.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Market/MarketWin.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Message/BattleHint.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Message/BossNotify.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Message/GMNotify.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Message/RichNormalEvent.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Mount/MountWin.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/NetLink/NetLinkWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/OSRedEnvelopeModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/OnlineRewardsModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/OpenServerGiftWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/RedEnvelopeModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Pet/PetAttributeMethods.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Pet/PetWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/PlayerDead/PlayerDeadModel.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/ActivateShow.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmBossShow.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Role/MagicianModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Role/MagicianWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Role/RolePanel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/RoleParticulars/RoleParticularModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/RolePromote/RoleResourceCell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Rune/RuneModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Rune/RunePanel.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Skill/SkillPanel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/StartCoroutine/CoroutineMgr.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Store/StoreModel.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/SystemSetting/SetFreeTimeWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/SystemSetting/SettingEffectMgr.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/SystemSetting/SystemSetWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Team/TeamFrameWin.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Team/TeamModel.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Tip/ConfirmCancel.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Tip/ExperienceGetWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Tip/FuncRules.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Tip/PlayerDetails.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Tip/ScrollTip.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Tip/ServerTipDetails.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Tip/SkillDetails.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Tip/SpGetWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/DragSelectComponent.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/FairyTreasureCollectPanelPattern5.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureExhibitionBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureLevelUpWin.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureMeridianBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureModel.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureSoulModel.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureUnlockCell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/FirstTimeRechargeModel.cs 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/FirstTimeRechargeWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/LimitedTimePackageModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/LimitedTimePackageWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/VipModel.cs 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/VipRechargeWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Voice/VoiceRecorder.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Welfare/AwardExchangeModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Welfare/WelfareWin.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/WindowBase/WindowCenter.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/WindowJump/WindowJumpMgr.cs 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/UI3DModelExhibition.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Utility/GMCommand.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Player/Realm/PlayerRealmData.cs
@@ -50,7 +50,7 @@
            {
                return;
            }
            if (!WindowCenter.Instance.CheckOpen<RealmUpHoldWin>() && !NewBieCenter.Instance.inGuiding && !BossShowModel.Instance.BossShowing)
            if (!WindowCenter.Instance.IsOpen<RealmUpHoldWin>() && !NewBieCenter.Instance.inGuiding && !BossShowModel.Instance.BossShowing)
            {
                WindowCenter.Instance.Open<RealmUpHoldWin>();
            }
Core/GameEngine/Model/Player/Realm/RealmModel.cs
@@ -70,7 +70,7 @@
            if (StageManager.Instance.CurrentStage is DungeonStage)
            {
                if (PlayerDatas.Instance.realm.holdDataList.Count > 0
                && !WindowCenter.Instance.CheckOpen<RealmUpHoldWin>() && !NewBieCenter.Instance.inGuiding && !BossShowModel.Instance.BossShowing)
                && !WindowCenter.Instance.IsOpen<RealmUpHoldWin>() && !NewBieCenter.Instance.inGuiding && !BossShowModel.Instance.BossShowing)
                {
                    WindowCenter.Instance.Open<RealmUpHoldWin>();
                }
@@ -89,7 +89,7 @@
                cacheRealmLv = PlayerDatas.Instance.baseData.realmLevel;
            }
            if (PlayerDatas.Instance.realm.holdDataList.Count > 0
                && !WindowCenter.Instance.CheckOpen<RealmUpHoldWin>() && !NewBieCenter.Instance.inGuiding && !BossShowModel.Instance.BossShowing)
                && !WindowCenter.Instance.IsOpen<RealmUpHoldWin>() && !NewBieCenter.Instance.inGuiding && !BossShowModel.Instance.BossShowing)
            {
                WindowCenter.Instance.Open<RealmUpHoldWin>();
            }
@@ -97,7 +97,7 @@
            {
                if (dungeonModel.dungeonResult.leaderID == PlayerDatas.Instance.PlayerId)
                {
                    if (!WindowCenter.Instance.CheckOpen<RealmWin>() && !NewBieCenter.Instance.inGuiding)
                    if (!WindowCenter.Instance.IsOpen<RealmWin>() && !NewBieCenter.Instance.inGuiding)
                    {
                        openByDungeonStep = cacheRealmLv < PlayerDatas.Instance.baseData.realmLevel;
                        WindowCenter.Instance.Open<RealmWin>();
@@ -112,7 +112,7 @@
            if (StageManager.Instance.CurrentStage is DungeonStage)
            {
                if (PlayerDatas.Instance.realm.holdDataList.Count > 0
               && !WindowCenter.Instance.CheckOpen<RealmUpHoldWin>() && !NewBieCenter.Instance.inGuiding && !BossShowModel.Instance.BossShowing)
               && !WindowCenter.Instance.IsOpen<RealmUpHoldWin>() && !NewBieCenter.Instance.inGuiding && !BossShowModel.Instance.BossShowing)
                {
                    WindowCenter.Instance.Open<RealmUpHoldWin>();
                }
Core/NetworkPackage/DTCFile/ServerPack/HA1_Sys/DTCA126_tagMCPrepareChangeMap.cs
@@ -49,7 +49,7 @@
            _mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig(_realMapDataID, DTCA127_tagMCStartChangeMap.LineID);
        }
        if (!WindowCenter.Instance.CheckOpen<LoadingWin>())
        if (!WindowCenter.Instance.IsOpen<LoadingWin>())
        {
            LoadingWin.targetMapResId = _mapResConfig.ID;
            WindowCenter.Instance.Open<LoadingWin>();
Fight/Actor/UserInputHandler.cs
@@ -42,7 +42,7 @@
    private void HandleKeyBoardInput()
    {
        if (WindowCenter.Instance.CheckOpen<GMInputWin>())
        if (WindowCenter.Instance.IsOpen<GMInputWin>())
        {
            return;
        }
Fight/GameActor/GA_NpcClientFunc.cs
@@ -69,7 +69,7 @@
                if (_configID > 0)
                {
                    if (!WindowCenter.Instance.CheckOpen<GuideDialogueWin>())
                    if (!WindowCenter.Instance.IsOpen<GuideDialogueWin>())
                    {
                        GuideDialogueModel _model = ModelCenter.Instance.GetModel<GuideDialogueModel>();
                        _model.dialogID = _configID;
Fight/GameActor/GA_NpcCollect.cs
@@ -152,7 +152,7 @@
        CheckCanCollect();
        m_IsMainWinOpen = WindowCenter.Instance.CheckOpen<MainInterfaceWin>();
        m_IsMainWinOpen = WindowCenter.Instance.IsOpen<MainInterfaceWin>();
        WindowCenter.Instance.windowAfterOpenEvent += CheckOpenCollectIcon;
        WindowCenter.Instance.windowAfterCloseEvent += AfterCloseMainWin;
@@ -222,7 +222,7 @@
        if (!m_IsMainWinOpen)
        {
            m_IsMainWinOpen = WindowCenter.Instance.CheckOpen<MainInterfaceWin>();
            m_IsMainWinOpen = WindowCenter.Instance.IsOpen<MainInterfaceWin>();
            return;
        }
Fight/MapTransferUtility.cs
@@ -404,7 +404,7 @@
            {
                if (_config.NPCType == (int)E_NpcType.OpenWorldMap)
                {
                    if (!WindowCenter.Instance.CheckOpen<WorldMapWin>())
                    if (!WindowCenter.Instance.IsOpen<WorldMapWin>())
                    {
                        WindowCenter.Instance.Open<WorldMapWin>();
                        if (_hero.State == E_ActorState.AutoRun)
Fight/PreFightMission.cs
@@ -618,7 +618,7 @@
        if (m_CheckFaBaoWinOpen)
        {
            if (WindowCenter.Instance.CheckOpen<TreasureSelectWin>())
            if (WindowCenter.Instance.IsOpen<TreasureSelectWin>())
            {
                Transform _temp = WindowCenter.Instance.uiRoot.normalCanvas.Find("TreasureSelectWin/Container_Treasures");
                _temp.localScale = Vector3.zero;
@@ -878,7 +878,7 @@
             skillContainer.transform.localScale = Vector3.one;
             // 普攻引导
             if (WindowCenter.Instance.CheckOpen<NewGuideWin>() == true)
             if (WindowCenter.Instance.IsOpen<NewGuideWin>() == true)
             {
                 WindowCenter.Instance.Close<NewGuideWin>();
             }
@@ -1177,7 +1177,7 @@
            return;
        }
        if (WindowCenter.Instance.CheckOpen<NewGuideWin>())
        if (WindowCenter.Instance.IsOpen<NewGuideWin>())
        {
            WindowCenter.Instance.Close<NewGuideWin>();
        }
Fight/Stage/Dungeon/DungeonStage.cs
@@ -196,14 +196,14 @@
                break;
            case 31080:
                {
                    if (!WindowCenter.Instance.CheckOpen<DungeonFairyLandWin>())
                    if (!WindowCenter.Instance.IsOpen<DungeonFairyLandWin>())
                    {
                        WindowCenter.Instance.Open<DungeonFairyLandWin>();
                    }
                }
                break;
            case 31150:
                if (!WindowCenter.Instance.CheckOpen<ElderGodAngerWin>())
                if (!WindowCenter.Instance.IsOpen<ElderGodAngerWin>())
                {
                    WindowCenter.Instance.Open<ElderGodAngerWin>();
                }
Fight/Stage/Dungeon/MapTransfer.cs
@@ -86,7 +86,7 @@
        }
        else if (transportModel.TransportType == 2)
        {
            if (!WindowCenter.Instance.CheckOpen<WorldMapWin>())
            if (!WindowCenter.Instance.IsOpen<WorldMapWin>())
            {
                WindowCenter.Instance.Open<WorldMapWin>();
                if (_hero.State == E_ActorState.AutoRun)
Fight/Stage/StageManager.cs
@@ -174,7 +174,7 @@
                case 2:
                    WindowCenter.Instance.DestoryWinsByStage(WindowCenter.WindowStage.Login);
                    WindowCenter.Instance.CloseOthers<LaunchBackGroundWin>();
                    if (!WindowCenter.Instance.CheckOpen<LaunchBackGroundWin>())
                    if (!WindowCenter.Instance.IsOpen<LaunchBackGroundWin>())
                    {
                        WindowCenter.Instance.Open<LaunchBackGroundWin>(true);
                    }
@@ -184,7 +184,7 @@
                case 1:
                    WindowCenter.Instance.DestoryWinsByStage(WindowCenter.WindowStage.Launch);
                    WindowCenter.Instance.CloseOthers<LaunchBackGroundWin>();
                    if (!WindowCenter.Instance.CheckOpen<LaunchBackGroundWin>())
                    if (!WindowCenter.Instance.IsOpen<LaunchBackGroundWin>())
                    {
                        WindowCenter.Instance.Open<LaunchBackGroundWin>(true);
                    }
@@ -194,7 +194,7 @@
                default:
                    WindowCenter.Instance.DestoryWinsByStage(WindowCenter.WindowStage.SelectRole);
                    WindowCenter.Instance.CloseOthers<LoadingWin>();
                    if (!WindowCenter.Instance.CheckOpen<LoadingWin>())
                    if (!WindowCenter.Instance.IsOpen<LoadingWin>())
                    {
                        LoadingWin.targetMapResId = currentMapResId;
                        WindowCenter.Instance.Open<LoadingWin>(true);
System/Achievement/AchievementModel.cs
@@ -463,7 +463,7 @@
                                }
                                treasureModel.currentCategory = TreasureCategory.Human;
                                treasureModel.selectedTreasure = treasureId;
                                if (!WindowCenter.Instance.CheckOpen<TreasureLevelUpWin>())
                                if (!WindowCenter.Instance.IsOpen<TreasureLevelUpWin>())
                                {
                                    WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.TreasureCollectSoul);
                                }
System/Activity/ActivityModel.cs
@@ -85,7 +85,7 @@
                }
            }
            activityNotifies.Clear();
            if (WindowCenter.Instance.CheckOpen<ActivityNotifyWin>())
            if (WindowCenter.Instance.IsOpen<ActivityNotifyWin>())
            {
                WindowCenter.Instance.CloseImmediately<ActivityNotifyWin>();
            }
@@ -136,7 +136,7 @@
                {
                    mainStage = false;
                    activityNotifies.Clear();
                    if (WindowCenter.Instance.CheckOpen<ActivityNotifyWin>())
                    if (WindowCenter.Instance.IsOpen<ActivityNotifyWin>())
                    {
                        WindowCenter.Instance.CloseImmediately<ActivityNotifyWin>();
                    }
@@ -296,7 +296,7 @@
        private void NotifyActivity()
        {
            if (!WindowCenter.Instance.CheckOpen<ActivityNotifyWin>())
            if (!WindowCenter.Instance.IsOpen<ActivityNotifyWin>())
            {
                if (!NewBieCenter.Instance.inGuiding)
                {
System/Activity/ActivityNotifyWin.cs
@@ -101,7 +101,7 @@
        {
            presentActivityType = _type;
            m_ActivityNotify.Init(_type, this);
            var _open = WindowCenter.Instance.CheckOpen<MainInterfaceWin>();
            var _open = WindowCenter.Instance.IsOpen<MainInterfaceWin>();
            m_ActivityNotify.gameObject.SetActive(_open);
        }
System/AssetVersion/InGameDownLoad.cs
@@ -482,7 +482,7 @@
            }
        }
        if (!WindowCenter.Instance.CheckOpen("MainInterfaceWin"))
        if (!WindowCenter.Instance.IsOpen("MainInterfaceWin"))
        {
            return false;
        }
System/BlastFurnace/BlastFurnaceModel.cs
@@ -133,7 +133,7 @@
        if(isMakeDan)
        {
            if(!WindowCenter.Instance.CheckOpen<MakerDrugSuccessWin>())
            if(!WindowCenter.Instance.IsOpen<MakerDrugSuccessWin>())
            {
                WindowCenter.Instance.Open<MakerDrugSuccessWin>();
            }
@@ -141,7 +141,7 @@
        }
        else
        {
            if (WindowCenter.Instance.CheckOpen<MakerDrugSuccessWin>())
            if (WindowCenter.Instance.IsOpen<MakerDrugSuccessWin>())
            {
                WindowCenter.Instance.CloseImmediately<MakerDrugSuccessWin>();
            }
@@ -266,7 +266,7 @@
                {
                    if (makerItemID != 0)
                    {
                        if (!WindowCenter.Instance.CheckOpen<MakerDrugSuccessWin>())
                        if (!WindowCenter.Instance.IsOpen<MakerDrugSuccessWin>())
                        {
                            WindowCenter.Instance.Open<MakerDrugSuccessWin>();
                        }
@@ -274,7 +274,7 @@
                }
                else
                {
                    if (!WindowCenter.Instance.CheckOpen<MakerDrugFailWin>())
                    if (!WindowCenter.Instance.IsOpen<MakerDrugFailWin>())
                    {
                        WindowCenter.Instance.Open<MakerDrugFailWin>();
                    }
@@ -283,14 +283,14 @@
            case MakeType.Def_mitMWUpLevel:
                if (answer.Result == 1)
                {
                    if (!WindowCenter.Instance.CheckOpen<TreasureRefineSuccessWin>())
                    if (!WindowCenter.Instance.IsOpen<TreasureRefineSuccessWin>())
                    {
                        WindowCenter.Instance.Open<TreasureRefineSuccessWin>();
                    }
                }
                else
                {
                    if (!WindowCenter.Instance.CheckOpen<TreasureRefineFailWin>())
                    if (!WindowCenter.Instance.IsOpen<TreasureRefineFailWin>())
                    {
                        WindowCenter.Instance.Open<TreasureRefineFailWin>();
                    }
System/BossShow/BossShowModel.cs
@@ -75,7 +75,7 @@
                ActiveBossShowCam(true);
                CameraController.Instance.CameraObject.enabled = false;
                if (WindowCenter.Instance.CheckOpen<TreasureLevelUpWin>())
                if (WindowCenter.Instance.IsOpen<TreasureLevelUpWin>())
                {
                    WindowJumpMgr.Instance.ClearJumpData();
                    WindowCenter.Instance.CloseImmediately<TreasureLevelUpWin>();
@@ -319,7 +319,7 @@
            if (!_active)
            {
                CameraUtility.RemoveCullingMask(CameraManager.uiCamera, LayerUtility.UIEffectLayer);
                if (!WindowCenter.Instance.CheckOpen<BossShowWin>())
                if (!WindowCenter.Instance.IsOpen<BossShowWin>())
                {
                    WindowCenter.Instance.Open<BossShowWin>();
                }
@@ -327,7 +327,7 @@
            else
            {
                CameraUtility.AddCullingMask(CameraManager.uiCamera, LayerUtility.UIEffectLayer);
                if (WindowCenter.Instance.CheckOpen<BossShowWin>())
                if (WindowCenter.Instance.IsOpen<BossShowWin>())
                {
                    WindowCenter.Instance.Close<BossShowWin>();
                }
@@ -345,13 +345,13 @@
        private void ActiveDialogue(bool _show)
        {
            if (_show && !WindowCenter.Instance.CheckOpen<BossShowDialogueWin>())
            if (_show && !WindowCenter.Instance.IsOpen<BossShowDialogueWin>())
            {
                var _task = ModelCenter.Instance.GetModel<PlayerTaskDatas>();
                _task._TaskNow = actorShowModel.Dialogue;
                WindowCenter.Instance.Open<BossShowDialogueWin>();
            }
            else if (!_show && WindowCenter.Instance.CheckOpen<BossShowDialogueWin>())
            else if (!_show && WindowCenter.Instance.IsOpen<BossShowDialogueWin>())
            {
                WindowCenter.Instance.CloseImmediately<BossShowDialogueWin>();
            }
System/Chat/ChatCenter.cs
@@ -605,7 +605,7 @@
        private void AutoPlayVoice()
        {
            if (voicePlaying || WindowCenter.Instance.CheckOpen<LoadingWin>()
            if (voicePlaying || WindowCenter.Instance.IsOpen<LoadingWin>()
                || !(StageManager.Instance.CurrentStage is DungeonStage))
            {
                return;
@@ -716,17 +716,17 @@
        private void CheckChatFloatOpen()
        {
            if (WindowCenter.Instance.ExitAnyFullScreenOrMaskWin() && !WindowCenter.Instance.CheckOpen<LoadingWin>()
                && StageManager.Instance.CurrentStage is DungeonStage && !WindowCenter.Instance.CheckOpen<TreasureLevelUpWin>())
            if (WindowCenter.Instance.ExitAnyFullScreenOrMaskWin() && !WindowCenter.Instance.IsOpen<LoadingWin>()
                && StageManager.Instance.CurrentStage is DungeonStage && !WindowCenter.Instance.IsOpen<TreasureLevelUpWin>())
            {
                if (!WindowCenter.Instance.CheckOpen<ChatFloatWin>())
                if (!WindowCenter.Instance.IsOpen<ChatFloatWin>())
                {
                    WindowCenter.Instance.Open<ChatFloatWin>();
                }
            }
            else
            {
                if (WindowCenter.Instance.CheckOpen<ChatFloatWin>())
                if (WindowCenter.Instance.IsOpen<ChatFloatWin>())
                {
                    WindowCenter.Instance.CloseImmediately<ChatFloatWin>();
                }
@@ -762,7 +762,7 @@
            {
                return;
            }
            if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>()
            if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>()
                || WindowCenter.Instance.ExitAnyFullScreenOrMaskWin()
                || StageManager.Instance.isLoading
                || NewBieCenter.Instance.inGuiding)
@@ -770,7 +770,7 @@
                return;
            }
            openChatAfterCollect = false;
            if (!WindowCenter.Instance.CheckOpen<ChatWin>())
            if (!WindowCenter.Instance.IsOpen<ChatWin>())
            {
                ChatCtrl.Inst.presentChatType = ChatInfoType.Fairy;
                WindowCenter.Instance.Open<ChatWin>();
System/Chat/ChatCtrl.cs
@@ -1029,15 +1029,15 @@
        switch (type)
        {
            case ChatInfoType.Team:
                if (!WindowCenter.Instance.CheckOpen<TeamChatWin>()
                    && (!WindowCenter.Instance.CheckOpen<ChatWin>() || presentChatType != ChatInfoType.Team))
                if (!WindowCenter.Instance.IsOpen<TeamChatWin>()
                    && (!WindowCenter.Instance.IsOpen<ChatWin>() || presentChatType != ChatInfoType.Team))
                {
                    unReadChatCounts[ChatInfoType.Team] = Mathf.Min(unReadChatCounts[ChatInfoType.Team] + 1, 99);
                }
                break;
            case ChatInfoType.Fairy:
                if (!WindowCenter.Instance.CheckOpen<FairyChatWin>()
                    && (!WindowCenter.Instance.CheckOpen<ChatWin>() || presentChatType != ChatInfoType.Fairy))
                if (!WindowCenter.Instance.IsOpen<FairyChatWin>()
                    && (!WindowCenter.Instance.IsOpen<ChatWin>() || presentChatType != ChatInfoType.Fairy))
                {
                    unReadChatCounts[ChatInfoType.Fairy] = Mathf.Min(unReadChatCounts[ChatInfoType.Fairy] + 1, 99);
                }
System/Chat/ChatSendComponent.cs
@@ -214,7 +214,7 @@
        private void OnExtent()
        {
            if (!WindowCenter.Instance.CheckOpen<ChatExtentWin>())
            if (!WindowCenter.Instance.IsOpen<ChatExtentWin>())
            {
                WindowCenter.Instance.Open<ChatExtentWin>(true);
                if (parent != null)
System/Chat/ChatTip.cs
@@ -145,7 +145,7 @@
    private void OnChatClick()
    {
        if (WindowCenter.Instance.CheckOpen<ChatWin>())
        if (WindowCenter.Instance.IsOpen<ChatWin>())
        {
            return;
        }
@@ -211,7 +211,7 @@
    void OnChatDataClick(ChatData data)
    {
        if (WindowCenter.Instance.CheckOpen<ChatWin>())
        if (WindowCenter.Instance.IsOpen<ChatWin>())
        {
            return;
        }
System/Debug/DebugController.cs
@@ -57,7 +57,7 @@
        public void OpenGM()
        {
            if (!WindowCenter.Instance.CheckOpen<GMInputWin>())
            if (!WindowCenter.Instance.IsOpen<GMInputWin>())
            {
                WindowCenter.Instance.Open<GMInputWin>();
            }
System/Dogz/DogzWin.cs
@@ -74,7 +74,7 @@
        {
            ModelCenter.Instance.GetModel<GodBeastModel>().ItemPlace = equipIndex;
            funcBtnGroup.TriggerByOrder(order);
            if(WindowCenter.Instance.CheckOpen<DogzPackWin>())
            if(WindowCenter.Instance.IsOpen<DogzPackWin>())
            {
                WindowCenter.Instance.CloseImmediately<DogzPackWin>();
            }
@@ -102,11 +102,11 @@
        void CloseChild()
        {
            if (WindowCenter.Instance.CheckOpen<DogzActiveWin>())
            if (WindowCenter.Instance.IsOpen<DogzActiveWin>())
            {
                WindowCenter.Instance.CloseImmediately<DogzActiveWin>();
            }
            if (WindowCenter.Instance.CheckOpen<GodBeastReinforcementWin>())
            if (WindowCenter.Instance.IsOpen<GodBeastReinforcementWin>())
            {
                WindowCenter.Instance.CloseImmediately<GodBeastReinforcementWin>();
            }
System/DogzDungeon/DogzDungeonModel.cs
@@ -293,7 +293,7 @@
                dogzDungeonElite.UpdateEliteRefreshTime(eliteRefreshSecond);
            }
            if (WindowCenter.Instance.CheckOpen("DogzDungeonWin"))
            if (WindowCenter.Instance.IsOpen("DogzDungeonWin"))
            {
                if (containBox)
                {
System/Dungeon/DungeonFightWin.cs
@@ -310,7 +310,7 @@
        private void OnAncientBtn()
        {
            if (WindowCenter.Instance.CheckOpen<DungeonAncientAchieveWin>())
            if (WindowCenter.Instance.IsOpen<DungeonAncientAchieveWin>())
            {
                WindowCenter.Instance.CloseImmediately<DungeonAncientAchieveWin>();
            }
System/Dungeon/DungeonModel.cs
@@ -484,7 +484,7 @@
            switch (_dungeon.mapId)
            {
                case RealmModel.REALM_DUNGEON_ID:
                    if (!WindowCenter.Instance.CheckOpen<TeamFrameWin>())
                    if (!WindowCenter.Instance.IsOpen<TeamFrameWin>())
                    {
                        var teamModel = ModelCenter.Instance.GetModel<TeamModel>();
                        teamModel.missionBuf = teamModel.currentMission = new TeamMission(31110, 1);
@@ -492,7 +492,7 @@
                    }
                    break;
                default:
                    if (!WindowCenter.Instance.CheckOpen<TeamFrameWin>())
                    if (!WindowCenter.Instance.IsOpen<TeamFrameWin>())
                    {
                        var teamModel = ModelCenter.Instance.GetModel<TeamModel>();
                        teamModel.missionBuf = teamModel.currentMission = new TeamMission(_dungeon.mapId, _dungeon.lineId);
@@ -790,7 +790,7 @@
            {
                case 31080:
                    {
                        if (!WindowCenter.Instance.CheckOpen<DungeonFairyLandWin>())
                        if (!WindowCenter.Instance.IsOpen<DungeonFairyLandWin>())
                        {
                            WindowCenter.Instance.Open<DungeonFairyLandWin>();
                        }
@@ -799,26 +799,26 @@
                    }
                    break;
                case 31150:
                    if (!WindowCenter.Instance.CheckOpen<ElderGodAngerWin>())
                    if (!WindowCenter.Instance.IsOpen<ElderGodAngerWin>())
                    {
                        WindowCenter.Instance.Open<ElderGodAngerWin>();
                    }
                    break;
                case FairyLeagueModel.FAIRY_LEAGUE_DUNGEON:
                    ModelCenter.Instance.GetModel<FairyLeagueModel>().UpdateFairyWarHelp(_mission);
                    if (!WindowCenter.Instance.CheckOpen<DungeonFairyLeagueMissionWin>())
                    if (!WindowCenter.Instance.IsOpen<DungeonFairyLeagueMissionWin>())
                    {
                        WindowCenter.Instance.Open<DungeonFairyLeagueMissionWin>();
                    }
                    break;
                case 31160:
                    if (!WindowCenter.Instance.CheckOpen<DungeonAncientTargetWin>())
                    if (!WindowCenter.Instance.IsOpen<DungeonAncientTargetWin>())
                    {
                        WindowCenter.Instance.Open<DungeonAncientTargetWin>();
                    }
                    break;
                case 31170:
                    if (!WindowCenter.Instance.CheckOpen<DungeonMultipleTaskWin>())
                    if (!WindowCenter.Instance.IsOpen<DungeonMultipleTaskWin>())
                    {
                        WindowCenter.Instance.Open<DungeonMultipleTaskWin>();
                    }
@@ -834,19 +834,19 @@
                    }
                    if (GetDungeonHintId(mapId, lineId) != 0)
                    {
                        if (!WindowCenter.Instance.CheckOpen<DungeonMissionHintWin>())
                        if (!WindowCenter.Instance.IsOpen<DungeonMissionHintWin>())
                        {
                            WindowCenter.Instance.Open<DungeonMissionHintWin>();
                        }
                        if (!WindowCenter.Instance.CheckOpen<DungeonFairyFeastHintWin>())
                        if (!WindowCenter.Instance.IsOpen<DungeonFairyFeastHintWin>())
                        {
                            WindowCenter.Instance.Open<DungeonFairyFeastHintWin>();
                        }
                    }
                    break;
                case DemonJarModel.DEMONJAR_MAPID:
                    if (!WindowCenter.Instance.CheckOpen<DemonJarDamageRankWin>())
                    if (!WindowCenter.Instance.IsOpen<DemonJarDamageRankWin>())
                    {
                        WindowCenter.Instance.Open<DemonJarDamageRankWin>();
                    }
@@ -856,12 +856,12 @@
                case HeavenBattleModel.HEAVEBATTLE_MAPID:
                    if (GetDungeonHintId(mapId, lineId) != 0)
                    {
                        if (!WindowCenter.Instance.CheckOpen<DungeonMissionHintWin>())
                        if (!WindowCenter.Instance.IsOpen<DungeonMissionHintWin>())
                        {
                            WindowCenter.Instance.Open<DungeonMissionHintWin>();
                        }
                        if (!WindowCenter.Instance.CheckOpen<XMZZMissionDetailsWin>())
                        if (!WindowCenter.Instance.IsOpen<XMZZMissionDetailsWin>())
                        {
                            WindowCenter.Instance.Open<XMZZMissionDetailsWin>();
                        }
@@ -870,12 +870,12 @@
                default:
                    if (GetDungeonHintId(mapId, lineId) != 0)
                    {
                        if (!WindowCenter.Instance.CheckOpen<DungeonMissionHintWin>())
                        if (!WindowCenter.Instance.IsOpen<DungeonMissionHintWin>())
                        {
                            WindowCenter.Instance.Open<DungeonMissionHintWin>();
                        }
                        if (!WindowCenter.Instance.CheckOpen<DungeonMissionDetailsWin>())
                        if (!WindowCenter.Instance.IsOpen<DungeonMissionDetailsWin>())
                        {
                            WindowCenter.Instance.Open<DungeonMissionDetailsWin>();
                        }
@@ -888,7 +888,7 @@
                updateMissionEvent();
            }
            if (m_Mission.grade > 0 && !WindowCenter.Instance.CheckOpen<DungeonGradeWin>())
            if (m_Mission.grade > 0 && !WindowCenter.Instance.IsOpen<DungeonGradeWin>())
            {
                WindowCenter.Instance.Open<DungeonGradeWin>();
            }
@@ -901,7 +901,7 @@
            switch (_dataMapId)
            {
                case DemonJarModel.DEMONJAR_MAPID:
                    if (!WindowCenter.Instance.CheckOpen<DemonJarDamageRankWin>())
                    if (!WindowCenter.Instance.IsOpen<DemonJarDamageRankWin>())
                    {
                        WindowCenter.Instance.Open<DemonJarDamageRankWin>();
                    }
System/Dungeon/TargetBriefInfoWin.cs
@@ -34,7 +34,7 @@
            if (_show)
            {
                DemonJarBossLifeBarWin win;
                if (!WindowCenter.Instance.CheckOpen<DemonJarBossLifeBarWin>())
                if (!WindowCenter.Instance.IsOpen<DemonJarBossLifeBarWin>())
                {
                    win = WindowCenter.Instance.Open<DemonJarBossLifeBarWin>(true);
                }
@@ -49,7 +49,7 @@
        else
        {
            TargetBriefInfoWin win;
            if (!WindowCenter.Instance.CheckOpen<TargetBriefInfoWin>())
            if (!WindowCenter.Instance.IsOpen<TargetBriefInfoWin>())
            {
                win = WindowCenter.Instance.Open<TargetBriefInfoWin>(true);
            }
@@ -70,7 +70,7 @@
        if (dataMapId == DemonJarModel.DEMONJAR_MAPID)
        {
            DemonJarBossLifeBarWin win;
            if (!WindowCenter.Instance.CheckOpen<DemonJarBossLifeBarWin>())
            if (!WindowCenter.Instance.IsOpen<DemonJarBossLifeBarWin>())
            {
                win = WindowCenter.Instance.Open<DemonJarBossLifeBarWin>(true);
            }
@@ -87,7 +87,7 @@
            && PlayerDatas.Instance.hero.SelectTarget.ServerInstID == TargetBriefInfoWin.currentBossInstanceId)
            {
                TargetBriefInfoWin win;
                if (!WindowCenter.Instance.CheckOpen<TargetBriefInfoWin>())
                if (!WindowCenter.Instance.IsOpen<TargetBriefInfoWin>())
                {
                    win = WindowCenter.Instance.Open<TargetBriefInfoWin>(true);
                }
@@ -106,7 +106,7 @@
    static void OnShowPlayerLifeBar(uint _instanceId, bool _show)
    {
        TargetBriefInfoWin win;
        if (!WindowCenter.Instance.CheckOpen<TargetBriefInfoWin>())
        if (!WindowCenter.Instance.IsOpen<TargetBriefInfoWin>())
        {
            win = WindowCenter.Instance.Open<TargetBriefInfoWin>(true);
        }
System/FairyAu/FairyAuTaskWin.cs
@@ -133,7 +133,7 @@
        private void OnPlayerDie()
        {
            CloseImmediately();
            if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
            if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
            {
                WindowCenter.Instance.Open<MainInterfaceWin>();
System/FairyAu/FairyGrabBossModel.cs
@@ -217,7 +217,7 @@
                return;
            }
            grabBossHintOpen = true;
            if (!WindowCenter.Instance.CheckOpen<FairyGrabBossHintWin>())
            if (!WindowCenter.Instance.IsOpen<FairyGrabBossHintWin>())
            {
                WindowCenter.Instance.Open<FairyGrabBossHintWin>();
            }
@@ -230,7 +230,7 @@
        void CloseGrabBossHint()
        {
            grabBossHintOpen = false;
            if (WindowCenter.Instance.CheckOpen<FairyGrabBossHintWin>())
            if (WindowCenter.Instance.IsOpen<FairyGrabBossHintWin>())
            {
                WindowCenter.Instance.CloseImmediately<FairyGrabBossHintWin>();
            }
System/FairyAu/FairyModel.cs
@@ -420,7 +420,7 @@
        {
            fairyRequestRedPoint.count = 0;
            fairyRequestDict.Clear();
            if (WindowCenter.Instance.CheckOpen<FairyInviteWin>())
            if (WindowCenter.Instance.IsOpen<FairyInviteWin>())
            {
                WindowCenter.Instance.CloseImmediately<FairyInviteWin>();
            }
@@ -437,7 +437,7 @@
                _pak.TagPlayerID = (uint)fairyRequestDict[_fairyId].leaderId;
                _pak.IsOK = 1;
                GameNetSystem.Instance.SendInfo(_pak);
                if (WindowCenter.Instance.CheckOpen<FairyInviteWin>())
                if (WindowCenter.Instance.IsOpen<FairyInviteWin>())
                {
                    WindowCenter.Instance.CloseImmediately<FairyInviteWin>();
                }
System/FairyAu/KingFairyModel.cs
@@ -187,7 +187,7 @@
            CA410_tagCGFamilyWarWinRewardAllot _pak = new CA410_tagCGFamilyWarWinRewardAllot();
            _pak.MemPlayerID = (uint)_memberId;
            GameNetSystem.Instance.SendInfo(_pak);
            if (WindowCenter.Instance.CheckOpen<KingFairyAllotWin>())
            if (WindowCenter.Instance.IsOpen<KingFairyAllotWin>())
            {
                WindowCenter.Instance.CloseImmediately<KingFairyAllotWin>();
            }
System/FairyAu/PlayerRedPacketDatas.cs
@@ -193,7 +193,7 @@
    private void RedBagPoppingOpen()
    {
        if (_DicRedBag.ContainsKey(RedEnvelopeID) && WindowCenter.Instance.CheckOpen<RedBagTipsWin>())
        if (_DicRedBag.ContainsKey(RedEnvelopeID) && WindowCenter.Instance.IsOpen<RedBagTipsWin>())
        {
            var redBag = _DicRedBag[RedEnvelopeID];
            if (redBag.GetWay != 5 && redBag.GetWay != 0 && redBag.PlayerID == PlayerDatas.Instance.PlayerId && redBag.State == 1)
System/FairyAu/UnionPanel.cs
@@ -162,19 +162,19 @@
        void CloseChildWin()
        {
            funcPanel.SetActive(false);
            if (WindowCenter.Instance.CheckOpen<FairyApplyWin>())
            if (WindowCenter.Instance.IsOpen<FairyApplyWin>())
            {
                WindowCenter.Instance.CloseImmediately<FairyApplyWin>();
            }
            if (WindowCenter.Instance.CheckOpen<FairyMemberWin>())
            if (WindowCenter.Instance.IsOpen<FairyMemberWin>())
            {
                WindowCenter.Instance.CloseImmediately<FairyMemberWin>();
            }
            if (WindowCenter.Instance.CheckOpen<FairyLeagueWin>())
            if (WindowCenter.Instance.IsOpen<FairyLeagueWin>())
            {
                WindowCenter.Instance.CloseImmediately<FairyLeagueWin>();
            }
            if (WindowCenter.Instance.CheckOpen<KingTempleWin>())
            if (WindowCenter.Instance.IsOpen<KingTempleWin>())
            {
                WindowCenter.Instance.CloseImmediately<KingTempleWin>();
            }
System/FairylandCeremony/FairylandCeremonyWin.cs
@@ -127,19 +127,19 @@
        private void CloseChildWin()
        {
            if (WindowCenter.Instance.CheckOpen<CeremonyRechargeGiftWin>())
            if (WindowCenter.Instance.IsOpen<CeremonyRechargeGiftWin>())
            {
                WindowCenter.Instance.CloseImmediately<CeremonyRechargeGiftWin>();
            }
            if (WindowCenter.Instance.CheckOpen<CeremonyFirepartyWin>())
            if (WindowCenter.Instance.IsOpen<CeremonyFirepartyWin>())
            {
                WindowCenter.Instance.CloseImmediately<CeremonyFirepartyWin>();
            }
            if (WindowCenter.Instance.CheckOpen<CeremonyPeopleToHiWin>())
            if (WindowCenter.Instance.IsOpen<CeremonyPeopleToHiWin>())
            {
                WindowCenter.Instance.CloseImmediately<CeremonyPeopleToHiWin>();
            }
            if (WindowCenter.Instance.CheckOpen<CeremonyOutOfPrintWin>())
            if (WindowCenter.Instance.IsOpen<CeremonyOutOfPrintWin>())
            {
                WindowCenter.Instance.CloseImmediately<CeremonyOutOfPrintWin>();
            }
System/FindPrecious/FindPreciousSubscribeHintWin.cs
@@ -31,11 +31,11 @@
        protected override void OnPreOpen()
        {
            if (WindowCenter.Instance.CheckOpen<FindPreciousFrameWin>())
            if (WindowCenter.Instance.IsOpen<FindPreciousFrameWin>())
            {
                m_HintContent.text = Language.Get("FightTreasure_Focus");
            }
            else if (WindowCenter.Instance.CheckOpen<LootPreciousFrameWin>())
            else if (WindowCenter.Instance.IsOpen<LootPreciousFrameWin>())
            {
                m_HintContent.text = Language.Get("DemonJar_Focus");
            }
System/FriendSystem/New/FriendsModel.cs
@@ -904,14 +904,14 @@
        if(!isJump)
        {
            if (WindowCenter.Instance.CheckOpen<ChatWin>())
            if (WindowCenter.Instance.IsOpen<ChatWin>())
            {
                ChatCtrl.Inst.OpenFriendWin();
            }
            else
            {
                ChatCtrl.Inst.presentChatType = ChatInfoType.Friend;
                if (WindowCenter.Instance.CheckOpen<SocialWin>())
                if (WindowCenter.Instance.IsOpen<SocialWin>())
                {
                    WindowJumpMgr.Instance.ClearJumpData();
                    WindowCenter.Instance.CloseImmediately<SocialWin>();
System/HappyXB/HappyXBWin.cs
@@ -72,7 +72,7 @@
        {
            if (!WindowJumpMgr.Instance.IsJumpState)
            {
                if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
                if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
                {
                    WindowCenter.Instance.Open<MainInterfaceWin>();
                }
System/HeavenBattle/BattlePrepareCoolDownWin.cs
@@ -100,7 +100,7 @@
        private void CloseWin()
        {
            CloseImmediately();
            if (!WindowCenter.Instance.CheckOpen<DungeonEndCoolDownWin>())
            if (!WindowCenter.Instance.IsOpen<DungeonEndCoolDownWin>())
            {
                WindowCenter.Instance.Open<DungeonEndCoolDownWin>();
            }
System/HeavenBattle/HeavenBattleModel.cs
@@ -189,7 +189,7 @@
        {
            if(dailyQuestModel.GetQuestState(dailyConfig.ID) != DailyQuestModel.DailyQuestState.OutTime)
            {
                if (!WindowCenter.Instance.CheckOpen<HeavenBattleWin>())
                if (!WindowCenter.Instance.IsOpen<HeavenBattleWin>())
                {
                    var config = Config.Instance.Get<DailyQuestConfig>(dailyConfig.ID);
                    dungeonModel.currentDungeon = new Dungeon(config.RelatedID, 0);
@@ -228,12 +228,12 @@
        WindowCenter.Instance.CloseImmediately<DungeonEndCoolDownWin>();
        battlePrepareTime = 3;
        IsBattlePrepare = true;
        if (WindowCenter.Instance.CheckOpen<DungeonEndCoolDownWin>())
        if (WindowCenter.Instance.IsOpen<DungeonEndCoolDownWin>())
        {
            WindowCenter.Instance.CloseImmediately<DungeonEndCoolDownWin>();
        }
        if (!WindowCenter.Instance.CheckOpen<BattlePrepareCoolDownWin>())
        if (!WindowCenter.Instance.IsOpen<BattlePrepareCoolDownWin>())
        {
            WindowCenter.Instance.Open<BattlePrepareCoolDownWin>();
        }
System/KnapSack/EquipDecomposeBehaviour.cs
@@ -31,7 +31,7 @@
        private void GotoDecompose()
        {
            if (!WindowCenter.Instance.CheckOpen<EquipDecomMailWin>())
            if (!WindowCenter.Instance.IsOpen<EquipDecomMailWin>())
            {
                WindowCenter.Instance.Open<EquipDecomMailWin>();
            }
System/KnapSack/Logic/BoxGetItemModel.cs
@@ -49,13 +49,13 @@
                switch (showType)
                {
                    case BoxShowType.NoramalShow:
                        if (!WindowCenter.Instance.CheckOpen<BoxGetItemWin>())
                        if (!WindowCenter.Instance.IsOpen<BoxGetItemWin>())
                        {
                            WindowCenter.Instance.Open<BoxGetItemWin>();
                        }
                        break;
                    case BoxShowType.PrefectShow:
                        if (!WindowCenter.Instance.CheckOpen<BoxGetItemWin>())
                        if (!WindowCenter.Instance.IsOpen<BoxGetItemWin>())
                        {
                            WindowCenter.Instance.Open<BoxGetItemWin>();
                        }
@@ -166,7 +166,7 @@
            bool isSelectItem = IsSelectItemByID(itemId, out selectDict);
            if (isSelectItem)
            {
                if (!WindowCenter.Instance.CheckOpen<ChooseItemWin>())
                if (!WindowCenter.Instance.IsOpen<ChooseItemWin>())
                {
                    WindowCenter.Instance.Open<ChooseItemWin>();
                }
System/KnapSack/Logic/PlayerPackModels.cs
@@ -392,7 +392,7 @@
            switch (success.ItemID)
            {
                case 221:
                    if (WindowCenter.Instance.CheckOpen<KnapSackWin>())
                    if (WindowCenter.Instance.IsOpen<KnapSackWin>())
                    {
                        WindowCenter.Instance.CloseImmediately<KnapSackWin>();
                    }
System/KnapSack/Logic/TreasureEffectModel.cs
@@ -88,7 +88,7 @@
            this.treasureId = id;
            this.vipLv = vipLv;
            SetTreasureEffectDes(out showType);
            if (!WindowCenter.Instance.CheckOpen<TreasureEffectWin>())
            if (!WindowCenter.Instance.IsOpen<TreasureEffectWin>())
            {
                WindowCenter.Instance.Open<TreasureEffectWin>();
            }
System/KnapSack/New/KnapSackEventMgr.cs
@@ -58,23 +58,23 @@
    }
    public void HideItemPopWin()
    {
        if(WindowCenter.Instance.CheckOpen<EquipWin>())
        if(WindowCenter.Instance.IsOpen<EquipWin>())
        {
            HideEquipWin();
        }
        else if(WindowCenter.Instance.CheckOpen<WingsWin>())
        else if(WindowCenter.Instance.IsOpen<WingsWin>())
        {
            HideWingsWin();
        }
        else if(WindowCenter.Instance.CheckOpen<ItemInfoWin>())
        else if(WindowCenter.Instance.IsOpen<ItemInfoWin>())
        {
            HideItemWin();
        }
        else if(WindowCenter.Instance.CheckOpen<GuardianWin>())
        else if(WindowCenter.Instance.IsOpen<GuardianWin>())
        {
            HideGuardWin();  
        }
        else if (WindowCenter.Instance.CheckOpen<KingFairyChestWin>())
        else if (WindowCenter.Instance.IsOpen<KingFairyChestWin>())
        {
            WindowCenter.Instance.CloseImmediately<KingFairyChestWin>();
        }
System/MainInterfacePanel/ChatFrame.cs
@@ -286,7 +286,7 @@
            if (PlayerDatas.Instance.hero.aiHandler.IsAuto())
            {
                AutoImg.SetActive(false);
                if (!WindowCenter.Instance.CheckOpen<ExperienceOpenWin>())
                if (!WindowCenter.Instance.IsOpen<ExperienceOpenWin>())
                {
                    WindowCenter.Instance.Open<ExperienceOpenWin>(true);
                }
@@ -294,7 +294,7 @@
            else
            {
                AutoImg.SetActive(true);
                if (WindowCenter.Instance.CheckOpen<ExperienceOpenWin>())
                if (WindowCenter.Instance.IsOpen<ExperienceOpenWin>())
                {
                    WindowCenter.Instance.CloseImmediately<ExperienceOpenWin>();
                }
@@ -409,7 +409,7 @@
            {
                if (!_hero.aiHandler.IsAuto())
                {
                    if (!WindowCenter.Instance.CheckOpen<ExperienceOpenWin>())
                    if (!WindowCenter.Instance.IsOpen<ExperienceOpenWin>())
                    {
                        WindowCenter.Instance.Open<ExperienceOpenWin>(true);
                    }
@@ -417,7 +417,7 @@
                }
                else
                {
                    if (WindowCenter.Instance.CheckOpen<ExperienceOpenWin>())
                    if (WindowCenter.Instance.IsOpen<ExperienceOpenWin>())
                    {
                        WindowCenter.Instance.CloseImmediately<ExperienceOpenWin>();
                    }
System/MainInterfacePanel/CoinTaskTipModel.cs
@@ -113,11 +113,11 @@
    private IEnumerator PopupPanel()
    {
        yield return WaitingForSecondConst.WaitMS1500;
        if (NewBieCenter.Instance.inGuiding || ModelCenter.Instance.GetModel<TreasureModel>().newGotShowing || WindowCenter.Instance.CheckOpen<TreasureLevelUpWin>())
        if (NewBieCenter.Instance.inGuiding || ModelCenter.Instance.GetModel<TreasureModel>().newGotShowing || WindowCenter.Instance.IsOpen<TreasureLevelUpWin>())
        {
            yield break;
        }
        if (WindowCenter.Instance.CheckOpen<TaskWin>())
        if (WindowCenter.Instance.IsOpen<TaskWin>())
        {
            yield break;
        }
@@ -126,7 +126,7 @@
        {
            IsPopup = true;
        }  
        if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
        if (WindowCenter.Instance.IsOpen<MainInterfaceWin>())
        {
            WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.BountyInterface);
        }      
@@ -135,11 +135,11 @@
    private IEnumerator FairyAuTaskPanel()
    {
        yield return WaitingForSecondConst.WaitMS1500;
        if (NewBieCenter.Instance.inGuiding || ModelCenter.Instance.GetModel<TreasureModel>().newGotShowing || WindowCenter.Instance.CheckOpen<TreasureLevelUpWin>())
        if (NewBieCenter.Instance.inGuiding || ModelCenter.Instance.GetModel<TreasureModel>().newGotShowing || WindowCenter.Instance.IsOpen<TreasureLevelUpWin>())
        {
            yield break;
        }
        if (WindowCenter.Instance.CheckOpen<FairyAuTaskWin>())
        if (WindowCenter.Instance.IsOpen<FairyAuTaskWin>())
        {
            yield break;
        }
@@ -148,7 +148,7 @@
        {
            IsFairy = true;
        }       
        if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
        if (WindowCenter.Instance.IsOpen<MainInterfaceWin>())
        {
            WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.UnionTask);
        }
System/MainInterfacePanel/DefaultDialogueBoxWin.cs
@@ -69,7 +69,7 @@
        {
            base.LateUpdate();
            if (!WindowCenter.Instance.CheckOpen<DefaultDialogueBoxWin>())
            if (!WindowCenter.Instance.IsOpen<DefaultDialogueBoxWin>())
            {
                return;
            }
System/MainInterfacePanel/DialogueDuidanceWin.cs
@@ -102,11 +102,11 @@
        private void IsCloseWindow()
        {
            if (WindowCenter.Instance.CheckOpen<DungeonFightWin>())
            if (WindowCenter.Instance.IsOpen<DungeonFightWin>())
            {
                WindowCenter.Instance.CloseImmediately<DungeonFightWin>();
            }
            if (WindowCenter.Instance.CheckOpen<DungeonMissionDetailsWin>())
            if (WindowCenter.Instance.IsOpen<DungeonMissionDetailsWin>())
            {
                WindowCenter.Instance.CloseImmediately<DungeonMissionDetailsWin>();
            }
@@ -162,7 +162,7 @@
            {
                WindowCenter.Instance.Open<DungeonFightWin>();
            }
            if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
            if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
            {
                WindowCenter.Instance.Open<MainInterfaceWin>();
            }
@@ -176,7 +176,7 @@
                return;
            }
            if (!WindowCenter.Instance.CheckOpen<DialogueDuidanceWin>())
            if (!WindowCenter.Instance.IsOpen<DialogueDuidanceWin>())
            {
                return;
            }
System/MainInterfacePanel/FeatureNoticeModel.cs
@@ -239,8 +239,8 @@
    {
        yield return new WaitForSeconds(0.7f);
        var inDungeon = IsDungeon();
        var IsOpenMaininterface = WindowCenter.Instance.CheckOpen<MainInterfaceWin>();
        var IsOpenOffLineOnHook = WindowCenter.Instance.CheckOpen<OffLineOnHookWin>();
        var IsOpenMaininterface = WindowCenter.Instance.IsOpen<MainInterfaceWin>();
        var IsOpenOffLineOnHook = WindowCenter.Instance.IsOpen<OffLineOnHookWin>();
        var treasureModel = ModelCenter.Instance.GetModel<TreasureModel>();
        var IsLoading = StageManager.Instance.isLoading;
        if (NewBieCenter.Instance.inGuiding || treasureModel.newGotShowing || inDungeon || !IsOpenMaininterface
@@ -260,11 +260,11 @@
                }
                string strKey = "FeatureNotice" + functionForecastConfig.FrameLevel + PlayerDatas.Instance.baseData.PlayerID;
                int type = LocalSave.GetInt(strKey);
                bool IsOpenMain = WindowCenter.Instance.CheckOpen<MainInterfaceWin>();
                bool IsOpenMain = WindowCenter.Instance.IsOpen<MainInterfaceWin>();
                if (PlayerDatas.Instance.baseData.LV >= functionForecastConfig.FrameLevel && type == 0)
                {
                    LocalSave.SetInt(strKey, functionForecastConfig.FrameLevel);
                   var IsOpenFeatureNotice = WindowCenter.Instance.CheckOpen<FeatureNoticeWin>();
                   var IsOpenFeatureNotice = WindowCenter.Instance.IsOpen<FeatureNoticeWin>();
                    if (!IsOpenFeatureNotice)
                    {
                        WindowCenter.Instance.Close<MainInterfaceWin>();
System/MainInterfacePanel/FlyingShoesTask.cs
@@ -561,7 +561,7 @@
            if (taskmodel.BountyDic.ContainsKey(_taskID))
            {
                int bountyNumber = TaskAllocation.Instance.ForRingNumber();
                if (bountyNumber == 10 && !WindowCenter.Instance.CheckOpen<TaskWin>())
                if (bountyNumber == 10 && !WindowCenter.Instance.IsOpen<TaskWin>())
                {
                    if (coinTaskTip.IsPopup)
                    {
@@ -573,7 +573,7 @@
            if (taskmodel.FairyAuDic.ContainsKey(_taskID))
            {
                int FairyNumber = TaskAllocation.Instance.FairyAuNumber();
                if (FairyNumber == 10 && !WindowCenter.Instance.CheckOpen<FairyWearWin>())
                if (FairyNumber == 10 && !WindowCenter.Instance.IsOpen<FairyWearWin>())
                {
                    WindowCenter.Instance.CloseImmediately<MainInterfaceWin>();
                    WindowCenter.Instance.Open<FairyAuTaskWin>();
System/MainInterfacePanel/FunctionForecastWin.cs
@@ -33,7 +33,7 @@
        protected override void OnPreOpen()
        {
            if (WindowCenter.Instance.CheckOpen<CombatModeWin>())
            if (WindowCenter.Instance.IsOpen<CombatModeWin>())
            {
                WindowCenter.Instance.Close<CombatModeWin>();
            }
System/MainInterfacePanel/HeadPortraitTip.cs
@@ -203,7 +203,7 @@
                if (PlayerDatas.Instance.baseData.MapID == 10040 && IsBossBool)//御剑山庄boss区域特殊处理(可切换状态)
                {
                    WindowCenter.Instance.Open<CombatModeWin>();
                    if (WindowCenter.Instance.CheckOpen<FunctionForecastWin>())
                    if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
                    {
                        WindowCenter.Instance.Close<FunctionForecastWin>();
                    }
@@ -218,7 +218,7 @@
                }
                WindowCenter.Instance.Open<CombatModeWin>();
                if (WindowCenter.Instance.CheckOpen<FunctionForecastWin>())
                if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
                {
                    WindowCenter.Instance.Close<FunctionForecastWin>();
                }
System/MainInterfacePanel/HighSettingTip.cs
@@ -341,7 +341,7 @@
            _ColseBtn.gameObject.SetActive(true);
            _ShowBtn.gameObject.SetActive(false);
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && m_HighSettingTip.gameObject.activeSelf)
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && m_HighSettingTip.gameObject.activeSelf)
            {
                m_HighSettingFadeInFadeOut.FadeOut();//淡出
            }
@@ -351,7 +351,7 @@
        public void ColseButton()//向下
        {
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && m_HighSettingTip.gameObject.activeSelf)
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && m_HighSettingTip.gameObject.activeSelf)
            {
                _ShowBtn.gameObject.SetActive(true);
                _ColseBtn.gameObject.SetActive(false);
@@ -362,7 +362,7 @@
        }
        public void ColseButtonNow()//向下(立刻隐藏)
        {
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && m_HighSettingTip.gameObject.activeSelf)
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && m_HighSettingTip.gameObject.activeSelf)
            {
                _ShowBtn.gameObject.SetActive(true);
                _ColseBtn.gameObject.SetActive(false);
@@ -376,7 +376,7 @@
            _ColseBtn.gameObject.SetActive(true);
            _ShowBtn.gameObject.SetActive(false);
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && m_HighSettingTip.gameObject.activeSelf)
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && m_HighSettingTip.gameObject.activeSelf)
            {
                m_HighSettingFadeInFadeOut.PositionNow();//立刻出现
            }
System/MainInterfacePanel/MainInterfaceWin.cs
@@ -264,7 +264,7 @@
            if (inDungeon)
            {
                m_FunctionForecastTip.gameObject.SetActive(false);
                if (WindowCenter.Instance.CheckOpen<FunctionForecastWin>())
                if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
                {
                    WindowCenter.Instance.Close<FunctionForecastWin>();
                }
@@ -384,7 +384,7 @@
            PlayerTaskDatas.CompletionOfTaskEvent -= CompletionOfTaskEvent;
            RedpointCenter.Instance.redpointValueChangeEvent -= RedpointValueChangeEvent;
            NewBieCenter.Instance.guideBeginEvent -= GuideBeginEvent;
            if (WindowCenter.Instance.CheckOpen<FunctionForecastWin>())
            if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
            {
                WindowCenter.Instance.CloseImmediately<FunctionForecastWin>();
            }
@@ -566,7 +566,7 @@
             && PlayerDatas.Instance.hero.State == E_ActorState.AutoRun
             && onMainModel.MoveBool)
            {
                if (!WindowCenter.Instance.CheckOpen("PathfindingIconWin"))
                if (!WindowCenter.Instance.IsOpen("PathfindingIconWin"))
                {
                    WindowCenter.Instance.Open<PathfindingIconWin>(true);
                }
@@ -574,7 +574,7 @@
            else
            {
                onMainModel.MoveBool = false;
                if (WindowCenter.Instance.CheckOpen("PathfindingIconWin"))
                if (WindowCenter.Instance.IsOpen("PathfindingIconWin"))
                {
                    WindowCenter.Instance.CloseImmediately<PathfindingIconWin>();
                }
@@ -582,9 +582,9 @@
            if (runeTowerModel.newPassFloor > 0 && !IsDungeon())
            {
                if (!WindowCenter.Instance.CheckOpen("NewBieWin") && !WindowCenter.Instance.CheckOpen("TreasureNewGotWin"))
                if (!WindowCenter.Instance.IsOpen("NewBieWin") && !WindowCenter.Instance.IsOpen("TreasureNewGotWin"))
                {
                    if (!WindowCenter.Instance.CheckOpen("RuneNewGotWin"))
                    if (!WindowCenter.Instance.IsOpen("RuneNewGotWin"))
                    {
                        WindowCenter.Instance.Open<RuneNewGotWin>();
                    }
@@ -739,7 +739,7 @@
                }
                LeftImage.SetActive(false);
                RightImg.SetActive(true);
                if (WindowCenter.Instance.CheckOpen<FunctionForecastWin>())
                if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
                {
                    WindowCenter.Instance.Close<FunctionForecastWin>();
                }
@@ -1022,7 +1022,7 @@
        void CheckChatTipOpen()
        {
            bool _chatWinOpen = WindowCenter.Instance.CheckOpen<ChatWin>();
            bool _chatWinOpen = WindowCenter.Instance.IsOpen<ChatWin>();
            m_ChatTip.gameObject.SetActive(!_chatWinOpen);
            if (!_chatWinOpen)
            {
System/MainInterfacePanel/PlayerMainDate.cs
@@ -193,7 +193,7 @@
    {
        if (ItemID == 221)
        {
            if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
            if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
            {
                WindowCenter.Instance.CloseAll(WindowCenter.CloseAllIgnoreType.SystemAndCustom);
                WindowCenter.Instance.Open<MainInterfaceWin>();
@@ -354,7 +354,7 @@
                prowNum = power;
                if (!StrengthegingBool && StrengthegingAddFight == 0)
                {
                    if (WindowCenter.Instance.CheckOpen<PowerAddWin>())
                    if (WindowCenter.Instance.IsOpen<PowerAddWin>())
                    {
                        WindowCenter.Instance.CloseImmediately<PowerAddWin>();
                    }
@@ -383,7 +383,7 @@
        yield return new WaitForSeconds(0.5f);
        ProwNumAdd = StrengthegingAddFight;
        StrengthegingAddFight = 0;
        if (WindowCenter.Instance.CheckOpen<PowerAddWin>())
        if (WindowCenter.Instance.IsOpen<PowerAddWin>())
        {
            WindowCenter.Instance.CloseImmediately<PowerAddWin>();
        }
@@ -393,7 +393,7 @@
    public void FabaoPowerAdd(int power)
    {
        ProwNumAdd = power;
        if (WindowCenter.Instance.CheckOpen<PowerAddWin>())
        if (WindowCenter.Instance.IsOpen<PowerAddWin>())
        {
            WindowCenter.Instance.CloseImmediately<PowerAddWin>();
        }
System/MainInterfacePanel/PlayerTaskDatas.cs
@@ -312,8 +312,8 @@
        {
            return;
        }
        bool IsOpenMain = WindowCenter.Instance.CheckOpen<MainInterfaceWin>();
        if (!WindowCenter.Instance.CheckOpen<DefaultDialogueBoxWin>() && IsOpenMain)
        bool IsOpenMain = WindowCenter.Instance.IsOpen<MainInterfaceWin>();
        if (!WindowCenter.Instance.IsOpen<DefaultDialogueBoxWin>() && IsOpenMain)
        {
            WindowCenter.Instance.Open<DefaultDialogueBoxWin>();
            WindowCenter.Instance.Close<MainInterfaceWin>();
@@ -331,7 +331,7 @@
            return;
        }
        var config = Config.Instance.Get<StoryMissionsConfig>(taskID);
        bool IsOpenMain = WindowCenter.Instance.CheckOpen<MainInterfaceWin>();
        bool IsOpenMain = WindowCenter.Instance.IsOpen<MainInterfaceWin>();
        var treasureStageUpShow = ModelCenter.Instance.GetModel<TreasureModel>().treasureStageUpShow;
        if (config != null)
        {
@@ -339,7 +339,7 @@
            {
                if (NPCid == config.NpcID[i])
                {
                    if (!WindowCenter.Instance.CheckOpen<DialogueDuidanceWin>() && IsOpenMain
                    if (!WindowCenter.Instance.IsOpen<DialogueDuidanceWin>() && IsOpenMain
                        && !treasureStageUpShow && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin())
                    {
                        WindowCenter.Instance.Close<MainInterfaceWin>();
@@ -348,7 +348,7 @@
                    return;
                }
            }
            if (!WindowCenter.Instance.CheckOpen<TaskBoxBGMWin>() && IsOpenMain && !treasureStageUpShow)
            if (!WindowCenter.Instance.IsOpen<TaskBoxBGMWin>() && IsOpenMain && !treasureStageUpShow)
            {
                WindowCenter.Instance.Close<MainInterfaceWin>();
                WindowCenter.Instance.Open<TaskBoxBGMWin>();
@@ -365,7 +365,7 @@
        }
        else
        {
            if (!WindowCenter.Instance.CheckOpen<TaskBoxBGMWin>() && IsOpenMain && !treasureStageUpShow)
            if (!WindowCenter.Instance.IsOpen<TaskBoxBGMWin>() && IsOpenMain && !treasureStageUpShow)
            {
                WindowCenter.Instance.Close<MainInterfaceWin>();
                WindowCenter.Instance.Open<TaskBoxBGMWin>();
@@ -1289,12 +1289,12 @@
            yield break;
        }
        if (WindowCenter.Instance.CheckOpen<TreasureLevelUpWin>())
        if (WindowCenter.Instance.IsOpen<TreasureLevelUpWin>())
        {
            yield break;
        }
        if (WindowCenter.Instance.CheckOpen<MysteriousMissionWin>())
        if (WindowCenter.Instance.IsOpen<MysteriousMissionWin>())
        {
            yield break;
        }
@@ -1455,18 +1455,18 @@
    public static bool IsOPenAutoResolve()//任务面板不开启自动挂机状态
    {
        WindowCenter.Instance.CheckOpen<DefaultDialogueBoxWin>();
        WindowCenter.Instance.CheckOpen<DialogueDuidanceWin>();
        WindowCenter.Instance.IsOpen<DefaultDialogueBoxWin>();
        WindowCenter.Instance.IsOpen<DialogueDuidanceWin>();
        bool _bool = true;
        if (WindowCenter.Instance.CheckOpen<TaskBoxBGMWin>())
        if (WindowCenter.Instance.IsOpen<TaskBoxBGMWin>())
        {
            _bool = false;
        }
        else if (WindowCenter.Instance.CheckOpen<DefaultDialogueBoxWin>())
        else if (WindowCenter.Instance.IsOpen<DefaultDialogueBoxWin>())
        {
            _bool = false;
        }
        else if (WindowCenter.Instance.CheckOpen<DialogueDuidanceWin>())
        else if (WindowCenter.Instance.IsOpen<DialogueDuidanceWin>())
        {
            _bool = false;
        }
System/MainInterfacePanel/PowerAddWin.cs
@@ -121,7 +121,7 @@
        void CheckPosition()
        {
            var type = WindowType.None;
            if (WindowCenter.Instance.CheckOpen<TreasureLevelUpWin>())
            if (WindowCenter.Instance.IsOpen<TreasureLevelUpWin>())
            {
                type = WindowType.TreasureLevelUp;
            }
System/MainInterfacePanel/RechargeTipWin.cs
@@ -58,7 +58,7 @@
                return;
            }
         
            if (WindowCenter.Instance.CheckOpen<VipRechargeWin>())
            if (WindowCenter.Instance.IsOpen<VipRechargeWin>())
            {
                if (JumpVipPanel != null)
                {
System/MainInterfacePanel/TaskAllocation.cs
@@ -133,7 +133,7 @@
                        if (Gold >= NeedMoney)
                        {
                            taskmodel.CompletionOfTask(TaskID);
                            if (WindowCenter.Instance.CheckOpen<SkillPanel>())
                            if (WindowCenter.Instance.IsOpen<SkillPanel>())
                            {
                                return;
                            }
System/MainInterfacePanel/TaskBoxBGMWin.cs
@@ -329,7 +329,7 @@
        {
            // base.LateUpdate();
            GetMainSelfMotionLaupdate();
            if (!WindowCenter.Instance.CheckOpen<TaskBoxBGMWin>())
            if (!WindowCenter.Instance.IsOpen<TaskBoxBGMWin>())
            {
                return;
            }
System/MainInterfacePanel/TaskListTip.cs
@@ -217,7 +217,7 @@
        {
            TaskScheduling();
            var inDungeon = IsDungeon();
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !inDungeon)
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !inDungeon)
            {
                TaskAddAndDelete();
            }
@@ -304,7 +304,7 @@
        {
            var inDungeon = IsDungeon();
            TaskScheduling();
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !inDungeon)
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !inDungeon)
            {
                DeleteSort(_IdTask);
            }
System/MainInterfacePanel/TaskWin.cs
@@ -86,7 +86,7 @@
        private void OnPlayerDie()
        {
            CloseImmediately();
            if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
            if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
            {
                WindowCenter.Instance.Open<MainInterfaceWin>();
            }
System/MainInterfacePanel/TipPanel.cs
@@ -51,7 +51,7 @@
        IEnumerator Co_GuideComplete()
        {
            yield return null;
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !NewBieCenter.Instance.inGuiding
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !NewBieCenter.Instance.inGuiding
                && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin() && !StageManager.Instance.isLoading)
            {
                IsOPenTip();
@@ -61,7 +61,7 @@
        IEnumerator Co_Load()
        {
            yield return WaitingForSecondConst.WaitMS500;
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !NewBieCenter.Instance.inGuiding
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !NewBieCenter.Instance.inGuiding
                && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin() && !StageManager.Instance.isLoading
                && StageManager.Instance.CurrentStage is DungeonStage)
            {
@@ -78,7 +78,7 @@
        public void IsOPenTip()
        {
            var inDungeon = IsDungeon();
            if (loginAdModel.CheckOpen() || WindowCenter.Instance.CheckOpen<LoginAdWin>())//广告
            if (loginAdModel.CheckOpen() || WindowCenter.Instance.IsOpen<LoginAdWin>())//广告
            {
            }
@@ -91,8 +91,8 @@
            {
                firstTimeRechargeModel.OpenFirstChargeTrialWin();
            }
            else if(!WindowCenter.Instance.CheckOpen<PetAndMountPushWin>()
                && !WindowCenter.Instance.CheckOpen<OffLineOnHookWin>()) //灵宠坐骑推送
            else if(!WindowCenter.Instance.IsOpen<PetAndMountPushWin>()
                && !WindowCenter.Instance.IsOpen<OffLineOnHookWin>()) //灵宠坐骑推送
            {
                storeModel.SetPushPetAndMountWinState();
            }
System/MainInterfacePanel/TopAnimationPlay.cs
@@ -115,7 +115,7 @@
        }
        private void LateUpdate()
        {
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>())
            {
                if (IsBool)
                {
System/Market/MarketWin.cs
@@ -113,13 +113,13 @@
        }
        private void CloseChildWin()
        {
            if (WindowCenter.Instance.CheckOpen<MarketDealWin>()) {
            if (WindowCenter.Instance.IsOpen<MarketDealWin>()) {
                WindowCenter.Instance.CloseImmediately<MarketDealWin>();
            }
            if (WindowCenter.Instance.CheckOpen<MarketPutawayWin>()) {
            if (WindowCenter.Instance.IsOpen<MarketPutawayWin>()) {
                WindowCenter.Instance.CloseImmediately<MarketPutawayWin>();
            }
            if (WindowCenter.Instance.CheckOpen<MarketDealRecordWin>()) {
            if (WindowCenter.Instance.IsOpen<MarketDealRecordWin>()) {
                WindowCenter.Instance.CloseImmediately<MarketDealRecordWin>();
            }
        }
System/Message/BattleHint.cs
@@ -31,7 +31,7 @@
            {
                return;
            }
            if (!WindowCenter.Instance.CheckOpen<BattleHintWin>())
            if (!WindowCenter.Instance.IsOpen<BattleHintWin>())
            {
                WindowCenter.Instance.Open<BattleHintWin>();
            }
System/Message/BossNotify.cs
@@ -33,7 +33,7 @@
                {
                    OnNotifyEvent();
                }
                if (!WindowCenter.Instance.CheckOpen<BossNotifyWin>())
                if (!WindowCenter.Instance.IsOpen<BossNotifyWin>())
                {
                    WindowCenter.Instance.Open<BossNotifyWin>();
                }
System/Message/GMNotify.cs
@@ -100,7 +100,7 @@
            {
                return false;
            }
            if (WindowCenter.Instance.CheckOpen<LoadingWin>())
            if (WindowCenter.Instance.IsOpen<LoadingWin>())
            {
                return false;
            }
System/Message/RichNormalEvent.cs
@@ -84,7 +84,7 @@
                    int _id = 0;
                    int.TryParse(href.mSplits["getway"], out _id);
                    ModelCenter.Instance.GetModel<GetItemPathModel>().SetChinItemModel(_id, 0, true);
                    if (!WindowCenter.Instance.CheckOpen<GetWaysWin>())
                    if (!WindowCenter.Instance.IsOpen<GetWaysWin>())
                    {
                        WindowCenter.Instance.Open<GetWaysWin>();
                    }
System/Mount/MountWin.cs
@@ -377,7 +377,7 @@
                {
                    FuncConfigConfig _tagfun = Config.Instance.Get<FuncConfigConfig>("HorseUpItem");
                    ItemConfig _tagchine = Config.Instance.Get<ItemConfig>(int.Parse(_tagfun.Numerical1));
                    if (!WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>())
                    if (!WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>())
                    {
                        GetItemPath.SetChinItemModel(_tagchine.ID);
                    }
@@ -427,7 +427,7 @@
                    ScrollTip.ShowTip(Language.Get("HorseDan5_text"));
                    yield break;
                }
                else if (WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>())//打开骑宠激活界面结束方法
                else if (WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>())//打开骑宠激活界面结束方法
                {
                    m_AutoTrainBtn.gameObject.SetActive(true);
                    m_StopDomesticateBtn.gameObject.SetActive(false);
@@ -466,7 +466,7 @@
        public void FairyJadeDomesticate()
        {
            int NumberLv = AutoTrainTipsWin._Lvnumber;//等级所需的等级
            if (NumberLv > mountModel._DicHorse[signHorseID].Lv && !WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>() && AutoTrainTipsWin.IsFairy)
            if (NumberLv > mountModel._DicHorse[signHorseID].Lv && !WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>() && AutoTrainTipsWin.IsFairy)
            {
                m_AutoTrainBtn.gameObject.SetActive(false);
                m_StopDomesticateBtn.gameObject.SetActive(true);
@@ -480,7 +480,7 @@
            int NumberLv = AutoTrainTipsWin._Lvnumber;//等级所需的等级
            while (NumberLv > mountModel._DicHorse[signHorseID].Lv)
            {
                if (WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>())
                if (WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>())
                {
                    m_AutoTrainBtn.gameObject.SetActive(true);
                    m_StopDomesticateBtn.gameObject.SetActive(false);
System/NetLink/NetLinkWin.cs
@@ -20,7 +20,7 @@
        {
            linkOverTime = _delay;
            if (!WindowCenter.Instance.CheckOpen<NetLinkWin>())
            if (!WindowCenter.Instance.IsOpen<NetLinkWin>())
            {
                WindowCenter.Instance.Open<NetLinkWin>(true);
            }
@@ -28,7 +28,7 @@
        public static void Hide()
        {
            if (WindowCenter.Instance.CheckOpen<NetLinkWin>())
            if (WindowCenter.Instance.IsOpen<NetLinkWin>())
            {
                WindowCenter.Instance.Close<NetLinkWin>();
            }
System/OpenServerActivity/OSRedEnvelopeModel.cs
@@ -449,7 +449,7 @@
        public int cacheAchievement = 0;
        public void RequestSendAchieveEnvelope(int _id)
        {
            if (!WindowCenter.Instance.CheckOpen<OSRedEnvelopeSendWin>())
            if (!WindowCenter.Instance.IsOpen<OSRedEnvelopeSendWin>())
            {
                cacheAchievement = _id;
                WindowCenter.Instance.Open<OSRedEnvelopeSendWin>();
System/OpenServerActivity/OnlineRewardsModel.cs
@@ -71,7 +71,7 @@
        IsRedPointBool = true;
        OnlineRewardsPoint();
      
        if (WindowCenter.Instance.CheckOpen<OnlineRewardsWin>() && OnlineRewardsUpdate != null)
        if (WindowCenter.Instance.IsOpen<OnlineRewardsWin>() && OnlineRewardsUpdate != null)
        {
            OnlineRewardsUpdate();
        }
System/OpenServerActivity/OpenServerGiftWin.cs
@@ -56,7 +56,7 @@
            giftModel.SetDayRemind();
            Display();
            m_ContainerDisplay.gameObject.SetActive(!WindowCenter.Instance.CheckOpen<OffLineOnHookWin>());
            m_ContainerDisplay.gameObject.SetActive(!WindowCenter.Instance.IsOpen<OffLineOnHookWin>());
        }
        protected override void OnAfterOpen()
System/OpenServerActivity/RedEnvelopeModel.cs
@@ -94,7 +94,7 @@
            }
            if (vNetData.RedPacketID == cacheEnvelopeId)
            {
                if (!WindowCenter.Instance.CheckOpen<RedDetailsTipsWin>())
                if (!WindowCenter.Instance.IsOpen<RedDetailsTipsWin>())
                {
                    envelopeSfx = vNetData.RedPacketID == envelopeSfx && self ? envelopeSfx : 0;
                    ModelCenter.Instance.GetModel<PlayerRedPacketDatas>().redpackDetailId = (int)vNetData.RedPacketID;
@@ -258,7 +258,7 @@
                return;
            }
            if (!(StageManager.Instance.CurrentStage is DungeonStage)
                || WindowCenter.Instance.CheckOpen<LoadingWin>())
                || WindowCenter.Instance.IsOpen<LoadingWin>())
            {
                return;
            }
System/Pet/PetAttributeMethods.cs
@@ -531,7 +531,7 @@
            int haveCnt = playerPack.GetItemCountByID(PackType.rptItem, petmodel.petUpgradeToolId);
            if (haveCnt >= costNum)
            {
                if (WindowCenter.Instance.CheckOpen<RidingAndPetActivationWin>())
                if (WindowCenter.Instance.IsOpen<RidingAndPetActivationWin>())
                {
                    petAutoTrainText.text = Language.Get("PetWin_EvolveTrainBtn_6");
                    isAutoTrain = false;
System/Pet/PetWin.cs
@@ -140,11 +140,11 @@
        void CloseChild()
        {
            if (WindowCenter.Instance.CheckOpen<PetAttributeWin>())
            if (WindowCenter.Instance.IsOpen<PetAttributeWin>())
            {
                WindowCenter.Instance.CloseImmediately<PetAttributeWin>();
            }
            if (WindowCenter.Instance.CheckOpen<MountWin>())
            if (WindowCenter.Instance.IsOpen<MountWin>())
            {
                WindowCenter.Instance.CloseImmediately<MountWin>();
            }
System/PlayerDead/PlayerDeadModel.cs
@@ -160,7 +160,7 @@
                autoRebornTime = RebornConditions[3];
            }
            if(!WindowCenter.Instance.CheckOpen<RebornWin>())
            if(!WindowCenter.Instance.IsOpen<RebornWin>())
            {
                WindowCenter.Instance.Open<RebornWin>();
            }
@@ -191,14 +191,14 @@
                    case 31150:
                        if (dungeonModel.mission.score >= 100)
                        {
                            if(!WindowCenter.Instance.CheckOpen<ElderGodAreaExitWin>())
                            if(!WindowCenter.Instance.IsOpen<ElderGodAreaExitWin>())
                            {
                                WindowCenter.Instance.Open<ElderGodAreaExitWin>();
                            }
                        }
                        else
                        {
                            if (!WindowCenter.Instance.CheckOpen<ElderGodAreaRebornWin>())
                            if (!WindowCenter.Instance.IsOpen<ElderGodAreaRebornWin>())
                            {
                                WindowCenter.Instance.Open<ElderGodAreaRebornWin>();
                            }
@@ -207,14 +207,14 @@
                    case 31110:
                        if(dungeonModel.mission.leaderID != playerId)
                        {
                            if (!WindowCenter.Instance.CheckOpen<ReliveWin>())
                            if (!WindowCenter.Instance.IsOpen<ReliveWin>())
                            {
                                WindowCenter.Instance.Open<ReliveWin>();
                            }
                        }
                        break;
                    default:
                        if (!WindowCenter.Instance.CheckOpen<ReliveWin>())
                        if (!WindowCenter.Instance.IsOpen<ReliveWin>())
                        {
                            WindowCenter.Instance.Open<ReliveWin>();
                        }
System/Realm/ActivateShow.cs
@@ -53,7 +53,7 @@
            fightPower = UIHelper.GetFightPower(propertyUpDict);
            titleIconKey = "UI_JH_3";
            if (!WindowCenter.Instance.CheckOpen<RealmPropertyUpWin>())
            if (!WindowCenter.Instance.IsOpen<RealmPropertyUpWin>())
            {
                WindowCenter.Instance.Open<RealmPropertyUpWin>();
            }
@@ -122,7 +122,7 @@
            titleIconKey = _beforeLv == 0 ? "UI_JH_12" : "UI_JH_6";
            if (!WindowCenter.Instance.CheckOpen<RealmPropertyUpWin>())
            if (!WindowCenter.Instance.IsOpen<RealmPropertyUpWin>())
            {
                WindowCenter.Instance.Open<RealmPropertyUpWin>();
            }
@@ -171,7 +171,7 @@
            fightPower = UIHelper.GetFightPower(propertyUpDict);
            titleIconKey = "XT_LD_01";
            if (!WindowCenter.Instance.CheckOpen<StoveUpgradWin>())
            if (!WindowCenter.Instance.IsOpen<StoveUpgradWin>())
            {
                WindowCenter.Instance.Open<StoveUpgradWin>();
            }
@@ -256,7 +256,7 @@
                        break;
                }
                fightPower = UIHelper.GetFightPower(propertyUpDict);
                if (!WindowCenter.Instance.CheckOpen<RealmPropertyUpWin>())
                if (!WindowCenter.Instance.IsOpen<RealmPropertyUpWin>())
                {
                    WindowCenter.Instance.Open<RealmPropertyUpWin>();
                }
System/Realm/RealmBossShow.cs
@@ -54,7 +54,7 @@
        public void Open(int _realmLv)
        {
            if (!WindowCenter.Instance.CheckOpen<RealmBossShowWin>())
            if (!WindowCenter.Instance.IsOpen<RealmBossShowWin>())
            {
                WindowCenter.Instance.Open<RealmBossShowWin>(true);
            }
System/Realm/RealmWin.cs
@@ -82,7 +82,7 @@
        private void CloseChildWin()
        {
            if (WindowCenter.Instance.CheckOpen<RealmUpWin>())
            if (WindowCenter.Instance.IsOpen<RealmUpWin>())
            {
                WindowCenter.Instance.CloseImmediately<RealmUpWin>();
            }
System/Role/MagicianModel.cs
@@ -236,7 +236,7 @@
            if (serverInited && _beforeLv != _nowLv
                && (_beforeLv == 0 || TryGetUnlockSkill(_type, _beforeLv, _nowLv, out _skillId)))
            {
                if (WindowCenter.Instance.CheckOpen<MagicianWin>()
                if (WindowCenter.Instance.IsOpen<MagicianWin>()
                    && !NewBieCenter.Instance.inGuiding)
                {
                    ActivateShow.GodWeaponActivate(_type, _nowLv, _beforeLv);
System/Role/MagicianWin.cs
@@ -387,7 +387,7 @@
                UpdateItems(GetItemIndex(model.selectType));
                if (m_PresentSelectItemCnt <= 0)
                {
                    if (!WindowCenter.Instance.CheckOpen<GetItemPathWin>())
                    if (!WindowCenter.Instance.IsOpen<GetItemPathWin>())
                    {
                        int[] items = model.GetLvUpItemByType(model.selectType);
                        ItemConfig itemCfg = Config.Instance.Get<ItemConfig>(items[model.selectItemIndex]);
System/Role/RolePanel.cs
@@ -386,11 +386,11 @@
                OnDisableRole();
                m_RoleInfoRt.gameObject.SetActive(false);
            }
            if (WindowCenter.Instance.CheckOpen<MagicianWin>())
            if (WindowCenter.Instance.IsOpen<MagicianWin>())
            {
                WindowCenter.Instance.CloseImmediately<MagicianWin>();
            }
            if (WindowCenter.Instance.CheckOpen<MountWin>())
            if (WindowCenter.Instance.IsOpen<MountWin>())
            {
                WindowCenter.Instance.CloseImmediately<MountWin>();
            }
System/RoleParticulars/RoleParticularModel.cs
@@ -583,13 +583,13 @@
            switch (viewPlayerType)
            {
                case 0:
                    if (!WindowCenter.Instance.CheckOpen<RoleParticularsWin>())
                    if (!WindowCenter.Instance.IsOpen<RoleParticularsWin>())
                    {
                        WindowCenter.Instance.Open<RoleParticularsWin>();
                    }
                    break;
                case 1:
                    if (!WindowCenter.Instance.CheckOpen<ViewFuncPowerWin>())
                    if (!WindowCenter.Instance.IsOpen<ViewFuncPowerWin>())
                    {
                        WindowCenter.Instance.Open<ViewFuncPowerWin>();
                    }
System/RolePromote/RoleResourceCell.cs
@@ -60,7 +60,7 @@
                    resourceBtn.onClick.AddListener(() =>
                    {
                        getItemPathModel.SetChinItemModel(_tagChinItemModel.ID,0,true);
                        if (!WindowCenter.Instance.CheckOpen<GetWaysWin>())
                        if (!WindowCenter.Instance.IsOpen<GetWaysWin>())
                        {
                            WindowCenter.Instance.Open<GetWaysWin>();
                        }
System/Rune/RuneModel.cs
@@ -1135,7 +1135,7 @@
        public event Action JumpToComposeEvent;
        public void JumpToRuneCompose()
        {
            if (WindowCenter.Instance.CheckOpen<RunePanel>())
            if (WindowCenter.Instance.IsOpen<RunePanel>())
            {
                if (JumpToComposeEvent != null)
                {
System/Rune/RunePanel.cs
@@ -111,15 +111,15 @@
        private void CloseChild()
        {
            if (WindowCenter.Instance.CheckOpen<RuneMosaicWin>())
            if (WindowCenter.Instance.IsOpen<RuneMosaicWin>())
            {
                WindowCenter.Instance.CloseImmediately<RuneMosaicWin>();
            }
            if (WindowCenter.Instance.CheckOpen<RuneBreakWin>())
            if (WindowCenter.Instance.IsOpen<RuneBreakWin>())
            {
                WindowCenter.Instance.CloseImmediately<RuneBreakWin>();
            }
            if (WindowCenter.Instance.CheckOpen<RuneComposeWin>())
            if (WindowCenter.Instance.IsOpen<RuneComposeWin>())
            {
                WindowCenter.Instance.CloseImmediately<RuneComposeWin>();
            }
System/Skill/SkillPanel.cs
@@ -120,10 +120,10 @@
        void CloseChild()
        {
            if (WindowCenter.Instance.CheckOpen<SkillAccordWin>()) {
            if (WindowCenter.Instance.IsOpen<SkillAccordWin>()) {
                WindowCenter.Instance.CloseImmediately<SkillAccordWin>();
            }
            if (WindowCenter.Instance.CheckOpen<SkillPassWin>()) {
            if (WindowCenter.Instance.IsOpen<SkillPassWin>()) {
                WindowCenter.Instance.CloseImmediately<SkillPassWin>();
            }
        }
System/StartCoroutine/CoroutineMgr.cs
@@ -78,7 +78,7 @@
    IEnumerator MysteriousTask()
    {
        yield return WaitingForSecondConst.WaitMS500;
        if (!WindowCenter.Instance.CheckOpen<MysteriousMissionWin>())
        if (!WindowCenter.Instance.IsOpen<MysteriousMissionWin>())
        {
            WindowCenter.Instance.Open<MysteriousMissionWin>();
        }
System/Store/StoreModel.cs
@@ -526,7 +526,7 @@
                    return;
                }
                BuySuccessModel.Instance.SetBuySuccessModel(chinModel.ID, (int)result.ItemCnt, tagStore.IsBind);
                if (!WindowCenter.Instance.CheckOpen<BuySuccessWin>())
                if (!WindowCenter.Instance.IsOpen<BuySuccessWin>())
                {
                    WindowCenter.Instance.Open<BuySuccessWin>();
                }
@@ -1169,7 +1169,7 @@
        if(CheckIsShowPush(isMustClose))
        {
            if (!WindowCenter.Instance.CheckOpen<PetAndMountPushWin>())
            if (!WindowCenter.Instance.IsOpen<PetAndMountPushWin>())
            {
                WindowCenter.Instance.Open<PetAndMountPushWin>();
            }
@@ -1192,9 +1192,9 @@
            MapConfig curMapConfig = Config.Instance.Get<MapConfig>(PlayerDatas.Instance.baseData.MapID);
          
            if ((curMapConfig == null || curMapConfig.MapFBType != 0)
                || !WindowCenter.Instance.CheckOpen<MainInterfaceWin>()
                || !WindowCenter.Instance.IsOpen<MainInterfaceWin>()
                || NewBieCenter.Instance.inGuiding
                || WindowCenter.Instance.CheckOpen<FirstTimeRechargeWin>()
                || WindowCenter.Instance.IsOpen<FirstTimeRechargeWin>()
                || currentPushId == 0
                || !ModelCenter.Instance.GetModel<PlayerMainDate>().MainTopPanelShow)
            {
System/SystemSetting/SetFreeTimeWin.cs
@@ -76,7 +76,7 @@
          
            curHour = hour;
            curMinute = minute;
            if(!WindowCenter.Instance.CheckOpen<SetFreeTimeWin>())
            if(!WindowCenter.Instance.IsOpen<SetFreeTimeWin>())
            {
                WindowCenter.Instance.Open<SetFreeTimeWin>();
            }
System/SystemSetting/SettingEffectMgr.cs
@@ -224,7 +224,7 @@
    private int rebornPrice;
    private void OnPlayerDie()
    {
        if (WindowCenter.Instance.CheckOpen<FunctionForecastWin>())
        if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
        {
            WindowCenter.Instance.Close<FunctionForecastWin>();
        }
System/SystemSetting/SystemSetWin.cs
@@ -253,7 +253,7 @@
        {
            if (!WindowJumpMgr.Instance.IsJumpState)
            {
                if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
                if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
                {
                    WindowCenter.Instance.Open<MainInterfaceWin>();
                }
@@ -261,7 +261,7 @@
            WindowCenter.Instance.CloseImmediately<SettingUpWin>();
            if (!WindowCenter.Instance.CheckOpen<LockedScreenWin>())
            if (!WindowCenter.Instance.IsOpen<LockedScreenWin>())
            {
                WindowCenter.Instance.Open<LockedScreenWin>();
            }
System/Team/TeamFrameWin.cs
@@ -47,12 +47,12 @@
            model.createTeamEvent -= OnCreateTeam;
            model.matchingStateChangeEvent -= OnMatchStateChange;
            if (WindowCenter.Instance.CheckOpen<MyTeamWin>())
            if (WindowCenter.Instance.IsOpen<MyTeamWin>())
            {
                WindowCenter.Instance.CloseImmediately<MyTeamWin>();
            }
            if (WindowCenter.Instance.CheckOpen<TeamListWin>())
            if (WindowCenter.Instance.IsOpen<TeamListWin>())
            {
                WindowCenter.Instance.CloseImmediately<TeamListWin>();
            }
@@ -92,7 +92,7 @@
        private void ShowTeamList()
        {
            if (WindowCenter.Instance.CheckOpen<MyTeamWin>())
            if (WindowCenter.Instance.IsOpen<MyTeamWin>())
            {
                WindowCenter.Instance.CloseImmediately<MyTeamWin>();
            }
@@ -103,7 +103,7 @@
        private void ShowMyTeam()
        {
            if (WindowCenter.Instance.CheckOpen<TeamListWin>())
            if (WindowCenter.Instance.IsOpen<TeamListWin>())
            {
                WindowCenter.Instance.CloseImmediately<TeamListWin>();
            }
System/Team/TeamModel.cs
@@ -951,9 +951,9 @@
            {
                if (!oldInTeam && myTeam.inTeam)
                {
                    if (!WindowCenter.Instance.CheckOpen("NewBieWin") && !WindowCenter.Instance.CheckOpen("TreasureNewGotWin"))
                    if (!WindowCenter.Instance.IsOpen("NewBieWin") && !WindowCenter.Instance.IsOpen("TreasureNewGotWin"))
                    {
                        if (!WindowCenter.Instance.CheckOpen("MyTeamWin"))
                        if (!WindowCenter.Instance.IsOpen("MyTeamWin"))
                        {
                            WindowCenter.Instance.Open<TeamFrameWin>(false, 1);
                        }
@@ -1036,7 +1036,7 @@
                    {
                        if (teamPrepare.OnlyCaptainerPrepared(mate.id))
                        {
                            if (!WindowCenter.Instance.CheckOpen<TeamPrepareWin>())
                            if (!WindowCenter.Instance.IsOpen<TeamPrepareWin>())
                            {
                                prepareBeginTime = DateTime.Now;
                                WindowCenter.Instance.Open<TeamPrepareWin>();
System/Tip/ConfirmCancel.cs
@@ -20,7 +20,7 @@
            OnPopConfirmClickEvent = func;
            OnPopSingleConfirmEvent = null;
            IsSingleConfirm = false;
            if (!WindowCenter.Instance.CheckOpen<PopConfirmWin>())
            if (!WindowCenter.Instance.IsOpen<PopConfirmWin>())
            {
                WindowCenter.Instance.Open<PopConfirmWin>();
            }
@@ -33,7 +33,7 @@
            OnPopConfirmClickEvent = null;
            OnPopSingleConfirmEvent = func;
            IsSingleConfirm = true;
            if (!WindowCenter.Instance.CheckOpen<PopConfirmWin>())
            if (!WindowCenter.Instance.IsOpen<PopConfirmWin>())
            {
                WindowCenter.Instance.Open<PopConfirmWin>();
            }
@@ -47,7 +47,7 @@
            OnPopConfirmClickEvent = null;
            OnPopSingleConfirmEvent = func;
            IsSingleConfirm = true;
            if (!WindowCenter.Instance.CheckOpen<RealmPopConfirmWin>())
            if (!WindowCenter.Instance.IsOpen<RealmPopConfirmWin>())
            {
                WindowCenter.Instance.Open<RealmPopConfirmWin>();
            }
@@ -66,7 +66,7 @@
            toggleContent = toggleTxt;
            OnToggleConfirmEvent = func;
            toggleOpenState = _toggle;
            if (!WindowCenter.Instance.CheckOpen<ToggleConfirmWin>())
            if (!WindowCenter.Instance.IsOpen<ToggleConfirmWin>())
            {
                WindowCenter.Instance.Open<ToggleConfirmWin>();
            }
@@ -93,7 +93,7 @@
            iconNeedCnt = needCnt;
            iconToggleText = toggleTxt;
            OnIconToggleConfirmAct = func;
            if (!WindowCenter.Instance.CheckOpen<IconConfirmWin>())
            if (!WindowCenter.Instance.IsOpen<IconConfirmWin>())
            {
                WindowCenter.Instance.Open<IconConfirmWin>();
            }
@@ -106,7 +106,7 @@
        public static void ShowFairyLeagueGuide(Action<bool> func = null)
        {
            OnFairyLeagueGuideEvent = func;
            if (!WindowCenter.Instance.CheckOpen<FairyLeagueGuideSelectWin>())
            if (!WindowCenter.Instance.IsOpen<FairyLeagueGuideSelectWin>())
            {
                WindowCenter.Instance.Open<FairyLeagueGuideSelectWin>();
            }
@@ -124,7 +124,7 @@
            generalItemId = _itemId;
            generalItemCnt = _itemCnt;
            ItemConfirmEvent = func;
            if (!WindowCenter.Instance.CheckOpen<ItemConfirmWin>())
            if (!WindowCenter.Instance.IsOpen<ItemConfirmWin>())
            {
                WindowCenter.Instance.Open<ItemConfirmWin>();
            }
System/Tip/ExperienceGetWin.cs
@@ -24,7 +24,7 @@
    static void OnGetNewExperience(int _source, int _billionsExperience, int _unitExperience)
    {
        if (!WindowCenter.Instance.CheckOpen<ExperienceGetWin>())
        if (!WindowCenter.Instance.IsOpen<ExperienceGetWin>())
        {
            WindowCenter.Instance.Open<ExperienceGetWin>(true);
        }
System/Tip/FuncRules.cs
@@ -11,7 +11,7 @@
        public static void OpenFuncRule(string _ruleKey)
        {
            ruleKey = _ruleKey;
            if (!WindowCenter.Instance.CheckOpen<FuncRuleWin>()) {
            if (!WindowCenter.Instance.IsOpen<FuncRuleWin>()) {
                WindowCenter.Instance.Open<FuncRuleWin>();
            }
        }
System/Tip/PlayerDetails.cs
@@ -32,7 +32,7 @@
            PlayerName = _package.PlayerName;
            IsInTeam = _package.IsInTeam;
            if (!WindowCenter.Instance.CheckOpen<PlayerDetailWin>())
            if (!WindowCenter.Instance.IsOpen<PlayerDetailWin>())
            {
                WindowCenter.Instance.Open<PlayerDetailWin>();
            }
System/Tip/ScrollTip.cs
@@ -34,7 +34,7 @@
                OnTipReceiveEvent();
            }
            if (!WindowCenter.Instance.CheckOpen<ScrollTipWin>())
            if (!WindowCenter.Instance.IsOpen<ScrollTipWin>())
            {
                WindowCenter.Instance.Open<ScrollTipWin>();
            }
System/Tip/ServerTipDetails.cs
@@ -26,7 +26,7 @@
            {
                return;
            }
            if (!WindowCenter.Instance.CheckOpen<MarqueeWin>())
            if (!WindowCenter.Instance.IsOpen<MarqueeWin>())
            {
                WindowCenter.Instance.Open<MarqueeWin>();
            }
@@ -48,7 +48,7 @@
            yield return null;
            if (CheckOpenMarquee() && m_Marquees.Count > 0)
            {
                if (!WindowCenter.Instance.CheckOpen<MarqueeWin>())
                if (!WindowCenter.Instance.IsOpen<MarqueeWin>())
                {
                    WindowCenter.Instance.Open<MarqueeWin>();
                }
@@ -115,7 +115,7 @@
        public static void ShowTrumpetTip(ChatTrumpetData trumpetData)
        {
            queueTrumpetTips.Enqueue(trumpetData);
            if (!WindowCenter.Instance.CheckOpen<TrumpetWin>())
            if (!WindowCenter.Instance.IsOpen<TrumpetWin>())
            {
                WindowCenter.Instance.Open<TrumpetWin>();
            }
System/Tip/SkillDetails.cs
@@ -68,7 +68,7 @@
                    infoList.Add(skillModel.Description);
                    break;
            }
            if (!WindowCenter.Instance.CheckOpen<SkillDetailsWin>())
            if (!WindowCenter.Instance.IsOpen<SkillDetailsWin>())
            {
                WindowCenter.Instance.Open<SkillDetailsWin>();
            }
System/Tip/SpGetWin.cs
@@ -24,7 +24,7 @@
    static void OnGetNewSp(long _sp)
    {
        if (!WindowCenter.Instance.CheckOpen<SpGetWin>())
        if (!WindowCenter.Instance.IsOpen<SpGetWin>())
        {
            WindowCenter.Instance.Open<SpGetWin>(true);
        }
System/Treasure/DragSelectComponent.cs
@@ -22,10 +22,10 @@
        private void LateUpdate()
        {
            if (Input.touchCount > 1 || NewBieCenter.Instance.inGuiding
                || WindowCenter.Instance.CheckOpen<TreasureNewStageWin>()
                || WindowCenter.Instance.CheckOpen<PotentialItemUseWin>()
                || WindowCenter.Instance.CheckOpen<TreasureSoulActiveWin>()
                || WindowCenter.Instance.CheckOpen<GetItemPathWin>())
                || WindowCenter.Instance.IsOpen<TreasureNewStageWin>()
                || WindowCenter.Instance.IsOpen<PotentialItemUseWin>()
                || WindowCenter.Instance.IsOpen<TreasureSoulActiveWin>()
                || WindowCenter.Instance.IsOpen<GetItemPathWin>())
            {
                m_StartDrag = false;
                return;
System/Treasure/FairyTreasureCollectPanelPattern5.cs
@@ -260,11 +260,11 @@
                WindowCenter.Instance.CloseImmediately<TreasureLevelUpWin>();
                WindowCenter.Instance.Open<TreasureStageUpTriggerWin>(true);
                WindowCenter.Instance.Open<MainInterfaceWin>();
                if (WindowCenter.Instance.CheckOpen<DialogueDuidanceWin>())
                if (WindowCenter.Instance.IsOpen<DialogueDuidanceWin>())
                {
                    WindowCenter.Instance.CloseImmediately<DialogueDuidanceWin>();
                }
                if (WindowCenter.Instance.CheckOpen<TaskBoxBGMWin>())
                if (WindowCenter.Instance.IsOpen<TaskBoxBGMWin>())
                {
                    WindowCenter.Instance.CloseImmediately<TaskBoxBGMWin>();
                }
System/Treasure/TreasureExhibitionBehaviour.cs
@@ -54,7 +54,7 @@
        private void WindowAfterCloseEvent(Window _window)
        {
            if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
            if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
            {
                return;
            }
System/Treasure/TreasureLevelUpWin.cs
@@ -254,7 +254,7 @@
                && _treasure.state == TreasureState.Collecting && model.serverInited)
            {
                UpdateStage();
                if (WindowCenter.Instance.CheckOpen<EffectToFaBaoWin>())
                if (WindowCenter.Instance.IsOpen<EffectToFaBaoWin>())
                {
                    WindowCenter.Instance.CloseImmediately<EffectToFaBaoWin>();
                }
@@ -266,7 +266,7 @@
            m_Init = true;
            m_DisplayContainer.gameObject.SetActive(true);
            UpdateStage();
            if (WindowCenter.Instance.CheckOpen<EffectToFaBaoWin>())
            if (WindowCenter.Instance.IsOpen<EffectToFaBaoWin>())
            {
                WindowCenter.Instance.CloseImmediately<EffectToFaBaoWin>();
            }
@@ -950,7 +950,7 @@
            var _index = m_Treasure.GetStageIndex(stage.stage);
            model.SetTreasureStageShow(m_Treasure.id, stage.stage);
            if (WindowCenter.Instance.CheckOpen<TreasureStageTipWin>())
            if (WindowCenter.Instance.IsOpen<TreasureStageTipWin>())
            {
                WindowCenter.Instance.CloseImmediately<TreasureStageTipWin>();
            }
@@ -1002,11 +1002,11 @@
                CloseImmediately();
                WindowCenter.Instance.Open<TreasureStageUpTriggerWin>(true);
                WindowCenter.Instance.Open<MainInterfaceWin>();
                if (WindowCenter.Instance.CheckOpen<DialogueDuidanceWin>())
                if (WindowCenter.Instance.IsOpen<DialogueDuidanceWin>())
                {
                    WindowCenter.Instance.CloseImmediately<DialogueDuidanceWin>();
                }
                if (WindowCenter.Instance.CheckOpen<TaskBoxBGMWin>())
                if (WindowCenter.Instance.IsOpen<TaskBoxBGMWin>())
                {
                    WindowCenter.Instance.CloseImmediately<TaskBoxBGMWin>();
                }
System/Treasure/TreasureMeridianBehaviour.cs
@@ -98,7 +98,7 @@
                    return;
                }
                model.selectedStage = m_TreasureStage.stage;
                if (!WindowCenter.Instance.CheckOpen<TreasureStageTipWin>())
                if (!WindowCenter.Instance.IsOpen<TreasureStageTipWin>())
                {
                    TreasureStageTipWin.SetTargetPosition(this.transform as RectTransform);
                    WindowCenter.Instance.Open<TreasureStageTipWin>();
System/Treasure/TreasureModel.cs
@@ -303,9 +303,9 @@
        {
            if (serverInited)
            {
                if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin())
                if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin())
                {
                    if (!WindowCenter.Instance.CheckOpen<TreasureRegulusPopWin>())
                    if (!WindowCenter.Instance.IsOpen<TreasureRegulusPopWin>())
                    {
                        WindowCenter.Instance.Open<TreasureRegulusPopWin>();
                    }
@@ -880,9 +880,9 @@
                return;
            }
            if (!PreFightMission.Instance.IsFinished() || newGotTreasureId == 0
                || NewBieCenter.Instance.inGuiding || !WindowCenter.Instance.CheckOpen<MainInterfaceWin>()
                || NewBieCenter.Instance.inGuiding || !WindowCenter.Instance.IsOpen<MainInterfaceWin>()
                || WindowCenter.Instance.ExitAnyFullScreenOrMaskWinLEqual(WindowType.Base)
                || WindowCenter.Instance.CheckOpen<TreasureNewGotWin>())
                || WindowCenter.Instance.IsOpen<TreasureNewGotWin>())
            {
                return;
            }
System/Treasure/TreasureSoulModel.cs
@@ -187,7 +187,7 @@
                bool beforeActived = special.active;
                special.active = _data.State == 1;
                if (!beforeActived && special.active && serverInited
                    && !WindowCenter.Instance.CheckOpen<TreasureSoulWin>())
                    && !WindowCenter.Instance.IsOpen<TreasureSoulWin>())
                {
                    treasureSoulNewGotRedpoint.state = RedPointState.Simple;
                    newGotSoul = (int)_data.PriID;
@@ -214,8 +214,8 @@
                }
                if (beforeFinishCount < special.presentFinishCount && serverInited && special.active
                    && WindowCenter.Instance.CheckOpen<TreasureSoulWin>()
                    && !WindowCenter.Instance.CheckOpen<RealmPropertyUpWin>()
                    && WindowCenter.Instance.IsOpen<TreasureSoulWin>()
                    && !WindowCenter.Instance.IsOpen<RealmPropertyUpWin>()
                    && !NewBieCenter.Instance.inGuiding)
                {
                    ActivateShow.TreasureSoulGetReward((int)_data.PriID, beforeFinishCount, special.presentFinishCount);
@@ -237,8 +237,8 @@
                        _specialData.presentFinishCount = (int)_data.Cnt;
                        UpdateRedpoint((int)TreasurePrivilege.StrengthenAdd);
                        if (beforeFinishCount < _specialData.presentFinishCount && serverInited && _specialData.active
                             && WindowCenter.Instance.CheckOpen<TreasureSoulWin>()
                             && !WindowCenter.Instance.CheckOpen<RealmPropertyUpWin>())
                             && WindowCenter.Instance.IsOpen<TreasureSoulWin>()
                             && !WindowCenter.Instance.IsOpen<RealmPropertyUpWin>())
                        {
                            ActivateShow.TreasureSoulGetReward((int)TreasurePrivilege.StrengthenAdd, 
                                beforeFinishCount, _specialData.presentFinishCount);
System/Treasure/TreasureUnlockCell.cs
@@ -82,7 +82,7 @@
                            return;
                        }
                        model.selectedStage = treasureStage.stage;
                        if (!WindowCenter.Instance.CheckOpen<TreasureStageTipWin>())
                        if (!WindowCenter.Instance.IsOpen<TreasureStageTipWin>())
                        {
                            TreasureStageTipWin.SetTargetPosition(m_Button.transform as RectTransform);
                            WindowCenter.Instance.Open<TreasureStageTipWin>();
System/Vip/FirstTimeRechargeModel.cs
@@ -52,7 +52,7 @@
        {
            if (_window is MainInterfaceWin)
            {
                if (WindowCenter.Instance.CheckOpen("FirstTimeRechargeWin"))
                if (WindowCenter.Instance.IsOpen("FirstTimeRechargeWin"))
                {
                    WindowCenter.Instance.CloseImmediately<FirstTimeRechargeWin>();
                }
@@ -149,9 +149,9 @@
        private void windowBeforeOpenEvent(Window obj)
        {
            if ((!WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && WindowCenter.Instance.ExitAnyFullScreenOrMaskWin()) || obj is ChatWin)
            if ((!WindowCenter.Instance.IsOpen<MainInterfaceWin>() && WindowCenter.Instance.ExitAnyFullScreenOrMaskWin()) || obj is ChatWin)
            {
                if (WindowCenter.Instance.CheckOpen("FirstTimeRechargeWin"))
                if (WindowCenter.Instance.IsOpen("FirstTimeRechargeWin"))
                {
                    WindowCenter.Instance.Close<FirstTimeRechargeWin>();
                }
@@ -179,7 +179,7 @@
            }
            else if (IsOk && IsTryOut == 2)
            {
                if (WindowCenter.Instance.CheckOpen<FirstChargeTrialWin>())
                if (WindowCenter.Instance.IsOpen<FirstChargeTrialWin>())
                {
                    WindowCenter.Instance.Close<FirstChargeTrialWin>();
                }
@@ -203,9 +203,9 @@
            int second = (int)ts.TotalSeconds;
            if (CumulativeTime != 0 && PlayerDatas.Instance.baseData.LV <= FirstGoldTimeOut && PlayerDatas.Instance.baseData.coinPointTotal <= 0 && second > 0 /*&& !inDungeon*/ && CumulativeTime - second > 0)
            {
                if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin()&& !WindowCenter.Instance.CheckOpen<ChatWin>())
                if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin()&& !WindowCenter.Instance.IsOpen<ChatWin>())
                {
                    if (!WindowCenter.Instance.CheckOpen("FirstTimeRechargeWin"))
                    if (!WindowCenter.Instance.IsOpen("FirstTimeRechargeWin"))
                    {
                        WindowCenter.Instance.Open<FirstTimeRechargeWin>();
                    }
@@ -234,7 +234,7 @@
                }
                else
                {
                    if (WindowCenter.Instance.CheckOpen("FirstTimeRechargeWin"))
                    if (WindowCenter.Instance.IsOpen("FirstTimeRechargeWin"))
                    {
                        WindowCenter.Instance.Close<FirstTimeRechargeWin>();
                    }
@@ -242,7 +242,7 @@
            }
            else
            {
                if (WindowCenter.Instance.CheckOpen("FirstTimeRechargeWin"))
                if (WindowCenter.Instance.IsOpen("FirstTimeRechargeWin"))
                {
                    WindowCenter.Instance.Close<FirstTimeRechargeWin>();
                }
@@ -261,7 +261,7 @@
            {
                return;
            }
            if (!WindowCenter.Instance.CheckOpen<FirstChargeTrialWin>() && IsTryOut == 1)
            if (!WindowCenter.Instance.IsOpen<FirstChargeTrialWin>() && IsTryOut == 1)
            {
                WindowCenter.Instance.Open<FirstChargeTrialWin>();
            }
System/Vip/FirstTimeRechargeWin.cs
@@ -181,12 +181,12 @@
            LocalSave.SetBool("FirstTimeRechargeBool", false);
            UI3DModelExhibition.Instance.StopShow();
            m_RewardInformationImage.SetActive(false);
            if (WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !NewBieCenter.Instance.inGuiding)
            if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !NewBieCenter.Instance.inGuiding)
            {
                WindowCenter.Instance.CloseImmediately<MainInterfaceWin>();
            }
            UI3DModelExhibition.Instance.StopShow();
            if (WindowCenter.Instance.CheckOpen<FirstTimeRechargeWin>())
            if (WindowCenter.Instance.IsOpen<FirstTimeRechargeWin>())
            {
                WindowCenter.Instance.CloseImmediately<FirstTimeRechargeWin>();
            }
System/Vip/LimitedTimePackageModel.cs
@@ -132,7 +132,7 @@
    }
    public void OpenFreePlat(string Title, float RMBNum, string OrderInfo)
    {
        if (!WindowCenter.Instance.CheckOpen<GotoChargeWin>())
        if (!WindowCenter.Instance.IsOpen<GotoChargeWin>())
        {
            WindowCenter.Instance.Open<GotoChargeWin>(true);
        }
System/Vip/LimitedTimePackageWin.cs
@@ -38,7 +38,7 @@
        {
            m_Close_Btn.AddListener(() => {
                Close();
                if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
                if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
                {
                    WindowCenter.Instance.Open <MainInterfaceWin>();
                }
System/Vip/VipModel.cs
@@ -60,7 +60,7 @@
        {
            TimeMgr.Instance.UnRegister(TimeMgr.SyntonyType.VipExperirnceOverdue);
            m_VipExperienceTime = 0;
            if (WindowCenter.Instance.CheckOpen<GotoChargeWin>())
            if (WindowCenter.Instance.IsOpen<GotoChargeWin>())
            {
                WindowCenter.Instance.CloseImmediately<GotoChargeWin>();
            }
@@ -117,10 +117,10 @@
        {
            yield return WaitingForSecondConst.WaitMS1000;
            waitingJump = false;
            if (!NewBieCenter.Instance.inGuiding && !WindowCenter.Instance.CheckOpen<LoadingWin>()
            if (!NewBieCenter.Instance.inGuiding && !WindowCenter.Instance.IsOpen<LoadingWin>()
                && StageManager.Instance.CurrentStage is DungeonStage && !deadModel.playerIsDie)
            {
                if (!WindowCenter.Instance.CheckOpen<VipRechargeWin>())
                if (!WindowCenter.Instance.IsOpen<VipRechargeWin>())
                {
                    WindowJumpMgr.Instance.ClearJumpData();
                    WindowCenter.Instance.CloseAll(WindowCenter.CloseAllIgnoreType.BaseAndCustom);
@@ -133,15 +133,15 @@
        private void OnChargeComplete()
        {
            m_ChargeReset = true;
            if (WindowCenter.Instance.CheckOpen<RechargeBoxWin>())
            if (WindowCenter.Instance.IsOpen<RechargeBoxWin>())
            {
                WindowCenter.Instance.CloseImmediately<RechargeBoxWin>();
            }
            if (WindowCenter.Instance.CheckOpen<SupremeRechargeWin>())
            if (WindowCenter.Instance.IsOpen<SupremeRechargeWin>())
            {
                WindowCenter.Instance.CloseImmediately<SupremeRechargeWin>();
            }
            if (WindowCenter.Instance.CheckOpen<FirstRechargeWin>())
            if (WindowCenter.Instance.IsOpen<FirstRechargeWin>())
            {
                WindowCenter.Instance.CloseImmediately<FirstRechargeWin>();
                WindowCenter.Instance.Open<MainInterfaceWin>();
@@ -540,7 +540,7 @@
        {
            vipWinType = type;
            var _order = (int)vipWinType;
            if (!WindowCenter.Instance.CheckOpen<VipRechargeWin>())
            if (!WindowCenter.Instance.IsOpen<VipRechargeWin>())
            {
                WindowCenter.Instance.Open<VipRechargeWin>(false, _order);
            }
@@ -708,7 +708,7 @@
            }
            m_ChargeReset = false;
            beforeCTGTime = DateTime.Now;
            if (!WindowCenter.Instance.CheckOpen<GotoChargeWin>())
            if (!WindowCenter.Instance.IsOpen<GotoChargeWin>())
            {
                WindowCenter.Instance.Open<GotoChargeWin>(true);
            }
@@ -731,7 +731,7 @@
            {
                SetViewedRechargeGift();
            }
            if (!WindowCenter.Instance.CheckOpen<RechargeBoxWin>())
            if (!WindowCenter.Instance.IsOpen<RechargeBoxWin>())
            {
                WindowCenter.Instance.Open<RechargeBoxWin>();
            }
@@ -820,11 +820,11 @@
        private void CheckOpenFirstRechargeWin()
        {
            if (WindowCenter.Instance.CheckOpen<TreasureNewGotWin>())
            if (WindowCenter.Instance.IsOpen<TreasureNewGotWin>())
            {
                return;
            }
            if (!NewBieCenter.Instance.inGuiding && WindowCenter.Instance.CheckOpen<MainInterfaceWin>() && !waitingJump)
            if (!NewBieCenter.Instance.inGuiding && WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !waitingJump)
            {
                if (PlayerDatas.Instance.baseData.coinPointTotal > 0 && !firstChargeRewardGet
                                && firstRechargeOpen && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin())
System/Vip/VipRechargeWin.cs
@@ -130,11 +130,11 @@
        private void CloseChildWin()
        {
            if (WindowCenter.Instance.CheckOpen<VipWin>())
            if (WindowCenter.Instance.IsOpen<VipWin>())
            {
                WindowCenter.Instance.CloseImmediately<VipWin>();
            }
            if (WindowCenter.Instance.CheckOpen<RechargeWin>())
            if (WindowCenter.Instance.IsOpen<RechargeWin>())
            {
                WindowCenter.Instance.CloseImmediately<RechargeWin>();
            }
System/Voice/VoiceRecorder.cs
@@ -109,7 +109,7 @@
            return;
        }
        if (!WindowCenter.Instance.CheckOpen<MonitorVoiceWin>())
        if (!WindowCenter.Instance.IsOpen<MonitorVoiceWin>())
        {
            MonitorVoiceWin.audioSource = null;
            WindowCenter.Instance.Open<MonitorVoiceWin>(true);
System/Welfare/AwardExchangeModel.cs
@@ -41,7 +41,7 @@
            if (Items == null || isLogin) return;
            getItems = Items;
            if(!WindowCenter.Instance.CheckOpen<ExchangeGetItemWin>())
            if(!WindowCenter.Instance.IsOpen<ExchangeGetItemWin>())
            {
                WindowCenter.Instance.Open<ExchangeGetItemWin>();
            }
System/Welfare/WelfareWin.cs
@@ -161,23 +161,23 @@
        #endregion
        private void CloseChildWin()
        {
            if (WindowCenter.Instance.CheckOpen<SignInWin>())
            if (WindowCenter.Instance.IsOpen<SignInWin>())
            {
                WindowCenter.Instance.CloseImmediately<SignInWin>();
            }
            if (WindowCenter.Instance.CheckOpen<PrayerWin>())
            if (WindowCenter.Instance.IsOpen<PrayerWin>())
            {
                WindowCenter.Instance.CloseImmediately<PrayerWin>();
            }
            if (WindowCenter.Instance.CheckOpen<InSevenDayWin>())
            if (WindowCenter.Instance.IsOpen<InSevenDayWin>())
            {
                WindowCenter.Instance.CloseImmediately<InSevenDayWin>();
            }
            if (WindowCenter.Instance.CheckOpen<LevelGiftWin>())
            if (WindowCenter.Instance.IsOpen<LevelGiftWin>())
            {
                WindowCenter.Instance.CloseImmediately<LevelGiftWin>();
            }
            if (WindowCenter.Instance.CheckOpen<AwardExchangeWin>())
            if (WindowCenter.Instance.IsOpen<AwardExchangeWin>())
            {
                WindowCenter.Instance.CloseImmediately<AwardExchangeWin>();
            }
System/WindowBase/WindowCenter.cs
@@ -411,7 +411,7 @@
            }
        }
        public bool CheckOpen<T>() where T : Window
        public bool IsOpen<T>() where T : Window
        {
            T win = null;
            if (TryGetWindow(out win))
@@ -427,7 +427,7 @@
            }
        }
        public bool CheckOpen(string _windowName)
        public bool IsOpen(string _windowName)
        {
            if (windows.ContainsKey(_windowName) && windows[_windowName] != null)
            {
@@ -438,16 +438,6 @@
            {
                return false;
            }
        }
        public void PreCreateWindows()
        {
            m_PreCreateWindowNum = 0;
        }
        private void AsyncLoadWindowCallBack(bool _ok, UnityEngine.Object _object)
        {
            m_PreCreateWindowNum--;
        }
        public bool ExitAnyFullScreenOrMaskWin()
System/WindowJump/WindowJumpMgr.cs
@@ -57,7 +57,7 @@
        for (int i = 0; i < windowKeys.Count; i++)
        {
            var key = windowKeys[i];
            if (WindowCenter.Instance.CheckOpen(key) && key != "NewBieWin")
            if (WindowCenter.Instance.IsOpen(key) && key != "NewBieWin")
            {
                if (!openWindows.ContainsKey(jumpPhase))
                {
@@ -943,7 +943,7 @@
                        case "RebornWin":
                            if (DeadModel.playerIsDie)
                            {
                                if (!WindowCenter.Instance.CheckOpen(openWinlist[i]))
                                if (!WindowCenter.Instance.IsOpen(openWinlist[i]))
                                {
                                    WindowCenter.Instance.Get(openWinlist[i]).Open();
                                }
@@ -952,7 +952,7 @@
                        case "ReliveWin":
                            if (DeadModel.playerIsDie)
                            {
                                if (!WindowCenter.Instance.CheckOpen(openWinlist[i]))
                                if (!WindowCenter.Instance.IsOpen(openWinlist[i]))
                                {
                                    WindowCenter.Instance.Get(openWinlist[i]).Open();
                                }
@@ -961,14 +961,14 @@
                        case "ElderGodAreaExitWin":
                            if (DeadModel.playerIsDie)
                            {
                                if (!WindowCenter.Instance.CheckOpen(openWinlist[i]))
                                if (!WindowCenter.Instance.IsOpen(openWinlist[i]))
                                {
                                    WindowCenter.Instance.Get(openWinlist[i]).Open();
                                }
                            }
                            break;
                        default:
                            if (!WindowCenter.Instance.CheckOpen(openWinlist[i]))
                            if (!WindowCenter.Instance.IsOpen(openWinlist[i]))
                            {
                                WindowCenter.Instance.Get(openWinlist[i]).Open();
                            }
@@ -982,7 +982,7 @@
            case 2:
                openWinlist = openWindows[1];
                WindowCenter.Instance.CloseAll(WindowCenter.CloseAllIgnoreType.SystemAndCustom);
                if (!WindowCenter.Instance.CheckOpen<MainInterfaceWin>())
                if (!WindowCenter.Instance.IsOpen<MainInterfaceWin>())
                {
                    WindowCenter.Instance.Open<MainInterfaceWin>();
                }
@@ -992,7 +992,7 @@
                    Window window = WindowCenter.Instance.Get(openWinlist[i]);
                    if (window != null && window.windowInfo.windowType == WindowType.Base)
                    {
                        if (!WindowCenter.Instance.CheckOpen(openWinlist[i]))
                        if (!WindowCenter.Instance.IsOpen(openWinlist[i]))
                        {
                            WindowCenter.Instance.Get(openWinlist[i]).Open();
                        }
@@ -1005,7 +1005,7 @@
                            case "RebornWin":
                                if (SettingEffectMgr.Instance.isPlayerDie)
                                {
                                    if (!WindowCenter.Instance.CheckOpen(openWinlist[i]))
                                    if (!WindowCenter.Instance.IsOpen(openWinlist[i]))
                                    {
                                        WindowCenter.Instance.Get(openWinlist[i]).Open();
                                    }
@@ -1014,7 +1014,7 @@
                            case "ReliveWin":
                                if (SettingEffectMgr.Instance.isPlayerDie)
                                {
                                    if (!WindowCenter.Instance.CheckOpen(openWinlist[i]))
                                    if (!WindowCenter.Instance.IsOpen(openWinlist[i]))
                                    {
                                        WindowCenter.Instance.Get(openWinlist[i]).Open();
                                    }
@@ -1023,7 +1023,7 @@
                            case "ElderGodAreaExitWin":
                                if (SettingEffectMgr.Instance.isPlayerDie)
                                {
                                    if (!WindowCenter.Instance.CheckOpen(openWinlist[i]))
                                    if (!WindowCenter.Instance.IsOpen(openWinlist[i]))
                                    {
                                        WindowCenter.Instance.Get(openWinlist[i]).Open();
                                    }
@@ -1062,13 +1062,13 @@
    private void SecondRefresh()
    {
        if (DeadModel.playerIsDie 
            && WindowCenter.Instance.CheckOpen<MainInterfaceWin>()
            && WindowCenter.Instance.IsOpen<MainInterfaceWin>()
            && dungeonModel.dungeonFightStage != DungeonFightStage.ExitPrepare)
        {
            if (!WindowCenter.Instance.CheckOpen<RebornWin>()
               && !WindowCenter.Instance.CheckOpen<ReliveWin>()
               && !WindowCenter.Instance.CheckOpen<ElderGodAreaExitWin>()
               && !WindowCenter.Instance.CheckOpen<ElderGodAreaRebornWin>())
            if (!WindowCenter.Instance.IsOpen<RebornWin>()
               && !WindowCenter.Instance.IsOpen<ReliveWin>()
               && !WindowCenter.Instance.IsOpen<ElderGodAreaExitWin>()
               && !WindowCenter.Instance.IsOpen<ElderGodAreaRebornWin>())
            {
                ClearJumpData();
                DeadModel.PlayerDie(PlayerDatas.Instance.baseData.PlayerID);
UI/Common/UI3DModelExhibition.cs
@@ -571,11 +571,11 @@
        {
            if (isShowinEquipment && ObjEquipment != null)
            {
                if (WindowCenter.Instance.CheckOpen("FirstTimeRechargeWin"))
                if (WindowCenter.Instance.IsOpen("FirstTimeRechargeWin"))
                {
                    ObjEquipment.transform.Rotate(WindowCenter.Instance.Get<FirstTimeRechargeWin>().RotateVector * 1f, Space.Self);
                }
                if (WindowCenter.Instance.CheckOpen("FirstChargeTrialWin"))
                if (WindowCenter.Instance.IsOpen("FirstChargeTrialWin"))
                {
                    ObjEquipment.transform.Rotate(WindowCenter.Instance.Get<FirstChargeTrialWin>().RotateVector * 1f, Space.Self);
                }
Utility/GMCommand.cs
@@ -19,7 +19,7 @@
    {
        if (Input.GetKeyDown(KeyCode.F1))
        {
            if (!WindowCenter.Instance.CheckOpen<GMInputWin>())
            if (!WindowCenter.Instance.IsOpen<GMInputWin>())
            {
                WindowCenter.Instance.Open<GMInputWin>();
            }
@@ -31,7 +31,7 @@
        if (Input.GetKeyDown(KeyCode.F2))
        {
            if (!WindowCenter.Instance.CheckOpen<GMCmdPanel>())
            if (!WindowCenter.Instance.IsOpen<GMCmdPanel>())
            {
                WindowCenter.Instance.Open<GMCmdPanel>();
            }