From f7dc33c89b3b90a8cbc5999062519e58a5b8fa19 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 26 九月 2018 19:33:05 +0800
Subject: [PATCH] 3335 修理窗口管理api

---
 System/MainInterfacePanel/TipPanel.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/System/MainInterfacePanel/TipPanel.cs b/System/MainInterfacePanel/TipPanel.cs
index c50def1..2063003 100644
--- a/System/MainInterfacePanel/TipPanel.cs
+++ b/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();
             }

--
Gitblit v1.8.0