From fecf83cfa408d451129926adae27f01206a0dd48 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Fri, 14 Jul 2023 21:09:57 -0400 Subject: [PATCH] Revert `AvatarUpgradeRsp` --- .../net/proto/AvatarUpgradeRspOuterClass.java | 2654 ++++++++--------- 1 file changed, 1327 insertions(+), 1327 deletions(-) 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..e0a1cf0ba 100644 --- a/src/generated/main/java/emu/grasscutter/net/proto/AvatarUpgradeRspOuterClass.java +++ b/src/generated/main/java/emu/grasscutter/net/proto/AvatarUpgradeRspOuterClass.java @@ -4,693 +4,111 @@ package emu.grasscutter.net.proto; public final class AvatarUpgradeRspOuterClass { - private AvatarUpgradeRspOuterClass() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - public interface AvatarUpgradeRspOrBuilder extends - // @@protoc_insertion_point(interface_extends:AvatarUpgradeRsp) - com.google.protobuf.MessageOrBuilder { - - /** - * map<uint32, float> old_fight_prop_map = 12; - */ - int getOldFightPropMapCount(); - /** - * map<uint32, float> old_fight_prop_map = 12; - */ - boolean containsOldFightPropMap( - int key); - /** - * Use {@link #getOldFightPropMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getOldFightPropMap(); - /** - * map<uint32, float> old_fight_prop_map = 12; - */ - java.util.Map - getOldFightPropMapMap(); - /** - * map<uint32, float> old_fight_prop_map = 12; - */ - - float getOldFightPropMapOrDefault( - int key, - float defaultValue); - /** - * map<uint32, float> old_fight_prop_map = 12; - */ - - float getOldFightPropMapOrThrow( - int key); - - /** - * uint64 avatar_guid = 8; - * @return The avatarGuid. - */ - long getAvatarGuid(); - - /** - * uint32 cur_level = 14; - * @return The curLevel. - */ - int getCurLevel(); - - /** - * map<uint32, float> cur_fight_prop_map = 13; - */ - int getCurFightPropMapCount(); - /** - * map<uint32, float> cur_fight_prop_map = 13; - */ - boolean containsCurFightPropMap( - int key); - /** - * Use {@link #getCurFightPropMapMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getCurFightPropMap(); - /** - * map<uint32, float> cur_fight_prop_map = 13; - */ - java.util.Map - getCurFightPropMapMap(); - /** - * map<uint32, float> cur_fight_prop_map = 13; - */ - - float getCurFightPropMapOrDefault( - int key, - float defaultValue); - /** - * map<uint32, float> cur_fight_prop_map = 13; - */ - - float getCurFightPropMapOrThrow( - int key); - - /** - * int32 retcode = 10; - * @return The retcode. - */ - int getRetcode(); - - /** - * uint32 old_level = 4; - * @return The oldLevel. - */ - int getOldLevel(); - } - /** - *
-   * CmdId: 1695
-   * Obf: JJBMNICCKDE
-   * 
- * - * Protobuf type {@code AvatarUpgradeRsp} - */ - public static final class AvatarUpgradeRsp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:AvatarUpgradeRsp) - AvatarUpgradeRspOrBuilder { - private static final long serialVersionUID = 0L; - // Use AvatarUpgradeRsp.newBuilder() to construct. - private AvatarUpgradeRsp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AvatarUpgradeRsp() { + private AvatarUpgradeRspOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AvatarUpgradeRsp(); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); } + public interface AvatarUpgradeRspOrBuilder extends + // @@protoc_insertion_point(interface_extends:AvatarUpgradeRsp) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AvatarUpgradeRsp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 32: { + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + int getOldFightPropMapCount(); + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + boolean containsOldFightPropMap( + int key); + /** + * Use {@link #getOldFightPropMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getOldFightPropMap(); + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + java.util.Map + getOldFightPropMapMap(); + /** + * map<uint32, float> old_fight_prop_map = 13; + */ - oldLevel_ = input.readUInt32(); - break; - } - case 64: { + float getOldFightPropMapOrDefault( + int key, + float defaultValue); + /** + * map<uint32, float> old_fight_prop_map = 13; + */ - avatarGuid_ = input.readUInt64(); - break; - } - case 80: { + float getOldFightPropMapOrThrow( + int key); - retcode_ = input.readInt32(); - 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); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry - curFightPropMap__ = input.readMessage( - CurFightPropMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - curFightPropMap_.getMutableMap().put( - curFightPropMap__.getKey(), curFightPropMap__.getValue()); - break; - } - case 112: { + /** + * uint64 avatar_guid = 8; + * @return The avatarGuid. + */ + long getAvatarGuid(); - curLevel_ = input.readUInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_descriptor; - } + /** + * uint32 cur_level = 14; + * @return The curLevel. + */ + int getCurLevel(); - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 12: - return internalGetOldFightPropMap(); - case 13: - return internalGetCurFightPropMap(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.class, emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.Builder.class); - } + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + int getCurFightPropMapCount(); + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + boolean containsCurFightPropMap( + int key); + /** + * Use {@link #getCurFightPropMapMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getCurFightPropMap(); + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + java.util.Map + getCurFightPropMapMap(); + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ - public static final int OLD_FIGHT_PROP_MAP_FIELD_NUMBER = 12; - private static final class OldFightPropMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.Integer, java.lang.Float> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.UINT32, - 0, - com.google.protobuf.WireFormat.FieldType.FLOAT, - 0F); - } - private com.google.protobuf.MapField< - java.lang.Integer, java.lang.Float> oldFightPropMap_; - private com.google.protobuf.MapField - internalGetOldFightPropMap() { - if (oldFightPropMap_ == null) { - return com.google.protobuf.MapField.emptyMapField( - OldFightPropMapDefaultEntryHolder.defaultEntry); - } - return oldFightPropMap_; - } + float getCurFightPropMapOrDefault( + int key, + float defaultValue); + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ - public int getOldFightPropMapCount() { - return internalGetOldFightPropMap().getMap().size(); - } - /** - * map<uint32, float> old_fight_prop_map = 12; - */ + float getCurFightPropMapOrThrow( + int key); - @java.lang.Override - public boolean containsOldFightPropMap( - int key) { - - return internalGetOldFightPropMap().getMap().containsKey(key); - } - /** - * Use {@link #getOldFightPropMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getOldFightPropMap() { - return getOldFightPropMapMap(); - } - /** - * map<uint32, float> old_fight_prop_map = 12; - */ - @java.lang.Override + /** + * int32 retcode = 10; + * @return The retcode. + */ + int getRetcode(); - public java.util.Map getOldFightPropMapMap() { - return internalGetOldFightPropMap().getMap(); - } - /** - * map<uint32, float> old_fight_prop_map = 12; - */ - @java.lang.Override - - public float getOldFightPropMapOrDefault( - int key, - float defaultValue) { - - java.util.Map map = - internalGetOldFightPropMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<uint32, float> old_fight_prop_map = 12; - */ - @java.lang.Override - - public float getOldFightPropMapOrThrow( - int key) { - - java.util.Map map = - internalGetOldFightPropMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int AVATAR_GUID_FIELD_NUMBER = 8; - private long avatarGuid_; - /** - * uint64 avatar_guid = 8; - * @return The avatarGuid. - */ - @java.lang.Override - public long getAvatarGuid() { - return avatarGuid_; - } - - public static final int CUR_LEVEL_FIELD_NUMBER = 14; - private int curLevel_; - /** - * uint32 cur_level = 14; - * @return The curLevel. - */ - @java.lang.Override - public int getCurLevel() { - return curLevel_; - } - - public static final int CUR_FIGHT_PROP_MAP_FIELD_NUMBER = 13; - private static final class CurFightPropMapDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.Integer, java.lang.Float> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.UINT32, - 0, - com.google.protobuf.WireFormat.FieldType.FLOAT, - 0F); - } - private com.google.protobuf.MapField< - java.lang.Integer, java.lang.Float> curFightPropMap_; - private com.google.protobuf.MapField - internalGetCurFightPropMap() { - if (curFightPropMap_ == null) { - return com.google.protobuf.MapField.emptyMapField( - CurFightPropMapDefaultEntryHolder.defaultEntry); - } - return curFightPropMap_; - } - - public int getCurFightPropMapCount() { - return internalGetCurFightPropMap().getMap().size(); - } - /** - * map<uint32, float> cur_fight_prop_map = 13; - */ - - @java.lang.Override - public boolean containsCurFightPropMap( - int key) { - - return internalGetCurFightPropMap().getMap().containsKey(key); - } - /** - * Use {@link #getCurFightPropMapMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getCurFightPropMap() { - return getCurFightPropMapMap(); - } - /** - * map<uint32, float> cur_fight_prop_map = 13; - */ - @java.lang.Override - - public java.util.Map getCurFightPropMapMap() { - return internalGetCurFightPropMap().getMap(); - } - /** - * map<uint32, float> cur_fight_prop_map = 13; - */ - @java.lang.Override - - public float getCurFightPropMapOrDefault( - int key, - float defaultValue) { - - java.util.Map map = - internalGetCurFightPropMap().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<uint32, float> cur_fight_prop_map = 13; - */ - @java.lang.Override - - public float getCurFightPropMapOrThrow( - int key) { - - java.util.Map map = - internalGetCurFightPropMap().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int RETCODE_FIELD_NUMBER = 10; - private int retcode_; - /** - * int32 retcode = 10; - * @return The retcode. - */ - @java.lang.Override - public int getRetcode() { - return retcode_; - } - - public static final int OLD_LEVEL_FIELD_NUMBER = 4; - private int oldLevel_; - /** - * uint32 old_level = 4; - * @return The oldLevel. - */ - @java.lang.Override - public int getOldLevel() { - return oldLevel_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (oldLevel_ != 0) { - output.writeUInt32(4, oldLevel_); - } - if (avatarGuid_ != 0L) { - output.writeUInt64(8, avatarGuid_); - } - if (retcode_ != 0) { - output.writeInt32(10, retcode_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeIntegerMapTo( - output, - internalGetOldFightPropMap(), - OldFightPropMapDefaultEntryHolder.defaultEntry, - 12); - com.google.protobuf.GeneratedMessageV3 - .serializeIntegerMapTo( - output, - internalGetCurFightPropMap(), - CurFightPropMapDefaultEntryHolder.defaultEntry, - 13); - if (curLevel_ != 0) { - output.writeUInt32(14, curLevel_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (oldLevel_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, oldLevel_); - } - if (avatarGuid_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(8, avatarGuid_); - } - if (retcode_ != 0) { - 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 - curFightPropMap__ = CurFightPropMapDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, curFightPropMap__); - } - if (curLevel_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(14, curLevel_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp)) { - return super.equals(obj); - } - emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp other = (emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp) obj; - - if (!internalGetOldFightPropMap().equals( - other.internalGetOldFightPropMap())) return false; - if (getAvatarGuid() - != other.getAvatarGuid()) return false; - if (getCurLevel() - != other.getCurLevel()) return false; - if (!internalGetCurFightPropMap().equals( - other.internalGetCurFightPropMap())) return false; - if (getRetcode() - != other.getRetcode()) return false; - if (getOldLevel() - != other.getOldLevel()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetOldFightPropMap().getMap().isEmpty()) { - hash = (37 * hash) + OLD_FIGHT_PROP_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetOldFightPropMap().hashCode(); - } - hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAvatarGuid()); - hash = (37 * hash) + CUR_LEVEL_FIELD_NUMBER; - hash = (53 * hash) + getCurLevel(); - if (!internalGetCurFightPropMap().getMap().isEmpty()) { - hash = (37 * hash) + CUR_FIGHT_PROP_MAP_FIELD_NUMBER; - hash = (53 * hash) + internalGetCurFightPropMap().hashCode(); - } - hash = (37 * hash) + RETCODE_FIELD_NUMBER; - hash = (53 * hash) + getRetcode(); - hash = (37 * hash) + OLD_LEVEL_FIELD_NUMBER; - hash = (53 * hash) + getOldLevel(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; + /** + * uint32 old_level = 4; + * @return The oldLevel. + */ + int getOldLevel(); } /** *
@@ -700,697 +118,1279 @@ public final class AvatarUpgradeRspOuterClass {
      *
      * Protobuf type {@code AvatarUpgradeRsp}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
-        // @@protoc_insertion_point(builder_implements:AvatarUpgradeRsp)
-        emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRspOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_descriptor;
-      }
-
-      @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMapField(
-          int number) {
-        switch (number) {
-          case 12:
-            return internalGetOldFightPropMap();
-          case 13:
-            return internalGetCurFightPropMap();
-          default:
-            throw new RuntimeException(
-                "Invalid map field number: " + number);
+    public static final class AvatarUpgradeRsp extends
+        com.google.protobuf.GeneratedMessageV3 implements
+        // @@protoc_insertion_point(message_implements:AvatarUpgradeRsp)
+        AvatarUpgradeRspOrBuilder {
+        private static final long serialVersionUID = 0L;
+        // Use AvatarUpgradeRsp.newBuilder() to construct.
+        private AvatarUpgradeRsp(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+            super(builder);
         }
-      }
-      @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMutableMapField(
-          int number) {
-        switch (number) {
-          case 12:
-            return internalGetMutableOldFightPropMap();
-          case 13:
-            return internalGetMutableCurFightPropMap();
-          default:
-            throw new RuntimeException(
-                "Invalid map field number: " + number);
+        private AvatarUpgradeRsp() {
         }
-      }
-      @java.lang.Override
-      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-          internalGetFieldAccessorTable() {
-        return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_fieldAccessorTable
-            .ensureFieldAccessorsInitialized(
-                emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.class, emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.Builder.class);
-      }
 
-      // Construct using emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.newBuilder()
-      private Builder() {
-        maybeForceBuilderInitialization();
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
-        maybeForceBuilderInitialization();
-      }
-      private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        @java.lang.Override
+        @SuppressWarnings({"unused"})
+        protected java.lang.Object newInstance(
+            UnusedPrivateParameter unused) {
+            return new AvatarUpgradeRsp();
         }
-      }
-      @java.lang.Override
-      public Builder clear() {
-        super.clear();
-        internalGetMutableOldFightPropMap().clear();
-        avatarGuid_ = 0L;
 
-        curLevel_ = 0;
-
-        internalGetMutableCurFightPropMap().clear();
-        retcode_ = 0;
-
-        oldLevel_ = 0;
-
-        return this;
-      }
-
-      @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_descriptor;
-      }
-
-      @java.lang.Override
-      public emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp getDefaultInstanceForType() {
-        return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.getDefaultInstance();
-      }
-
-      @java.lang.Override
-      public emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp build() {
-        emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp result = buildPartial();
-        if (!result.isInitialized()) {
-          throw newUninitializedMessageException(result);
+        @java.lang.Override
+        public final com.google.protobuf.UnknownFieldSet
+        getUnknownFields() {
+            return this.unknownFields;
         }
-        return result;
-      }
+        private AvatarUpgradeRsp(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+            this();
+            if (extensionRegistry == null) {
+                throw new java.lang.NullPointerException();
+            }
+            int mutable_bitField0_ = 0;
+            com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+                com.google.protobuf.UnknownFieldSet.newBuilder();
+            try {
+                boolean done = false;
+                while (!done) {
+                    int tag = input.readTag();
+                    switch (tag) {
+                        case 0:
+                            done = true;
+                            break;
+                        case 32: {
 
-      @java.lang.Override
-      public emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp buildPartial() {
-        emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp result = new emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp(this);
-        int from_bitField0_ = bitField0_;
-        result.oldFightPropMap_ = internalGetOldFightPropMap();
-        result.oldFightPropMap_.makeImmutable();
-        result.avatarGuid_ = avatarGuid_;
-        result.curLevel_ = curLevel_;
-        result.curFightPropMap_ = internalGetCurFightPropMap();
-        result.curFightPropMap_.makeImmutable();
-        result.retcode_ = retcode_;
-        result.oldLevel_ = oldLevel_;
-        onBuilt();
-        return result;
-      }
+                            oldLevel_ = input.readUInt32();
+                            break;
+                        }
+                        case 64: {
 
-      @java.lang.Override
-      public Builder clone() {
-        return super.clone();
-      }
-      @java.lang.Override
-      public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
-        return super.setField(field, value);
-      }
-      @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
-        return super.clearField(field);
-      }
-      @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-        return super.clearOneof(oneof);
-      }
-      @java.lang.Override
-      public Builder setRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
-        return super.setRepeatedField(field, index, value);
-      }
-      @java.lang.Override
-      public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
-        return super.addRepeatedField(field, value);
-      }
-      @java.lang.Override
-      public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp) {
-          return mergeFrom((emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp)other);
-        } else {
-          super.mergeFrom(other);
-          return this;
+                            avatarGuid_ = input.readUInt64();
+                            break;
+                        }
+                        case 80: {
+
+                            retcode_ = input.readInt32();
+                            break;
+                        }
+                        case 98: {
+                            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                                curFightPropMap_ = com.google.protobuf.MapField.newMapField(
+                                    CurFightPropMapDefaultEntryHolder.defaultEntry);
+                                mutable_bitField0_ |= 0x00000002;
+                            }
+                            com.google.protobuf.MapEntry
+                                curFightPropMap__ = input.readMessage(
+                                CurFightPropMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                            curFightPropMap_.getMutableMap().put(
+                                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();
+                            break;
+                        }
+                        default: {
+                            if (!parseUnknownField(
+                                input, unknownFields, extensionRegistry, tag)) {
+                                done = true;
+                            }
+                            break;
+                        }
+                    }
+                }
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+                throw e.setUnfinishedMessage(this);
+            } catch (java.io.IOException e) {
+                throw new com.google.protobuf.InvalidProtocolBufferException(
+                    e).setUnfinishedMessage(this);
+            } finally {
+                this.unknownFields = unknownFields.build();
+                makeExtensionsImmutable();
+            }
         }
