mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 16:43:43 +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
+30
-22
@@ -19,12 +19,12 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string signature = 3;</code>
|
||||
* <code>string signature = 15;</code>
|
||||
* @return The signature.
|
||||
*/
|
||||
java.lang.String getSignature();
|
||||
/**
|
||||
* <code>string signature = 3;</code>
|
||||
* <code>string signature = 15;</code>
|
||||
* @return The bytes for signature.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
@@ -32,10 +32,14 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4081
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4025;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerSignatureReq}
|
||||
@@ -83,7 +87,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 26: {
|
||||
case 122: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
|
||||
signature_ = s;
|
||||
@@ -121,10 +125,10 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
emu.grasscutter.net.proto.SetPlayerSignatureReqOuterClass.SetPlayerSignatureReq.class, emu.grasscutter.net.proto.SetPlayerSignatureReqOuterClass.SetPlayerSignatureReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int SIGNATURE_FIELD_NUMBER = 3;
|
||||
public static final int SIGNATURE_FIELD_NUMBER = 15;
|
||||
private volatile java.lang.Object signature_;
|
||||
/**
|
||||
* <code>string signature = 3;</code>
|
||||
* <code>string signature = 15;</code>
|
||||
* @return The signature.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -141,7 +145,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 3;</code>
|
||||
* <code>string signature = 15;</code>
|
||||
* @return The bytes for signature.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -174,7 +178,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, signature_);
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, signature_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -186,7 +190,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
|
||||
size = 0;
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, signature_);
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, signature_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -315,10 +319,14 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4081
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4025;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerSignatureReq}
|
||||
@@ -470,7 +478,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
|
||||
private java.lang.Object signature_ = "";
|
||||
/**
|
||||
* <code>string signature = 3;</code>
|
||||
* <code>string signature = 15;</code>
|
||||
* @return The signature.
|
||||
*/
|
||||
public java.lang.String getSignature() {
|
||||
@@ -486,7 +494,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 3;</code>
|
||||
* <code>string signature = 15;</code>
|
||||
* @return The bytes for signature.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
@@ -503,7 +511,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 3;</code>
|
||||
* <code>string signature = 15;</code>
|
||||
* @param value The signature to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -518,7 +526,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 3;</code>
|
||||
* <code>string signature = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSignature() {
|
||||
@@ -528,7 +536,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string signature = 3;</code>
|
||||
* <code>string signature = 15;</code>
|
||||
* @param value The bytes for signature to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -611,7 +619,7 @@ public final class SetPlayerSignatureReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033SetPlayerSignatureReq.proto\"*\n\025SetPlay" +
|
||||
"erSignatureReq\022\021\n\tsignature\030\003 \001(\tB\033\n\031emu" +
|
||||
"erSignatureReq\022\021\n\tsignature\030\017 \001(\tB\033\n\031emu" +
|
||||
".grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user