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,29 +19,33 @@ public final class AddQuestContentProgressReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 content_type = 6;</code>
* <code>uint32 content_type = 1;</code>
* @return The contentType.
*/
int getContentType();
/**
* <code>uint32 param = 12;</code>
* @return The param.
*/
int getParam();
/**
* <code>uint32 add_progress = 15;</code>
* <code>uint32 add_progress = 6;</code>
* @return The addProgress.
*/
int getAddProgress();
/**
* <code>uint32 param = 11;</code>
* @return The param.
*/
int getParam();
}
/**
* <pre>
* CmdId: 421
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 443;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code AddQuestContentProgressReq}
@@ -88,21 +92,21 @@ public final class AddQuestContentProgressReqOuterClass {
case 0:
done = true;
break;
case 48: {
case 8: {
contentType_ = input.readUInt32();
break;
}
case 96: {
param_ = input.readUInt32();
break;
}
case 120: {
case 48: {
addProgress_ = input.readUInt32();
break;
}
case 88: {
param_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -135,10 +139,10 @@ public final class AddQuestContentProgressReqOuterClass {
emu.grasscutter.net.proto.AddQuestContentProgressReqOuterClass.AddQuestContentProgressReq.class, emu.grasscutter.net.proto.AddQuestContentProgressReqOuterClass.AddQuestContentProgressReq.Builder.class);
}
public static final int CONTENT_TYPE_FIELD_NUMBER = 6;
public static final int CONTENT_TYPE_FIELD_NUMBER = 1;
private int contentType_;
/**
* <code>uint32 content_type = 6;</code>
* <code>uint32 content_type = 1;</code>
* @return The contentType.
*/
@java.lang.Override
@@ -146,21 +150,10 @@ public final class AddQuestContentProgressReqOuterClass {
return contentType_;
}
public static final int PARAM_FIELD_NUMBER = 12;
private int param_;
/**
* <code>uint32 param = 12;</code>
* @return The param.
*/
@java.lang.Override
public int getParam() {
return param_;
}
public static final int ADD_PROGRESS_FIELD_NUMBER = 15;
public static final int ADD_PROGRESS_FIELD_NUMBER = 6;
private int addProgress_;
/**
* <code>uint32 add_progress = 15;</code>
* <code>uint32 add_progress = 6;</code>
* @return The addProgress.
*/
@java.lang.Override
@@ -168,6 +161,17 @@ public final class AddQuestContentProgressReqOuterClass {
return addProgress_;
}
public static final int PARAM_FIELD_NUMBER = 11;
private int param_;
/**
* <code>uint32 param = 11;</code>
* @return The param.
*/
@java.lang.Override
public int getParam() {
return param_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -183,13 +187,13 @@ public final class AddQuestContentProgressReqOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (contentType_ != 0) {
output.writeUInt32(6, contentType_);
}
if (param_ != 0) {
output.writeUInt32(12, param_);
output.writeUInt32(1, contentType_);
}
if (addProgress_ != 0) {
output.writeUInt32(15, addProgress_);
output.writeUInt32(6, addProgress_);
}
if (param_ != 0) {
output.writeUInt32(11, param_);
}
unknownFields.writeTo(output);
}
@@ -202,15 +206,15 @@ public final class AddQuestContentProgressReqOuterClass {
size = 0;
if (contentType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, contentType_);
}
if (param_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, param_);
.computeUInt32Size(1, contentType_);
}
if (addProgress_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, addProgress_);
.computeUInt32Size(6, addProgress_);
}
if (param_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, param_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -229,10 +233,10 @@ public final class AddQuestContentProgressReqOuterClass {
if (getContentType()
!= other.getContentType()) return false;
if (getParam()
!= other.getParam()) return false;
if (getAddProgress()
!= other.getAddProgress()) return false;
if (getParam()
!= other.getParam()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -246,10 +250,10 @@ public final class AddQuestContentProgressReqOuterClass {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getContentType();
hash = (37 * hash) + PARAM_FIELD_NUMBER;
hash = (53 * hash) + getParam();
hash = (37 * hash) + ADD_PROGRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddProgress();
hash = (37 * hash) + PARAM_FIELD_NUMBER;
hash = (53 * hash) + getParam();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -347,10 +351,14 @@ public final class AddQuestContentProgressReqOuterClass {
}
/**
* <pre>
* CmdId: 421
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 443;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code AddQuestContentProgressReq}
@@ -392,10 +400,10 @@ public final class AddQuestContentProgressReqOuterClass {
super.clear();
contentType_ = 0;
param_ = 0;
addProgress_ = 0;
param_ = 0;
return this;
}
@@ -423,8 +431,8 @@ public final class AddQuestContentProgressReqOuterClass {
public emu.grasscutter.net.proto.AddQuestContentProgressReqOuterClass.AddQuestContentProgressReq buildPartial() {
emu.grasscutter.net.proto.AddQuestContentProgressReqOuterClass.AddQuestContentProgressReq result = new emu.grasscutter.net.proto.AddQuestContentProgressReqOuterClass.AddQuestContentProgressReq(this);
result.contentType_ = contentType_;
result.param_ = param_;
result.addProgress_ = addProgress_;
result.param_ = param_;
onBuilt();
return result;
}
@@ -476,12 +484,12 @@ public final class AddQuestContentProgressReqOuterClass {
if (other.getContentType() != 0) {
setContentType(other.getContentType());
}
if (other.getParam() != 0) {
setParam(other.getParam());
}
if (other.getAddProgress() != 0) {
setAddProgress(other.getAddProgress());
}
if (other.getParam() != 0) {
setParam(other.getParam());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -513,7 +521,7 @@ public final class AddQuestContentProgressReqOuterClass {
private int contentType_ ;
/**
* <code>uint32 content_type = 6;</code>
* <code>uint32 content_type = 1;</code>
* @return The contentType.
*/
@java.lang.Override
@@ -521,7 +529,7 @@ public final class AddQuestContentProgressReqOuterClass {
return contentType_;
}
/**
* <code>uint32 content_type = 6;</code>
* <code>uint32 content_type = 1;</code>
* @param value The contentType to set.
* @return This builder for chaining.
*/
@@ -532,7 +540,7 @@ public final class AddQuestContentProgressReqOuterClass {
return this;
}
/**
* <code>uint32 content_type = 6;</code>
* <code>uint32 content_type = 1;</code>
* @return This builder for chaining.
*/
public Builder clearContentType() {
@@ -542,40 +550,9 @@ public final class AddQuestContentProgressReqOuterClass {
return this;
}
private int param_ ;
/**
* <code>uint32 param = 12;</code>
* @return The param.
*/
@java.lang.Override
public int getParam() {
return param_;
}
/**
* <code>uint32 param = 12;</code>
* @param value The param to set.
* @return This builder for chaining.
*/
public Builder setParam(int value) {
param_ = value;
onChanged();
return this;
}
/**
* <code>uint32 param = 12;</code>
* @return This builder for chaining.
*/
public Builder clearParam() {
param_ = 0;
onChanged();
return this;
}
private int addProgress_ ;
/**
* <code>uint32 add_progress = 15;</code>
* <code>uint32 add_progress = 6;</code>
* @return The addProgress.
*/
@java.lang.Override
@@ -583,7 +560,7 @@ public final class AddQuestContentProgressReqOuterClass {
return addProgress_;
}
/**
* <code>uint32 add_progress = 15;</code>
* <code>uint32 add_progress = 6;</code>
* @param value The addProgress to set.
* @return This builder for chaining.
*/
@@ -594,7 +571,7 @@ public final class AddQuestContentProgressReqOuterClass {
return this;
}
/**
* <code>uint32 add_progress = 15;</code>
* <code>uint32 add_progress = 6;</code>
* @return This builder for chaining.
*/
public Builder clearAddProgress() {
@@ -603,6 +580,37 @@ public final class AddQuestContentProgressReqOuterClass {
onChanged();
return this;
}
private int param_ ;
/**
* <code>uint32 param = 11;</code>
* @return The param.
*/
@java.lang.Override
public int getParam() {
return param_;
}
/**
* <code>uint32 param = 11;</code>
* @param value The param to set.
* @return This builder for chaining.
*/
public Builder setParam(int value) {
param_ = value;
onChanged();
return this;
}
/**
* <code>uint32 param = 11;</code>
* @return This builder for chaining.
*/
public Builder clearParam() {
param_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -672,7 +680,7 @@ public final class AddQuestContentProgressReqOuterClass {
java.lang.String[] descriptorData = {
"\n AddQuestContentProgressReq.proto\"W\n\032Ad" +
"dQuestContentProgressReq\022\024\n\014content_type" +
"\030\006 \001(\r\022\r\n\005param\030\014 \001(\r\022\024\n\014add_progress\030\017 " +
"\030\001 \001(\r\022\024\n\014add_progress\030\006 \001(\r\022\r\n\005param\030\013 " +
"\001(\rB\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -684,7 +692,7 @@ public final class AddQuestContentProgressReqOuterClass {
internal_static_AddQuestContentProgressReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AddQuestContentProgressReq_descriptor,
new java.lang.String[] { "ContentType", "Param", "AddProgress", });
new java.lang.String[] { "ContentType", "AddProgress", "Param", });
}
// @@protoc_insertion_point(outer_class_scope)