mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-18 09:50:27 +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:
+29
-29
@@ -19,21 +19,21 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* <code>uint32 content_type = 2;</code>
|
||||
* @return The contentType.
|
||||
*/
|
||||
int getContentType();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 10;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 441
|
||||
* Name: DABGGEPNIEP
|
||||
* CmdId: 458
|
||||
* Obf: LHMBHBPCAIL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AddQuestContentProgressRsp}
|
||||
@@ -82,12 +82,12 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
break;
|
||||
case 16: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
contentType_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
case 80: {
|
||||
|
||||
contentType_ = input.readUInt32();
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -122,10 +122,10 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp.class, emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int CONTENT_TYPE_FIELD_NUMBER = 7;
|
||||
public static final int CONTENT_TYPE_FIELD_NUMBER = 2;
|
||||
private int contentType_;
|
||||
/**
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* <code>uint32 content_type = 2;</code>
|
||||
* @return The contentType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -133,10 +133,10 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
return contentType_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 2;
|
||||
public static final int RETCODE_FIELD_NUMBER = 10;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 10;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -158,11 +158,11 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(2, retcode_);
|
||||
}
|
||||
if (contentType_ != 0) {
|
||||
output.writeUInt32(7, contentType_);
|
||||
output.writeUInt32(2, contentType_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(10, retcode_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -173,13 +173,13 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(2, retcode_);
|
||||
}
|
||||
if (contentType_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(7, contentType_);
|
||||
.computeUInt32Size(2, contentType_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(10, retcode_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -312,8 +312,8 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 441
|
||||
* Name: DABGGEPNIEP
|
||||
* CmdId: 458
|
||||
* Obf: LHMBHBPCAIL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AddQuestContentProgressRsp}
|
||||
@@ -470,7 +470,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
|
||||
private int contentType_ ;
|
||||
/**
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* <code>uint32 content_type = 2;</code>
|
||||
* @return The contentType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -478,7 +478,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
return contentType_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* <code>uint32 content_type = 2;</code>
|
||||
* @param value The contentType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -489,7 +489,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* <code>uint32 content_type = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearContentType() {
|
||||
@@ -501,7 +501,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 10;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -509,7 +509,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 10;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -520,7 +520,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -598,7 +598,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n AddQuestContentProgressRsp.proto\"C\n\032Ad" +
|
||||
"dQuestContentProgressRsp\022\024\n\014content_type" +
|
||||
"\030\007 \001(\r\022\017\n\007retcode\030\002 \001(\005B\033\n\031emu.grasscutt" +
|
||||
"\030\002 \001(\r\022\017\n\007retcode\030\n \001(\005B\033\n\031emu.grasscutt" +
|
||||
"er.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user