static int ListChanged(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); FriendData obj = (FriendData)LuaScriptMgr.GetNetObjectSelf(L, 1, "FriendData"); fogs.proto.msg.FriendOperationType arg0 = (fogs.proto.msg.FriendOperationType)LuaScriptMgr.GetNetObject(L, 2, typeof(fogs.proto.msg.FriendOperationType)); obj.ListChanged(arg0); return(0); }