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,21 +19,21 @@ public final class PlayerChatRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 chat_forbidden_endtime = 2;</code>
* <code>uint32 chat_forbidden_endtime = 7;</code>
* @return The chatForbiddenEndtime.
*/
int getChatForbiddenEndtime();
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 5;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* CmdId: 3425
* Name: LHGABNCEJMG
* CmdId: 3369
* Obf: IABIBNLADIM
* </pre>
*
* Protobuf type {@code PlayerChatRsp}
@@ -80,16 +80,16 @@ public final class PlayerChatRspOuterClass {
case 0:
done = true;
break;
case 16: {
chatForbiddenEndtime_ = input.readUInt32();
break;
}
case 72: {
case 40: {
retcode_ = input.readInt32();
break;
}
case 56: {
chatForbiddenEndtime_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -122,10 +122,10 @@ public final class PlayerChatRspOuterClass {
emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp.class, emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp.Builder.class);
}
public static final int CHAT_FORBIDDEN_ENDTIME_FIELD_NUMBER = 2;
public static final int CHAT_FORBIDDEN_ENDTIME_FIELD_NUMBER = 7;
private int chatForbiddenEndtime_;
/**
* <code>uint32 chat_forbidden_endtime = 2;</code>
* <code>uint32 chat_forbidden_endtime = 7;</code>
* @return The chatForbiddenEndtime.
*/
@java.lang.Override
@@ -133,10 +133,10 @@ public final class PlayerChatRspOuterClass {
return chatForbiddenEndtime_;
}
public static final int RETCODE_FIELD_NUMBER = 9;
public static final int RETCODE_FIELD_NUMBER = 5;
private int retcode_;
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 5;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -158,11 +158,11 @@ public final class PlayerChatRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (chatForbiddenEndtime_ != 0) {
output.writeUInt32(2, chatForbiddenEndtime_);
}
if (retcode_ != 0) {
output.writeInt32(9, retcode_);
output.writeInt32(5, retcode_);
}
if (chatForbiddenEndtime_ != 0) {
output.writeUInt32(7, chatForbiddenEndtime_);
}
unknownFields.writeTo(output);
}
@@ -173,13 +173,13 @@ public final class PlayerChatRspOuterClass {
if (size != -1) return size;
size = 0;
if (chatForbiddenEndtime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, chatForbiddenEndtime_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, retcode_);
.computeInt32Size(5, retcode_);
}
if (chatForbiddenEndtime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, chatForbiddenEndtime_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -312,8 +312,8 @@ public final class PlayerChatRspOuterClass {
}
/**
* <pre>
* CmdId: 3425
* Name: LHGABNCEJMG
* CmdId: 3369
* Obf: IABIBNLADIM
* </pre>
*
* Protobuf type {@code PlayerChatRsp}
@@ -470,7 +470,7 @@ public final class PlayerChatRspOuterClass {
private int chatForbiddenEndtime_ ;
/**
* <code>uint32 chat_forbidden_endtime = 2;</code>
* <code>uint32 chat_forbidden_endtime = 7;</code>
* @return The chatForbiddenEndtime.
*/
@java.lang.Override
@@ -478,7 +478,7 @@ public final class PlayerChatRspOuterClass {
return chatForbiddenEndtime_;
}
/**
* <code>uint32 chat_forbidden_endtime = 2;</code>
* <code>uint32 chat_forbidden_endtime = 7;</code>
* @param value The chatForbiddenEndtime to set.
* @return This builder for chaining.
*/
@@ -489,7 +489,7 @@ public final class PlayerChatRspOuterClass {
return this;
}
/**
* <code>uint32 chat_forbidden_endtime = 2;</code>
* <code>uint32 chat_forbidden_endtime = 7;</code>
* @return This builder for chaining.
*/
public Builder clearChatForbiddenEndtime() {
@@ -501,7 +501,7 @@ public final class PlayerChatRspOuterClass {
private int retcode_ ;
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 5;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -509,7 +509,7 @@ public final class PlayerChatRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 5;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -520,7 +520,7 @@ public final class PlayerChatRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 5;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -597,8 +597,8 @@ public final class PlayerChatRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\023PlayerChatRsp.proto\"@\n\rPlayerChatRsp\022\036" +
"\n\026chat_forbidden_endtime\030\002 \001(\r\022\017\n\007retcod" +
"e\030\t \001(\005B\033\n\031emu.grasscutter.net.protob\006pr" +
"\n\026chat_forbidden_endtime\030\007 \001(\r\022\017\n\007retcod" +
"e\030\005 \001(\005B\033\n\031emu.grasscutter.net.protob\006pr" +
"oto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor