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:
Simplxs
2022-12-24 05:12:02 +08:00
committed by GitHub
Unverified
parent 8b83dbf58c
commit 92fbaa8670
1142 changed files with 474411 additions and 169883 deletions
@@ -19,17 +19,21 @@ public final class PlayerSetPauseReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool is_paused = 1;</code>
* <code>bool is_paused = 15;</code>
* @return The isPaused.
*/
boolean getIsPaused();
}
/**
* <pre>
* CmdId: 124
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 122;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code PlayerSetPauseReq}
@@ -76,7 +80,7 @@ public final class PlayerSetPauseReqOuterClass {
case 0:
done = true;
break;
case 8: {
case 120: {
isPaused_ = input.readBool();
break;
@@ -113,10 +117,10 @@ public final class PlayerSetPauseReqOuterClass {
emu.grasscutter.net.proto.PlayerSetPauseReqOuterClass.PlayerSetPauseReq.class, emu.grasscutter.net.proto.PlayerSetPauseReqOuterClass.PlayerSetPauseReq.Builder.class);
}
public static final int IS_PAUSED_FIELD_NUMBER = 1;
public static final int IS_PAUSED_FIELD_NUMBER = 15;
private boolean isPaused_;
/**
* <code>bool is_paused = 1;</code>
* <code>bool is_paused = 15;</code>
* @return The isPaused.
*/
@java.lang.Override
@@ -139,7 +143,7 @@ public final class PlayerSetPauseReqOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (isPaused_ != false) {
output.writeBool(1, isPaused_);
output.writeBool(15, isPaused_);
}
unknownFields.writeTo(output);
}
@@ -152,7 +156,7 @@ public final class PlayerSetPauseReqOuterClass {
size = 0;
if (isPaused_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isPaused_);
.computeBoolSize(15, isPaused_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -282,10 +286,14 @@ public final class PlayerSetPauseReqOuterClass {
}
/**
* <pre>
* CmdId: 124
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 122;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code PlayerSetPauseReq}
@@ -436,7 +444,7 @@ public final class PlayerSetPauseReqOuterClass {
private boolean isPaused_ ;
/**
* <code>bool is_paused = 1;</code>
* <code>bool is_paused = 15;</code>
* @return The isPaused.
*/
@java.lang.Override
@@ -444,7 +452,7 @@ public final class PlayerSetPauseReqOuterClass {
return isPaused_;
}
/**
* <code>bool is_paused = 1;</code>
* <code>bool is_paused = 15;</code>
* @param value The isPaused to set.
* @return This builder for chaining.
*/
@@ -455,7 +463,7 @@ public final class PlayerSetPauseReqOuterClass {
return this;
}
/**
* <code>bool is_paused = 1;</code>
* <code>bool is_paused = 15;</code>
* @return This builder for chaining.
*/
public Builder clearIsPaused() {
@@ -532,7 +540,7 @@ public final class PlayerSetPauseReqOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\027PlayerSetPauseReq.proto\"&\n\021PlayerSetPa" +
"useReq\022\021\n\tis_paused\030\001 \001(\010B\033\n\031emu.grasscu" +
"useReq\022\021\n\tis_paused\030\017 \001(\010B\033\n\031emu.grasscu" +
"tter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor