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,20 +19,20 @@ public final class InstableSprayAvatarInfoOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool is_trial = 7;</code>
* <code>bool is_trial = 11;</code>
* @return The isTrial.
*/
boolean getIsTrial();
/**
* <code>uint64 avatar_id = 5;</code>
* <code>uint64 avatar_id = 1;</code>
* @return The avatarId.
*/
long getAvatarId();
}
/**
* <pre>
* Name: JMAGIHDGPPP
* Obf: JIOLGMNCBND
* </pre>
*
* Protobuf type {@code InstableSprayAvatarInfo}
@@ -79,12 +79,12 @@ public final class InstableSprayAvatarInfoOuterClass {
case 0:
done = true;
break;
case 40: {
case 8: {
avatarId_ = input.readUInt64();
break;
}
case 56: {
case 88: {
isTrial_ = input.readBool();
break;
@@ -121,10 +121,10 @@ public final class InstableSprayAvatarInfoOuterClass {
emu.grasscutter.net.proto.InstableSprayAvatarInfoOuterClass.InstableSprayAvatarInfo.class, emu.grasscutter.net.proto.InstableSprayAvatarInfoOuterClass.InstableSprayAvatarInfo.Builder.class);
}
public static final int IS_TRIAL_FIELD_NUMBER = 7;
public static final int IS_TRIAL_FIELD_NUMBER = 11;
private boolean isTrial_;
/**
* <code>bool is_trial = 7;</code>
* <code>bool is_trial = 11;</code>
* @return The isTrial.
*/
@java.lang.Override
@@ -132,10 +132,10 @@ public final class InstableSprayAvatarInfoOuterClass {
return isTrial_;
}
public static final int AVATAR_ID_FIELD_NUMBER = 5;
public static final int AVATAR_ID_FIELD_NUMBER = 1;
private long avatarId_;
/**
* <code>uint64 avatar_id = 5;</code>
* <code>uint64 avatar_id = 1;</code>
* @return The avatarId.
*/
@java.lang.Override
@@ -158,10 +158,10 @@ public final class InstableSprayAvatarInfoOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (avatarId_ != 0L) {
output.writeUInt64(5, avatarId_);
output.writeUInt64(1, avatarId_);
}
if (isTrial_ != false) {
output.writeBool(7, isTrial_);
output.writeBool(11, isTrial_);
}
unknownFields.writeTo(output);
}
@@ -174,11 +174,11 @@ public final class InstableSprayAvatarInfoOuterClass {
size = 0;
if (avatarId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, avatarId_);
.computeUInt64Size(1, avatarId_);
}
if (isTrial_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, isTrial_);
.computeBoolSize(11, isTrial_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -313,7 +313,7 @@ public final class InstableSprayAvatarInfoOuterClass {
}
/**
* <pre>
* Name: JMAGIHDGPPP
* Obf: JIOLGMNCBND
* </pre>
*
* Protobuf type {@code InstableSprayAvatarInfo}
@@ -470,7 +470,7 @@ public final class InstableSprayAvatarInfoOuterClass {
private boolean isTrial_ ;
/**
* <code>bool is_trial = 7;</code>
* <code>bool is_trial = 11;</code>
* @return The isTrial.
*/
@java.lang.Override
@@ -478,7 +478,7 @@ public final class InstableSprayAvatarInfoOuterClass {
return isTrial_;
}
/**
* <code>bool is_trial = 7;</code>
* <code>bool is_trial = 11;</code>
* @param value The isTrial to set.
* @return This builder for chaining.
*/
@@ -489,7 +489,7 @@ public final class InstableSprayAvatarInfoOuterClass {
return this;
}
/**
* <code>bool is_trial = 7;</code>
* <code>bool is_trial = 11;</code>
* @return This builder for chaining.
*/
public Builder clearIsTrial() {
@@ -501,7 +501,7 @@ public final class InstableSprayAvatarInfoOuterClass {
private long avatarId_ ;
/**
* <code>uint64 avatar_id = 5;</code>
* <code>uint64 avatar_id = 1;</code>
* @return The avatarId.
*/
@java.lang.Override
@@ -509,7 +509,7 @@ public final class InstableSprayAvatarInfoOuterClass {
return avatarId_;
}
/**
* <code>uint64 avatar_id = 5;</code>
* <code>uint64 avatar_id = 1;</code>
* @param value The avatarId to set.
* @return This builder for chaining.
*/
@@ -520,7 +520,7 @@ public final class InstableSprayAvatarInfoOuterClass {
return this;
}
/**
* <code>uint64 avatar_id = 5;</code>
* <code>uint64 avatar_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarId() {
@@ -597,8 +597,8 @@ public final class InstableSprayAvatarInfoOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\035InstableSprayAvatarInfo.proto\">\n\027Insta" +
"bleSprayAvatarInfo\022\020\n\010is_trial\030\007 \001(\010\022\021\n\t" +
"avatar_id\030\005 \001(\004B\033\n\031emu.grasscutter.net.p" +
"bleSprayAvatarInfo\022\020\n\010is_trial\030\013 \001(\010\022\021\n\t" +
"avatar_id\030\001 \001(\004B\033\n\031emu.grasscutter.net.p" +
"rotob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor