mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 10:33:34 +08:00
Update gc to 3.3 (#1981)
* replace the deprecated api * update proto * delete music game * fixed codes * fix costume switch * fix mail bug * Bump version number. * Re-add max boss chest number Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
8b83dbf58c
commit
92fbaa8670
+26
-18
@@ -19,17 +19,21 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 point_id = 4;</code>
|
||||
* <code>uint32 point_id = 14;</code>
|
||||
* @return The pointId.
|
||||
*/
|
||||
int getPointId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 284
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 252;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PersonalSceneJumpReq}
|
||||
@@ -76,7 +80,7 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 32: {
|
||||
case 112: {
|
||||
|
||||
pointId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -113,10 +117,10 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
emu.grasscutter.net.proto.PersonalSceneJumpReqOuterClass.PersonalSceneJumpReq.class, emu.grasscutter.net.proto.PersonalSceneJumpReqOuterClass.PersonalSceneJumpReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int POINT_ID_FIELD_NUMBER = 4;
|
||||
public static final int POINT_ID_FIELD_NUMBER = 14;
|
||||
private int pointId_;
|
||||
/**
|
||||
* <code>uint32 point_id = 4;</code>
|
||||
* <code>uint32 point_id = 14;</code>
|
||||
* @return The pointId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -139,7 +143,7 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (pointId_ != 0) {
|
||||
output.writeUInt32(4, pointId_);
|
||||
output.writeUInt32(14, pointId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -152,7 +156,7 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
size = 0;
|
||||
if (pointId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(4, pointId_);
|
||||
.computeUInt32Size(14, pointId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -281,10 +285,14 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 284
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 252;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PersonalSceneJumpReq}
|
||||
@@ -435,7 +443,7 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
|
||||
private int pointId_ ;
|
||||
/**
|
||||
* <code>uint32 point_id = 4;</code>
|
||||
* <code>uint32 point_id = 14;</code>
|
||||
* @return The pointId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -443,7 +451,7 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
return pointId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 point_id = 4;</code>
|
||||
* <code>uint32 point_id = 14;</code>
|
||||
* @param value The pointId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -454,7 +462,7 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 point_id = 4;</code>
|
||||
* <code>uint32 point_id = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearPointId() {
|
||||
@@ -531,7 +539,7 @@ public final class PersonalSceneJumpReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\032PersonalSceneJumpReq.proto\"(\n\024Personal" +
|
||||
"SceneJumpReq\022\020\n\010point_id\030\004 \001(\rB\033\n\031emu.gr" +
|
||||
"SceneJumpReq\022\020\n\010point_id\030\016 \001(\rB\033\n\031emu.gr" +
|
||||
"asscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user