-      }
-
-      public Builder mergeFrom(emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp other) {
-        if (other == emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.getDefaultInstance()) return this;
-        internalGetMutableOldFightPropMap().mergeFrom(
-            other.internalGetOldFightPropMap());
-        if (other.getAvatarGuid() != 0L) {
-          setAvatarGuid(other.getAvatarGuid());
+        public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+            return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_descriptor;
         }
-        if (other.getCurLevel() != 0) {
-          setCurLevel(other.getCurLevel());
+
+        @SuppressWarnings({"rawtypes"})
+        @java.lang.Override
+        protected com.google.protobuf.MapField internalGetMapField(
+            int number) {
+            switch (number) {
+                case 13:
+                    return internalGetOldFightPropMap();
+                case 12:
+                    return internalGetCurFightPropMap();
+                default:
+                    throw new RuntimeException(
+                        "Invalid map field number: " + number);
+            }
         }
-        internalGetMutableCurFightPropMap().mergeFrom(
-            other.internalGetCurFightPropMap());
-        if (other.getRetcode() != 0) {
-          setRetcode(other.getRetcode());
+        @java.lang.Override
+        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+            return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_fieldAccessorTable
+                .ensureFieldAccessorsInitialized(
+                    emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.class, emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.Builder.class);
         }
-        if (other.getOldLevel() != 0) {
-          setOldLevel(other.getOldLevel());
+
+        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 =
+                com.google.protobuf.MapEntry
+                    .newDefaultInstance(
+                        emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_descriptor,
+                        com.google.protobuf.WireFormat.FieldType.UINT32,
+                        0,
+                        com.google.protobuf.WireFormat.FieldType.FLOAT,
+                        0F);
         }
-        this.mergeUnknownFields(other.unknownFields);
-        onChanged();
-        return this;
-      }
-
-      @java.lang.Override
-      public final boolean isInitialized() {
-        return true;
-      }
-
-      @java.lang.Override
-      public Builder mergeFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parsedMessage = null;
-        try {
-          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp) e.getUnfinishedMessage();
-          throw e.unwrapIOException();
-        } finally {
-          if (parsedMessage != null) {
-            mergeFrom(parsedMessage);
-          }
+        private com.google.protobuf.MapField<
+            java.lang.Integer, java.lang.Float> oldFightPropMap_;
+        private com.google.protobuf.MapField
+        internalGetOldFightPropMap() {
+            if (oldFightPropMap_ == null) {
+                return com.google.protobuf.MapField.emptyMapField(
+                    OldFightPropMapDefaultEntryHolder.defaultEntry);
+            }
+            return oldFightPropMap_;
         }
-        return this;
-      }
-      private int bitField0_;
 
