mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-18 11:39:54 +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:
+77
-77
@@ -19,21 +19,21 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 content_type = 12;</code>
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* @return The contentType.
|
||||
*/
|
||||
int getContentType();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: LNEHHKPDPHL
|
||||
* CmdId: 472
|
||||
* CmdId: 441
|
||||
* Name: DABGGEPNIEP
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AddQuestContentProgressRsp}
|
||||
@@ -80,12 +80,12 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 40: {
|
||||
case 16: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
case 56: {
|
||||
|
||||
contentType_ = input.readUInt32();
|
||||
break;
|
||||
@@ -122,21 +122,10 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp.class, emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 5;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int CONTENT_TYPE_FIELD_NUMBER = 12;
|
||||
public static final int CONTENT_TYPE_FIELD_NUMBER = 7;
|
||||
private int contentType_;
|
||||
/**
|
||||
* <code>uint32 content_type = 12;</code>
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* @return The contentType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -144,6 +133,17 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
return contentType_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 2;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -159,10 +159,10 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(5, retcode_);
|
||||
output.writeInt32(2, retcode_);
|
||||
}
|
||||
if (contentType_ != 0) {
|
||||
output.writeUInt32(12, contentType_);
|
||||
output.writeUInt32(7, contentType_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -175,11 +175,11 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
size = 0;
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(5, retcode_);
|
||||
.computeInt32Size(2, retcode_);
|
||||
}
|
||||
if (contentType_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(12, contentType_);
|
||||
.computeUInt32Size(7, contentType_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -196,10 +196,10 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp other = (emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp) obj;
|
||||
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getContentType()
|
||||
!= other.getContentType()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -211,10 +211,10 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getContentType();
|
||||
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 AddQuestContentProgressRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: LNEHHKPDPHL
|
||||
* CmdId: 472
|
||||
* CmdId: 441
|
||||
* Name: DABGGEPNIEP
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AddQuestContentProgressRsp}
|
||||
@@ -353,10 +353,10 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
retcode_ = 0;
|
||||
|
||||
contentType_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -383,8 +383,8 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp result = new emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp(this);
|
||||
result.retcode_ = retcode_;
|
||||
result.contentType_ = contentType_;
|
||||
result.retcode_ = retcode_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -433,12 +433,12 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.AddQuestContentProgressRspOuterClass.AddQuestContentProgressRsp.getDefaultInstance()) return this;
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getContentType() != 0) {
|
||||
setContentType(other.getContentType());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -468,40 +468,9 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 5;</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 = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int contentType_ ;
|
||||
/**
|
||||
* <code>uint32 content_type = 12;</code>
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* @return The contentType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -509,7 +478,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
return contentType_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 content_type = 12;</code>
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* @param value The contentType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -520,7 +489,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 content_type = 12;</code>
|
||||
* <code>uint32 content_type = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearContentType() {
|
||||
@@ -529,6 +498,37 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 2;</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 = 2;</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) {
|
||||
@@ -597,8 +597,8 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n AddQuestContentProgressRsp.proto\"C\n\032Ad" +
|
||||
"dQuestContentProgressRsp\022\017\n\007retcode\030\005 \001(" +
|
||||
"\005\022\024\n\014content_type\030\014 \001(\rB\033\n\031emu.grasscutt" +
|
||||
"dQuestContentProgressRsp\022\024\n\014content_type" +
|
||||
"\030\007 \001(\r\022\017\n\007retcode\030\002 \001(\005B\033\n\031emu.grasscutt" +
|
||||
"er.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -610,7 +610,7 @@ public final class AddQuestContentProgressRspOuterClass {
|
||||
internal_static_AddQuestContentProgressRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_AddQuestContentProgressRsp_descriptor,
|
||||
new java.lang.String[] { "Retcode", "ContentType", });
|
||||
new java.lang.String[] { "ContentType", "Retcode", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user