static int Dispose(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.LuaWindow obj = (FairyGUI.LuaWindow)ToLua.CheckObject(L, 1, typeof(FairyGUI.LuaWindow)); obj.Dispose(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int ConnectLua(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.LuaWindow obj = (FairyGUI.LuaWindow)ToLua.CheckObject(L, 1, typeof(FairyGUI.LuaWindow)); LuaTable arg0 = ToLua.CheckLuaTable(L, 2); obj.ConnectLua(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int _CreateFairyGUI_LuaWindow(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { FairyGUI.LuaWindow obj = new FairyGUI.LuaWindow(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: FairyGUI.LuaWindow.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }