static int CreateUnderPanel(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 4 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(UIExtendType), typeof(object))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); UIExtendType arg1 = (UIExtendType)ToLua.ToObject(L, 3); object arg2 = ToLua.ToVarObject(L, 4); obj.CreateUnderPanel(arg0, arg1, arg2); return(0); } else if (count == 5 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(UIExtendType), typeof(object), typeof(int))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); UIExtendType arg1 = (UIExtendType)ToLua.ToObject(L, 3); object arg2 = ToLua.ToVarObject(L, 4); int arg3 = (int)LuaDLL.lua_tonumber(L, 5); obj.CreateUnderPanel(arg0, arg1, arg2, arg3); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: PanelManager.CreateUnderPanel")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int IntToEnum(IntPtr L) { int arg0 = (int)LuaDLL.lua_tonumber(L, 1); UIExtendType o = (UIExtendType)arg0; ToLua.Push(L, o); return(1); }
static int LoadUICallBack(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 9 && TypeChecker.CheckTypes(L, 1, typeof(UIManager), typeof(AssetLoader), typeof(WindowLayer), typeof(UnityEngine.Object), typeof(UIExtendType), typeof(UIOpenType), typeof(bool), typeof(bool), typeof(int))) { UIManager obj = (UIManager)ToLua.ToObject(L, 1); AssetLoader arg0 = (AssetLoader)ToLua.ToObject(L, 2); WindowLayer arg1 = (WindowLayer)ToLua.ToObject(L, 3); UnityEngine.Object arg2 = (UnityEngine.Object)ToLua.ToObject(L, 4); UIExtendType arg3 = (UIExtendType)ToLua.ToObject(L, 5); UIOpenType arg4 = (UIOpenType)ToLua.ToObject(L, 6); bool arg5 = LuaDLL.lua_toboolean(L, 7); bool arg6 = LuaDLL.lua_toboolean(L, 8); int arg7 = (int)LuaDLL.lua_tonumber(L, 9); UnityEngine.GameObject o = obj.LoadUICallBack(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); ToLua.Push(L, o); return(1); } else if (count == 12 && TypeChecker.CheckTypes(L, 1, typeof(UIManager), typeof(UnityEngine.UI.CanvasScaler.ScreenMatchMode), typeof(WindowLayer), typeof(float), typeof(AssetLoader), typeof(UnityEngine.Object), typeof(UIExtendType), typeof(UIOpenType), typeof(UILayerType), typeof(bool), typeof(bool), typeof(int))) { UIManager obj = (UIManager)ToLua.ToObject(L, 1); UnityEngine.UI.CanvasScaler.ScreenMatchMode arg0 = (UnityEngine.UI.CanvasScaler.ScreenMatchMode)ToLua.ToObject(L, 2); WindowLayer arg1 = (WindowLayer)ToLua.ToObject(L, 3); float arg2 = (float)LuaDLL.lua_tonumber(L, 4); AssetLoader arg3 = (AssetLoader)ToLua.ToObject(L, 5); UnityEngine.Object arg4 = (UnityEngine.Object)ToLua.ToObject(L, 6); UIExtendType arg5 = (UIExtendType)ToLua.ToObject(L, 7); UIOpenType arg6 = (UIOpenType)ToLua.ToObject(L, 8); UILayerType arg7 = (UILayerType)ToLua.ToObject(L, 9); bool arg8 = LuaDLL.lua_toboolean(L, 10); bool arg9 = LuaDLL.lua_toboolean(L, 11); int arg10 = (int)LuaDLL.lua_tonumber(L, 12); UnityEngine.GameObject o = obj.LoadUICallBack(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); ToLua.Push(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: UIManager.LoadUICallBack")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int LoadFullScreenCallBack(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); UIManager obj = (UIManager)ToLua.CheckObject(L, 1, typeof(UIManager)); UIExtendType arg0 = (UIExtendType)ToLua.CheckObject(L, 2, typeof(UIExtendType)); AssetLoader arg1 = (AssetLoader)ToLua.CheckObject(L, 3, typeof(AssetLoader)); UnityEngine.Object arg2 = (UnityEngine.Object)ToLua.CheckUnityObject(L, 4, typeof(UnityEngine.Object)); UnityEngine.GameObject o = obj.LoadFullScreenCallBack(arg0, arg1, arg2); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int CreatePanel(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); obj.CreatePanel(arg0); return(0); } else if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(WindowLayer))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); WindowLayer arg1 = (WindowLayer)ToLua.ToObject(L, 3); obj.CreatePanel(arg0, arg1); return(0); } else if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(object))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); object arg1 = ToLua.ToVarObject(L, 3); obj.CreatePanel(arg0, arg1); return(0); } else if (count == 4 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(UIExtendType), typeof(object))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); UIExtendType arg1 = (UIExtendType)ToLua.ToObject(L, 3); object arg2 = ToLua.ToVarObject(L, 4); obj.CreatePanel(arg0, arg1, arg2); return(0); } else if (count == 5 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(UIExtendType), typeof(UIOpenType), typeof(object))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); UIExtendType arg1 = (UIExtendType)ToLua.ToObject(L, 3); UIOpenType arg2 = (UIOpenType)ToLua.ToObject(L, 4); object arg3 = ToLua.ToVarObject(L, 5); obj.CreatePanel(arg0, arg1, arg2, arg3); return(0); } else if (count == 8 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(WindowLayer), typeof(UIExtendType), typeof(UIOpenType), typeof(LuaInterface.LuaFunction), typeof(object), typeof(int))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); WindowLayer arg1 = (WindowLayer)ToLua.ToObject(L, 3); UIExtendType arg2 = (UIExtendType)ToLua.ToObject(L, 4); UIOpenType arg3 = (UIOpenType)ToLua.ToObject(L, 5); LuaFunction arg4 = ToLua.ToLuaFunction(L, 6); object arg5 = ToLua.ToVarObject(L, 7); int arg6 = (int)LuaDLL.lua_tonumber(L, 8); obj.CreatePanel(arg0, arg1, arg2, arg3, arg4, arg5, arg6); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: PanelManager.CreatePanel")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int CreateConstPanel(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(bool))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); bool arg1 = LuaDLL.lua_toboolean(L, 3); obj.CreateConstPanel(arg0, arg1); return(0); } else if (count == 4 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(bool), typeof(bool))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); bool arg1 = LuaDLL.lua_toboolean(L, 3); bool arg2 = LuaDLL.lua_toboolean(L, 4); obj.CreateConstPanel(arg0, arg1, arg2); return(0); } else if (count == 4 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(UIExtendType), typeof(object))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); UIExtendType arg1 = (UIExtendType)ToLua.ToObject(L, 3); object arg2 = ToLua.ToVarObject(L, 4); obj.CreateConstPanel(arg0, arg1, arg2); return(0); } else if (count == 5 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(UIExtendType), typeof(object), typeof(int))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); UIExtendType arg1 = (UIExtendType)ToLua.ToObject(L, 3); object arg2 = ToLua.ToVarObject(L, 4); int arg3 = (int)LuaDLL.lua_tonumber(L, 5); obj.CreateConstPanel(arg0, arg1, arg2, arg3); return(0); } else if (count == 6 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(UIExtendType), typeof(LuaInterface.LuaFunction), typeof(object), typeof(bool))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); UIExtendType arg1 = (UIExtendType)ToLua.ToObject(L, 3); LuaFunction arg2 = ToLua.ToLuaFunction(L, 4); object arg3 = ToLua.ToVarObject(L, 5); bool arg4 = LuaDLL.lua_toboolean(L, 6); obj.CreateConstPanel(arg0, arg1, arg2, arg3, arg4); return(0); } else if (count == 6 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(UIExtendType), typeof(object), typeof(UnityEngine.UI.CanvasScaler.ScreenMatchMode), typeof(float))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); UIExtendType arg1 = (UIExtendType)ToLua.ToObject(L, 3); object arg2 = ToLua.ToVarObject(L, 4); UnityEngine.UI.CanvasScaler.ScreenMatchMode arg3 = (UnityEngine.UI.CanvasScaler.ScreenMatchMode)ToLua.ToObject(L, 5); float arg4 = (float)LuaDLL.lua_tonumber(L, 6); obj.CreateConstPanel(arg0, arg1, arg2, arg3, arg4); return(0); } else if (count == 10 && TypeChecker.CheckTypes(L, 1, typeof(PanelManager), typeof(string), typeof(UIExtendType), typeof(System.Action <UnityEngine.GameObject>), typeof(LuaInterface.LuaFunction), typeof(object), typeof(bool), typeof(UILayerType), typeof(bool), typeof(int))) { PanelManager obj = (PanelManager)ToLua.ToObject(L, 1); string arg0 = ToLua.ToString(L, 2); UIExtendType arg1 = (UIExtendType)ToLua.ToObject(L, 3); System.Action <UnityEngine.GameObject> arg2 = null; LuaTypes funcType4 = LuaDLL.lua_type(L, 4); if (funcType4 != LuaTypes.LUA_TFUNCTION) { arg2 = (System.Action <UnityEngine.GameObject>)ToLua.ToObject(L, 4); } else { LuaFunction func = ToLua.ToLuaFunction(L, 4); arg2 = DelegateFactory.CreateDelegate(typeof(System.Action <UnityEngine.GameObject>), func) as System.Action <UnityEngine.GameObject>; } LuaFunction arg3 = ToLua.ToLuaFunction(L, 5); object arg4 = ToLua.ToVarObject(L, 6); bool arg5 = LuaDLL.lua_toboolean(L, 7); UILayerType arg6 = (UILayerType)ToLua.ToObject(L, 8); bool arg7 = LuaDLL.lua_toboolean(L, 9); int arg8 = (int)LuaDLL.lua_tonumber(L, 10); obj.CreateConstPanel(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: PanelManager.CreateConstPanel")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }