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/Store/StoreModel.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/System/Store/StoreModel.cs b/System/Store/StoreModel.cs
index 400548f..f45e328 100644
--- a/System/Store/StoreModel.cs
+++ b/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)
             {

--
Gitblit v1.8.0