mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 02:59:49 +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:
+14
-14
@@ -19,15 +19,15 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 target_uid = 9;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
int getTargetUid();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 238
|
||||
* Name: DCEEEDODLHB
|
||||
* CmdId: 290
|
||||
* Obf: KIBICOLPELD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SceneKickPlayerReq}
|
||||
@@ -74,7 +74,7 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 72: {
|
||||
case 96: {
|
||||
|
||||
targetUid_ = input.readUInt32();
|
||||
break;
|
||||
@@ -111,10 +111,10 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
emu.grasscutter.net.proto.SceneKickPlayerReqOuterClass.SceneKickPlayerReq.class, emu.grasscutter.net.proto.SceneKickPlayerReqOuterClass.SceneKickPlayerReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 9;
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 12;
|
||||
private int targetUid_;
|
||||
/**
|
||||
* <code>uint32 target_uid = 9;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -137,7 +137,7 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (targetUid_ != 0) {
|
||||
output.writeUInt32(9, targetUid_);
|
||||
output.writeUInt32(12, targetUid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
size = 0;
|
||||
if (targetUid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, targetUid_);
|
||||
.computeUInt32Size(12, targetUid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -279,8 +279,8 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 238
|
||||
* Name: DCEEEDODLHB
|
||||
* CmdId: 290
|
||||
* Obf: KIBICOLPELD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SceneKickPlayerReq}
|
||||
@@ -431,7 +431,7 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
|
||||
private int targetUid_ ;
|
||||
/**
|
||||
* <code>uint32 target_uid = 9;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -439,7 +439,7 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
return targetUid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 9;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @param value The targetUid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -450,7 +450,7 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 9;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTargetUid() {
|
||||
@@ -527,7 +527,7 @@ public final class SceneKickPlayerReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\030SceneKickPlayerReq.proto\"(\n\022SceneKickP" +
|
||||
"layerReq\022\022\n\ntarget_uid\030\t \001(\rB\033\n\031emu.gras" +
|
||||
"layerReq\022\022\n\ntarget_uid\030\014 \001(\rB\033\n\031emu.gras" +
|
||||
"scutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user