mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 12:53:34 +08:00
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:
+28
-28
@@ -19,27 +19,27 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string signature = 10;</code>
|
||||
* <code>string signature = 6;</code>
|
||||
* @return The signature.
|
||||
*/
|
||||
java.lang.String getSignature();
|
||||
/**
|
||||
* <code>string signature = 10;</code>
|
||||
* <code>string signature = 6;</code>
|
||||
* @return The bytes for signature.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getSignatureBytes();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 14;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4075
|
||||
* Name: OCCAFEBEKAD
|
||||
* CmdId: 4016
|
||||
* Obf: OJEMMPNBMPF
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerSignatureRsp}
|
||||
@@ -87,13 +87,13 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 82: {
|
||||
case 50: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
|
||||
signature_ = s;
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
case 112: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
@@ -130,10 +130,10 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
emu.grasscutter.net.proto.SetPlayerSignatureRspOuterClass.SetPlayerSignatureRsp.class, emu.grasscutter.net.proto.SetPlayerSignatureRspOuterClass.SetPlayerSignatureRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int SIGNATURE_FIELD_NUMBER = 10;
|
||||
public static final int SIGNATURE_FIELD_NUMBER = 6;
|
||||
private volatile java.lang.Object signature_;
|
||||
/**
|
||||
* <code>string signature = 10;</code>
|
||||
* <code>string signature = 6;</code>
|
||||
* @return The signature.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -150,7 +150,7 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 10;</code>
|
||||
* <code>string signature = 6;</code>
|
||||
* @return The bytes for signature.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -168,10 +168,10 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
}
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 15;
|
||||
public static final int RETCODE_FIELD_NUMBER = 14;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 14;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -194,10 +194,10 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, signature_);
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, signature_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(15, retcode_);
|
||||
output.writeInt32(14, retcode_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -209,11 +209,11 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
|
||||
size = 0;
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, signature_);
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, signature_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(15, retcode_);
|
||||
.computeInt32Size(14, retcode_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -346,8 +346,8 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4075
|
||||
* Name: OCCAFEBEKAD
|
||||
* CmdId: 4016
|
||||
* Obf: OJEMMPNBMPF
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerSignatureRsp}
|
||||
@@ -505,7 +505,7 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
|
||||
private java.lang.Object signature_ = "";
|
||||
/**
|
||||
* <code>string signature = 10;</code>
|
||||
* <code>string signature = 6;</code>
|
||||
* @return The signature.
|
||||
*/
|
||||
public java.lang.String getSignature() {
|
||||
@@ -521,7 +521,7 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 10;</code>
|
||||
* <code>string signature = 6;</code>
|
||||
* @return The bytes for signature.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
@@ -538,7 +538,7 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 10;</code>
|
||||
* <code>string signature = 6;</code>
|
||||
* @param value The signature to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -553,7 +553,7 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 10;</code>
|
||||
* <code>string signature = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSignature() {
|
||||
@@ -563,7 +563,7 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 10;</code>
|
||||
* <code>string signature = 6;</code>
|
||||
* @param value The bytes for signature to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -581,7 +581,7 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 14;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -589,7 +589,7 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 14;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -600,7 +600,7 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -677,8 +677,8 @@ public final class SetPlayerSignatureRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033SetPlayerSignatureRsp.proto\";\n\025SetPlay" +
|
||||
"erSignatureRsp\022\021\n\tsignature\030\n \001(\t\022\017\n\007ret" +
|
||||
"code\030\017 \001(\005B\033\n\031emu.grasscutter.net.protob" +
|
||||
"erSignatureRsp\022\021\n\tsignature\030\006 \001(\t\022\017\n\007ret" +
|
||||
"code\030\016 \001(\005B\033\n\031emu.grasscutter.net.protob" +
|
||||
"\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user