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:
Magix
2023-04-30 19:08:54 -07:00
committed by GitHub
Unverified
parent 60e8106b01
commit c4f1208f45
1323 changed files with 434863 additions and 141164 deletions
@@ -34,15 +34,15 @@ public final class PlayerCompoundMaterialRspOuterClass {
emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueDataOrBuilder getCompoundQueueDataOrBuilder();
/**
* <code>int32 retcode = 1;</code>
* <code>int32 retcode = 13;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* Name: FLGCALNDKFE
* CmdId: 116
* CmdId: 183
* Name: NPAHEOCCAHH
* </pre>
*
* Protobuf type {@code PlayerCompoundMaterialRsp}
@@ -89,11 +89,6 @@ public final class PlayerCompoundMaterialRspOuterClass {
case 0:
done = true;
break;
case 8: {
retcode_ = input.readInt32();
break;
}
case 34: {
emu.grasscutter.net.proto.CompoundQueueDataOuterClass.CompoundQueueData.Builder subBuilder = null;
if (compoundQueueData_ != null) {
@@ -107,6 +102,11 @@ public final class PlayerCompoundMaterialRspOuterClass {
break;
}
case 104: {
retcode_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -165,10 +165,10 @@ public final class PlayerCompoundMaterialRspOuterClass {
return getCompoundQueueData();
}
public static final int RETCODE_FIELD_NUMBER = 1;
public static final int RETCODE_FIELD_NUMBER = 13;
private int retcode_;
/**
* <code>int32 retcode = 1;</code>
* <code>int32 retcode = 13;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -190,12 +190,12 @@ public final class PlayerCompoundMaterialRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(1, retcode_);
}
if (compoundQueueData_ != null) {
output.writeMessage(4, getCompoundQueueData());
}
if (retcode_ != 0) {
output.writeInt32(13, retcode_);
}
unknownFields.writeTo(output);
}
@@ -205,14 +205,14 @@ public final class PlayerCompoundMaterialRspOuterClass {
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, retcode_);
}
if (compoundQueueData_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getCompoundQueueData());
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(13, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -349,8 +349,8 @@ public final class PlayerCompoundMaterialRspOuterClass {
}
/**
* <pre>
* Name: FLGCALNDKFE
* CmdId: 116
* CmdId: 183
* Name: NPAHEOCCAHH
* </pre>
*
* Protobuf type {@code PlayerCompoundMaterialRsp}
@@ -634,7 +634,7 @@ public final class PlayerCompoundMaterialRspOuterClass {
private int retcode_ ;
/**
* <code>int32 retcode = 1;</code>
* <code>int32 retcode = 13;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -642,7 +642,7 @@ public final class PlayerCompoundMaterialRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 1;</code>
* <code>int32 retcode = 13;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -653,7 +653,7 @@ public final class PlayerCompoundMaterialRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 1;</code>
* <code>int32 retcode = 13;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -732,7 +732,7 @@ public final class PlayerCompoundMaterialRspOuterClass {
"\n\037PlayerCompoundMaterialRsp.proto\032\027Compo" +
"undQueueData.proto\"[\n\031PlayerCompoundMate" +
"rialRsp\022-\n\021compoundQueueData\030\004 \001(\0132\022.Com" +
"poundQueueData\022\017\n\007retcode\030\001 \001(\005B\033\n\031emu.g" +
"poundQueueData\022\017\n\007retcode\030\r \001(\005B\033\n\031emu.g" +
"rasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor