static int ChangeData(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); Chapter obj = (Chapter)LuaScriptMgr.GetNetObjectSelf(L, 1, "Chapter"); fogs.proto.msg.ChapterProto arg0 = (fogs.proto.msg.ChapterProto)LuaScriptMgr.GetNetObject(L, 2, typeof(fogs.proto.msg.ChapterProto)); obj.ChangeData(arg0); return(0); }
static int Init(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 3); Chapter obj = (Chapter)LuaScriptMgr.GetNetObjectSelf(L, 1, "Chapter"); fogs.proto.msg.ChapterProto arg0 = (fogs.proto.msg.ChapterProto)LuaScriptMgr.GetNetObject(L, 2, typeof(fogs.proto.msg.ChapterProto)); uint arg1 = (uint)LuaScriptMgr.GetNumber(L, 3); obj.Init(arg0, arg1); return(0); }