static int Clear(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); obj.Clear(); return(0); }
static int LuaOpenMenuPreInstance(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 4) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); LuaTable arg1 = LuaScriptMgr.GetLuaTable(L, 3); LuaFunction arg2 = LuaScriptMgr.GetLuaFunction(L, 4); obj.LuaOpenMenuPreInstance(arg0, arg1, arg2); return(0); } else if (count == 5) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); object arg1 = LuaScriptMgr.GetVarObject(L, 3); LuaTable arg2 = LuaScriptMgr.GetLuaTable(L, 4); LuaFunction arg3 = LuaScriptMgr.GetLuaFunction(L, 5); obj.LuaOpenMenuPreInstance(arg0, arg1, arg2, arg3); return(0); } else { LuaDLL.luaL_error(L, "invalid arguments to method: CC.Module.Menu.MenuManager.LuaOpenMenuPreInstance"); } return(0); }
static int Back(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 2) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); obj.Back(arg0); return(0); } else if (count == 3) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); int arg1 = (int)LuaScriptMgr.GetNumber(L, 3); obj.Back(arg0, arg1); return(0); } else if (count == 4) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); int arg1 = (int)LuaScriptMgr.GetNumber(L, 3); int arg2 = (int)LuaScriptMgr.GetNumber(L, 4); obj.Back(arg0, arg1, arg2); return(0); } else { LuaDLL.luaL_error(L, "invalid arguments to method: CC.Module.Menu.MenuManager.Back"); } return(0); }
static int OpenMenu(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 2) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); obj.OpenMenu(arg0); return(0); } else if (count == 3) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); object arg1 = LuaScriptMgr.GetVarObject(L, 3); obj.OpenMenu(arg0, arg1); return(0); } else if (count == 4) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); object arg1 = LuaScriptMgr.GetVarObject(L, 3); CC.Module.Menu.LoadType arg2 = (CC.Module.Menu.LoadType)LuaScriptMgr.GetNetObject(L, 4, typeof(CC.Module.Menu.LoadType)); obj.OpenMenu(arg0, arg1, arg2); return(0); } else { LuaDLL.luaL_error(L, "invalid arguments to method: CC.Module.Menu.MenuManager.OpenMenu"); } return(0); }
static int OnCloseHandler(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); CC.Runtime.IModule arg0 = (CC.Runtime.IModule)LuaScriptMgr.GetNetObject(L, 2, typeof(CC.Runtime.IModule)); obj.OnCloseHandler(arg0); return(0); }
static int CloseMenu(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); obj.CloseMenu(arg0); return(0); }
static int CheckMenuOpen(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); bool o = obj.CheckMenuOpen(arg0); LuaScriptMgr.Push(L, o); return(1); }
static int GetRoot(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); CC.Module.Menu.MenuLayerType arg0 = (CC.Module.Menu.MenuLayerType)LuaScriptMgr.GetNetObject(L, 2, typeof(CC.Module.Menu.MenuLayerType)); Transform o = obj.GetRoot(arg0); LuaScriptMgr.Push(L, o); return(1); }
static int OnPreloadFile(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 4); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); string arg1 = LuaScriptMgr.GetLuaString(L, 3); object arg2 = LuaScriptMgr.GetVarObject(L, 4); obj.OnPreloadFile(arg0, arg1, arg2); return(0); }
static int GetPreloadFiles(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 3); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); object arg1 = LuaScriptMgr.GetVarObject(L, 3); List <string> o = obj.GetPreloadFiles(arg0, arg1); LuaScriptMgr.PushObject(L, o); return(1); }
static int get_activeFullScreenWindowCount(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name activeFullScreenWindowCount"); } else { LuaDLL.luaL_error(L, "attempt to index activeFullScreenWindowCount on a nil value"); } } LuaScriptMgr.Push(L, obj.activeFullScreenWindowCount); return(1); }
static int get_forceDestroyAll(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name forceDestroyAll"); } else { LuaDLL.luaL_error(L, "attempt to index forceDestroyAll on a nil value"); } } LuaScriptMgr.Push(L, obj.forceDestroyAll); return(1); }
static int get_currentWindow(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name currentWindow"); } else { LuaDLL.luaL_error(L, "attempt to index currentWindow on a nil value"); } } LuaScriptMgr.PushObject(L, obj.currentWindow); return(1); }
static int OpenMenuPreInstance(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 2) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); obj.OpenMenuPreInstance(arg0); return(0); } else if (count == 3) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); Action <int> arg1 = null; LuaTypes funcType3 = LuaDLL.lua_type(L, 3); if (funcType3 != LuaTypes.LUA_TFUNCTION) { arg1 = (Action <int>)LuaScriptMgr.GetNetObject(L, 3, typeof(Action <int>)); } else { LuaFunction func = LuaScriptMgr.GetLuaFunction(L, 3); arg1 = (param0) => { int top = func.BeginPCall(); LuaScriptMgr.Push(L, param0); func.PCall(top, 1); func.EndPCall(top); }; } obj.OpenMenuPreInstance(arg0, arg1); return(0); } else if (count == 4) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); object arg1 = LuaScriptMgr.GetVarObject(L, 3); Action <int> arg2 = null; LuaTypes funcType4 = LuaDLL.lua_type(L, 4); if (funcType4 != LuaTypes.LUA_TFUNCTION) { arg2 = (Action <int>)LuaScriptMgr.GetNetObject(L, 4, typeof(Action <int>)); } else { LuaFunction func = LuaScriptMgr.GetLuaFunction(L, 4); arg2 = (param0) => { int top = func.BeginPCall(); LuaScriptMgr.Push(L, param0); func.PCall(top, 1); func.EndPCall(top); }; } obj.OpenMenuPreInstance(arg0, arg1, arg2); return(0); } else { LuaDLL.luaL_error(L, "invalid arguments to method: CC.Module.Menu.MenuManager.OpenMenuPreInstance"); } return(0); }
static int AddPreloadCall(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 3) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); Func <int, object, List <string> > arg1 = null; LuaTypes funcType3 = LuaDLL.lua_type(L, 3); if (funcType3 != LuaTypes.LUA_TFUNCTION) { arg1 = (Func <int, object, List <string> >)LuaScriptMgr.GetNetObject(L, 3, typeof(Func <int, object, List <string> >)); } else { LuaFunction func = LuaScriptMgr.GetLuaFunction(L, 3); arg1 = (param0, param1) => { int top = func.BeginPCall(); LuaScriptMgr.Push(L, param0); LuaScriptMgr.PushVarObject(L, param1); func.PCall(top, 2); object[] objs = func.PopValues(top); func.EndPCall(top); return((List <string>)objs[0]); }; } obj.AddPreloadCall(arg0, arg1); return(0); } else if (count == 4) { CC.Module.Menu.MenuManager obj = (CC.Module.Menu.MenuManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Module.Menu.MenuManager"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); Func <int, object, List <string> > arg1 = null; LuaTypes funcType3 = LuaDLL.lua_type(L, 3); if (funcType3 != LuaTypes.LUA_TFUNCTION) { arg1 = (Func <int, object, List <string> >)LuaScriptMgr.GetNetObject(L, 3, typeof(Func <int, object, List <string> >)); } else { LuaFunction func = LuaScriptMgr.GetLuaFunction(L, 3); arg1 = (param0, param1) => { int top = func.BeginPCall(); LuaScriptMgr.Push(L, param0); LuaScriptMgr.PushVarObject(L, param1); func.PCall(top, 2); object[] objs = func.PopValues(top); func.EndPCall(top); return((List <string>)objs[0]); }; } Action <string, object> arg2 = null; LuaTypes funcType4 = LuaDLL.lua_type(L, 4); if (funcType4 != LuaTypes.LUA_TFUNCTION) { arg2 = (Action <string, object>)LuaScriptMgr.GetNetObject(L, 4, typeof(Action <string, object>)); } else { LuaFunction func = LuaScriptMgr.GetLuaFunction(L, 4); arg2 = (param0, param1) => { int top = func.BeginPCall(); LuaScriptMgr.Push(L, param0); LuaScriptMgr.PushVarObject(L, param1); func.PCall(top, 2); func.EndPCall(top); }; } obj.AddPreloadCall(arg0, arg1, arg2); return(0); } else { LuaDLL.luaL_error(L, "invalid arguments to method: CC.Module.Menu.MenuManager.AddPreloadCall"); } return(0); }