mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 16:43:43 +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:
+12
-12
@@ -19,7 +19,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint64 avatar_id = 10;</code>
|
||||
* <code>uint64 avatar_id = 4;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
long getAvatarId();
|
||||
@@ -32,7 +32,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: ODPFLNHGMEI
|
||||
* Obf: MAANKHLADDM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CrystalLinkAvatarInfo}
|
||||
@@ -84,7 +84,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
isTrial_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
case 32: {
|
||||
|
||||
avatarId_ = input.readUInt64();
|
||||
break;
|
||||
@@ -121,10 +121,10 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
emu.grasscutter.net.proto.CrystalLinkAvatarInfoOuterClass.CrystalLinkAvatarInfo.class, emu.grasscutter.net.proto.CrystalLinkAvatarInfoOuterClass.CrystalLinkAvatarInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int AVATAR_ID_FIELD_NUMBER = 10;
|
||||
public static final int AVATAR_ID_FIELD_NUMBER = 4;
|
||||
private long avatarId_;
|
||||
/**
|
||||
* <code>uint64 avatar_id = 10;</code>
|
||||
* <code>uint64 avatar_id = 4;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -161,7 +161,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
output.writeBool(3, isTrial_);
|
||||
}
|
||||
if (avatarId_ != 0L) {
|
||||
output.writeUInt64(10, avatarId_);
|
||||
output.writeUInt64(4, avatarId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -178,7 +178,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
}
|
||||
if (avatarId_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(10, avatarId_);
|
||||
.computeUInt64Size(4, avatarId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -313,7 +313,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: ODPFLNHGMEI
|
||||
* Obf: MAANKHLADDM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CrystalLinkAvatarInfo}
|
||||
@@ -470,7 +470,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
|
||||
private long avatarId_ ;
|
||||
/**
|
||||
* <code>uint64 avatar_id = 10;</code>
|
||||
* <code>uint64 avatar_id = 4;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -478,7 +478,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
return avatarId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 avatar_id = 10;</code>
|
||||
* <code>uint64 avatar_id = 4;</code>
|
||||
* @param value The avatarId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -489,7 +489,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 avatar_id = 10;</code>
|
||||
* <code>uint64 avatar_id = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarId() {
|
||||
@@ -597,7 +597,7 @@ public final class CrystalLinkAvatarInfoOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033CrystalLinkAvatarInfo.proto\"<\n\025Crystal" +
|
||||
"LinkAvatarInfo\022\021\n\tavatar_id\030\n \001(\004\022\020\n\010is_" +
|
||||
"LinkAvatarInfo\022\021\n\tavatar_id\030\004 \001(\004\022\020\n\010is_" +
|
||||
"trial\030\003 \001(\010B\033\n\031emu.grasscutter.net.proto" +
|
||||
"b\006proto3"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user