mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 11:59:54 +08:00
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:
committed by
GitHub
Unverified
parent
8b83dbf58c
commit
92fbaa8670
+43
-37
@@ -19,23 +19,26 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 schedule_id = 2;</code>
|
||||
* <code>uint32 schedule_id = 13;</code>
|
||||
* @return The scheduleId.
|
||||
*/
|
||||
int getScheduleId();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2642
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 2645;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetBattlePassViewedRsp}
|
||||
@@ -82,16 +85,16 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
|
||||
scheduleId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
case 48: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
|
||||
scheduleId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -124,10 +127,10 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp.class, emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int SCHEDULE_ID_FIELD_NUMBER = 2;
|
||||
public static final int SCHEDULE_ID_FIELD_NUMBER = 13;
|
||||
private int scheduleId_;
|
||||
/**
|
||||
* <code>uint32 schedule_id = 2;</code>
|
||||
* <code>uint32 schedule_id = 13;</code>
|
||||
* @return The scheduleId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -135,10 +138,10 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
return scheduleId_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 3;
|
||||
public static final int RETCODE_FIELD_NUMBER = 6;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -160,11 +163,11 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (scheduleId_ != 0) {
|
||||
output.writeUInt32(2, scheduleId_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(3, retcode_);
|
||||
output.writeInt32(6, retcode_);
|
||||
}
|
||||
if (scheduleId_ != 0) {
|
||||
output.writeUInt32(13, scheduleId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -175,13 +178,13 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (scheduleId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(2, scheduleId_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(3, retcode_);
|
||||
.computeInt32Size(6, retcode_);
|
||||
}
|
||||
if (scheduleId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(13, scheduleId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -314,10 +317,13 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2642
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 2645;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetBattlePassViewedRsp}
|
||||
@@ -474,7 +480,7 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
|
||||
private int scheduleId_ ;
|
||||
/**
|
||||
* <code>uint32 schedule_id = 2;</code>
|
||||
* <code>uint32 schedule_id = 13;</code>
|
||||
* @return The scheduleId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -482,7 +488,7 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
return scheduleId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 schedule_id = 2;</code>
|
||||
* <code>uint32 schedule_id = 13;</code>
|
||||
* @param value The scheduleId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -493,7 +499,7 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 schedule_id = 2;</code>
|
||||
* <code>uint32 schedule_id = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearScheduleId() {
|
||||
@@ -505,7 +511,7 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -513,7 +519,7 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -524,7 +530,7 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -601,8 +607,8 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\034SetBattlePassViewedRsp.proto\">\n\026SetBat" +
|
||||
"tlePassViewedRsp\022\023\n\013schedule_id\030\002 \001(\r\022\017\n" +
|
||||
"\007retcode\030\003 \001(\005B\033\n\031emu.grasscutter.net.pr" +
|
||||
"tlePassViewedRsp\022\023\n\013schedule_id\030\r \001(\r\022\017\n" +
|
||||
"\007retcode\030\006 \001(\005B\033\n\031emu.grasscutter.net.pr" +
|
||||
"otob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user