static int CheckAllSectionComplete(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); Chapter obj = (Chapter)LuaScriptMgr.GetNetObjectSelf(L, 1, "Chapter"); bool o = obj.CheckAllSectionComplete(); LuaScriptMgr.Push(L, o); return(1); }