Commit d575d1cc authored by Benj's avatar Benj Committed by Luke H-W
Browse files

Update 3.0 protos

parent 5db73d28
......@@ -40,7 +40,7 @@ public final class AskAddFriendRspOuterClass {
* <pre>
* CmdId: 4021
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -349,7 +349,7 @@ public final class AskAddFriendRspOuterClass {
* <pre>
* CmdId: 4021
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -43,7 +43,8 @@ public final class AvatarAddNotifyOuterClass {
* <pre>
* CmdId: 1769
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarAddNotify}
......@@ -353,7 +354,8 @@ public final class AvatarAddNotifyOuterClass {
* <pre>
* CmdId: 1769
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarAddNotify}
......
......@@ -37,7 +37,8 @@ public final class AvatarChangeCostumeNotifyOuterClass {
* <pre>
* CmdId: 1644
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeCostumeNotify}
......@@ -319,7 +320,8 @@ public final class AvatarChangeCostumeNotifyOuterClass {
* <pre>
* CmdId: 1644
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeCostumeNotify}
......
......@@ -34,7 +34,7 @@ public final class AvatarChangeCostumeReqOuterClass {
* <pre>
* CmdId: 1778
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -317,7 +317,7 @@ public final class AvatarChangeCostumeReqOuterClass {
* <pre>
* CmdId: 1778
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -40,7 +40,8 @@ public final class AvatarChangeCostumeRspOuterClass {
* <pre>
* CmdId: 1645
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeCostumeRsp}
......@@ -349,7 +350,8 @@ public final class AvatarChangeCostumeRspOuterClass {
* <pre>
* CmdId: 1645
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeCostumeRsp}
......
......@@ -34,7 +34,7 @@ public final class AvatarChangeElementTypeReqOuterClass {
* <pre>
* CmdId: 1785
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -316,7 +316,7 @@ public final class AvatarChangeElementTypeReqOuterClass {
* <pre>
* CmdId: 1785
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -28,7 +28,8 @@ public final class AvatarChangeElementTypeRspOuterClass {
* <pre>
* CmdId: 1651
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeElementTypeRsp}
......@@ -282,7 +283,8 @@ public final class AvatarChangeElementTypeRspOuterClass {
* <pre>
* CmdId: 1651
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeElementTypeRsp}
......
......@@ -19,68 +19,78 @@ public final class AvatarDataNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return A list containing the ownedCostumeList.
*/
java.util.List<java.lang.Integer> getOwnedFlycloakListList();
java.util.List<java.lang.Integer> getOwnedCostumeListList();
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return The count of ownedCostumeList.
*/
int getOwnedFlycloakListCount();
int getOwnedCostumeListCount();
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* <code>repeated uint32 owned_costume_list = 11;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
* @return The ownedCostumeList at the given index.
*/
int getOwnedFlycloakList(int index);
int getOwnedCostumeList(int index);
/**
* <code>uint32 cur_avatar_team_id = 2;</code>
* @return The curAvatarTeamId.
* <code>uint64 choose_avatar_guid = 8;</code>
* @return The chooseAvatarGuid.
*/
int getCurAvatarTeamId();
long getChooseAvatarGuid();
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo>
getAvatarListList();
int getAvatarTeamMapCount();
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getAvatarList(int index);
boolean containsAvatarTeamMap(
int key);
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* Use {@link #getAvatarTeamMapMap()} instead.
*/
int getAvatarListCount();
@java.lang.Deprecated
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
getAvatarTeamMap();
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>
getAvatarListOrBuilderList();
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
getAvatarTeamMapMap();
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder getAvatarListOrBuilder(
int index);
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrDefault(
int key,
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam defaultValue);
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return A list containing the ownedCostumeList.
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
java.util.List<java.lang.Integer> getOwnedCostumeListList();
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrThrow(
int key);
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return The count of ownedCostumeList.
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @return A list containing the unk3000NIGPICLBHMA.
*/
int getOwnedCostumeListCount();
java.util.List<java.lang.Integer> getUnk3000NIGPICLBHMAList();
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @return The count of unk3000NIGPICLBHMA.
*/
int getUnk3000NIGPICLBHMACount();
/**
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @param index The index of the element to return.
* @return The ownedCostumeList at the given index.
* @return The unk3000NIGPICLBHMA at the given index.
*/
int getOwnedCostumeList(int index);
int getUnk3000NIGPICLBHMA(int index);
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
......@@ -100,50 +110,58 @@ public final class AvatarDataNotifyOuterClass {
long getTempAvatarGuidList(int index);
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
*/
int getAvatarTeamMapCount();
java.util.List<java.lang.Integer> getOwnedFlycloakListList();
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
*/
boolean containsAvatarTeamMap(
int key);
int getOwnedFlycloakListCount();
/**
* Use {@link #getAvatarTeamMapMap()} instead.
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
*/
@java.lang.Deprecated
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
getAvatarTeamMap();
int getOwnedFlycloakList(int index);
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
getAvatarTeamMapMap();
java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo>
getAvatarListList();
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrDefault(
int key,
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam defaultValue);
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getAvatarList(int index);
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrThrow(
int key);
int getAvatarListCount();
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>
getAvatarListOrBuilderList();
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder getAvatarListOrBuilder(
int index);
/**
* <code>uint64 choose_avatar_guid = 8;</code>
* @return The chooseAvatarGuid.
* <code>uint32 cur_avatar_team_id = 2;</code>
* @return The curAvatarTeamId.
*/
long getChooseAvatarGuid();
int getCurAvatarTeamId();
}
/**
* <pre>
* CmdId: 1633
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarDataNotify}
......@@ -158,10 +176,11 @@ public final class AvatarDataNotifyOuterClass {
super(builder);
}
private AvatarDataNotify() {
ownedFlycloakList_ = emptyIntList();
avatarList_ = java.util.Collections.emptyList();
ownedCostumeList_ = emptyIntList();
unk3000NIGPICLBHMA_ = emptyIntList();
tempAvatarGuidList_ = emptyLongList();
ownedFlycloakList_ = emptyIntList();
avatarList_ = java.util.Collections.emptyList();
}
@java.lang.Override
......@@ -196,9 +215,9 @@ public final class AvatarDataNotifyOuterClass {
done = true;
break;
case 8: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
ownedFlycloakList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
mutable_bitField0_ |= 0x00000010;
}
ownedFlycloakList_.addInt(input.readUInt32());
break;
......@@ -206,9 +225,9 @@ public final class AvatarDataNotifyOuterClass {
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) {
ownedFlycloakList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
mutable_bitField0_ |= 0x00000010;
}
while (input.getBytesUntilLimit() > 0) {
ownedFlycloakList_.addInt(input.readUInt32());
......@@ -222,19 +241,19 @@ public final class AvatarDataNotifyOuterClass {
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
if (!((mutable_bitField0_ & 0x00000020) != 0)) {
avatarList_ = new java.util.ArrayList<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo>();
mutable_bitField0_ |= 0x00000002;
mutable_bitField0_ |= 0x00000020;
}
avatarList_.add(
input.readMessage(emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.parser(), extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
avatarTeamMap_ = com.google.protobuf.MapField.newMapField(
AvatarTeamMapDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000010;
mutable_bitField0_ |= 0x00000002;
}
com.google.protobuf.MapEntry<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
avatarTeamMap__ = input.readMessage(
......@@ -248,20 +267,41 @@ public final class AvatarDataNotifyOuterClass {
chooseAvatarGuid_ = input.readUInt64();
break;
}
case 88: {
case 72: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
ownedCostumeList_ = newIntList();
unk3000NIGPICLBHMA_ = newIntList();
mutable_bitField0_ |= 0x00000004;
}
unk3000NIGPICLBHMA_.addInt(input.readUInt32());
break;
}
case 74: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
unk3000NIGPICLBHMA_ = newIntList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
unk3000NIGPICLBHMA_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 88: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
ownedCostumeList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
ownedCostumeList_.addInt(input.readUInt32());
break;
}
case 90: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
ownedCostumeList_ = newIntList();
mutable_bitField0_ |= 0x00000004;
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
ownedCostumeList_.addInt(input.readUInt32());
......@@ -305,13 +345,16 @@ public final class AvatarDataNotifyOuterClass {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
if (((mutable_bitField0_ & 0x00000010) != 0)) {
ownedFlycloakList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
if (((mutable_bitField0_ & 0x00000020) != 0)) {
avatarList_ = java.util.Collections.unmodifiableList(avatarList_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
unk3000NIGPICLBHMA_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000001) != 0)) {
ownedCostumeList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
......@@ -346,85 +389,6 @@ public final class AvatarDataNotifyOuterClass {
emu.grasscutter.net.proto.AvatarDataNotifyOuterClass.AvatarDataNotify.class, emu.grasscutter.net.proto.AvatarDataNotifyOuterClass.AvatarDataNotify.Builder.class);
}
public static final int OWNED_FLYCLOAK_LIST_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.IntList ownedFlycloakList_;
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getOwnedFlycloakListList() {
return ownedFlycloakList_;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
*/
public int getOwnedFlycloakListCount() {
return ownedFlycloakList_.size();
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
*/
public int getOwnedFlycloakList(int index) {
return ownedFlycloakList_.getInt(index);
}
private int ownedFlycloakListMemoizedSerializedSize = -1;
public static final int CUR_AVATAR_TEAM_ID_FIELD_NUMBER = 2;
private int curAvatarTeamId_;
/**
* <code>uint32 cur_avatar_team_id = 2;</code>
* @return The curAvatarTeamId.
*/
@java.lang.Override
public int getCurAvatarTeamId() {
return curAvatarTeamId_;
}
public static final int AVATAR_LIST_FIELD_NUMBER = 6;
private java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> avatarList_;
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> getAvatarListList() {
return avatarList_;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>
getAvatarListOrBuilderList() {
return avatarList_;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public int getAvatarListCount() {
return avatarList_.size();
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getAvatarList(int index) {
return avatarList_.get(index);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder getAvatarListOrBuilder(
int index) {
return avatarList_.get(index);
}
public static final int OWNED_COSTUME_LIST_FIELD_NUMBER = 11;
private com.google.protobuf.Internal.IntList ownedCostumeList_;
/**
......@@ -453,33 +417,16 @@ public final class AvatarDataNotifyOuterClass {
}
private int ownedCostumeListMemoizedSerializedSize = -1;
public static final int TEMP_AVATAR_GUID_LIST_FIELD_NUMBER = 12;
private com.google.protobuf.Internal.LongList tempAvatarGuidList_;
public static final int CHOOSE_AVATAR_GUID_FIELD_NUMBER = 8;
private long chooseAvatarGuid_;
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @return A list containing the tempAvatarGuidList.
* <code>uint64 choose_avatar_guid = 8;</code>
* @return The chooseAvatarGuid.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTempAvatarGuidListList() {
return tempAvatarGuidList_;
}
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @return The count of tempAvatarGuidList.
*/
public int getTempAvatarGuidListCount() {
return tempAvatarGuidList_.size();
}
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @param index The index of the element to return.
* @return The tempAvatarGuidList at the given index.
*/
public long getTempAvatarGuidList(int index) {
return tempAvatarGuidList_.getLong(index);
public long getChooseAvatarGuid() {
return chooseAvatarGuid_;
}
private int tempAvatarGuidListMemoizedSerializedSize = -1;
public static final int AVATAR_TEAM_MAP_FIELD_NUMBER = 7;
private static final class AvatarTeamMapDefaultEntryHolder {
......@@ -562,15 +509,139 @@ public final class AvatarDataNotifyOuterClass {
return map.get(key);
}
public static final int CHOOSE_AVATAR_GUID_FIELD_NUMBER = 8;
private long chooseAvatarGuid_;
public static final int UNK3000_NIGPICLBHMA_FIELD_NUMBER = 9;
private com.google.protobuf.Internal.IntList unk3000NIGPICLBHMA_;
/**
* <code>uint64 choose_avatar_guid = 8;</code>
* @return The chooseAvatarGuid.
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @return A list containing the unk3000NIGPICLBHMA.
*/
@java.lang.Override
public long getChooseAvatarGuid() {
return chooseAvatarGuid_;
public java.util.List<java.lang.Integer>
getUnk3000NIGPICLBHMAList() {
return unk3000NIGPICLBHMA_;
}
/**
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @return The count of unk3000NIGPICLBHMA.
*/
public int getUnk3000NIGPICLBHMACount() {
return unk3000NIGPICLBHMA_.size();
}
/**
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @param index The index of the element to return.
* @return The unk3000NIGPICLBHMA at the given index.
*/
public int getUnk3000NIGPICLBHMA(int index) {
return unk3000NIGPICLBHMA_.getInt(index);
}
private int unk3000NIGPICLBHMAMemoizedSerializedSize = -1;
public static final int TEMP_AVATAR_GUID_LIST_FIELD_NUMBER = 12;
private com.google.protobuf.Internal.LongList tempAvatarGuidList_;
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @return A list containing the tempAvatarGuidList.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTempAvatarGuidListList() {
return tempAvatarGuidList_;
}
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @return The count of tempAvatarGuidList.
*/
public int getTempAvatarGuidListCount() {
return tempAvatarGuidList_.size();
}
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @param index The index of the element to return.
* @return The tempAvatarGuidList at the given index.
*/
public long getTempAvatarGuidList(int index) {
return tempAvatarGuidList_.getLong(index);
}
private int tempAvatarGuidListMemoizedSerializedSize = -1;
public static final int OWNED_FLYCLOAK_LIST_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.IntList ownedFlycloakList_;
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getOwnedFlycloakListList() {
return ownedFlycloakList_;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
*/
public int getOwnedFlycloakListCount() {
return ownedFlycloakList_.size();
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
*/
public int getOwnedFlycloakList(int index) {
return ownedFlycloakList_.getInt(index);
}
private int ownedFlycloakListMemoizedSerializedSize = -1;
public static final int AVATAR_LIST_FIELD_NUMBER = 6;
private java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> avatarList_;
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> getAvatarListList() {
return avatarList_;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>
getAvatarListOrBuilderList() {
return avatarList_;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public int getAvatarListCount() {
return avatarList_.size();
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getAvatarList(int index) {
return avatarList_.get(index);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder getAvatarListOrBuilder(
int index) {
return avatarList_.get(index);
}
public static final int CUR_AVATAR_TEAM_ID_FIELD_NUMBER = 2;
private int curAvatarTeamId_;
/**
* <code>uint32 cur_avatar_team_id = 2;</code>
* @return The curAvatarTeamId.
*/
@java.lang.Override
public int getCurAvatarTeamId() {
return curAvatarTeamId_;
}
private byte memoizedIsInitialized = -1;
......@@ -610,6 +681,13 @@ public final class AvatarDataNotifyOuterClass {
if (chooseAvatarGuid_ != 0L) {
output.writeUInt64(8, chooseAvatarGuid_);
}
if (getUnk3000NIGPICLBHMAList().size() > 0) {
output.writeUInt32NoTag(74);
output.writeUInt32NoTag(unk3000NIGPICLBHMAMemoizedSerializedSize);
}
for (int i = 0; i < unk3000NIGPICLBHMA_.size(); i++) {
output.writeUInt32NoTag(unk3000NIGPICLBHMA_.getInt(i));
}
if (getOwnedCostumeListList().size() > 0) {
output.writeUInt32NoTag(90);
output.writeUInt32NoTag(ownedCostumeListMemoizedSerializedSize);
......@@ -669,6 +747,20 @@ public final class AvatarDataNotifyOuterClass {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(8, chooseAvatarGuid_);
}
{
int dataSize = 0;
for (int i = 0; i < unk3000NIGPICLBHMA_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(unk3000NIGPICLBHMA_.getInt(i));
}
size += dataSize;
if (!getUnk3000NIGPICLBHMAList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
unk3000NIGPICLBHMAMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < ownedCostumeList_.size(); i++) {
......@@ -712,20 +804,22 @@ public final class AvatarDataNotifyOuterClass {
}
emu.grasscutter.net.proto.AvatarDataNotifyOuterClass.AvatarDataNotify other = (emu.grasscutter.net.proto.AvatarDataNotifyOuterClass.AvatarDataNotify) obj;
if (!getOwnedFlycloakListList()
.equals(other.getOwnedFlycloakListList())) return false;
if (getCurAvatarTeamId()
!= other.getCurAvatarTeamId()) return false;
if (!getAvatarListList()
.equals(other.getAvatarListList())) return false;
if (!getOwnedCostumeListList()
.equals(other.getOwnedCostumeListList())) return false;
if (!getTempAvatarGuidListList()
.equals(other.getTempAvatarGuidListList())) return false;
if (!internalGetAvatarTeamMap().equals(
other.internalGetAvatarTeamMap())) return false;
if (getChooseAvatarGuid()
!= other.getChooseAvatarGuid()) return false;
if (!internalGetAvatarTeamMap().equals(
other.internalGetAvatarTeamMap())) return false;
if (!getUnk3000NIGPICLBHMAList()
.equals(other.getUnk3000NIGPICLBHMAList())) return false;
if (!getTempAvatarGuidListList()
.equals(other.getTempAvatarGuidListList())) return false;
if (!getOwnedFlycloakListList()
.equals(other.getOwnedFlycloakListList())) return false;
if (!getAvatarListList()
.equals(other.getAvatarListList())) return false;
if (getCurAvatarTeamId()
!= other.getCurAvatarTeamId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
......@@ -737,31 +831,35 @@ public final class AvatarDataNotifyOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getOwnedFlycloakListCount() > 0) {
hash = (37 * hash) + OWNED_FLYCLOAK_LIST_FIELD_NUMBER;
hash = (53 * hash) + getOwnedFlycloakListList().hashCode();
}
hash = (37 * hash) + CUR_AVATAR_TEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + getCurAvatarTeamId();
if (getAvatarListCount() > 0) {
hash = (37 * hash) + AVATAR_LIST_FIELD_NUMBER;
hash = (53 * hash) + getAvatarListList().hashCode();
}
if (getOwnedCostumeListCount() > 0) {
hash = (37 * hash) + OWNED_COSTUME_LIST_FIELD_NUMBER;
hash = (53 * hash) + getOwnedCostumeListList().hashCode();
}
hash = (37 * hash) + CHOOSE_AVATAR_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getChooseAvatarGuid());
if (!internalGetAvatarTeamMap().getMap().isEmpty()) {
hash = (37 * hash) + AVATAR_TEAM_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetAvatarTeamMap().hashCode();
}
if (getUnk3000NIGPICLBHMACount() > 0) {
hash = (37 * hash) + UNK3000_NIGPICLBHMA_FIELD_NUMBER;
hash = (53 * hash) + getUnk3000NIGPICLBHMAList().hashCode();
}
if (getTempAvatarGuidListCount() > 0) {
hash = (37 * hash) + TEMP_AVATAR_GUID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getTempAvatarGuidListList().hashCode();
}
if (!internalGetAvatarTeamMap().getMap().isEmpty()) {
hash = (37 * hash) + AVATAR_TEAM_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetAvatarTeamMap().hashCode();
if (getOwnedFlycloakListCount() > 0) {
hash = (37 * hash) + OWNED_FLYCLOAK_LIST_FIELD_NUMBER;
hash = (53 * hash) + getOwnedFlycloakListList().hashCode();
}
hash = (37 * hash) + CHOOSE_AVATAR_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getChooseAvatarGuid());
if (getAvatarListCount() > 0) {
hash = (37 * hash) + AVATAR_LIST_FIELD_NUMBER;
hash = (53 * hash) + getAvatarListList().hashCode();
}
hash = (37 * hash) + CUR_AVATAR_TEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + getCurAvatarTeamId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
......@@ -861,7 +959,8 @@ public final class AvatarDataNotifyOuterClass {
* <pre>
* CmdId: 1633
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarDataNotify}
......@@ -924,22 +1023,24 @@ public final class AvatarDataNotifyOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
ownedFlycloakList_ = emptyIntList();
ownedCostumeList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
curAvatarTeamId_ = 0;
chooseAvatarGuid_ = 0L;
internalGetMutableAvatarTeamMap().clear();
unk3000NIGPICLBHMA_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
tempAvatarGuidList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
ownedFlycloakList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000010);
if (avatarListBuilder_ == null) {
avatarList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
bitField0_ = (bitField0_ & ~0x00000020);
} else {
avatarListBuilder_.clear();
}
ownedCostumeList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
tempAvatarGuidList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutableAvatarTeamMap().clear();
chooseAvatarGuid_ = 0L;
curAvatarTeamId_ = 0;
return this;
}
......@@ -969,33 +1070,38 @@ public final class AvatarDataNotifyOuterClass {
emu.grasscutter.net.proto.AvatarDataNotifyOuterClass.AvatarDataNotify result = new emu.grasscutter.net.proto.AvatarDataNotifyOuterClass.AvatarDataNotify(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
ownedFlycloakList_.makeImmutable();
ownedCostumeList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.ownedFlycloakList_ = ownedFlycloakList_;
result.curAvatarTeamId_ = curAvatarTeamId_;
if (avatarListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
avatarList_ = java.util.Collections.unmodifiableList(avatarList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.avatarList_ = avatarList_;
} else {
result.avatarList_ = avatarListBuilder_.build();
}
result.ownedCostumeList_ = ownedCostumeList_;
result.chooseAvatarGuid_ = chooseAvatarGuid_;
result.avatarTeamMap_ = internalGetAvatarTeamMap();
result.avatarTeamMap_.makeImmutable();
if (((bitField0_ & 0x00000004) != 0)) {
ownedCostumeList_.makeImmutable();
unk3000NIGPICLBHMA_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.ownedCostumeList_ = ownedCostumeList_;
result.unk3000NIGPICLBHMA_ = unk3000NIGPICLBHMA_;
if (((bitField0_ & 0x00000008) != 0)) {
tempAvatarGuidList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.tempAvatarGuidList_ = tempAvatarGuidList_;
result.avatarTeamMap_ = internalGetAvatarTeamMap();
result.avatarTeamMap_.makeImmutable();
result.chooseAvatarGuid_ = chooseAvatarGuid_;
if (((bitField0_ & 0x00000010) != 0)) {
ownedFlycloakList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.ownedFlycloakList_ = ownedFlycloakList_;
if (avatarListBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
avatarList_ = java.util.Collections.unmodifiableList(avatarList_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.avatarList_ = avatarList_;
} else {
result.avatarList_ = avatarListBuilder_.build();
}
result.curAvatarTeamId_ = curAvatarTeamId_;
onBuilt();
return result;
}
......@@ -1044,24 +1150,56 @@ public final class AvatarDataNotifyOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.AvatarDataNotifyOuterClass.AvatarDataNotify other) {
if (other == emu.grasscutter.net.proto.AvatarDataNotifyOuterClass.AvatarDataNotify.getDefaultInstance()) return this;
if (!other.ownedFlycloakList_.isEmpty()) {
if (ownedFlycloakList_.isEmpty()) {
ownedFlycloakList_ = other.ownedFlycloakList_;
bitField0_ = (bitField0_ & ~0x00000001);
if (!other.ownedCostumeList_.isEmpty()) {
if (ownedCostumeList_.isEmpty()) {
ownedCostumeList_ = other.ownedCostumeList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureOwnedCostumeListIsMutable();
ownedCostumeList_.addAll(other.ownedCostumeList_);
}
onChanged();
}
if (other.getChooseAvatarGuid() != 0L) {
setChooseAvatarGuid(other.getChooseAvatarGuid());
}
internalGetMutableAvatarTeamMap().mergeFrom(
other.internalGetAvatarTeamMap());
if (!other.unk3000NIGPICLBHMA_.isEmpty()) {
if (unk3000NIGPICLBHMA_.isEmpty()) {
unk3000NIGPICLBHMA_ = other.unk3000NIGPICLBHMA_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureUnk3000NIGPICLBHMAIsMutable();
unk3000NIGPICLBHMA_.addAll(other.unk3000NIGPICLBHMA_);
}
onChanged();
}
if (!other.tempAvatarGuidList_.isEmpty()) {
if (tempAvatarGuidList_.isEmpty()) {
tempAvatarGuidList_ = other.tempAvatarGuidList_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTempAvatarGuidListIsMutable();
tempAvatarGuidList_.addAll(other.tempAvatarGuidList_);
}
onChanged();
}
if (!other.ownedFlycloakList_.isEmpty()) {
if (ownedFlycloakList_.isEmpty()) {
ownedFlycloakList_ = other.ownedFlycloakList_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureOwnedFlycloakListIsMutable();
ownedFlycloakList_.addAll(other.ownedFlycloakList_);
}
onChanged();
}
if (other.getCurAvatarTeamId() != 0) {
setCurAvatarTeamId(other.getCurAvatarTeamId());
}
if (avatarListBuilder_ == null) {
if (!other.avatarList_.isEmpty()) {
if (avatarList_.isEmpty()) {
avatarList_ = other.avatarList_;
bitField0_ = (bitField0_ & ~0x00000002);
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureAvatarListIsMutable();
avatarList_.addAll(other.avatarList_);
......@@ -1074,7 +1212,7 @@ public final class AvatarDataNotifyOuterClass {
avatarListBuilder_.dispose();
avatarListBuilder_ = null;
avatarList_ = other.avatarList_;
bitField0_ = (bitField0_ & ~0x00000002);
bitField0_ = (bitField0_ & ~0x00000020);
avatarListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAvatarListFieldBuilder() : null;
......@@ -1083,30 +1221,8 @@ public final class AvatarDataNotifyOuterClass {
}
}
}
if (!other.ownedCostumeList_.isEmpty()) {
if (ownedCostumeList_.isEmpty()) {
ownedCostumeList_ = other.ownedCostumeList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureOwnedCostumeListIsMutable();
ownedCostumeList_.addAll(other.ownedCostumeList_);
}
onChanged();
}
if (!other.tempAvatarGuidList_.isEmpty()) {
if (tempAvatarGuidList_.isEmpty()) {
tempAvatarGuidList_ = other.tempAvatarGuidList_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTempAvatarGuidListIsMutable();
tempAvatarGuidList_.addAll(other.tempAvatarGuidList_);
}
onChanged();
}
internalGetMutableAvatarTeamMap().mergeFrom(
other.internalGetAvatarTeamMap());
if (other.getChooseAvatarGuid() != 0L) {
setChooseAvatarGuid(other.getChooseAvatarGuid());
if (other.getCurAvatarTeamId() != 0) {
setCurAvatarTeamId(other.getCurAvatarTeamId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
......@@ -1138,430 +1254,318 @@ public final class AvatarDataNotifyOuterClass {
}
private int bitField0_;
private com.google.protobuf.Internal.IntList ownedFlycloakList_ = emptyIntList();
private void ensureOwnedFlycloakListIsMutable() {
private com.google.protobuf.Internal.IntList ownedCostumeList_ = emptyIntList();
private void ensureOwnedCostumeListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
ownedFlycloakList_ = mutableCopy(ownedFlycloakList_);
ownedCostumeList_ = mutableCopy(ownedCostumeList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return A list containing the ownedCostumeList.
*/
public java.util.List<java.lang.Integer>
getOwnedFlycloakListList() {
getOwnedCostumeListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(ownedFlycloakList_) : ownedFlycloakList_;
java.util.Collections.unmodifiableList(ownedCostumeList_) : ownedCostumeList_;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return The count of ownedCostumeList.
*/
public int getOwnedFlycloakListCount() {
return ownedFlycloakList_.size();
public int getOwnedCostumeListCount() {
return ownedCostumeList_.size();
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* <code>repeated uint32 owned_costume_list = 11;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
* @return The ownedCostumeList at the given index.
*/
public int getOwnedFlycloakList(int index) {
return ownedFlycloakList_.getInt(index);
public int getOwnedCostumeList(int index) {
return ownedCostumeList_.getInt(index);
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* <code>repeated uint32 owned_costume_list = 11;</code>
* @param index The index to set the value at.
* @param value The ownedFlycloakList to set.
* @param value The ownedCostumeList to set.
* @return This builder for chaining.
*/
public Builder setOwnedFlycloakList(
public Builder setOwnedCostumeList(
int index, int value) {
ensureOwnedFlycloakListIsMutable();
ownedFlycloakList_.setInt(index, value);
ensureOwnedCostumeListIsMutable();
ownedCostumeList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param value The ownedFlycloakList to add.
* <code>repeated uint32 owned_costume_list = 11;</code>
* @param value The ownedCostumeList to add.
* @return This builder for chaining.
*/
public Builder addOwnedFlycloakList(int value) {
ensureOwnedFlycloakListIsMutable();
ownedFlycloakList_.addInt(value);
public Builder addOwnedCostumeList(int value) {
ensureOwnedCostumeListIsMutable();
ownedCostumeList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param values The ownedFlycloakList to add.
* <code>repeated uint32 owned_costume_list = 11;</code>
* @param values The ownedCostumeList to add.
* @return This builder for chaining.
*/
public Builder addAllOwnedFlycloakList(
public Builder addAllOwnedCostumeList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureOwnedFlycloakListIsMutable();
ensureOwnedCostumeListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ownedFlycloakList_);
values, ownedCostumeList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return This builder for chaining.
*/
public Builder clearOwnedFlycloakList() {
ownedFlycloakList_ = emptyIntList();
public Builder clearOwnedCostumeList() {
ownedCostumeList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private int curAvatarTeamId_ ;
private long chooseAvatarGuid_ ;
/**
* <code>uint32 cur_avatar_team_id = 2;</code>
* @return The curAvatarTeamId.
* <code>uint64 choose_avatar_guid = 8;</code>
* @return The chooseAvatarGuid.
*/
@java.lang.Override
public int getCurAvatarTeamId() {
return curAvatarTeamId_;
public long getChooseAvatarGuid() {
return chooseAvatarGuid_;
}
/**
* <code>uint32 cur_avatar_team_id = 2;</code>
* @param value The curAvatarTeamId to set.
* <code>uint64 choose_avatar_guid = 8;</code>
* @param value The chooseAvatarGuid to set.
* @return This builder for chaining.
*/
public Builder setCurAvatarTeamId(int value) {
public Builder setChooseAvatarGuid(long value) {
curAvatarTeamId_ = value;
chooseAvatarGuid_ = value;
onChanged();
return this;
}
/**
* <code>uint32 cur_avatar_team_id = 2;</code>
* <code>uint64 choose_avatar_guid = 8;</code>
* @return This builder for chaining.
*/
public Builder clearCurAvatarTeamId() {
public Builder clearChooseAvatarGuid() {
curAvatarTeamId_ = 0;
chooseAvatarGuid_ = 0L;
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> avatarList_ =
java.util.Collections.emptyList();
private void ensureAvatarListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
avatarList_ = new java.util.ArrayList<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo>(avatarList_);
bitField0_ |= 0x00000002;
}
private com.google.protobuf.MapField<
java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> avatarTeamMap_;
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
internalGetAvatarTeamMap() {
if (avatarTeamMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AvatarTeamMapDefaultEntryHolder.defaultEntry);
}
return avatarTeamMap_;
}
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
internalGetMutableAvatarTeamMap() {
onChanged();;
if (avatarTeamMap_ == null) {
avatarTeamMap_ = com.google.protobuf.MapField.newMapField(
AvatarTeamMapDefaultEntryHolder.defaultEntry);
}
if (!avatarTeamMap_.isMutable()) {
avatarTeamMap_ = avatarTeamMap_.copy();
}
return avatarTeamMap_;
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder> avatarListBuilder_;
public int getAvatarTeamMapCount() {
return internalGetAvatarTeamMap().getMap().size();
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
public java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> getAvatarListList() {
if (avatarListBuilder_ == null) {
return java.util.Collections.unmodifiableList(avatarList_);
} else {
return avatarListBuilder_.getMessageList();
}
@java.lang.Override
public boolean containsAvatarTeamMap(
int key) {
return internalGetAvatarTeamMap().getMap().containsKey(key);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* Use {@link #getAvatarTeamMapMap()} instead.
*/
public int getAvatarListCount() {
if (avatarListBuilder_ == null) {
return avatarList_.size();
} else {
return avatarListBuilder_.getCount();
}
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> getAvatarTeamMap() {
return getAvatarTeamMapMap();
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getAvatarList(int index) {
if (avatarListBuilder_ == null) {
return avatarList_.get(index);
} else {
return avatarListBuilder_.getMessage(index);
}
@java.lang.Override
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> getAvatarTeamMapMap() {
return internalGetAvatarTeamMap().getMap();
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
public Builder setAvatarList(
int index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo value) {
if (avatarListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAvatarListIsMutable();
avatarList_.set(index, value);
onChanged();
} else {
avatarListBuilder_.setMessage(index, value);
}
return this;
@java.lang.Override
public emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrDefault(
int key,
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam defaultValue) {
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> map =
internalGetAvatarTeamMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
public Builder setAvatarList(
int index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder builderForValue) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.set(index, builderForValue.build());
onChanged();
} else {
avatarListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder addAvatarList(emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo value) {
if (avatarListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAvatarListIsMutable();
avatarList_.add(value);
onChanged();
} else {
avatarListBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder addAvatarList(
int index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo value) {
if (avatarListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAvatarListIsMutable();
avatarList_.add(index, value);
onChanged();
} else {
avatarListBuilder_.addMessage(index, value);
@java.lang.Override
public emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrThrow(
int key) {
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> map =
internalGetAvatarTeamMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return this;
return map.get(key);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder addAvatarList(
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder builderForValue) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.add(builderForValue.build());
onChanged();
} else {
avatarListBuilder_.addMessage(builderForValue.build());
}
public Builder clearAvatarTeamMap() {
internalGetMutableAvatarTeamMap().getMutableMap()
.clear();
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
public Builder addAvatarList(
int index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder builderForValue) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.add(index, builderForValue.build());
onChanged();
} else {
avatarListBuilder_.addMessage(index, builderForValue.build());
}
public Builder removeAvatarTeamMap(
int key) {
internalGetMutableAvatarTeamMap().getMutableMap()
.remove(key);
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* Use alternate mutation accessors instead.
*/
public Builder addAllAvatarList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> values) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, avatarList_);
onChanged();
} else {
avatarListBuilder_.addAllMessages(values);
}
return this;
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
getMutableAvatarTeamMap() {
return internalGetMutableAvatarTeamMap().getMutableMap();
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
public Builder clearAvatarList() {
if (avatarListBuilder_ == null) {
avatarList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
avatarListBuilder_.clear();
}
public Builder putAvatarTeamMap(
int key,
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam value) {
if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutableAvatarTeamMap().getMutableMap()
.put(key, value);
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
*/
public Builder removeAvatarList(int index) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.remove(index);
onChanged();
} else {
avatarListBuilder_.remove(index);
}
public Builder putAllAvatarTeamMap(
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> values) {
internalGetMutableAvatarTeamMap().getMutableMap()
.putAll(values);
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder getAvatarListBuilder(
int index) {
return getAvatarListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder getAvatarListOrBuilder(
int index) {
if (avatarListBuilder_ == null) {
return avatarList_.get(index); } else {
return avatarListBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>
getAvatarListOrBuilderList() {
if (avatarListBuilder_ != null) {
return avatarListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(avatarList_);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder addAvatarListBuilder() {
return getAvatarListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance());
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder addAvatarListBuilder(
int index) {
return getAvatarListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance());
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder>
getAvatarListBuilderList() {
return getAvatarListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>
getAvatarListFieldBuilder() {
if (avatarListBuilder_ == null) {
avatarListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>(
avatarList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
avatarList_ = null;
}
return avatarListBuilder_;
}
private com.google.protobuf.Internal.IntList ownedCostumeList_ = emptyIntList();
private void ensureOwnedCostumeListIsMutable() {
private com.google.protobuf.Internal.IntList unk3000NIGPICLBHMA_ = emptyIntList();
private void ensureUnk3000NIGPICLBHMAIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
ownedCostumeList_ = mutableCopy(ownedCostumeList_);
unk3000NIGPICLBHMA_ = mutableCopy(unk3000NIGPICLBHMA_);
bitField0_ |= 0x00000004;
}
}
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return A list containing the ownedCostumeList.
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @return A list containing the unk3000NIGPICLBHMA.
*/
public java.util.List<java.lang.Integer>
getOwnedCostumeListList() {
getUnk3000NIGPICLBHMAList() {
return ((bitField0_ & 0x00000004) != 0) ?
java.util.Collections.unmodifiableList(ownedCostumeList_) : ownedCostumeList_;
java.util.Collections.unmodifiableList(unk3000NIGPICLBHMA_) : unk3000NIGPICLBHMA_;
}
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return The count of ownedCostumeList.
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @return The count of unk3000NIGPICLBHMA.
*/
public int getOwnedCostumeListCount() {
return ownedCostumeList_.size();
public int getUnk3000NIGPICLBHMACount() {
return unk3000NIGPICLBHMA_.size();
}
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @param index The index of the element to return.
* @return The ownedCostumeList at the given index.
* @return The unk3000NIGPICLBHMA at the given index.
*/
public int getOwnedCostumeList(int index) {
return ownedCostumeList_.getInt(index);
public int getUnk3000NIGPICLBHMA(int index) {
return unk3000NIGPICLBHMA_.getInt(index);
}
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @param index The index to set the value at.
* @param value The ownedCostumeList to set.
* @param value The unk3000NIGPICLBHMA to set.
* @return This builder for chaining.
*/
public Builder setOwnedCostumeList(
public Builder setUnk3000NIGPICLBHMA(
int index, int value) {
ensureOwnedCostumeListIsMutable();
ownedCostumeList_.setInt(index, value);
ensureUnk3000NIGPICLBHMAIsMutable();
unk3000NIGPICLBHMA_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* @param value The ownedCostumeList to add.
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @param value The unk3000NIGPICLBHMA to add.
* @return This builder for chaining.
*/
public Builder addOwnedCostumeList(int value) {
ensureOwnedCostumeListIsMutable();
ownedCostumeList_.addInt(value);
public Builder addUnk3000NIGPICLBHMA(int value) {
ensureUnk3000NIGPICLBHMAIsMutable();
unk3000NIGPICLBHMA_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* @param values The ownedCostumeList to add.
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @param values The unk3000NIGPICLBHMA to add.
* @return This builder for chaining.
*/
public Builder addAllOwnedCostumeList(
public Builder addAllUnk3000NIGPICLBHMA(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureOwnedCostumeListIsMutable();
ensureUnk3000NIGPICLBHMAIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ownedCostumeList_);
values, unk3000NIGPICLBHMA_);
onChanged();
return this;
}
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @return This builder for chaining.
*/
public Builder clearOwnedCostumeList() {
ownedCostumeList_ = emptyIntList();
public Builder clearUnk3000NIGPICLBHMA() {
unk3000NIGPICLBHMA_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
......@@ -1646,161 +1650,352 @@ public final class AvatarDataNotifyOuterClass {
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> avatarTeamMap_;
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
internalGetAvatarTeamMap() {
if (avatarTeamMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
AvatarTeamMapDefaultEntryHolder.defaultEntry);
}
return avatarTeamMap_;
}
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
internalGetMutableAvatarTeamMap() {
onChanged();;
if (avatarTeamMap_ == null) {
avatarTeamMap_ = com.google.protobuf.MapField.newMapField(
AvatarTeamMapDefaultEntryHolder.defaultEntry);
}
if (!avatarTeamMap_.isMutable()) {
avatarTeamMap_ = avatarTeamMap_.copy();
}
return avatarTeamMap_;
}
public int getAvatarTeamMapCount() {
return internalGetAvatarTeamMap().getMap().size();
private com.google.protobuf.Internal.IntList ownedFlycloakList_ = emptyIntList();
private void ensureOwnedFlycloakListIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
ownedFlycloakList_ = mutableCopy(ownedFlycloakList_);
bitField0_ |= 0x00000010;
}
}
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
*/
@java.lang.Override
public boolean containsAvatarTeamMap(
int key) {
return internalGetAvatarTeamMap().getMap().containsKey(key);
public java.util.List<java.lang.Integer>
getOwnedFlycloakListList() {
return ((bitField0_ & 0x00000010) != 0) ?
java.util.Collections.unmodifiableList(ownedFlycloakList_) : ownedFlycloakList_;
}
/**
* Use {@link #getAvatarTeamMapMap()} instead.
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> getAvatarTeamMap() {
return getAvatarTeamMapMap();
public int getOwnedFlycloakListCount() {
return ownedFlycloakList_.size();
}
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> getAvatarTeamMapMap() {
return internalGetAvatarTeamMap().getMap();
public int getOwnedFlycloakList(int index) {
return ownedFlycloakList_.getInt(index);
}
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index to set the value at.
* @param value The ownedFlycloakList to set.
* @return This builder for chaining.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrDefault(
int key,
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam defaultValue) {
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> map =
internalGetAvatarTeamMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
public Builder setOwnedFlycloakList(
int index, int value) {
ensureOwnedFlycloakListIsMutable();
ownedFlycloakList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param value The ownedFlycloakList to add.
* @return This builder for chaining.
*/
@java.lang.Override
public Builder addOwnedFlycloakList(int value) {
ensureOwnedFlycloakListIsMutable();
ownedFlycloakList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param values The ownedFlycloakList to add.
* @return This builder for chaining.
*/
public Builder addAllOwnedFlycloakList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureOwnedFlycloakListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ownedFlycloakList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return This builder for chaining.
*/
public Builder clearOwnedFlycloakList() {
ownedFlycloakList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
public emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrThrow(
int key) {
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> map =
internalGetAvatarTeamMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
private java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> avatarList_ =
java.util.Collections.emptyList();
private void ensureAvatarListIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
avatarList_ = new java.util.ArrayList<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo>(avatarList_);
bitField0_ |= 0x00000020;
}
}
public Builder clearAvatarTeamMap() {
internalGetMutableAvatarTeamMap().getMutableMap()
.clear();
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder> avatarListBuilder_;
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> getAvatarListList() {
if (avatarListBuilder_ == null) {
return java.util.Collections.unmodifiableList(avatarList_);
} else {
return avatarListBuilder_.getMessageList();
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public int getAvatarListCount() {
if (avatarListBuilder_ == null) {
return avatarList_.size();
} else {
return avatarListBuilder_.getCount();
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getAvatarList(int index) {
if (avatarListBuilder_ == null) {
return avatarList_.get(index);
} else {
return avatarListBuilder_.getMessage(index);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder setAvatarList(
int index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo value) {
if (avatarListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAvatarListIsMutable();
avatarList_.set(index, value);
onChanged();
} else {
avatarListBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder removeAvatarTeamMap(
int key) {
internalGetMutableAvatarTeamMap().getMutableMap()
.remove(key);
public Builder setAvatarList(
int index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder builderForValue) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.set(index, builderForValue.build());
onChanged();
} else {
avatarListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* Use alternate mutation accessors instead.
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
getMutableAvatarTeamMap() {
return internalGetMutableAvatarTeamMap().getMutableMap();
public Builder addAvatarList(emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo value) {
if (avatarListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAvatarListIsMutable();
avatarList_.add(value);
onChanged();
} else {
avatarListBuilder_.addMessage(value);
}
return this;
}
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder putAvatarTeamMap(
int key,
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam value) {
if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutableAvatarTeamMap().getMutableMap()
.put(key, value);
public Builder addAvatarList(
int index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo value) {
if (avatarListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAvatarListIsMutable();
avatarList_.add(index, value);
onChanged();
} else {
avatarListBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>map&lt;uint32, .AvatarTeam&gt; avatar_team_map = 7;</code>
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder putAllAvatarTeamMap(
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> values) {
internalGetMutableAvatarTeamMap().getMutableMap()
.putAll(values);
public Builder addAvatarList(
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder builderForValue) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.add(builderForValue.build());
onChanged();
} else {
avatarListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder addAvatarList(
int index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder builderForValue) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.add(index, builderForValue.build());
onChanged();
} else {
avatarListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder addAllAvatarList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo> values) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, avatarList_);
onChanged();
} else {
avatarListBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder clearAvatarList() {
if (avatarListBuilder_ == null) {
avatarList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
avatarListBuilder_.clear();
}
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public Builder removeAvatarList(int index) {
if (avatarListBuilder_ == null) {
ensureAvatarListIsMutable();
avatarList_.remove(index);
onChanged();
} else {
avatarListBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder getAvatarListBuilder(
int index) {
return getAvatarListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder getAvatarListOrBuilder(
int index) {
if (avatarListBuilder_ == null) {
return avatarList_.get(index); } else {
return avatarListBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>
getAvatarListOrBuilderList() {
if (avatarListBuilder_ != null) {
return avatarListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(avatarList_);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder addAvatarListBuilder() {
return getAvatarListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance());
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder addAvatarListBuilder(
int index) {
return getAvatarListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance());
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public java.util.List<emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder>
getAvatarListBuilderList() {
return getAvatarListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>
getAvatarListFieldBuilder() {
if (avatarListBuilder_ == null) {
avatarListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>(
avatarList_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
avatarList_ = null;
}
return avatarListBuilder_;
}
private long chooseAvatarGuid_ ;
private int curAvatarTeamId_ ;
/**
* <code>uint64 choose_avatar_guid = 8;</code>
* @return The chooseAvatarGuid.
* <code>uint32 cur_avatar_team_id = 2;</code>
* @return The curAvatarTeamId.
*/
@java.lang.Override
public long getChooseAvatarGuid() {
return chooseAvatarGuid_;
public int getCurAvatarTeamId() {
return curAvatarTeamId_;
}
/**
* <code>uint64 choose_avatar_guid = 8;</code>
* @param value The chooseAvatarGuid to set.
* <code>uint32 cur_avatar_team_id = 2;</code>
* @param value The curAvatarTeamId to set.
* @return This builder for chaining.
*/
public Builder setChooseAvatarGuid(long value) {
public Builder setCurAvatarTeamId(int value) {
chooseAvatarGuid_ = value;
curAvatarTeamId_ = value;
onChanged();
return this;
}
/**
* <code>uint64 choose_avatar_guid = 8;</code>
* <code>uint32 cur_avatar_team_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearChooseAvatarGuid() {
public Builder clearCurAvatarTeamId() {
chooseAvatarGuid_ = 0L;
curAvatarTeamId_ = 0;
onChanged();
return this;
}
......@@ -1877,16 +2072,17 @@ public final class AvatarDataNotifyOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\026AvatarDataNotify.proto\032\020AvatarInfo.pro" +
"to\032\020AvatarTeam.proto\"\306\002\n\020AvatarDataNotif" +
"y\022\033\n\023owned_flycloak_list\030\001 \003(\r\022\032\n\022cur_av" +
"atar_team_id\030\002 \001(\r\022 \n\013avatar_list\030\006 \003(\0132" +
"\013.AvatarInfo\022\032\n\022owned_costume_list\030\013 \003(\r" +
"\022\035\n\025temp_avatar_guid_list\030\014 \003(\004\022=\n\017avata" +
"r_team_map\030\007 \003(\0132$.AvatarDataNotify.Avat" +
"arTeamMapEntry\022\032\n\022choose_avatar_guid\030\010 \001" +
"(\004\032A\n\022AvatarTeamMapEntry\022\013\n\003key\030\001 \001(\r\022\032\n" +
"\005value\030\002 \001(\0132\013.AvatarTeam:\0028\001B\033\n\031emu.gra" +
"sscutter.net.protob\006proto3"
"to\032\020AvatarTeam.proto\"\343\002\n\020AvatarDataNotif" +
"y\022\032\n\022owned_costume_list\030\013 \003(\r\022\032\n\022choose_" +
"avatar_guid\030\010 \001(\004\022=\n\017avatar_team_map\030\007 \003" +
"(\0132$.AvatarDataNotify.AvatarTeamMapEntry" +
"\022\033\n\023Unk3000_NIGPICLBHMA\030\t \003(\r\022\035\n\025temp_av" +
"atar_guid_list\030\014 \003(\004\022\033\n\023owned_flycloak_l" +
"ist\030\001 \003(\r\022 \n\013avatar_list\030\006 \003(\0132\013.AvatarI" +
"nfo\022\032\n\022cur_avatar_team_id\030\002 \001(\r\032A\n\022Avata" +
"rTeamMapEntry\022\013\n\003key\030\001 \001(\r\022\032\n\005value\030\002 \001(" +
"\0132\013.AvatarTeam:\0028\001B\033\n\031emu.grasscutter.ne" +
"t.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
......@@ -1899,7 +2095,7 @@ public final class AvatarDataNotifyOuterClass {
internal_static_AvatarDataNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarDataNotify_descriptor,
new java.lang.String[] { "OwnedFlycloakList", "CurAvatarTeamId", "AvatarList", "OwnedCostumeList", "TempAvatarGuidList", "AvatarTeamMap", "ChooseAvatarGuid", });
new java.lang.String[] { "OwnedCostumeList", "ChooseAvatarGuid", "AvatarTeamMap", "Unk3000NIGPICLBHMA", "TempAvatarGuidList", "OwnedFlycloakList", "AvatarList", "CurAvatarTeamId", });
internal_static_AvatarDataNotify_AvatarTeamMapEntry_descriptor =
internal_static_AvatarDataNotify_descriptor.getNestedTypes().get(0);
internal_static_AvatarDataNotify_AvatarTeamMapEntry_fieldAccessorTable = new
......
......@@ -49,7 +49,7 @@ public final class AvatarDieAnimationEndReqOuterClass {
* <pre>
* CmdId: 1610
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -387,7 +387,7 @@ public final class AvatarDieAnimationEndReqOuterClass {
* <pre>
* CmdId: 1610
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -40,7 +40,8 @@ public final class AvatarDieAnimationEndRspOuterClass {
* <pre>
* CmdId: 1694
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarDieAnimationEndRsp}
......@@ -349,7 +350,8 @@ public final class AvatarDieAnimationEndRspOuterClass {
* <pre>
* CmdId: 1694
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarDieAnimationEndRsp}
......
......@@ -76,7 +76,7 @@ public final class AvatarEquipChangeNotifyOuterClass {
* <pre>
* CmdId: 647
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -524,7 +524,7 @@ public final class AvatarEquipChangeNotifyOuterClass {
* <pre>
* CmdId: 647
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -85,7 +85,8 @@ public final class AvatarExpeditionAllDataRspOuterClass {
* <pre>
* CmdId: 1648
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionAllDataRsp}
......@@ -576,7 +577,8 @@ public final class AvatarExpeditionAllDataRspOuterClass {
* <pre>
* CmdId: 1648
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionAllDataRsp}
......
......@@ -39,7 +39,7 @@ public final class AvatarExpeditionCallBackReqOuterClass {
* <pre>
* CmdId: 1752
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -349,7 +349,7 @@ public final class AvatarExpeditionCallBackReqOuterClass {
* <pre>
* CmdId: 1752
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -62,7 +62,8 @@ public final class AvatarExpeditionCallBackRspOuterClass {
* <pre>
* CmdId: 1726
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionCallBackRsp}
......@@ -445,7 +446,8 @@ public final class AvatarExpeditionCallBackRspOuterClass {
* <pre>
* CmdId: 1726
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionCallBackRsp}
......
......@@ -56,7 +56,8 @@ public final class AvatarExpeditionDataNotifyOuterClass {
* <pre>
* CmdId: 1771
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionDataNotify}
......@@ -412,7 +413,8 @@ public final class AvatarExpeditionDataNotifyOuterClass {
* <pre>
* CmdId: 1771
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionDataNotify}
......
......@@ -28,7 +28,7 @@ public final class AvatarExpeditionGetRewardReqOuterClass {
* <pre>
* CmdId: 1623
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -284,7 +284,7 @@ public final class AvatarExpeditionGetRewardReqOuterClass {
* <pre>
* CmdId: 1623
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -110,7 +110,8 @@ public final class AvatarExpeditionGetRewardRspOuterClass {
* <pre>
* CmdId: 1784
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionGetRewardRsp}
......@@ -625,7 +626,8 @@ public final class AvatarExpeditionGetRewardRspOuterClass {
* <pre>
* CmdId: 1784
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionGetRewardRsp}
......
......@@ -40,7 +40,7 @@ public final class AvatarExpeditionStartReqOuterClass {
* <pre>
* CmdId: 1715
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -350,7 +350,7 @@ public final class AvatarExpeditionStartReqOuterClass {
* <pre>
* CmdId: 1715
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -62,7 +62,8 @@ public final class AvatarExpeditionStartRspOuterClass {
* <pre>
* CmdId: 1719
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionStartRsp}
......@@ -445,7 +446,8 @@ public final class AvatarExpeditionStartRspOuterClass {
* <pre>
* CmdId: 1719
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionStartRsp}
......
......@@ -56,7 +56,8 @@ public final class AvatarFetterDataNotifyOuterClass {
* <pre>
* CmdId: 1782
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarFetterDataNotify}
......@@ -412,7 +413,8 @@ public final class AvatarFetterDataNotifyOuterClass {
* <pre>
* CmdId: 1782
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarFetterDataNotify}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment