diff --git a/src/generated/main/java/emu/grasscutter/net/proto/AvatarUpgradeRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/AvatarUpgradeRspOuterClass.java index 091698760..443beda0b 100644 --- a/src/generated/main/java/emu/grasscutter/net/proto/AvatarUpgradeRspOuterClass.java +++ b/src/generated/main/java/emu/grasscutter/net/proto/AvatarUpgradeRspOuterClass.java @@ -19,11 +19,11 @@ public final class AvatarUpgradeRspOuterClass { com.google.protobuf.MessageOrBuilder { /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ int getOldFightPropMapCount(); /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ boolean containsOldFightPropMap( int key); @@ -34,19 +34,19 @@ public final class AvatarUpgradeRspOuterClass { java.util.Map getOldFightPropMap(); /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ java.util.Map getOldFightPropMapMap(); /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ float getOldFightPropMapOrDefault( int key, float defaultValue); /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ float getOldFightPropMapOrThrow( @@ -65,11 +65,11 @@ public final class AvatarUpgradeRspOuterClass { int getCurLevel(); /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ int getCurFightPropMapCount(); /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ boolean containsCurFightPropMap( int key); @@ -80,19 +80,19 @@ public final class AvatarUpgradeRspOuterClass { java.util.Map getCurFightPropMap(); /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ java.util.Map getCurFightPropMapMap(); /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ float getCurFightPropMapOrDefault( int key, float defaultValue); /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ float getCurFightPropMapOrThrow( @@ -177,19 +177,6 @@ public final class AvatarUpgradeRspOuterClass { break; } case 98: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - oldFightPropMap_ = com.google.protobuf.MapField.newMapField( - OldFightPropMapDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - oldFightPropMap__ = input.readMessage( - OldFightPropMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - oldFightPropMap_.getMutableMap().put( - oldFightPropMap__.getKey(), oldFightPropMap__.getValue()); - break; - } - case 106: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { curFightPropMap_ = com.google.protobuf.MapField.newMapField( CurFightPropMapDefaultEntryHolder.defaultEntry); @@ -202,6 +189,19 @@ public final class AvatarUpgradeRspOuterClass { curFightPropMap__.getKey(), curFightPropMap__.getValue()); break; } + case 106: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + oldFightPropMap_ = com.google.protobuf.MapField.newMapField( + OldFightPropMapDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + oldFightPropMap__ = input.readMessage( + OldFightPropMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + oldFightPropMap_.getMutableMap().put( + oldFightPropMap__.getKey(), oldFightPropMap__.getValue()); + break; + } case 112: { curLevel_ = input.readUInt32(); @@ -236,9 +236,9 @@ public final class AvatarUpgradeRspOuterClass { protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { - case 12: - return internalGetOldFightPropMap(); case 13: + return internalGetOldFightPropMap(); + case 12: return internalGetCurFightPropMap(); default: throw new RuntimeException( @@ -253,7 +253,7 @@ public final class AvatarUpgradeRspOuterClass { emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.class, emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.Builder.class); } - public static final int OLD_FIGHT_PROP_MAP_FIELD_NUMBER = 12; + public static final int OLD_FIGHT_PROP_MAP_FIELD_NUMBER = 13; private static final class OldFightPropMapDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.Integer, java.lang.Float> defaultEntry = @@ -280,7 +280,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetOldFightPropMap().getMap().size(); } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ @java.lang.Override @@ -298,7 +298,7 @@ public final class AvatarUpgradeRspOuterClass { return getOldFightPropMapMap(); } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ @java.lang.Override @@ -306,7 +306,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetOldFightPropMap().getMap(); } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ @java.lang.Override @@ -319,7 +319,7 @@ public final class AvatarUpgradeRspOuterClass { return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ @java.lang.Override @@ -356,7 +356,7 @@ public final class AvatarUpgradeRspOuterClass { return curLevel_; } - public static final int CUR_FIGHT_PROP_MAP_FIELD_NUMBER = 13; + public static final int CUR_FIGHT_PROP_MAP_FIELD_NUMBER = 12; private static final class CurFightPropMapDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.Integer, java.lang.Float> defaultEntry = @@ -383,7 +383,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetCurFightPropMap().getMap().size(); } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ @java.lang.Override @@ -401,7 +401,7 @@ public final class AvatarUpgradeRspOuterClass { return getCurFightPropMapMap(); } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ @java.lang.Override @@ -409,7 +409,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetCurFightPropMap().getMap(); } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ @java.lang.Override @@ -422,7 +422,7 @@ public final class AvatarUpgradeRspOuterClass { return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ @java.lang.Override @@ -485,14 +485,14 @@ public final class AvatarUpgradeRspOuterClass { com.google.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, - internalGetOldFightPropMap(), - OldFightPropMapDefaultEntryHolder.defaultEntry, + internalGetCurFightPropMap(), + CurFightPropMapDefaultEntryHolder.defaultEntry, 12); com.google.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, - internalGetCurFightPropMap(), - CurFightPropMapDefaultEntryHolder.defaultEntry, + internalGetOldFightPropMap(), + OldFightPropMapDefaultEntryHolder.defaultEntry, 13); if (curLevel_ != 0) { output.writeUInt32(14, curLevel_); @@ -518,16 +518,6 @@ public final class AvatarUpgradeRspOuterClass { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, retcode_); } - for (java.util.Map.Entry entry - : internalGetOldFightPropMap().getMap().entrySet()) { - com.google.protobuf.MapEntry - oldFightPropMap__ = OldFightPropMapDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, oldFightPropMap__); - } for (java.util.Map.Entry entry : internalGetCurFightPropMap().getMap().entrySet()) { com.google.protobuf.MapEntry @@ -536,7 +526,17 @@ public final class AvatarUpgradeRspOuterClass { .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, curFightPropMap__); + .computeMessageSize(12, curFightPropMap__); + } + for (java.util.Map.Entry entry + : internalGetOldFightPropMap().getMap().entrySet()) { + com.google.protobuf.MapEntry + oldFightPropMap__ = OldFightPropMapDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, oldFightPropMap__); } if (curLevel_ != 0) { size += com.google.protobuf.CodedOutputStream @@ -713,9 +713,9 @@ public final class AvatarUpgradeRspOuterClass { protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { - case 12: - return internalGetOldFightPropMap(); case 13: + return internalGetOldFightPropMap(); + case 12: return internalGetCurFightPropMap(); default: throw new RuntimeException( @@ -726,9 +726,9 @@ public final class AvatarUpgradeRspOuterClass { protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { - case 12: - return internalGetMutableOldFightPropMap(); case 13: + return internalGetMutableOldFightPropMap(); + case 12: return internalGetMutableCurFightPropMap(); default: throw new RuntimeException( @@ -927,7 +927,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetOldFightPropMap().getMap().size(); } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ @java.lang.Override @@ -945,7 +945,7 @@ public final class AvatarUpgradeRspOuterClass { return getOldFightPropMapMap(); } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ @java.lang.Override @@ -953,7 +953,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetOldFightPropMap().getMap(); } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ @java.lang.Override @@ -966,7 +966,7 @@ public final class AvatarUpgradeRspOuterClass { return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ @java.lang.Override @@ -987,7 +987,7 @@ public final class AvatarUpgradeRspOuterClass { return this; } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ public Builder removeOldFightPropMap( @@ -1006,7 +1006,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetMutableOldFightPropMap().getMutableMap(); } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ public Builder putOldFightPropMap( int key, @@ -1018,7 +1018,7 @@ public final class AvatarUpgradeRspOuterClass { return this; } /** - * map<uint32, float> old_fight_prop_map = 12; + * map<uint32, float> old_fight_prop_map = 13; */ public Builder putAllOldFightPropMap( @@ -1117,7 +1117,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetCurFightPropMap().getMap().size(); } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ @java.lang.Override @@ -1135,7 +1135,7 @@ public final class AvatarUpgradeRspOuterClass { return getCurFightPropMapMap(); } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ @java.lang.Override @@ -1143,7 +1143,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetCurFightPropMap().getMap(); } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ @java.lang.Override @@ -1156,7 +1156,7 @@ public final class AvatarUpgradeRspOuterClass { return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ @java.lang.Override @@ -1177,7 +1177,7 @@ public final class AvatarUpgradeRspOuterClass { return this; } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ public Builder removeCurFightPropMap( @@ -1196,7 +1196,7 @@ public final class AvatarUpgradeRspOuterClass { return internalGetMutableCurFightPropMap().getMutableMap(); } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ public Builder putCurFightPropMap( int key, @@ -1208,7 +1208,7 @@ public final class AvatarUpgradeRspOuterClass { return this; } /** - * map<uint32, float> cur_fight_prop_map = 13; + * map<uint32, float> cur_fight_prop_map = 12; */ public Builder putAllCurFightPropMap( @@ -1357,10 +1357,10 @@ public final class AvatarUpgradeRspOuterClass { static { java.lang.String[] descriptorData = { "\n\026AvatarUpgradeRsp.proto\"\326\002\n\020AvatarUpgra" + - "deRsp\022B\n\022old_fight_prop_map\030\014 \003(\0132&.Avat" + + "deRsp\022B\n\022old_fight_prop_map\030\r \003(\0132&.Avat" + "arUpgradeRsp.OldFightPropMapEntry\022\023\n\013ava" + "tar_guid\030\010 \001(\004\022\021\n\tcur_level\030\016 \001(\r\022B\n\022cur" + - "_fight_prop_map\030\r \003(\0132&.AvatarUpgradeRsp" + + "_fight_prop_map\030\014 \003(\0132&.AvatarUpgradeRsp" + ".CurFightPropMapEntry\022\017\n\007retcode\030\n \001(\005\022\021" + "\n\told_level\030\004 \001(\r\0326\n\024OldFightPropMapEntr" + "y\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\002:\0028\001\0326\n\024Cur" +