mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 09:54:14 +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:
+40
-40
@@ -19,26 +19,26 @@ public final class AvatarSatiationDataOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>float finish_time = 12;</code>
|
||||
* <code>float finish_time = 14;</code>
|
||||
* @return The finishTime.
|
||||
*/
|
||||
float getFinishTime();
|
||||
|
||||
/**
|
||||
* <code>float penalty_finish_time = 8;</code>
|
||||
* <code>float penalty_finish_time = 1;</code>
|
||||
* @return The penaltyFinishTime.
|
||||
*/
|
||||
float getPenaltyFinishTime();
|
||||
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 5;</code>
|
||||
* <code>uint64 avatar_guid = 7;</code>
|
||||
* @return The avatarGuid.
|
||||
*/
|
||||
long getAvatarGuid();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: JCDFMFJACEH
|
||||
* Obf: FFMALMEHHFM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarSatiationData}
|
||||
@@ -85,17 +85,17 @@ public final class AvatarSatiationDataOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 40: {
|
||||
|
||||
avatarGuid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
case 69: {
|
||||
case 13: {
|
||||
|
||||
penaltyFinishTime_ = input.readFloat();
|
||||
break;
|
||||
}
|
||||
case 101: {
|
||||
case 56: {
|
||||
|
||||
avatarGuid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
case 117: {
|
||||
|
||||
finishTime_ = input.readFloat();
|
||||
break;
|
||||
@@ -132,10 +132,10 @@ public final class AvatarSatiationDataOuterClass {
|
||||
emu.grasscutter.net.proto.AvatarSatiationDataOuterClass.AvatarSatiationData.class, emu.grasscutter.net.proto.AvatarSatiationDataOuterClass.AvatarSatiationData.Builder.class);
|
||||
}
|
||||
|
||||
public static final int FINISH_TIME_FIELD_NUMBER = 12;
|
||||
public static final int FINISH_TIME_FIELD_NUMBER = 14;
|
||||
private float finishTime_;
|
||||
/**
|
||||
* <code>float finish_time = 12;</code>
|
||||
* <code>float finish_time = 14;</code>
|
||||
* @return The finishTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -143,10 +143,10 @@ public final class AvatarSatiationDataOuterClass {
|
||||
return finishTime_;
|
||||
}
|
||||
|
||||
public static final int PENALTY_FINISH_TIME_FIELD_NUMBER = 8;
|
||||
public static final int PENALTY_FINISH_TIME_FIELD_NUMBER = 1;
|
||||
private float penaltyFinishTime_;
|
||||
/**
|
||||
* <code>float penalty_finish_time = 8;</code>
|
||||
* <code>float penalty_finish_time = 1;</code>
|
||||
* @return The penaltyFinishTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -154,10 +154,10 @@ public final class AvatarSatiationDataOuterClass {
|
||||
return penaltyFinishTime_;
|
||||
}
|
||||
|
||||
public static final int AVATAR_GUID_FIELD_NUMBER = 5;
|
||||
public static final int AVATAR_GUID_FIELD_NUMBER = 7;
|
||||
private long avatarGuid_;
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 5;</code>
|
||||
* <code>uint64 avatar_guid = 7;</code>
|
||||
* @return The avatarGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -179,14 +179,14 @@ public final class AvatarSatiationDataOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (avatarGuid_ != 0L) {
|
||||
output.writeUInt64(5, avatarGuid_);
|
||||
}
|
||||
if (penaltyFinishTime_ != 0F) {
|
||||
output.writeFloat(8, penaltyFinishTime_);
|
||||
output.writeFloat(1, penaltyFinishTime_);
|
||||
}
|
||||
if (avatarGuid_ != 0L) {
|
||||
output.writeUInt64(7, avatarGuid_);
|
||||
}
|
||||
if (finishTime_ != 0F) {
|
||||
output.writeFloat(12, finishTime_);
|
||||
output.writeFloat(14, finishTime_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -197,17 +197,17 @@ public final class AvatarSatiationDataOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (avatarGuid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(5, avatarGuid_);
|
||||
}
|
||||
if (penaltyFinishTime_ != 0F) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeFloatSize(8, penaltyFinishTime_);
|
||||
.computeFloatSize(1, penaltyFinishTime_);
|
||||
}
|
||||
if (avatarGuid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(7, avatarGuid_);
|
||||
}
|
||||
if (finishTime_ != 0F) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeFloatSize(12, finishTime_);
|
||||
.computeFloatSize(14, finishTime_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -349,7 +349,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: JCDFMFJACEH
|
||||
* Obf: FFMALMEHHFM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarSatiationData}
|
||||
@@ -512,7 +512,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
|
||||
private float finishTime_ ;
|
||||
/**
|
||||
* <code>float finish_time = 12;</code>
|
||||
* <code>float finish_time = 14;</code>
|
||||
* @return The finishTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -520,7 +520,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
return finishTime_;
|
||||
}
|
||||
/**
|
||||
* <code>float finish_time = 12;</code>
|
||||
* <code>float finish_time = 14;</code>
|
||||
* @param value The finishTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -531,7 +531,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>float finish_time = 12;</code>
|
||||
* <code>float finish_time = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFinishTime() {
|
||||
@@ -543,7 +543,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
|
||||
private float penaltyFinishTime_ ;
|
||||
/**
|
||||
* <code>float penalty_finish_time = 8;</code>
|
||||
* <code>float penalty_finish_time = 1;</code>
|
||||
* @return The penaltyFinishTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -551,7 +551,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
return penaltyFinishTime_;
|
||||
}
|
||||
/**
|
||||
* <code>float penalty_finish_time = 8;</code>
|
||||
* <code>float penalty_finish_time = 1;</code>
|
||||
* @param value The penaltyFinishTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -562,7 +562,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>float penalty_finish_time = 8;</code>
|
||||
* <code>float penalty_finish_time = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearPenaltyFinishTime() {
|
||||
@@ -574,7 +574,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
|
||||
private long avatarGuid_ ;
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 5;</code>
|
||||
* <code>uint64 avatar_guid = 7;</code>
|
||||
* @return The avatarGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -582,7 +582,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
return avatarGuid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 5;</code>
|
||||
* <code>uint64 avatar_guid = 7;</code>
|
||||
* @param value The avatarGuid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -593,7 +593,7 @@ public final class AvatarSatiationDataOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 5;</code>
|
||||
* <code>uint64 avatar_guid = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarGuid() {
|
||||
@@ -670,8 +670,8 @@ public final class AvatarSatiationDataOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\031AvatarSatiationData.proto\"\\\n\023AvatarSat" +
|
||||
"iationData\022\023\n\013finish_time\030\014 \001(\002\022\033\n\023penal" +
|
||||
"ty_finish_time\030\010 \001(\002\022\023\n\013avatar_guid\030\005 \001(" +
|
||||
"iationData\022\023\n\013finish_time\030\016 \001(\002\022\033\n\023penal" +
|
||||
"ty_finish_time\030\001 \001(\002\022\023\n\013avatar_guid\030\007 \001(" +
|
||||
"\004B\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user