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); }