From 47f2992f5d49689e774cef28cf845764792c4bc2 Mon Sep 17 00:00:00 2001
From: Leonard Wu <364452445@qq.com>
Date: 星期三, 15 八月 2018 22:39:21 +0800
Subject: [PATCH] 提供窗口管理的lua接口
---
System/WindowBase/WindowCenter.cs | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/System/WindowBase/WindowCenter.cs b/System/WindowBase/WindowCenter.cs
index 017dd6f..a249c5d 100644
--- a/System/WindowBase/WindowCenter.cs
+++ b/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)
--
Gitblit v1.8.0