mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 20:49:57 +08:00
Add support for game version 3.6 (#2110)
* Update to game version `3.6.0` (pt. 1) not complete! * Update to game version `3.6.0` (pt. 2) not complete! * Update compiled definitions
This commit is contained in:
+46
-46
@@ -19,11 +19,11 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
int getAvatarTeamMapCount();
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
boolean containsAvatarTeamMap(
|
||||
int key);
|
||||
@@ -34,36 +34,36 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
|
||||
getAvatarTeamMap();
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam>
|
||||
getAvatarTeamMapMap();
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
|
||||
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrDefault(
|
||||
int key,
|
||||
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam defaultValue);
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
|
||||
emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam getAvatarTeamMapOrThrow(
|
||||
int key);
|
||||
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @return A list containing the tempAvatarGuidList.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getTempAvatarGuidListList();
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @return The count of tempAvatarGuidList.
|
||||
*/
|
||||
int getTempAvatarGuidListCount();
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The tempAvatarGuidList at the given index.
|
||||
*/
|
||||
@@ -71,8 +71,8 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: JNDHMMALEAP
|
||||
* CmdId: 1744
|
||||
* CmdId: 1797
|
||||
* Name: HPAKJFDBBOJ
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarTeamUpdateNotify}
|
||||
@@ -121,7 +121,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 34: {
|
||||
case 58: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
avatarTeamMap_ = com.google.protobuf.MapField.newMapField(
|
||||
AvatarTeamMapDefaultEntryHolder.defaultEntry);
|
||||
@@ -134,7 +134,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
avatarTeamMap__.getKey(), avatarTeamMap__.getValue());
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
case 72: {
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
tempAvatarGuidList_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
@@ -142,7 +142,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
tempAvatarGuidList_.addLong(input.readUInt64());
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
case 74: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -187,7 +187,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 4:
|
||||
case 7:
|
||||
return internalGetAvatarTeamMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -202,7 +202,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.AvatarTeamUpdateNotifyOuterClass.AvatarTeamUpdateNotify.class, emu.grasscutter.net.proto.AvatarTeamUpdateNotifyOuterClass.AvatarTeamUpdateNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int AVATAR_TEAM_MAP_FIELD_NUMBER = 4;
|
||||
public static final int AVATAR_TEAM_MAP_FIELD_NUMBER = 7;
|
||||
private static final class AvatarTeamMapDefaultEntryHolder {
|
||||
static final com.google.protobuf.MapEntry<
|
||||
java.lang.Integer, emu.grasscutter.net.proto.AvatarTeamOuterClass.AvatarTeam> defaultEntry =
|
||||
@@ -229,7 +229,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return internalGetAvatarTeamMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -247,7 +247,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return getAvatarTeamMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -255,7 +255,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return internalGetAvatarTeamMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -268,7 +268,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -283,10 +283,10 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return map.get(key);
|
||||
}
|
||||
|
||||
public static final int TEMP_AVATAR_GUID_LIST_FIELD_NUMBER = 13;
|
||||
public static final int TEMP_AVATAR_GUID_LIST_FIELD_NUMBER = 9;
|
||||
private com.google.protobuf.Internal.LongList tempAvatarGuidList_;
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @return A list containing the tempAvatarGuidList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -295,14 +295,14 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return tempAvatarGuidList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @return The count of tempAvatarGuidList.
|
||||
*/
|
||||
public int getTempAvatarGuidListCount() {
|
||||
return tempAvatarGuidList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The tempAvatarGuidList at the given index.
|
||||
*/
|
||||
@@ -331,9 +331,9 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
output,
|
||||
internalGetAvatarTeamMap(),
|
||||
AvatarTeamMapDefaultEntryHolder.defaultEntry,
|
||||
4);
|
||||
7);
|
||||
if (getTempAvatarGuidListList().size() > 0) {
|
||||
output.writeUInt32NoTag(106);
|
||||
output.writeUInt32NoTag(74);
|
||||
output.writeUInt32NoTag(tempAvatarGuidListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < tempAvatarGuidList_.size(); i++) {
|
||||
@@ -356,7 +356,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
.setValue(entry.getValue())
|
||||
.build();
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, avatarTeamMap__);
|
||||
.computeMessageSize(7, avatarTeamMap__);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
@@ -507,8 +507,8 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: JNDHMMALEAP
|
||||
* CmdId: 1744
|
||||
* CmdId: 1797
|
||||
* Name: HPAKJFDBBOJ
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarTeamUpdateNotify}
|
||||
@@ -526,7 +526,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 4:
|
||||
case 7:
|
||||
return internalGetAvatarTeamMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -537,7 +537,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMutableMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 4:
|
||||
case 7:
|
||||
return internalGetMutableAvatarTeamMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -724,7 +724,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return internalGetAvatarTeamMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -742,7 +742,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return getAvatarTeamMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -750,7 +750,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return internalGetAvatarTeamMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -763,7 +763,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -784,7 +784,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
|
||||
public Builder removeAvatarTeamMap(
|
||||
@@ -803,7 +803,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return internalGetMutableAvatarTeamMap().getMutableMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
public Builder putAvatarTeamMap(
|
||||
int key,
|
||||
@@ -815,7 +815,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 4;</code>
|
||||
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
|
||||
*/
|
||||
|
||||
public Builder putAllAvatarTeamMap(
|
||||
@@ -833,7 +833,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @return A list containing the tempAvatarGuidList.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
@@ -842,14 +842,14 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
java.util.Collections.unmodifiableList(tempAvatarGuidList_) : tempAvatarGuidList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @return The count of tempAvatarGuidList.
|
||||
*/
|
||||
public int getTempAvatarGuidListCount() {
|
||||
return tempAvatarGuidList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The tempAvatarGuidList at the given index.
|
||||
*/
|
||||
@@ -857,7 +857,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return tempAvatarGuidList_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The tempAvatarGuidList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -870,7 +870,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @param value The tempAvatarGuidList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -881,7 +881,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @param values The tempAvatarGuidList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -894,7 +894,7 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 13;</code>
|
||||
* <code>repeated uint64 temp_avatar_guid_list = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTempAvatarGuidList() {
|
||||
@@ -977,9 +977,9 @@ public final class AvatarTeamUpdateNotifyOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\034AvatarTeamUpdateNotify.proto\032\020AvatarTe" +
|
||||
"am.proto\"\277\001\n\026AvatarTeamUpdateNotify\022C\n\017a" +
|
||||
"vatar_team_map\030\004 \003(\0132*.AvatarTeamUpdateN" +
|
||||
"vatar_team_map\030\007 \003(\0132*.AvatarTeamUpdateN" +
|
||||
"otify.AvatarTeamMapEntry\022\035\n\025temp_avatar_" +
|
||||
"guid_list\030\r \003(\004\032A\n\022AvatarTeamMapEntry\022\013\n" +
|
||||
"guid_list\030\t \003(\004\032A\n\022AvatarTeamMapEntry\022\013\n" +
|
||||
"\003key\030\001 \001(\r\022\032\n\005value\030\002 \001(\0132\013.AvatarTeam:\002" +
|
||||
"8\001B\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user