mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 15:40:42 +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
@@ -19,23 +19,26 @@ public final class PlayerChatRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 15;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 8;</code>
|
||||
* @return The chatForbiddenEndtime.
|
||||
*/
|
||||
int getChatForbiddenEndtime();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 3228
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 3087;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerChatRsp}
|
||||
@@ -82,16 +85,16 @@ public final class PlayerChatRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
case 64: {
|
||||
|
||||
chatForbiddenEndtime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -124,10 +127,10 @@ public final class PlayerChatRspOuterClass {
|
||||
emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp.class, emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int CHAT_FORBIDDEN_ENDTIME_FIELD_NUMBER = 15;
|
||||
public static final int CHAT_FORBIDDEN_ENDTIME_FIELD_NUMBER = 8;
|
||||
private int chatForbiddenEndtime_;
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 15;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 8;</code>
|
||||
* @return The chatForbiddenEndtime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -135,10 +138,10 @@ public final class PlayerChatRspOuterClass {
|
||||
return chatForbiddenEndtime_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 2;
|
||||
public static final int RETCODE_FIELD_NUMBER = 12;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -160,11 +163,11 @@ public final class PlayerChatRspOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(2, retcode_);
|
||||
}
|
||||
if (chatForbiddenEndtime_ != 0) {
|
||||
output.writeUInt32(15, chatForbiddenEndtime_);
|
||||
output.writeUInt32(8, chatForbiddenEndtime_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(12, retcode_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -175,13 +178,13 @@ public final class PlayerChatRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(2, retcode_);
|
||||
}
|
||||
if (chatForbiddenEndtime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(15, chatForbiddenEndtime_);
|
||||
.computeUInt32Size(8, chatForbiddenEndtime_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(12, retcode_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -314,10 +317,13 @@ public final class PlayerChatRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 3228
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 3087;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerChatRsp}
|
||||
@@ -474,7 +480,7 @@ public final class PlayerChatRspOuterClass {
|
||||
|
||||
private int chatForbiddenEndtime_ ;
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 15;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 8;</code>
|
||||
* @return The chatForbiddenEndtime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -482,7 +488,7 @@ public final class PlayerChatRspOuterClass {
|
||||
return chatForbiddenEndtime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 15;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 8;</code>
|
||||
* @param value The chatForbiddenEndtime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -493,7 +499,7 @@ public final class PlayerChatRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 15;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearChatForbiddenEndtime() {
|
||||
@@ -505,7 +511,7 @@ public final class PlayerChatRspOuterClass {
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -513,7 +519,7 @@ public final class PlayerChatRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -524,7 +530,7 @@ public final class PlayerChatRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -601,8 +607,8 @@ public final class PlayerChatRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\023PlayerChatRsp.proto\"@\n\rPlayerChatRsp\022\036" +
|
||||
"\n\026chat_forbidden_endtime\030\017 \001(\r\022\017\n\007retcod" +
|
||||
"e\030\002 \001(\005B\033\n\031emu.grasscutter.net.protob\006pr" +
|
||||
"\n\026chat_forbidden_endtime\030\010 \001(\r\022\017\n\007retcod" +
|
||||
"e\030\014 \001(\005B\033\n\031emu.grasscutter.net.protob\006pr" +
|
||||
"oto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user