-      private com.google.protobuf.MapField<
-          java.lang.Integer, java.lang.Float> oldFightPropMap_;
-      private com.google.protobuf.MapField
-      internalGetOldFightPropMap() {
-        if (oldFightPropMap_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(
-              OldFightPropMapDefaultEntryHolder.defaultEntry);
+        public int getOldFightPropMapCount() {
+            return internalGetOldFightPropMap().getMap().size();
         }
-        return oldFightPropMap_;
-      }
-      private com.google.protobuf.MapField
-      internalGetMutableOldFightPropMap() {
-        onChanged();;
-        if (oldFightPropMap_ == null) {
-          oldFightPropMap_ = com.google.protobuf.MapField.newMapField(
-              OldFightPropMapDefaultEntryHolder.defaultEntry);
+        /**
+         * map<uint32, float> old_fight_prop_map = 13;
+         */
+
+        @java.lang.Override
+        public boolean containsOldFightPropMap(
+            int key) {
+
+            return internalGetOldFightPropMap().getMap().containsKey(key);
         }
-        if (!oldFightPropMap_.isMutable()) {
-          oldFightPropMap_ = oldFightPropMap_.copy();
+        /**
+         * Use {@link #getOldFightPropMapMap()} instead.
+         */
+        @java.lang.Override
+        @java.lang.Deprecated
+        public java.util.Map getOldFightPropMap() {
+            return getOldFightPropMapMap();
         }
-        return oldFightPropMap_;
-      }
+        /**
+         * map<uint32, float> old_fight_prop_map = 13;
+         */
+        @java.lang.Override
 
-      public int getOldFightPropMapCount() {
-        return internalGetOldFightPropMap().getMap().size();
-      }
-      /**
-       * map<uint32, float> old_fight_prop_map = 12;
-       */
-
-      @java.lang.Override
-      public boolean containsOldFightPropMap(
-          int key) {
-        
-        return internalGetOldFightPropMap().getMap().containsKey(key);
-      }
-      /**
-       * Use {@link #getOldFightPropMapMap()} instead.
-       */
-      @java.lang.Override
-      @java.lang.Deprecated
-      public java.util.Map getOldFightPropMap() {
-        return getOldFightPropMapMap();
-      }
-      /**
-       * map<uint32, float> old_fight_prop_map = 12;
-       */
-      @java.lang.Override
-
-      public java.util.Map getOldFightPropMapMap() {
-        return internalGetOldFightPropMap().getMap();
-      }
-      /**
-       * map<uint32, float> old_fight_prop_map = 12;
-       */
-      @java.lang.Override
-
-      public float getOldFightPropMapOrDefault(
-          int key,
-          float defaultValue) {
-        
-        java.util.Map map =
-            internalGetOldFightPropMap().getMap();
-        return map.containsKey(key) ? map.get(key) : defaultValue;
-      }
-      /**
-       * map<uint32, float> old_fight_prop_map = 12;
-       */
-      @java.lang.Override
-
-      public float getOldFightPropMapOrThrow(
-          int key) {
-        
-        java.util.Map map =
-            internalGetOldFightPropMap().getMap();
-        if (!map.containsKey(key)) {
-          throw new java.lang.IllegalArgumentException();
+        public java.util.Map getOldFightPropMapMap() {
+            return internalGetOldFightPropMap().getMap();
         }
-        return map.get(key);
-      }
+        /**
+         * map<uint32, float> old_fight_prop_map = 13;
+         */
+        @java.lang.Override
 
-      public Builder clearOldFightPropMap() {
-        internalGetMutableOldFightPropMap().getMutableMap()
-            .clear();
-        return this;
-      }
-      /**
-       * map<uint32, float> old_fight_prop_map = 12;
-       */
+        public float getOldFightPropMapOrDefault(
+            int key,
+            float defaultValue) {
 
-      public Builder removeOldFightPropMap(
-          int key) {
-        
-        internalGetMutableOldFightPropMap().getMutableMap()
-            .remove(key);
-        return this;
-      }
-      /**
-       * Use alternate mutation accessors instead.
-       */
-      @java.lang.Deprecated
-      public java.util.Map
-      getMutableOldFightPropMap() {
-        return internalGetMutableOldFightPropMap().getMutableMap();
-      }
-      /**
-       * map<uint32, float> old_fight_prop_map = 12;
-       */
-      public Builder putOldFightPropMap(
-          int key,
-          float value) {
-        
-        
-        internalGetMutableOldFightPropMap().getMutableMap()
-            .put(key, value);
-        return this;
-      }
-      /**
-       * map<uint32, float> old_fight_prop_map = 12;
-       */
-
-      public Builder putAllOldFightPropMap(
-          java.util.Map values) {
-        internalGetMutableOldFightPropMap().getMutableMap()
-            .putAll(values);
-        return this;
-      }
-
-      private long avatarGuid_ ;
-      /**
-       * uint64 avatar_guid = 8;
-       * @return The avatarGuid.
-       */
-      @java.lang.Override
-      public long getAvatarGuid() {
-        return avatarGuid_;
-      }
-      /**
-       * uint64 avatar_guid = 8;
-       * @param value The avatarGuid to set.
-       * @return This builder for chaining.
-       */
-      public Builder setAvatarGuid(long value) {
-        
-        avatarGuid_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * uint64 avatar_guid = 8;
-       * @return This builder for chaining.
-       */
-      public Builder clearAvatarGuid() {
-        
-        avatarGuid_ = 0L;
-        onChanged();
-        return this;
-      }
-
-      private int curLevel_ ;
-      /**
-       * uint32 cur_level = 14;
-       * @return The curLevel.
-       */
-      @java.lang.Override
-      public int getCurLevel() {
-        return curLevel_;
-      }
-      /**
-       * uint32 cur_level = 14;
-       * @param value The curLevel to set.
-       * @return This builder for chaining.
-       */
-      public Builder setCurLevel(int value) {
-        
-        curLevel_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * uint32 cur_level = 14;
-       * @return This builder for chaining.
-       */
-      public Builder clearCurLevel() {
-        
-        curLevel_ = 0;
-        onChanged();
-        return this;
-      }
-
-      private com.google.protobuf.MapField<
-          java.lang.Integer, java.lang.Float> curFightPropMap_;
-      private com.google.protobuf.MapField
-      internalGetCurFightPropMap() {
-        if (curFightPropMap_ == null) {
-          return com.google.protobuf.MapField.emptyMapField(
-              CurFightPropMapDefaultEntryHolder.defaultEntry);
+            java.util.Map map =
+                internalGetOldFightPropMap().getMap();
+            return map.containsKey(key) ? map.get(key) : defaultValue;
         }
-        return curFightPropMap_;
-      }
-      private com.google.protobuf.MapField
-      internalGetMutableCurFightPropMap() {
-        onChanged();;
-        if (curFightPropMap_ == null) {
-          curFightPropMap_ = com.google.protobuf.MapField.newMapField(
-              CurFightPropMapDefaultEntryHolder.defaultEntry);
+        /**
+         * map<uint32, float> old_fight_prop_map = 13;
+         */
+        @java.lang.Override
+
+        public float getOldFightPropMapOrThrow(
+            int key) {
+
+            java.util.Map map =
+                internalGetOldFightPropMap().getMap();
+            if (!map.containsKey(key)) {
+                throw new java.lang.IllegalArgumentException();
+            }
+            return map.get(key);
         }
-        if (!curFightPropMap_.isMutable()) {
-          curFightPropMap_ = curFightPropMap_.copy();
+
+        public static final int AVATAR_GUID_FIELD_NUMBER = 8;
+        private long avatarGuid_;
+        /**
+         * uint64 avatar_guid = 8;
+         * @return The avatarGuid.
+         */
+        @java.lang.Override
+        public long getAvatarGuid() {
+            return avatarGuid_;
         }
-        return curFightPropMap_;
-      }
 
-      public int getCurFightPropMapCount() {
-        return internalGetCurFightPropMap().getMap().size();
-      }
-      /**
-       * map<uint32, float> cur_fight_prop_map = 13;
-       */
-
-      @java.lang.Override
-      public boolean containsCurFightPropMap(
-          int key) {
-        
-        return internalGetCurFightPropMap().getMap().containsKey(key);
-      }
-      /**
-       * Use {@link #getCurFightPropMapMap()} instead.
-       */
-      @java.lang.Override
-      @java.lang.Deprecated
-      public java.util.Map getCurFightPropMap() {
-        return getCurFightPropMapMap();
-      }
-      /**
-       * map<uint32, float> cur_fight_prop_map = 13;
-       */
-      @java.lang.Override
-
-      public java.util.Map getCurFightPropMapMap() {
-        return internalGetCurFightPropMap().getMap();
-      }
-      /**
-       * map<uint32, float> cur_fight_prop_map = 13;
-       */
-      @java.lang.Override
-
-      public float getCurFightPropMapOrDefault(
-          int key,
-          float defaultValue) {
-        
-        java.util.Map map =
-            internalGetCurFightPropMap().getMap();
-        return map.containsKey(key) ? map.get(key) : defaultValue;
-      }
-      /**
-       * map<uint32, float> cur_fight_prop_map = 13;
-       */
-      @java.lang.Override
-
-      public float getCurFightPropMapOrThrow(
-          int key) {
-        
-        java.util.Map map =
-            internalGetCurFightPropMap().getMap();
-        if (!map.containsKey(key)) {
-          throw new java.lang.IllegalArgumentException();
+        public static final int CUR_LEVEL_FIELD_NUMBER = 14;
+        private int curLevel_;
+        /**
+         * uint32 cur_level = 14;
+         * @return The curLevel.
+         */
+        @java.lang.Override
+        public int getCurLevel() {
+            return curLevel_;
         }
-        return map.get(key);
-      }
 
-      public Builder clearCurFightPropMap() {
-        internalGetMutableCurFightPropMap().getMutableMap()
-            .clear();
-        return this;
-      }
-      /**
-       * map<uint32, float> cur_fight_prop_map = 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 =
+                com.google.protobuf.MapEntry
+                    .newDefaultInstance(
+                        emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_descriptor,
+                        com.google.protobuf.WireFormat.FieldType.UINT32,
+                        0,
+                        com.google.protobuf.WireFormat.FieldType.FLOAT,
+                        0F);
+        }
+        private com.google.protobuf.MapField<
+            java.lang.Integer, java.lang.Float> curFightPropMap_;
+        private com.google.protobuf.MapField
+        internalGetCurFightPropMap() {
+            if (curFightPropMap_ == null) {
+                return com.google.protobuf.MapField.emptyMapField(
+                    CurFightPropMapDefaultEntryHolder.defaultEntry);
+            }
+            return curFightPropMap_;
+        }
 
-      public Builder removeCurFightPropMap(
-          int key) {
-        
-        internalGetMutableCurFightPropMap().getMutableMap()
-            .remove(key);
-        return this;
-      }
-      /**
-       * Use alternate mutation accessors instead.
-       */
-      @java.lang.Deprecated
-      public java.util.Map
-      getMutableCurFightPropMap() {
-        return internalGetMutableCurFightPropMap().getMutableMap();
-      }
-      /**
-       * map<uint32, float> cur_fight_prop_map = 13;
-       */
-      public Builder putCurFightPropMap(
-          int key,
-          float value) {
-        
-        
-        internalGetMutableCurFightPropMap().getMutableMap()
-            .put(key, value);
-        return this;
-      }
-      /**
-       * map<uint32, float> cur_fight_prop_map = 13;
-       */
+        public int getCurFightPropMapCount() {
+            return internalGetCurFightPropMap().getMap().size();
+        }
+        /**
+         * map<uint32, float> cur_fight_prop_map = 12;
+         */
 
-      public Builder putAllCurFightPropMap(
-          java.util.Map values) {
-        internalGetMutableCurFightPropMap().getMutableMap()
-            .putAll(values);
-        return this;
-      }
+        @java.lang.Override
+        public boolean containsCurFightPropMap(
+            int key) {
 
-      private int retcode_ ;
-      /**
-       * int32 retcode = 10;
-       * @return The retcode.
-       */
-      @java.lang.Override
-      public int getRetcode() {
-        return retcode_;
-      }
-      /**
-       * int32 retcode = 10;
-       * @param value The retcode to set.
-       * @return This builder for chaining.
-       */
-      public Builder setRetcode(int value) {
-        
-        retcode_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * int32 retcode = 10;
-       * @return This builder for chaining.
-       */
-      public Builder clearRetcode() {
-        
-        retcode_ = 0;
-        onChanged();
-        return this;
-      }
+            return internalGetCurFightPropMap().getMap().containsKey(key);
+        }
+        /**
+         * Use {@link #getCurFightPropMapMap()} instead.
+         */
+        @java.lang.Override
+        @java.lang.Deprecated
+        public java.util.Map getCurFightPropMap() {
+            return getCurFightPropMapMap();
+        }
+        /**
+         * map<uint32, float> cur_fight_prop_map = 12;
+         */
+        @java.lang.Override
 
-      private int oldLevel_ ;
-      /**
-       * uint32 old_level = 4;
-       * @return The oldLevel.
-       */
-      @java.lang.Override
-      public int getOldLevel() {
-        return oldLevel_;
-      }
-      /**
-       * uint32 old_level = 4;
-       * @param value The oldLevel to set.
-       * @return This builder for chaining.
-       */
-      public Builder setOldLevel(int value) {
-        
-        oldLevel_ = value;
-        onChanged();
-        return this;
-      }
-      /**
-       * uint32 old_level = 4;
-       * @return This builder for chaining.
-       */
-      public Builder clearOldLevel() {
-        
-        oldLevel_ = 0;
-        onChanged();
-        return this;
-      }
-      @java.lang.Override
-      public final Builder setUnknownFields(
-          final com.google.protobuf.UnknownFieldSet unknownFields) {
-        return super.setUnknownFields(unknownFields);
-      }
+        public java.util.Map getCurFightPropMapMap() {
+            return internalGetCurFightPropMap().getMap();
+        }
+        /**
+         * map<uint32, float> cur_fight_prop_map = 12;
+         */
+        @java.lang.Override
 
-      @java.lang.Override
-      public final Builder mergeUnknownFields(
-          final com.google.protobuf.UnknownFieldSet unknownFields) {
-        return super.mergeUnknownFields(unknownFields);
-      }
+        public float getCurFightPropMapOrDefault(
+            int key,
+            float defaultValue) {
+
+            java.util.Map map =
+                internalGetCurFightPropMap().getMap();
+            return map.containsKey(key) ? map.get(key) : defaultValue;
+        }
+        /**
+         * map<uint32, float> cur_fight_prop_map = 12;
+         */
+        @java.lang.Override
+
+        public float getCurFightPropMapOrThrow(
+            int key) {
+
+            java.util.Map map =
+                internalGetCurFightPropMap().getMap();
+            if (!map.containsKey(key)) {
+                throw new java.lang.IllegalArgumentException();
+            }
+            return map.get(key);
+        }
+
+        public static final int RETCODE_FIELD_NUMBER = 10;
+        private int retcode_;
+        /**
+         * int32 retcode = 10;
+         * @return The retcode.
+         */
+        @java.lang.Override
+        public int getRetcode() {
+            return retcode_;
+        }
+
+        public static final int OLD_LEVEL_FIELD_NUMBER = 4;
+        private int oldLevel_;
+        /**
+         * uint32 old_level = 4;
+         * @return The oldLevel.
+         */
+        @java.lang.Override
+        public int getOldLevel() {
+            return oldLevel_;
+        }
+
+        private byte memoizedIsInitialized = -1;
+        @java.lang.Override
+        public final boolean isInitialized() {
+            byte isInitialized = memoizedIsInitialized;
+            if (isInitialized == 1) return true;
+            if (isInitialized == 0) return false;
+
+            memoizedIsInitialized = 1;
+            return true;
+        }
+
+        @java.lang.Override
+        public void writeTo(com.google.protobuf.CodedOutputStream output)
+            throws java.io.IOException {
+            if (oldLevel_ != 0) {
+                output.writeUInt32(4, oldLevel_);
+            }
+            if (avatarGuid_ != 0L) {
+                output.writeUInt64(8, avatarGuid_);
+            }
+            if (retcode_ != 0) {
+                output.writeInt32(10, retcode_);
+            }
+            com.google.protobuf.GeneratedMessageV3
+                .serializeIntegerMapTo(
+                    output,
+                    internalGetCurFightPropMap(),
+                    CurFightPropMapDefaultEntryHolder.defaultEntry,
+                    12);
+            com.google.protobuf.GeneratedMessageV3
+                .serializeIntegerMapTo(
+                    output,
+                    internalGetOldFightPropMap(),
+                    OldFightPropMapDefaultEntryHolder.defaultEntry,
+                    13);
+            if (curLevel_ != 0) {
+                output.writeUInt32(14, curLevel_);
+            }
+            unknownFields.writeTo(output);
+        }
+
+        @java.lang.Override
+        public int getSerializedSize() {
+            int size = memoizedSize;
+            if (size != -1) return size;
+
+            size = 0;
+            if (oldLevel_ != 0) {
+                size += com.google.protobuf.CodedOutputStream
+                    .computeUInt32Size(4, oldLevel_);
+            }
+            if (avatarGuid_ != 0L) {
+                size += com.google.protobuf.CodedOutputStream
+                    .computeUInt64Size(8, avatarGuid_);
+            }
+            if (retcode_ != 0) {
+                size += com.google.protobuf.CodedOutputStream
+                    .computeInt32Size(10, retcode_);
+            }
+            for (java.util.Map.Entry entry
+                : internalGetCurFightPropMap().getMap().entrySet()) {
+                com.google.protobuf.MapEntry
+                    curFightPropMap__ = CurFightPropMapDefaultEntryHolder.defaultEntry.newBuilderForType()
+                    .setKey(entry.getKey())
+                    .setValue(entry.getValue())
+                    .build();
+                size += com.google.protobuf.CodedOutputStream
+                    .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
+                    .computeUInt32Size(14, curLevel_);
+            }
+            size += unknownFields.getSerializedSize();
+            memoizedSize = size;
+            return size;
+        }
+
+        @java.lang.Override
+        public boolean equals(final java.lang.Object obj) {
+            if (obj == this) {
+                return true;
+            }
+            if (!(obj instanceof emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp)) {
+                return super.equals(obj);
+            }
+            emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp other = (emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp) obj;
+
+            if (!internalGetOldFightPropMap().equals(
+                other.internalGetOldFightPropMap())) return false;
+            if (getAvatarGuid()
+                != other.getAvatarGuid()) return false;
+            if (getCurLevel()
+                != other.getCurLevel()) return false;
+            if (!internalGetCurFightPropMap().equals(
+                other.internalGetCurFightPropMap())) return false;
+            if (getRetcode()
+                != other.getRetcode()) return false;
+            if (getOldLevel()
+                != other.getOldLevel()) return false;
+            if (!unknownFields.equals(other.unknownFields)) return false;
+            return true;
+        }
+
+        @java.lang.Override
+        public int hashCode() {
+            if (memoizedHashCode != 0) {
+                return memoizedHashCode;
+            }
+            int hash = 41;
+            hash = (19 * hash) + getDescriptor().hashCode();
+            if (!internalGetOldFightPropMap().getMap().isEmpty()) {
+                hash = (37 * hash) + OLD_FIGHT_PROP_MAP_FIELD_NUMBER;
+                hash = (53 * hash) + internalGetOldFightPropMap().hashCode();
+            }
+            hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER;
+            hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+                getAvatarGuid());
+            hash = (37 * hash) + CUR_LEVEL_FIELD_NUMBER;
+            hash = (53 * hash) + getCurLevel();
+            if (!internalGetCurFightPropMap().getMap().isEmpty()) {
+                hash = (37 * hash) + CUR_FIGHT_PROP_MAP_FIELD_NUMBER;
+                hash = (53 * hash) + internalGetCurFightPropMap().hashCode();
+            }
+            hash = (37 * hash) + RETCODE_FIELD_NUMBER;
+            hash = (53 * hash) + getRetcode();
+            hash = (37 * hash) + OLD_LEVEL_FIELD_NUMBER;
+            hash = (53 * hash) + getOldLevel();
+            hash = (29 * hash) + unknownFields.hashCode();
+            memoizedHashCode = hash;
+            return hash;
+        }
+
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(
+            java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+            return PARSER.parseFrom(data);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(
+            java.nio.ByteBuffer data,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+            return PARSER.parseFrom(data, extensionRegistry);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(
+            com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+            return PARSER.parseFrom(data);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(
+            com.google.protobuf.ByteString data,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+            return PARSER.parseFrom(data, extensionRegistry);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(byte[] data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+            return PARSER.parseFrom(data);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(
+            byte[] data,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+            return PARSER.parseFrom(data, extensionRegistry);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(java.io.InputStream input)
+            throws java.io.IOException {
+            return com.google.protobuf.GeneratedMessageV3
+                .parseWithIOException(PARSER, input);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(
+            java.io.InputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+            return com.google.protobuf.GeneratedMessageV3
+                .parseWithIOException(PARSER, input, extensionRegistry);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseDelimitedFrom(java.io.InputStream input)
+            throws java.io.IOException {
+            return com.google.protobuf.GeneratedMessageV3
+                .parseDelimitedWithIOException(PARSER, input);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseDelimitedFrom(
+            java.io.InputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+            return com.google.protobuf.GeneratedMessageV3
+                .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(
+            com.google.protobuf.CodedInputStream input)
+            throws java.io.IOException {
+            return com.google.protobuf.GeneratedMessageV3
+                .parseWithIOException(PARSER, input);
+        }
+        public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parseFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+            return com.google.protobuf.GeneratedMessageV3
+                .parseWithIOException(PARSER, input, extensionRegistry);
+        }
+
+        @java.lang.Override
+        public Builder newBuilderForType() { return newBuilder(); }
+        public static Builder newBuilder() {
+            return DEFAULT_INSTANCE.toBuilder();
+        }
+        public static Builder newBuilder(emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp prototype) {
+            return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+        }
+        @java.lang.Override
+        public Builder toBuilder() {
+            return this == DEFAULT_INSTANCE
+                ? new Builder() : new Builder().mergeFrom(this);
+        }
+
+        @java.lang.Override
+        protected Builder newBuilderForType(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+            Builder builder = new Builder(parent);
+            return builder;
+        }
+        /**
+         * 
+         * CmdId: 1695
+         * Obf: JJBMNICCKDE
+         * 
+ * + * Protobuf type {@code AvatarUpgradeRsp} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AvatarUpgradeRsp) + emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRspOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 13: + return internalGetOldFightPropMap(); + case 12: + return internalGetCurFightPropMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 13: + return internalGetMutableOldFightPropMap(); + case 12: + return internalGetMutableCurFightPropMap(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.class, emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.Builder.class); + } + + // Construct using emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + internalGetMutableOldFightPropMap().clear(); + avatarGuid_ = 0L; + + curLevel_ = 0; + + internalGetMutableCurFightPropMap().clear(); + retcode_ = 0; + + oldLevel_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.internal_static_AvatarUpgradeRsp_descriptor; + } + + @java.lang.Override + public emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp getDefaultInstanceForType() { + return emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.getDefaultInstance(); + } + + @java.lang.Override + public emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp build() { + emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp buildPartial() { + emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp result = new emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp(this); + int from_bitField0_ = bitField0_; + result.oldFightPropMap_ = internalGetOldFightPropMap(); + result.oldFightPropMap_.makeImmutable(); + result.avatarGuid_ = avatarGuid_; + result.curLevel_ = curLevel_; + result.curFightPropMap_ = internalGetCurFightPropMap(); + result.curFightPropMap_.makeImmutable(); + result.retcode_ = retcode_; + result.oldLevel_ = oldLevel_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp) { + return mergeFrom((emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp other) { + if (other == emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp.getDefaultInstance()) return this; + internalGetMutableOldFightPropMap().mergeFrom( + other.internalGetOldFightPropMap()); + if (other.getAvatarGuid() != 0L) { + setAvatarGuid(other.getAvatarGuid()); + } + if (other.getCurLevel() != 0) { + setCurLevel(other.getCurLevel()); + } + internalGetMutableCurFightPropMap().mergeFrom( + other.internalGetCurFightPropMap()); + if (other.getRetcode() != 0) { + setRetcode(other.getRetcode()); + } + if (other.getOldLevel() != 0) { + setOldLevel(other.getOldLevel()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.Integer, java.lang.Float> oldFightPropMap_; + private com.google.protobuf.MapField + internalGetOldFightPropMap() { + if (oldFightPropMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + OldFightPropMapDefaultEntryHolder.defaultEntry); + } + return oldFightPropMap_; + } + private com.google.protobuf.MapField + internalGetMutableOldFightPropMap() { + onChanged();; + if (oldFightPropMap_ == null) { + oldFightPropMap_ = com.google.protobuf.MapField.newMapField( + OldFightPropMapDefaultEntryHolder.defaultEntry); + } + if (!oldFightPropMap_.isMutable()) { + oldFightPropMap_ = oldFightPropMap_.copy(); + } + return oldFightPropMap_; + } + + public int getOldFightPropMapCount() { + return internalGetOldFightPropMap().getMap().size(); + } + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + + @java.lang.Override + public boolean containsOldFightPropMap( + int key) { + + return internalGetOldFightPropMap().getMap().containsKey(key); + } + /** + * Use {@link #getOldFightPropMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getOldFightPropMap() { + return getOldFightPropMapMap(); + } + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + @java.lang.Override + + public java.util.Map getOldFightPropMapMap() { + return internalGetOldFightPropMap().getMap(); + } + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + @java.lang.Override + + public float getOldFightPropMapOrDefault( + int key, + float defaultValue) { + + java.util.Map map = + internalGetOldFightPropMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + @java.lang.Override + + public float getOldFightPropMapOrThrow( + int key) { + + java.util.Map map = + internalGetOldFightPropMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearOldFightPropMap() { + internalGetMutableOldFightPropMap().getMutableMap() + .clear(); + return this; + } + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + + public Builder removeOldFightPropMap( + int key) { + + internalGetMutableOldFightPropMap().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableOldFightPropMap() { + return internalGetMutableOldFightPropMap().getMutableMap(); + } + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + public Builder putOldFightPropMap( + int key, + float value) { - // @@protoc_insertion_point(builder_scope:AvatarUpgradeRsp) + internalGetMutableOldFightPropMap().getMutableMap() + .put(key, value); + return this; + } + /** + * map<uint32, float> old_fight_prop_map = 13; + */ + + public Builder putAllOldFightPropMap( + java.util.Map values) { + internalGetMutableOldFightPropMap().getMutableMap() + .putAll(values); + return this; + } + + private long avatarGuid_ ; + /** + * uint64 avatar_guid = 8; + * @return The avatarGuid. + */ + @java.lang.Override + public long getAvatarGuid() { + return avatarGuid_; + } + /** + * uint64 avatar_guid = 8; + * @param value The avatarGuid to set. + * @return This builder for chaining. + */ + public Builder setAvatarGuid(long value) { + + avatarGuid_ = value; + onChanged(); + return this; + } + /** + * uint64 avatar_guid = 8; + * @return This builder for chaining. + */ + public Builder clearAvatarGuid() { + + avatarGuid_ = 0L; + onChanged(); + return this; + } + + private int curLevel_ ; + /** + * uint32 cur_level = 14; + * @return The curLevel. + */ + @java.lang.Override + public int getCurLevel() { + return curLevel_; + } + /** + * uint32 cur_level = 14; + * @param value The curLevel to set. + * @return This builder for chaining. + */ + public Builder setCurLevel(int value) { + + curLevel_ = value; + onChanged(); + return this; + } + /** + * uint32 cur_level = 14; + * @return This builder for chaining. + */ + public Builder clearCurLevel() { + + curLevel_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.Integer, java.lang.Float> curFightPropMap_; + private com.google.protobuf.MapField + internalGetCurFightPropMap() { + if (curFightPropMap_ == null) { + return com.google.protobuf.MapField.emptyMapField( + CurFightPropMapDefaultEntryHolder.defaultEntry); + } + return curFightPropMap_; + } + private com.google.protobuf.MapField + internalGetMutableCurFightPropMap() { + onChanged();; + if (curFightPropMap_ == null) { + curFightPropMap_ = com.google.protobuf.MapField.newMapField( + CurFightPropMapDefaultEntryHolder.defaultEntry); + } + if (!curFightPropMap_.isMutable()) { + curFightPropMap_ = curFightPropMap_.copy(); + } + return curFightPropMap_; + } + + public int getCurFightPropMapCount() { + return internalGetCurFightPropMap().getMap().size(); + } + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + + @java.lang.Override + public boolean containsCurFightPropMap( + int key) { + + return internalGetCurFightPropMap().getMap().containsKey(key); + } + /** + * Use {@link #getCurFightPropMapMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getCurFightPropMap() { + return getCurFightPropMapMap(); + } + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + @java.lang.Override + + public java.util.Map getCurFightPropMapMap() { + return internalGetCurFightPropMap().getMap(); + } + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + @java.lang.Override + + public float getCurFightPropMapOrDefault( + int key, + float defaultValue) { + + java.util.Map map = + internalGetCurFightPropMap().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + @java.lang.Override + + public float getCurFightPropMapOrThrow( + int key) { + + java.util.Map map = + internalGetCurFightPropMap().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearCurFightPropMap() { + internalGetMutableCurFightPropMap().getMutableMap() + .clear(); + return this; + } + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + + public Builder removeCurFightPropMap( + int key) { + + internalGetMutableCurFightPropMap().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableCurFightPropMap() { + return internalGetMutableCurFightPropMap().getMutableMap(); + } + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + public Builder putCurFightPropMap( + int key, + float value) { + + + internalGetMutableCurFightPropMap().getMutableMap() + .put(key, value); + return this; + } + /** + * map<uint32, float> cur_fight_prop_map = 12; + */ + + public Builder putAllCurFightPropMap( + java.util.Map values) { + internalGetMutableCurFightPropMap().getMutableMap() + .putAll(values); + return this; + } + + private int retcode_ ; + /** + * int32 retcode = 10; + * @return The retcode. + */ + @java.lang.Override + public int getRetcode() { + return retcode_; + } + /** + * int32 retcode = 10; + * @param value The retcode to set. + * @return This builder for chaining. + */ + public Builder setRetcode(int value) { + + retcode_ = value; + onChanged(); + return this; + } + /** + * int32 retcode = 10; + * @return This builder for chaining. + */ + public Builder clearRetcode() { + + retcode_ = 0; + onChanged(); + return this; + } + + private int oldLevel_ ; + /** + * uint32 old_level = 4; + * @return The oldLevel. + */ + @java.lang.Override + public int getOldLevel() { + return oldLevel_; + } + /** + * uint32 old_level = 4; + * @param value The oldLevel to set. + * @return This builder for chaining. + */ + public Builder setOldLevel(int value) { + + oldLevel_ = value; + onChanged(); + return this; + } + /** + * uint32 old_level = 4; + * @return This builder for chaining. + */ + public Builder clearOldLevel() { + + oldLevel_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:AvatarUpgradeRsp) + } + + // @@protoc_insertion_point(class_scope:AvatarUpgradeRsp) + private static final emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp(); + } + + public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvatarUpgradeRsp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarUpgradeRsp(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } - // @@protoc_insertion_point(class_scope:AvatarUpgradeRsp) - private static final emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp DEFAULT_INSTANCE; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AvatarUpgradeRsp_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AvatarUpgradeRsp_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { - DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp(); + java.lang.String[] descriptorData = { + "\n\026AvatarUpgradeRsp.proto\"\326\002\n\020AvatarUpgra" + + "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\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" + + "FightPropMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030" + + "\002 \001(\002:\0028\001B\033\n\031emu.grasscutter.net.protob\006" + + "proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_AvatarUpgradeRsp_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_AvatarUpgradeRsp_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AvatarUpgradeRsp_descriptor, + new java.lang.String[] { "OldFightPropMap", "AvatarGuid", "CurLevel", "CurFightPropMap", "Retcode", "OldLevel", }); + internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_descriptor = + internal_static_AvatarUpgradeRsp_descriptor.getNestedTypes().get(0); + internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_descriptor = + internal_static_AvatarUpgradeRsp_descriptor.getNestedTypes().get(1); + internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); } - public static emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvatarUpgradeRsp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AvatarUpgradeRsp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public emu.grasscutter.net.proto.AvatarUpgradeRspOuterClass.AvatarUpgradeRsp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_AvatarUpgradeRsp_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_AvatarUpgradeRsp_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\026AvatarUpgradeRsp.proto\"\326\002\n\020AvatarUpgra" + - "deRsp\022B\n\022old_fight_prop_map\030\014 \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" + - ".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" + - "FightPropMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030" + - "\002 \001(\002:\0028\001B\033\n\031emu.grasscutter.net.protob\006" + - "proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_AvatarUpgradeRsp_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_AvatarUpgradeRsp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_AvatarUpgradeRsp_descriptor, - new java.lang.String[] { "OldFightPropMap", "AvatarGuid", "CurLevel", "CurFightPropMap", "Retcode", "OldLevel", }); - internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_descriptor = - internal_static_AvatarUpgradeRsp_descriptor.getNestedTypes().get(0); - internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_AvatarUpgradeRsp_OldFightPropMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_descriptor = - internal_static_AvatarUpgradeRsp_descriptor.getNestedTypes().get(1); - internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_AvatarUpgradeRsp_CurFightPropMapEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - } - - // @@protoc_insertion_point(outer_class_scope) + // @@protoc_insertion_point(outer_class_scope) }