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,24 +19,24 @@ public final class WidgetGadgetDataOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @return A list containing the gadgetEntityIdList.
*/
java.util.List<java.lang.Integer> getGadgetEntityIdListList();
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @return The count of gadgetEntityIdList.
*/
int getGadgetEntityIdListCount();
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @param index The index of the element to return.
* @return The gadgetEntityIdList at the given index.
*/
int getGadgetEntityIdList(int index);
/**
* <code>uint32 gadget_id = 8;</code>
* <code>uint32 gadget_id = 2;</code>
* @return The gadgetId.
*/
int getGadgetId();
@@ -88,7 +88,12 @@ public final class WidgetGadgetDataOuterClass {
case 0:
done = true;
break;
case 8: {
case 16: {
gadgetId_ = input.readUInt32();
break;
}
case 48: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
gadgetEntityIdList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -96,7 +101,7 @@ public final class WidgetGadgetDataOuterClass {
gadgetEntityIdList_.addInt(input.readUInt32());
break;
}
case 10: {
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -109,11 +114,6 @@ public final class WidgetGadgetDataOuterClass {
input.popLimit(limit);
break;
}
case 64: {
gadgetId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -149,10 +149,10 @@ public final class WidgetGadgetDataOuterClass {
emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData.class, emu.grasscutter.net.proto.WidgetGadgetDataOuterClass.WidgetGadgetData.Builder.class);
}
public static final int GADGET_ENTITY_ID_LIST_FIELD_NUMBER = 1;
public static final int GADGET_ENTITY_ID_LIST_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.IntList gadgetEntityIdList_;
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @return A list containing the gadgetEntityIdList.
*/
@java.lang.Override
@@ -161,14 +161,14 @@ public final class WidgetGadgetDataOuterClass {
return gadgetEntityIdList_;
}
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @return The count of gadgetEntityIdList.
*/
public int getGadgetEntityIdListCount() {
return gadgetEntityIdList_.size();
}
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @param index The index of the element to return.
* @return The gadgetEntityIdList at the given index.
*/
@@ -177,10 +177,10 @@ public final class WidgetGadgetDataOuterClass {
}
private int gadgetEntityIdListMemoizedSerializedSize = -1;
public static final int GADGET_ID_FIELD_NUMBER = 8;
public static final int GADGET_ID_FIELD_NUMBER = 2;
private int gadgetId_;
/**
* <code>uint32 gadget_id = 8;</code>
* <code>uint32 gadget_id = 2;</code>
* @return The gadgetId.
*/
@java.lang.Override
@@ -203,16 +203,16 @@ public final class WidgetGadgetDataOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (gadgetId_ != 0) {
output.writeUInt32(2, gadgetId_);
}
if (getGadgetEntityIdListList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(50);
output.writeUInt32NoTag(gadgetEntityIdListMemoizedSerializedSize);
}
for (int i = 0; i < gadgetEntityIdList_.size(); i++) {
output.writeUInt32NoTag(gadgetEntityIdList_.getInt(i));
}
if (gadgetId_ != 0) {
output.writeUInt32(8, gadgetId_);
}
unknownFields.writeTo(output);
}
@@ -222,6 +222,10 @@ public final class WidgetGadgetDataOuterClass {
if (size != -1) return size;
size = 0;
if (gadgetId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, gadgetId_);
}
{
int dataSize = 0;
for (int i = 0; i < gadgetEntityIdList_.size(); i++) {
@@ -236,10 +240,6 @@ public final class WidgetGadgetDataOuterClass {
}
gadgetEntityIdListMemoizedSerializedSize = dataSize;
}
if (gadgetId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, gadgetId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -545,7 +545,7 @@ public final class WidgetGadgetDataOuterClass {
}
}
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @return A list containing the gadgetEntityIdList.
*/
public java.util.List<java.lang.Integer>
@@ -554,14 +554,14 @@ public final class WidgetGadgetDataOuterClass {
java.util.Collections.unmodifiableList(gadgetEntityIdList_) : gadgetEntityIdList_;
}
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @return The count of gadgetEntityIdList.
*/
public int getGadgetEntityIdListCount() {
return gadgetEntityIdList_.size();
}
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @param index The index of the element to return.
* @return The gadgetEntityIdList at the given index.
*/
@@ -569,7 +569,7 @@ public final class WidgetGadgetDataOuterClass {
return gadgetEntityIdList_.getInt(index);
}
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @param index The index to set the value at.
* @param value The gadgetEntityIdList to set.
* @return This builder for chaining.
@@ -582,7 +582,7 @@ public final class WidgetGadgetDataOuterClass {
return this;
}
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @param value The gadgetEntityIdList to add.
* @return This builder for chaining.
*/
@@ -593,7 +593,7 @@ public final class WidgetGadgetDataOuterClass {
return this;
}
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @param values The gadgetEntityIdList to add.
* @return This builder for chaining.
*/
@@ -606,7 +606,7 @@ public final class WidgetGadgetDataOuterClass {
return this;
}
/**
* <code>repeated uint32 gadget_entity_id_list = 1;</code>
* <code>repeated uint32 gadget_entity_id_list = 6;</code>
* @return This builder for chaining.
*/
public Builder clearGadgetEntityIdList() {
@@ -618,7 +618,7 @@ public final class WidgetGadgetDataOuterClass {
private int gadgetId_ ;
/**
* <code>uint32 gadget_id = 8;</code>
* <code>uint32 gadget_id = 2;</code>
* @return The gadgetId.
*/
@java.lang.Override
@@ -626,7 +626,7 @@ public final class WidgetGadgetDataOuterClass {
return gadgetId_;
}
/**
* <code>uint32 gadget_id = 8;</code>
* <code>uint32 gadget_id = 2;</code>
* @param value The gadgetId to set.
* @return This builder for chaining.
*/
@@ -637,7 +637,7 @@ public final class WidgetGadgetDataOuterClass {
return this;
}
/**
* <code>uint32 gadget_id = 8;</code>
* <code>uint32 gadget_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearGadgetId() {
@@ -714,8 +714,8 @@ public final class WidgetGadgetDataOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\026WidgetGadgetData.proto\"D\n\020WidgetGadget" +
"Data\022\035\n\025gadget_entity_id_list\030\001 \003(\r\022\021\n\tg" +
"adget_id\030\010 \001(\rB\033\n\031emu.grasscutter.net.pr" +
"Data\022\035\n\025gadget_entity_id_list\030\006 \003(\r\022\021\n\tg" +
"adget_id\030\002 \001(\rB\033\n\031emu.grasscutter.net.pr" +
"otob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor