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 SetPlayerHeadImageReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 avatar_id = 6;</code>
* <code>uint32 avatar_id = 11;</code>
* @return The avatarId.
*/
int getAvatarId();
}
/**
* <pre>
* CmdId: 4046
* Name: BFDHKNPNICA
* CmdId: 4028
* Obf: BFCLIPDJCHJ
* </pre>
*
* Protobuf type {@code SetPlayerHeadImageReq}
@@ -74,7 +74,7 @@ public final class SetPlayerHeadImageReqOuterClass {
case 0:
done = true;
break;
case 48: {
case 88: {
avatarId_ = input.readUInt32();
break;
@@ -111,10 +111,10 @@ public final class SetPlayerHeadImageReqOuterClass {
emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq.class, emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq.Builder.class);
}
public static final int AVATAR_ID_FIELD_NUMBER = 6;
public static final int AVATAR_ID_FIELD_NUMBER = 11;
private int avatarId_;
/**
* <code>uint32 avatar_id = 6;</code>
* <code>uint32 avatar_id = 11;</code>
* @return The avatarId.
*/
@java.lang.Override
@@ -137,7 +137,7 @@ public final class SetPlayerHeadImageReqOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (avatarId_ != 0) {
output.writeUInt32(6, avatarId_);
output.writeUInt32(11, avatarId_);
}
unknownFields.writeTo(output);
}
@@ -150,7 +150,7 @@ public final class SetPlayerHeadImageReqOuterClass {
size = 0;
if (avatarId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, avatarId_);
.computeUInt32Size(11, avatarId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -279,8 +279,8 @@ public final class SetPlayerHeadImageReqOuterClass {
}
/**
* <pre>
* CmdId: 4046
* Name: BFDHKNPNICA
* CmdId: 4028
* Obf: BFCLIPDJCHJ
* </pre>
*
* Protobuf type {@code SetPlayerHeadImageReq}
@@ -431,7 +431,7 @@ public final class SetPlayerHeadImageReqOuterClass {
private int avatarId_ ;
/**
* <code>uint32 avatar_id = 6;</code>
* <code>uint32 avatar_id = 11;</code>
* @return The avatarId.
*/
@java.lang.Override
@@ -439,7 +439,7 @@ public final class SetPlayerHeadImageReqOuterClass {
return avatarId_;
}
/**
* <code>uint32 avatar_id = 6;</code>
* <code>uint32 avatar_id = 11;</code>
* @param value The avatarId to set.
* @return This builder for chaining.
*/
@@ -450,7 +450,7 @@ public final class SetPlayerHeadImageReqOuterClass {
return this;
}
/**
* <code>uint32 avatar_id = 6;</code>
* <code>uint32 avatar_id = 11;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarId() {
@@ -527,7 +527,7 @@ public final class SetPlayerHeadImageReqOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\033SetPlayerHeadImageReq.proto\"*\n\025SetPlay" +
"erHeadImageReq\022\021\n\tavatar_id\030\006 \001(\rB\033\n\031emu" +
"erHeadImageReq\022\021\n\tavatar_id\030\013 \001(\rB\033\n\031emu" +
".grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor