| | |
| | | OpenFromLocal(windowName);
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public void OpenFromLocal(string _name)
|
| | | {
|
| | | Window win = null;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public Window Open(string _name, bool _forceSync = false, int _functionalOrder = 0)
|
| | | {
|
| | | if (VersionConfig.Get().isBanShu)
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public Window OpenWithoutAnimation(string _name)
|
| | | {
|
| | | Window win = null;
|
| | |
| | |
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public Window Get(string _window)
|
| | | {
|
| | | if (windows.ContainsKey(_window))
|
| | |
| | | return win;
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public Window Close(string _name)
|
| | | {
|
| | | if (windows.ContainsKey(_name))
|
| | |
| | | return new List<string>(windows.Keys);
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public void CloseAll(CloseAllIgnoreType _ignoreType = CloseAllIgnoreType.System)
|
| | | {
|
| | | foreach (var window in windows.Values)
|
| | |
| | | DestroyWin(typeof(T).Name);
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public void DestroyWin(string _name)
|
| | | {
|
| | | if (windows.ContainsKey(_name))
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public bool CheckOpen(string _name)
|
| | | {
|
| | | if (windows.ContainsKey(_name) && windows[_name] != null)
|