mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 15:23:53 +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:
+40
-40
@@ -19,11 +19,11 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
int getFightPropMapCount();
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
boolean containsFightPropMap(
|
||||
int key);
|
||||
@@ -34,19 +34,19 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
java.util.Map<java.lang.Integer, java.lang.Float>
|
||||
getFightPropMap();
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
java.util.Map<java.lang.Integer, java.lang.Float>
|
||||
getFightPropMapMap();
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
|
||||
float getFightPropMapOrDefault(
|
||||
int key,
|
||||
float defaultValue);
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
|
||||
float getFightPropMapOrThrow(
|
||||
@@ -60,8 +60,8 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FPOOPDKEANO
|
||||
* CmdId: 1214
|
||||
* CmdId: 1216
|
||||
* Name: CFPMGGHGBFL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarFightPropNotify}
|
||||
@@ -109,7 +109,12 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 42: {
|
||||
case 64: {
|
||||
|
||||
avatarGuid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
fightPropMap_ = com.google.protobuf.MapField.newMapField(
|
||||
FightPropMapDefaultEntryHolder.defaultEntry);
|
||||
@@ -122,11 +127,6 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
fightPropMap__.getKey(), fightPropMap__.getValue());
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
|
||||
avatarGuid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -156,7 +156,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 5:
|
||||
case 13:
|
||||
return internalGetFightPropMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -171,7 +171,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.AvatarFightPropNotifyOuterClass.AvatarFightPropNotify.class, emu.grasscutter.net.proto.AvatarFightPropNotifyOuterClass.AvatarFightPropNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int FIGHT_PROP_MAP_FIELD_NUMBER = 5;
|
||||
public static final int FIGHT_PROP_MAP_FIELD_NUMBER = 13;
|
||||
private static final class FightPropMapDefaultEntryHolder {
|
||||
static final com.google.protobuf.MapEntry<
|
||||
java.lang.Integer, java.lang.Float> defaultEntry =
|
||||
@@ -198,7 +198,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return internalGetFightPropMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -216,7 +216,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return getFightPropMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -224,7 +224,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return internalGetFightPropMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -237,7 +237,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -277,15 +277,15 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (avatarGuid_ != 0L) {
|
||||
output.writeUInt64(8, avatarGuid_);
|
||||
}
|
||||
com.google.protobuf.GeneratedMessageV3
|
||||
.serializeIntegerMapTo(
|
||||
output,
|
||||
internalGetFightPropMap(),
|
||||
FightPropMapDefaultEntryHolder.defaultEntry,
|
||||
5);
|
||||
if (avatarGuid_ != 0L) {
|
||||
output.writeUInt64(8, avatarGuid_);
|
||||
}
|
||||
13);
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -295,6 +295,10 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (avatarGuid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(8, avatarGuid_);
|
||||
}
|
||||
for (java.util.Map.Entry<java.lang.Integer, java.lang.Float> entry
|
||||
: internalGetFightPropMap().getMap().entrySet()) {
|
||||
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Float>
|
||||
@@ -303,11 +307,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
.setValue(entry.getValue())
|
||||
.build();
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, fightPropMap__);
|
||||
}
|
||||
if (avatarGuid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(8, avatarGuid_);
|
||||
.computeMessageSize(13, fightPropMap__);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -443,8 +443,8 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FPOOPDKEANO
|
||||
* CmdId: 1214
|
||||
* CmdId: 1216
|
||||
* Name: CFPMGGHGBFL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarFightPropNotify}
|
||||
@@ -462,7 +462,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 5:
|
||||
case 13:
|
||||
return internalGetFightPropMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -473,7 +473,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMutableMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 5:
|
||||
case 13:
|
||||
return internalGetMutableFightPropMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -649,7 +649,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return internalGetFightPropMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -667,7 +667,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return getFightPropMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -675,7 +675,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return internalGetFightPropMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -688,7 +688,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -709,7 +709,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
|
||||
public Builder removeFightPropMap(
|
||||
@@ -728,7 +728,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return internalGetMutableFightPropMap().getMutableMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
public Builder putFightPropMap(
|
||||
int key,
|
||||
@@ -740,7 +740,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 5;</code>
|
||||
* <code>map<uint32, float> fight_prop_map = 13;</code>
|
||||
*/
|
||||
|
||||
public Builder putAllFightPropMap(
|
||||
@@ -853,7 +853,7 @@ public final class AvatarFightPropNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033AvatarFightPropNotify.proto\"\243\001\n\025Avatar" +
|
||||
"FightPropNotify\022@\n\016fight_prop_map\030\005 \003(\0132" +
|
||||
"FightPropNotify\022@\n\016fight_prop_map\030\r \003(\0132" +
|
||||
"(.AvatarFightPropNotify.FightPropMapEntr" +
|
||||
"y\022\023\n\013avatar_guid\030\010 \001(\004\0323\n\021FightPropMapEn" +
|
||||
"try\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\002:\0028\001B\033\n\031e" +
|
||||
|
||||
Reference in New Issue
Block a user