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,23 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool is_all = 10;</code>
* <code>bool is_all = 1;</code>
* @return The isAll.
*/
boolean getIsAll();
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @return A list containing the furnitureSuiteIdList.
*/
java.util.List<java.lang.Integer> getFurnitureSuiteIdListList();
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @return The count of furnitureSuiteIdList.
*/
int getFurnitureSuiteIdListCount();
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @param index The index of the element to return.
* @return The furnitureSuiteIdList at the given index.
*/
@@ -43,10 +43,13 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
}
/**
* <pre>
* CmdId: 4454
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4532;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code UnlockedFurnitureSuiteDataNotify}
@@ -95,7 +98,12 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
case 0:
done = true;
break;
case 40: {
case 8: {
isAll_ = input.readBool();
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
furnitureSuiteIdList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -103,7 +111,7 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
furnitureSuiteIdList_.addInt(input.readUInt32());
break;
}
case 42: {
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -116,11 +124,6 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
input.popLimit(limit);
break;
}
case 80: {
isAll_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -156,10 +159,10 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.class, emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.Builder.class);
}
public static final int IS_ALL_FIELD_NUMBER = 10;
public static final int IS_ALL_FIELD_NUMBER = 1;
private boolean isAll_;
/**
* <code>bool is_all = 10;</code>
* <code>bool is_all = 1;</code>
* @return The isAll.
*/
@java.lang.Override
@@ -167,10 +170,10 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
return isAll_;
}
public static final int FURNITURE_SUITE_ID_LIST_FIELD_NUMBER = 5;
public static final int FURNITURE_SUITE_ID_LIST_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.IntList furnitureSuiteIdList_;
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @return A list containing the furnitureSuiteIdList.
*/
@java.lang.Override
@@ -179,14 +182,14 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
return furnitureSuiteIdList_;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @return The count of furnitureSuiteIdList.
*/
public int getFurnitureSuiteIdListCount() {
return furnitureSuiteIdList_.size();
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @param index The index of the element to return.
* @return The furnitureSuiteIdList at the given index.
*/
@@ -210,16 +213,16 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (isAll_ != false) {
output.writeBool(1, isAll_);
}
if (getFurnitureSuiteIdListList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(furnitureSuiteIdListMemoizedSerializedSize);
}
for (int i = 0; i < furnitureSuiteIdList_.size(); i++) {
output.writeUInt32NoTag(furnitureSuiteIdList_.getInt(i));
}
if (isAll_ != false) {
output.writeBool(10, isAll_);
}
unknownFields.writeTo(output);
}
@@ -229,6 +232,10 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
if (size != -1) return size;
size = 0;
if (isAll_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isAll_);
}
{
int dataSize = 0;
for (int i = 0; i < furnitureSuiteIdList_.size(); i++) {
@@ -243,10 +250,6 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
}
furnitureSuiteIdListMemoizedSerializedSize = dataSize;
}
if (isAll_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, isAll_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -381,10 +384,13 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
}
/**
* <pre>
* CmdId: 4454
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4532;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code UnlockedFurnitureSuiteDataNotify}
@@ -554,7 +560,7 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
private boolean isAll_ ;
/**
* <code>bool is_all = 10;</code>
* <code>bool is_all = 1;</code>
* @return The isAll.
*/
@java.lang.Override
@@ -562,7 +568,7 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
return isAll_;
}
/**
* <code>bool is_all = 10;</code>
* <code>bool is_all = 1;</code>
* @param value The isAll to set.
* @return This builder for chaining.
*/
@@ -573,7 +579,7 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
return this;
}
/**
* <code>bool is_all = 10;</code>
* <code>bool is_all = 1;</code>
* @return This builder for chaining.
*/
public Builder clearIsAll() {
@@ -591,7 +597,7 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
}
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @return A list containing the furnitureSuiteIdList.
*/
public java.util.List<java.lang.Integer>
@@ -600,14 +606,14 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
java.util.Collections.unmodifiableList(furnitureSuiteIdList_) : furnitureSuiteIdList_;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @return The count of furnitureSuiteIdList.
*/
public int getFurnitureSuiteIdListCount() {
return furnitureSuiteIdList_.size();
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @param index The index of the element to return.
* @return The furnitureSuiteIdList at the given index.
*/
@@ -615,7 +621,7 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
return furnitureSuiteIdList_.getInt(index);
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @param index The index to set the value at.
* @param value The furnitureSuiteIdList to set.
* @return This builder for chaining.
@@ -628,7 +634,7 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
return this;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @param value The furnitureSuiteIdList to add.
* @return This builder for chaining.
*/
@@ -639,7 +645,7 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
return this;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @param values The furnitureSuiteIdList to add.
* @return This builder for chaining.
*/
@@ -652,7 +658,7 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
return this;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* <code>repeated uint32 furniture_suite_id_list = 3;</code>
* @return This builder for chaining.
*/
public Builder clearFurnitureSuiteIdList() {
@@ -730,8 +736,8 @@ public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
java.lang.String[] descriptorData = {
"\n&UnlockedFurnitureSuiteDataNotify.proto" +
"\"S\n UnlockedFurnitureSuiteDataNotify\022\016\n\006" +
"is_all\030\n \001(\010\022\037\n\027furniture_suite_id_list\030" +
"\005 \003(\rB\033\n\031emu.grasscutter.net.protob\006prot" +
"is_all\030\001 \001(\010\022\037\n\027furniture_suite_id_list\030" +
"\003 \003(\rB\033\n\031emu.grasscutter.net.protob\006prot" +
"o3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor