mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 22:30:02 +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:
@@ -19,11 +19,11 @@ public final class AvatarPropNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
int getPropMapCount();
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
boolean containsPropMap(
|
||||
int key);
|
||||
@@ -34,34 +34,34 @@ public final class AvatarPropNotifyOuterClass {
|
||||
java.util.Map<java.lang.Integer, java.lang.Long>
|
||||
getPropMap();
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
java.util.Map<java.lang.Integer, java.lang.Long>
|
||||
getPropMapMap();
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
|
||||
long getPropMapOrDefault(
|
||||
int key,
|
||||
long defaultValue);
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
|
||||
long getPropMapOrThrow(
|
||||
int key);
|
||||
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 11;</code>
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* @return The avatarGuid.
|
||||
*/
|
||||
long getAvatarGuid();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: HNCPDLLBKJK
|
||||
* CmdId: 1259
|
||||
* Name: LKOECLGEAJN
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarPropNotify}
|
||||
@@ -109,7 +109,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 34: {
|
||||
case 66: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
propMap_ = com.google.protobuf.MapField.newMapField(
|
||||
PropMapDefaultEntryHolder.defaultEntry);
|
||||
@@ -122,7 +122,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
propMap__.getKey(), propMap__.getValue());
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
case 104: {
|
||||
|
||||
avatarGuid_ = input.readUInt64();
|
||||
break;
|
||||
@@ -156,7 +156,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 4:
|
||||
case 8:
|
||||
return internalGetPropMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -171,7 +171,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.AvatarPropNotifyOuterClass.AvatarPropNotify.class, emu.grasscutter.net.proto.AvatarPropNotifyOuterClass.AvatarPropNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int PROP_MAP_FIELD_NUMBER = 4;
|
||||
public static final int PROP_MAP_FIELD_NUMBER = 8;
|
||||
private static final class PropMapDefaultEntryHolder {
|
||||
static final com.google.protobuf.MapEntry<
|
||||
java.lang.Integer, java.lang.Long> defaultEntry =
|
||||
@@ -198,7 +198,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return internalGetPropMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -216,7 +216,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return getPropMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -224,7 +224,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return internalGetPropMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -237,7 +237,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -252,10 +252,10 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return map.get(key);
|
||||
}
|
||||
|
||||
public static final int AVATAR_GUID_FIELD_NUMBER = 11;
|
||||
public static final int AVATAR_GUID_FIELD_NUMBER = 13;
|
||||
private long avatarGuid_;
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 11;</code>
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* @return The avatarGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -282,9 +282,9 @@ public final class AvatarPropNotifyOuterClass {
|
||||
output,
|
||||
internalGetPropMap(),
|
||||
PropMapDefaultEntryHolder.defaultEntry,
|
||||
4);
|
||||
8);
|
||||
if (avatarGuid_ != 0L) {
|
||||
output.writeUInt64(11, avatarGuid_);
|
||||
output.writeUInt64(13, avatarGuid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -303,11 +303,11 @@ public final class AvatarPropNotifyOuterClass {
|
||||
.setValue(entry.getValue())
|
||||
.build();
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, propMap__);
|
||||
.computeMessageSize(8, propMap__);
|
||||
}
|
||||
if (avatarGuid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(11, avatarGuid_);
|
||||
.computeUInt64Size(13, avatarGuid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -443,8 +443,8 @@ public final class AvatarPropNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: HNCPDLLBKJK
|
||||
* CmdId: 1259
|
||||
* Name: LKOECLGEAJN
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarPropNotify}
|
||||
@@ -462,7 +462,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 4:
|
||||
case 8:
|
||||
return internalGetPropMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -473,7 +473,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMutableMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 4:
|
||||
case 8:
|
||||
return internalGetMutablePropMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -649,7 +649,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return internalGetPropMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -667,7 +667,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return getPropMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -675,7 +675,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return internalGetPropMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -688,7 +688,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -709,7 +709,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
|
||||
public Builder removePropMap(
|
||||
@@ -728,7 +728,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return internalGetMutablePropMap().getMutableMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
public Builder putPropMap(
|
||||
int key,
|
||||
@@ -740,7 +740,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, int64> prop_map = 4;</code>
|
||||
* <code>map<uint32, int64> prop_map = 8;</code>
|
||||
*/
|
||||
|
||||
public Builder putAllPropMap(
|
||||
@@ -752,7 +752,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
|
||||
private long avatarGuid_ ;
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 11;</code>
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* @return The avatarGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -760,7 +760,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return avatarGuid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 11;</code>
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* @param value The avatarGuid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -771,7 +771,7 @@ public final class AvatarPropNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 11;</code>
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarGuid() {
|
||||
@@ -853,8 +853,8 @@ public final class AvatarPropNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\026AvatarPropNotify.proto\"\211\001\n\020AvatarPropN" +
|
||||
"otify\0220\n\010prop_map\030\004 \003(\0132\036.AvatarPropNoti" +
|
||||
"fy.PropMapEntry\022\023\n\013avatar_guid\030\013 \001(\004\032.\n\014" +
|
||||
"otify\0220\n\010prop_map\030\010 \003(\0132\036.AvatarPropNoti" +
|
||||
"fy.PropMapEntry\022\023\n\013avatar_guid\030\r \001(\004\032.\n\014" +
|
||||
"PropMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\003" +
|
||||
":\0028\001B\033\n\031emu.grasscutter.net.protob\006proto" +
|
||||
"3"
|
||||
|
||||
Reference in New Issue
Block a user