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
@@ -25,17 +25,20 @@ public final class AvatarPromoteRspOuterClass {
long getGuid();
/**
* <code>int32 retcode = 8;</code>
* <code>int32 retcode = 13;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* CmdId: 1639
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 1710;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code AvatarPromoteRsp}
@@ -82,16 +85,16 @@ public final class AvatarPromoteRspOuterClass {
case 0:
done = true;
break;
case 64: {
retcode_ = input.readInt32();
break;
}
case 88: {
guid_ = input.readUInt64();
break;
}
case 104: {
retcode_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -135,10 +138,10 @@ public final class AvatarPromoteRspOuterClass {
return guid_;
}
public static final int RETCODE_FIELD_NUMBER = 8;
public static final int RETCODE_FIELD_NUMBER = 13;
private int retcode_;
/**
* <code>int32 retcode = 8;</code>
* <code>int32 retcode = 13;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -160,12 +163,12 @@ public final class AvatarPromoteRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(8, retcode_);
}
if (guid_ != 0L) {
output.writeUInt64(11, guid_);
}
if (retcode_ != 0) {
output.writeInt32(13, retcode_);
}
unknownFields.writeTo(output);
}
@@ -175,14 +178,14 @@ public final class AvatarPromoteRspOuterClass {
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, retcode_);
}
if (guid_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, guid_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(13, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -315,10 +318,13 @@ public final class AvatarPromoteRspOuterClass {
}
/**
* <pre>
* CmdId: 1639
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 1710;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code AvatarPromoteRsp}
@@ -506,7 +512,7 @@ public final class AvatarPromoteRspOuterClass {
private int retcode_ ;
/**
* <code>int32 retcode = 8;</code>
* <code>int32 retcode = 13;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -514,7 +520,7 @@ public final class AvatarPromoteRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 8;</code>
* <code>int32 retcode = 13;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -525,7 +531,7 @@ public final class AvatarPromoteRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 8;</code>
* <code>int32 retcode = 13;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -602,7 +608,7 @@ public final class AvatarPromoteRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\026AvatarPromoteRsp.proto\"1\n\020AvatarPromot" +
"eRsp\022\014\n\004guid\030\013 \001(\004\022\017\n\007retcode\030\010 \001(\005B\033\n\031e" +
"eRsp\022\014\n\004guid\030\013 \001(\004\022\017\n\007retcode\030\r \001(\005B\033\n\031e" +
"mu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor