Upgrade to REL3.7 (#2164)

* Remove hardcoded quest data

* Remove deprecated fields

* Try to fix packet

* Apply fix for token exchange

* Upgrade to REL3.7

* Add obfuscated protocol definitions

* Add missing enum (other protos too maybe)

* Re-add field setters and add note on removal
This commit is contained in:
Magix
2023-05-26 21:29:02 -07:00
committed by GitHub
Unverified
parent 19bf2dfc69
commit 71f6198361
1382 changed files with 227149 additions and 199653 deletions
@@ -19,15 +19,15 @@ public final class UnlockTransPointRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 9;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* CmdId: 3090
* Name: FPKLJFJFMPI
* CmdId: 3046
* Obf: NCJAFFIJJMO
* </pre>
*
* Protobuf type {@code UnlockTransPointRsp}
@@ -74,7 +74,7 @@ public final class UnlockTransPointRspOuterClass {
case 0:
done = true;
break;
case 16: {
case 72: {
retcode_ = input.readInt32();
break;
@@ -111,10 +111,10 @@ public final class UnlockTransPointRspOuterClass {
emu.grasscutter.net.proto.UnlockTransPointRspOuterClass.UnlockTransPointRsp.class, emu.grasscutter.net.proto.UnlockTransPointRspOuterClass.UnlockTransPointRsp.Builder.class);
}
public static final int RETCODE_FIELD_NUMBER = 2;
public static final int RETCODE_FIELD_NUMBER = 9;
private int retcode_;
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 9;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -137,7 +137,7 @@ public final class UnlockTransPointRspOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(2, retcode_);
output.writeInt32(9, retcode_);
}
unknownFields.writeTo(output);
}
@@ -150,7 +150,7 @@ public final class UnlockTransPointRspOuterClass {
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, retcode_);
.computeInt32Size(9, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -279,8 +279,8 @@ public final class UnlockTransPointRspOuterClass {
}
/**
* <pre>
* CmdId: 3090
* Name: FPKLJFJFMPI
* CmdId: 3046
* Obf: NCJAFFIJJMO
* </pre>
*
* Protobuf type {@code UnlockTransPointRsp}
@@ -431,7 +431,7 @@ public final class UnlockTransPointRspOuterClass {
private int retcode_ ;
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 9;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -439,7 +439,7 @@ public final class UnlockTransPointRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 9;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -450,7 +450,7 @@ public final class UnlockTransPointRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 9;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -527,7 +527,7 @@ public final class UnlockTransPointRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\031UnlockTransPointRsp.proto\"&\n\023UnlockTra" +
"nsPointRsp\022\017\n\007retcode\030\002 \001(\005B\033\n\031emu.grass" +
"nsPointRsp\022\017\n\007retcode\030\t \001(\005B\033\n\031emu.grass" +
"cutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor