mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 12:53:34 +08:00
Upgrade to REL3.7 (#2164)
* Remove hardcoded quest data * Remove deprecated fields * Try to fix packet * Apply fix for token exchange * Upgrade to REL3.7 * Add obfuscated protocol definitions * Add missing enum (other protos too maybe) * Re-add field setters and add note on removal
This commit is contained in:
@@ -19,12 +19,12 @@ public final class SetPlayerNameReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string nick_name = 3;</code>
|
||||
* <code>string nick_name = 8;</code>
|
||||
* @return The nickName.
|
||||
*/
|
||||
java.lang.String getNickName();
|
||||
/**
|
||||
* <code>string nick_name = 3;</code>
|
||||
* <code>string nick_name = 8;</code>
|
||||
* @return The bytes for nickName.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
@@ -32,8 +32,8 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 194
|
||||
* Name: LADACODDNGA
|
||||
* CmdId: 168
|
||||
* Obf: MNAKOMCEIOL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerNameReq}
|
||||
@@ -81,7 +81,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 26: {
|
||||
case 66: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
|
||||
nickName_ = s;
|
||||
@@ -119,10 +119,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 = 3;
|
||||
public static final int NICK_NAME_FIELD_NUMBER = 8;
|
||||
private volatile java.lang.Object nickName_;
|
||||
/**
|
||||
* <code>string nick_name = 3;</code>
|
||||
* <code>string nick_name = 8;</code>
|
||||
* @return The nickName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -139,7 +139,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 3;</code>
|
||||
* <code>string nick_name = 8;</code>
|
||||
* @return The bytes for nickName.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -172,7 +172,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, 3, nickName_);
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, nickName_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -184,7 +184,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
|
||||
size = 0;
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickName_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nickName_);
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, nickName_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -313,8 +313,8 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 194
|
||||
* Name: LADACODDNGA
|
||||
* CmdId: 168
|
||||
* Obf: MNAKOMCEIOL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerNameReq}
|
||||
@@ -466,7 +466,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
|
||||
private java.lang.Object nickName_ = "";
|
||||
/**
|
||||
* <code>string nick_name = 3;</code>
|
||||
* <code>string nick_name = 8;</code>
|
||||
* @return The nickName.
|
||||
*/
|
||||
public java.lang.String getNickName() {
|
||||
@@ -482,7 +482,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 3;</code>
|
||||
* <code>string nick_name = 8;</code>
|
||||
* @return The bytes for nickName.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
@@ -499,7 +499,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 3;</code>
|
||||
* <code>string nick_name = 8;</code>
|
||||
* @param value The nickName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -514,7 +514,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 3;</code>
|
||||
* <code>string nick_name = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearNickName() {
|
||||
@@ -524,7 +524,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string nick_name = 3;</code>
|
||||
* <code>string nick_name = 8;</code>
|
||||
* @param value The bytes for nickName to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -607,7 +607,7 @@ public final class SetPlayerNameReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\026SetPlayerNameReq.proto\"%\n\020SetPlayerNam" +
|
||||
"eReq\022\021\n\tnick_name\030\003 \001(\tB\033\n\031emu.grasscutt" +
|
||||
"eReq\022\021\n\tnick_name\030\010 \001(\tB\033\n\031emu.grasscutt" +
|
||||
"er.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user