少年修仙传客户端代码仓库
client_linchunjie
2018-08-27 d106f11e7f44c748f595da36e0cdfd54849649e6
System/WindowBase/WindowCenter.cs
@@ -13,7 +13,8 @@
        public event Action<Window> jumpWindowCloseEvent;
        List<string> closeAllIgnoreWindows = new List<string>() {
            "MessageWin", "NewBieWin", "NewItemGetWin", "AttributePromoteShowWin" ,"DungeonBeginCoolDownWin","DungeonFightWin","StatusTipWin"
            ,"ScrollTipWin","MarqueeWin","ExperienceOpenWin","TrumpetWin","BattlePrepareCoolDownWin","DungeonGradeWin","BattleHintWin"
            ,"ScrollTipWin","MarqueeWin","ExperienceOpenWin","TrumpetWin","BattlePrepareCoolDownWin","DungeonGradeWin","BattleHintWin",
            "TreasureDungeonMissionHintWin",
        };
        UIRoot m_UIRoot;
@@ -71,7 +72,7 @@
                }
                else
                {
                    DesignDebug.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
                    DebugEx.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
                }
            }
            else
@@ -145,7 +146,7 @@
                }
                else
                {
                    DesignDebug.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
                    DebugEx.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
                }
                return (T)win;
@@ -171,7 +172,7 @@
            }
            else
            {
                DesignDebug.LogFormat("没有找到窗口:{0}", typeof(T).Name);
                DebugEx.LogFormat("没有找到窗口:{0}", typeof(T).Name);
                return null;
            }
@@ -200,13 +201,13 @@
                }
                else
                {
                    DesignDebug.Log(string.Format("{0} 窗口已经关闭!", typeof(T)));
                    DebugEx.Log(string.Format("{0} 窗口已经关闭!", typeof(T)));
                }
            }
            else
            {
                asyncLoad.StopTask(typeof(T).Name);
                DesignDebug.Log(string.Format("{0} 窗口无法获得!", typeof(T)));
                DebugEx.Log(string.Format("{0} 窗口无法获得!", typeof(T)));
            }
            return win;
@@ -223,13 +224,13 @@
                }
                else
                {
                    DesignDebug.Log(string.Format("{0} 窗口已经关闭!", typeof(T)));
                    DebugEx.Log(string.Format("{0} 窗口已经关闭!", typeof(T)));
                }
            }
            else
            {
                asyncLoad.StopTask(typeof(T).Name);
                DesignDebug.Log(string.Format("{0} 窗口无法获得!", typeof(T)));
                DebugEx.Log(string.Format("{0} 窗口无法获得!", typeof(T)));
            }
            return win;
@@ -384,7 +385,7 @@
            }
            else
            {
                DesignDebug.Log(string.Format("{0} 窗口无法获得!", typeof(T)));
                DebugEx.Log(string.Format("{0} 窗口无法获得!", typeof(T)));
            }
        }
@@ -543,7 +544,7 @@
                }
                else
                {
                    DesignDebug.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
                    DebugEx.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
                }
                return (T)win;
@@ -576,7 +577,7 @@
                            }
                            else
                            {
                                DesignDebug.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
                                DebugEx.Log(string.Format("{0} 窗口已经打开!", typeof(T)));
                            }
                        }
                    }
@@ -642,7 +643,7 @@
                }
                else
                {
                    DesignDebug.LogFormat("无法获得  {0}  的资源!", prefabName);
                    DebugEx.LogFormat("无法获得  {0}  的资源!", prefabName);
                }
                return window;