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,23 +19,27 @@ public final class SetNameCardRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 name_card_id = 11;</code>
* <code>uint32 name_card_id = 9;</code>
* @return The nameCardId.
*/
int getNameCardId();
/**
* <code>int32 retcode = 12;</code>
* <code>int32 retcode = 4;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* CmdId: 4093
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4007;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code SetNameCardRsp}
@@ -82,16 +86,16 @@ public final class SetNameCardRspOuterClass {
case 0:
done = true;
break;
case 88: {
nameCardId_ = input.readUInt32();
break;
}
case 96: {
case 32: {
retcode_ = input.readInt32();
break;
}
case 72: {
nameCardId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -124,10 +128,10 @@ public final class SetNameCardRspOuterClass {
emu.grasscutter.net.proto.SetNameCardRspOuterClass.SetNameCardRsp.class, emu.grasscutter.net.proto.SetNameCardRspOuterClass.SetNameCardRsp.Builder.class);
}
public static final int NAME_CARD_ID_FIELD_NUMBER = 11;
public static final int NAME_CARD_ID_FIELD_NUMBER = 9;
private int nameCardId_;
/**
* <code>uint32 name_card_id = 11;</code>
* <code>uint32 name_card_id = 9;</code>
* @return The nameCardId.
*/
@java.lang.Override
@@ -135,10 +139,10 @@ public final class SetNameCardRspOuterClass {
return nameCardId_;
}
public static final int RETCODE_FIELD_NUMBER = 12;
public static final int RETCODE_FIELD_NUMBER = 4;
private int retcode_;
/**
* <code>int32 retcode = 12;</code>
* <code>int32 retcode = 4;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -160,11 +164,11 @@ public final class SetNameCardRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (nameCardId_ != 0) {
output.writeUInt32(11, nameCardId_);
}
if (retcode_ != 0) {
output.writeInt32(12, retcode_);
output.writeInt32(4, retcode_);
}
if (nameCardId_ != 0) {
output.writeUInt32(9, nameCardId_);
}
unknownFields.writeTo(output);
}
@@ -175,13 +179,13 @@ public final class SetNameCardRspOuterClass {
if (size != -1) return size;
size = 0;
if (nameCardId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, nameCardId_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(12, retcode_);
.computeInt32Size(4, retcode_);
}
if (nameCardId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, nameCardId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -314,10 +318,14 @@ public final class SetNameCardRspOuterClass {
}
/**
* <pre>
* CmdId: 4093
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4007;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code SetNameCardRsp}
@@ -474,7 +482,7 @@ public final class SetNameCardRspOuterClass {
private int nameCardId_ ;
/**
* <code>uint32 name_card_id = 11;</code>
* <code>uint32 name_card_id = 9;</code>
* @return The nameCardId.
*/
@java.lang.Override
@@ -482,7 +490,7 @@ public final class SetNameCardRspOuterClass {
return nameCardId_;
}
/**
* <code>uint32 name_card_id = 11;</code>
* <code>uint32 name_card_id = 9;</code>
* @param value The nameCardId to set.
* @return This builder for chaining.
*/
@@ -493,7 +501,7 @@ public final class SetNameCardRspOuterClass {
return this;
}
/**
* <code>uint32 name_card_id = 11;</code>
* <code>uint32 name_card_id = 9;</code>
* @return This builder for chaining.
*/
public Builder clearNameCardId() {
@@ -505,7 +513,7 @@ public final class SetNameCardRspOuterClass {
private int retcode_ ;
/**
* <code>int32 retcode = 12;</code>
* <code>int32 retcode = 4;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -513,7 +521,7 @@ public final class SetNameCardRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 12;</code>
* <code>int32 retcode = 4;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -524,7 +532,7 @@ public final class SetNameCardRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 12;</code>
* <code>int32 retcode = 4;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -601,7 +609,7 @@ public final class SetNameCardRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\024SetNameCardRsp.proto\"7\n\016SetNameCardRsp" +
"\022\024\n\014name_card_id\030\013 \001(\r\022\017\n\007retcode\030\014 \001(\005B" +
"\022\024\n\014name_card_id\030\t \001(\r\022\017\n\007retcode\030\004 \001(\005B" +
"\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor