少年修仙传客户端代码仓库
Leonard Wu
2018-08-15 47f2992f5d49689e774cef28cf845764792c4bc2
System/WindowBase/WindowCenter.cs
@@ -63,7 +63,6 @@
            OpenFromLocal(windowName);
        }
        [XLua.LuaCallCSharp]
        public void OpenFromLocal(string _name)
        {
            Window win = null;
@@ -106,7 +105,6 @@
            }
        }
        [XLua.LuaCallCSharp]
        public Window Open(string _name, bool _forceSync = false, int _functionalOrder = 0)
        {
            if (VersionConfig.Get().isBanShu)
@@ -166,7 +164,6 @@
            }
        }
        [XLua.LuaCallCSharp]
        public Window OpenWithoutAnimation(string _name)
        {
            Window win = null;
@@ -212,7 +209,6 @@
        }
        [XLua.LuaCallCSharp]
        public Window Get(string _window)
        {
            if (windows.ContainsKey(_window))
@@ -248,7 +244,6 @@
            return win;
        }
        [XLua.LuaCallCSharp]
        public Window Close(string _name)
        {
            if (windows.ContainsKey(_name))
@@ -302,7 +297,6 @@
            return new List<string>(windows.Keys);
        }
        [XLua.LuaCallCSharp]
        public void CloseAll(CloseAllIgnoreType _ignoreType = CloseAllIgnoreType.System)
        {
            foreach (var window in windows.Values)
@@ -436,7 +430,6 @@
            DestroyWin(typeof(T).Name);
        }
        [XLua.LuaCallCSharp]
        public void DestroyWin(string _name)
        {
            if (windows.ContainsKey(_name))
@@ -492,7 +485,6 @@
            }
        }
        [XLua.LuaCallCSharp]
        public bool CheckOpen(string _name)
        {
            if (windows.ContainsKey(_name) && windows[_name] != null)