mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 13:22:52 +08:00
Add support for game version 3.6 (#2110)
* Update to game version `3.6.0` (pt. 1) not complete! * Update to game version `3.6.0` (pt. 2) not complete! * Update compiled definitions
This commit is contained in:
@@ -19,21 +19,21 @@ public final class PlayerChatRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 10;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 2;</code>
|
||||
* @return The chatForbiddenEndtime.
|
||||
*/
|
||||
int getChatForbiddenEndtime();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FCOCJOMDEDM
|
||||
* CmdId: 3070
|
||||
* CmdId: 3425
|
||||
* Name: LHGABNCEJMG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerChatRsp}
|
||||
@@ -80,16 +80,16 @@ public final class PlayerChatRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
case 16: {
|
||||
|
||||
chatForbiddenEndtime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -122,21 +122,10 @@ public final class PlayerChatRspOuterClass {
|
||||
emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp.class, emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 1;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int CHAT_FORBIDDEN_ENDTIME_FIELD_NUMBER = 10;
|
||||
public static final int CHAT_FORBIDDEN_ENDTIME_FIELD_NUMBER = 2;
|
||||
private int chatForbiddenEndtime_;
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 10;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 2;</code>
|
||||
* @return The chatForbiddenEndtime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -144,6 +133,17 @@ public final class PlayerChatRspOuterClass {
|
||||
return chatForbiddenEndtime_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 9;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -158,11 +158,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(1, retcode_);
|
||||
}
|
||||
if (chatForbiddenEndtime_ != 0) {
|
||||
output.writeUInt32(10, chatForbiddenEndtime_);
|
||||
output.writeUInt32(2, chatForbiddenEndtime_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(9, retcode_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -173,13 +173,13 @@ public final class PlayerChatRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(1, retcode_);
|
||||
}
|
||||
if (chatForbiddenEndtime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, chatForbiddenEndtime_);
|
||||
.computeUInt32Size(2, chatForbiddenEndtime_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(9, retcode_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -196,10 +196,10 @@ public final class PlayerChatRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp other = (emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp) obj;
|
||||
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getChatForbiddenEndtime()
|
||||
!= other.getChatForbiddenEndtime()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -211,10 +211,10 @@ public final class PlayerChatRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + CHAT_FORBIDDEN_ENDTIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getChatForbiddenEndtime();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -312,8 +312,8 @@ public final class PlayerChatRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FCOCJOMDEDM
|
||||
* CmdId: 3070
|
||||
* CmdId: 3425
|
||||
* Name: LHGABNCEJMG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerChatRsp}
|
||||
@@ -353,10 +353,10 @@ public final class PlayerChatRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
retcode_ = 0;
|
||||
|
||||
chatForbiddenEndtime_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -383,8 +383,8 @@ public final class PlayerChatRspOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp result = new emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp(this);
|
||||
result.retcode_ = retcode_;
|
||||
result.chatForbiddenEndtime_ = chatForbiddenEndtime_;
|
||||
result.retcode_ = retcode_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -433,12 +433,12 @@ public final class PlayerChatRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp.getDefaultInstance()) return this;
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getChatForbiddenEndtime() != 0) {
|
||||
setChatForbiddenEndtime(other.getChatForbiddenEndtime());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -468,40 +468,9 @@ public final class PlayerChatRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int chatForbiddenEndtime_ ;
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 10;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 2;</code>
|
||||
* @return The chatForbiddenEndtime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -509,7 +478,7 @@ public final class PlayerChatRspOuterClass {
|
||||
return chatForbiddenEndtime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 10;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 2;</code>
|
||||
* @param value The chatForbiddenEndtime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -520,7 +489,7 @@ public final class PlayerChatRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 chat_forbidden_endtime = 10;</code>
|
||||
* <code>uint32 chat_forbidden_endtime = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearChatForbiddenEndtime() {
|
||||
@@ -529,6 +498,37 @@ public final class PlayerChatRspOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -596,9 +596,9 @@ public final class PlayerChatRspOuterClass {
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\023PlayerChatRsp.proto\"@\n\rPlayerChatRsp\022\017" +
|
||||
"\n\007retcode\030\001 \001(\005\022\036\n\026chat_forbidden_endtim" +
|
||||
"e\030\n \001(\rB\033\n\031emu.grasscutter.net.protob\006pr" +
|
||||
"\n\023PlayerChatRsp.proto\"@\n\rPlayerChatRsp\022\036" +
|
||||
"\n\026chat_forbidden_endtime\030\002 \001(\r\022\017\n\007retcod" +
|
||||
"e\030\t \001(\005B\033\n\031emu.grasscutter.net.protob\006pr" +
|
||||
"oto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -610,7 +610,7 @@ public final class PlayerChatRspOuterClass {
|
||||
internal_static_PlayerChatRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_PlayerChatRsp_descriptor,
|
||||
new java.lang.String[] { "Retcode", "ChatForbiddenEndtime", });
|
||||
new java.lang.String[] { "ChatForbiddenEndtime", "Retcode", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user