static int HideWindowImmediately(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(FairyGUI.GRoot), typeof(FairyGUI.Window))) { FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.ToObject(L, 1); FairyGUI.Window arg0 = (FairyGUI.Window)ToLua.ToObject(L, 2); obj.HideWindowImmediately(arg0); return(0); } else if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(FairyGUI.GRoot), typeof(FairyGUI.Window), typeof(bool))) { FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.ToObject(L, 1); FairyGUI.Window arg0 = (FairyGUI.Window)ToLua.ToObject(L, 2); bool arg1 = LuaDLL.lua_toboolean(L, 3); obj.HideWindowImmediately(arg0, arg1); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GRoot.HideWindowImmediately")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int HideWindowImmediately(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (argc == 2) { FairyGUI.GRoot self = (FairyGUI.GRoot)checkSelf(l); FairyGUI.Window a1; checkType(l, 2, out a1); self.HideWindowImmediately(a1); pushValue(l, true); return(1); } else if (argc == 3) { FairyGUI.GRoot self = (FairyGUI.GRoot)checkSelf(l); FairyGUI.Window a1; checkType(l, 2, out a1); System.Boolean a2; checkType(l, 3, out a2); self.HideWindowImmediately(a1, a2); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static int HideWindowImmediately(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.CheckObject <FairyGUI.GRoot>(L, 1); FairyGUI.Window arg0 = (FairyGUI.Window)ToLua.CheckObject <FairyGUI.Window>(L, 2); obj.HideWindowImmediately(arg0); return(0); } else if (count == 3) { FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.CheckObject <FairyGUI.GRoot>(L, 1); FairyGUI.Window arg0 = (FairyGUI.Window)ToLua.CheckObject <FairyGUI.Window>(L, 2); bool arg1 = LuaDLL.luaL_checkboolean(L, 3); obj.HideWindowImmediately(arg0, arg1); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GRoot.HideWindowImmediately")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public void HideImmediately() { GRoot r = (parent is GRoot) ? (GRoot)parent : null; if (r == null) { r = GRoot.inst; } r.HideWindowImmediately(this); }