static int AddPageAt(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); FairyGUI.Controller obj = (FairyGUI.Controller)ToLua.CheckObject <FairyGUI.Controller>(L, 1); string arg0 = ToLua.CheckString(L, 2); int arg1 = (int)LuaDLL.luaL_checknumber(L, 3); obj.AddPageAt(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int AddPageAt(IntPtr l) { try { FairyGUI.Controller self = (FairyGUI.Controller)checkSelf(l); System.String a1; checkType(l, 2, out a1); System.Int32 a2; checkType(l, 3, out a2); self.AddPageAt(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }