static int CheckSectionComplete(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); Chapter obj = (Chapter)LuaScriptMgr.GetNetObjectSelf(L, 1, "Chapter"); uint arg0 = (uint)LuaScriptMgr.GetNumber(L, 2); bool o = obj.CheckSectionComplete(arg0); LuaScriptMgr.Push(L, o); return(1); }