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