mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 12:53:34 +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,12 +19,12 @@ public final class SetPlayerNameReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string nick_name = 1;</code>
|
||||
* <code>string nick_name = 13;</code>
|
||||
* @return The nickName.
|
||||
*/
|
||||
java.lang.String getNickName();
|
||||
/**
|
||||
* <code>string nick_name = 1;</code>
|
||||
* <code>string nick_name = 13;</code>
|
||||
* @return The bytes for nickName.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
@@ -32,10 +32,14 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 153
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 173;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerNameReq}
|
||||
@@ -83,7 +87,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 10: {
|
||||
case 106: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
|
||||
nickName_ = s;
|
||||
@@ -121,10 +125,10 @@ public final class SetPlayerNameReqOuterClass {
|
||||
emu.grasscutter.net.proto.SetPlayerNameReqOuterClass.SetPlayerNameReq.class, emu.grasscutter.net.proto.SetPlayerNameReqOuterClass.SetPlayerNameReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int NICK_NAME_FIELD_NUMBER = 1;
|
||||
public static final int NICK_NAME_FIELD_NUMBER = 13;
|
||||
private volatile java.lang.Object nickName_;
|
||||
/**
|
||||
* <code>string nick_name = 1;</code>
|
||||
* <code>string nick_name = 13;</code>
|
||||
* @return The nickName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -141,7 +145,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 1;</code>
|
||||
* <code>string nick_name = 13;</code>
|
||||
* @return The bytes for nickName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -174,7 +178,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nickName_);
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, nickName_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -186,7 +190,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
|
||||
size = 0;
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nickName_);
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, nickName_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -315,10 +319,14 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 153
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 173;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerNameReq}
|
||||
@@ -470,7 +478,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
|
||||
private java.lang.Object nickName_ = "";
|
||||
/**
|
||||
* <code>string nick_name = 1;</code>
|
||||
* <code>string nick_name = 13;</code>
|
||||
* @return The nickName.
|
||||
*/
|
||||
public java.lang.String getNickName() {
|
||||
@@ -486,7 +494,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 1;</code>
|
||||
* <code>string nick_name = 13;</code>
|
||||
* @return The bytes for nickName.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
@@ -503,7 +511,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 1;</code>
|
||||
* <code>string nick_name = 13;</code>
|
||||
* @param value The nickName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -518,7 +526,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 1;</code>
|
||||
* <code>string nick_name = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearNickName() {
|
||||
@@ -528,7 +536,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 1;</code>
|
||||
* <code>string nick_name = 13;</code>
|
||||
* @param value The bytes for nickName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -611,7 +619,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\026SetPlayerNameReq.proto\"%\n\020SetPlayerNam" +
|
||||
"eReq\022\021\n\tnick_name\030\001 \001(\tB\033\n\031emu.grasscutt" +
|
||||
"eReq\022\021\n\tnick_name\030\r \001(\tB\033\n\031emu.grasscutt" +
|
||||
"er.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user