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:
Magix
2023-04-30 19:08:54 -07:00
committed by GitHub
Unverified
parent 60e8106b01
commit c4f1208f45
1323 changed files with 434863 additions and 141164 deletions
@@ -19,19 +19,7 @@ public final class QuestUpdateQuestVarRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 2;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 quest_id = 13;</code>
* @return The questId.
*/
int getQuestId();
/**
* <code>uint32 parent_quest_id = 14;</code>
* <code>uint32 parent_quest_id = 12;</code>
* @return The parentQuestId.
*/
int getParentQuestId();
@@ -41,11 +29,23 @@ public final class QuestUpdateQuestVarRspOuterClass {
* @return The parentQuestVarSeq.
*/
int getParentQuestVarSeq();
/**
* <code>uint32 quest_id = 14;</code>
* @return The questId.
*/
int getQuestId();
/**
* <code>int32 retcode = 6;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* Name: NCFJPDCCNBF
* CmdId: 456
* CmdId: 442
* Name: GDOPKNJDFAL
* </pre>
*
* Protobuf type {@code QuestUpdateQuestVarRsp}
@@ -92,7 +92,7 @@ public final class QuestUpdateQuestVarRspOuterClass {
case 0:
done = true;
break;
case 16: {
case 48: {
retcode_ = input.readInt32();
break;
@@ -102,14 +102,14 @@ public final class QuestUpdateQuestVarRspOuterClass {
parentQuestVarSeq_ = input.readUInt32();
break;
}
case 104: {
case 96: {
questId_ = input.readUInt32();
parentQuestId_ = input.readUInt32();
break;
}
case 112: {
parentQuestId_ = input.readUInt32();
questId_ = input.readUInt32();
break;
}
default: {
@@ -144,32 +144,10 @@ public final class QuestUpdateQuestVarRspOuterClass {
emu.grasscutter.net.proto.QuestUpdateQuestVarRspOuterClass.QuestUpdateQuestVarRsp.class, emu.grasscutter.net.proto.QuestUpdateQuestVarRspOuterClass.QuestUpdateQuestVarRsp.Builder.class);
}
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_;
}
public static final int QUEST_ID_FIELD_NUMBER = 13;
private int questId_;
/**
* <code>uint32 quest_id = 13;</code>
* @return The questId.
*/
@java.lang.Override
public int getQuestId() {
return questId_;
}
public static final int PARENT_QUEST_ID_FIELD_NUMBER = 14;
public static final int PARENT_QUEST_ID_FIELD_NUMBER = 12;
private int parentQuestId_;
/**
* <code>uint32 parent_quest_id = 14;</code>
* <code>uint32 parent_quest_id = 12;</code>
* @return The parentQuestId.
*/
@java.lang.Override
@@ -188,6 +166,28 @@ public final class QuestUpdateQuestVarRspOuterClass {
return parentQuestVarSeq_;
}
public static final int QUEST_ID_FIELD_NUMBER = 14;
private int questId_;
/**
* <code>uint32 quest_id = 14;</code>
* @return The questId.
*/
@java.lang.Override
public int getQuestId() {
return questId_;
}
public static final int RETCODE_FIELD_NUMBER = 6;
private int retcode_;
/**
* <code>int32 retcode = 6;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -203,16 +203,16 @@ public final class QuestUpdateQuestVarRspOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(2, retcode_);
output.writeInt32(6, retcode_);
}
if (parentQuestVarSeq_ != 0) {
output.writeUInt32(10, parentQuestVarSeq_);
}
if (questId_ != 0) {
output.writeUInt32(13, questId_);
}
if (parentQuestId_ != 0) {
output.writeUInt32(14, parentQuestId_);
output.writeUInt32(12, parentQuestId_);
}
if (questId_ != 0) {
output.writeUInt32(14, questId_);
}
unknownFields.writeTo(output);
}
@@ -225,19 +225,19 @@ public final class QuestUpdateQuestVarRspOuterClass {
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, retcode_);
.computeInt32Size(6, retcode_);
}
if (parentQuestVarSeq_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, parentQuestVarSeq_);
}
if (questId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, questId_);
}
if (parentQuestId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, parentQuestId_);
.computeUInt32Size(12, parentQuestId_);
}
if (questId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, questId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -254,14 +254,14 @@ public final class QuestUpdateQuestVarRspOuterClass {
}
emu.grasscutter.net.proto.QuestUpdateQuestVarRspOuterClass.QuestUpdateQuestVarRsp other = (emu.grasscutter.net.proto.QuestUpdateQuestVarRspOuterClass.QuestUpdateQuestVarRsp) obj;
if (getRetcode()
!= other.getRetcode()) return false;
if (getQuestId()
!= other.getQuestId()) return false;
if (getParentQuestId()
!= other.getParentQuestId()) return false;
if (getParentQuestVarSeq()
!= other.getParentQuestVarSeq()) return false;
if (getQuestId()
!= other.getQuestId()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -273,14 +273,14 @@ public final class QuestUpdateQuestVarRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getQuestId();
hash = (37 * hash) + PARENT_QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getParentQuestId();
hash = (37 * hash) + PARENT_QUEST_VAR_SEQ_FIELD_NUMBER;
hash = (53 * hash) + getParentQuestVarSeq();
hash = (37 * hash) + QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getQuestId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -378,8 +378,8 @@ public final class QuestUpdateQuestVarRspOuterClass {
}
/**
* <pre>
* Name: NCFJPDCCNBF
* CmdId: 456
* CmdId: 442
* Name: GDOPKNJDFAL
* </pre>
*
* Protobuf type {@code QuestUpdateQuestVarRsp}
@@ -419,14 +419,14 @@ public final class QuestUpdateQuestVarRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
retcode_ = 0;
questId_ = 0;
parentQuestId_ = 0;
parentQuestVarSeq_ = 0;
questId_ = 0;
retcode_ = 0;
return this;
}
@@ -453,10 +453,10 @@ public final class QuestUpdateQuestVarRspOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.QuestUpdateQuestVarRspOuterClass.QuestUpdateQuestVarRsp buildPartial() {
emu.grasscutter.net.proto.QuestUpdateQuestVarRspOuterClass.QuestUpdateQuestVarRsp result = new emu.grasscutter.net.proto.QuestUpdateQuestVarRspOuterClass.QuestUpdateQuestVarRsp(this);
result.retcode_ = retcode_;
result.questId_ = questId_;
result.parentQuestId_ = parentQuestId_;
result.parentQuestVarSeq_ = parentQuestVarSeq_;
result.questId_ = questId_;
result.retcode_ = retcode_;
onBuilt();
return result;
}
@@ -505,18 +505,18 @@ public final class QuestUpdateQuestVarRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.QuestUpdateQuestVarRspOuterClass.QuestUpdateQuestVarRsp other) {
if (other == emu.grasscutter.net.proto.QuestUpdateQuestVarRspOuterClass.QuestUpdateQuestVarRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getQuestId() != 0) {
setQuestId(other.getQuestId());
}
if (other.getParentQuestId() != 0) {
setParentQuestId(other.getParentQuestId());
}
if (other.getParentQuestVarSeq() != 0) {
setParentQuestVarSeq(other.getParentQuestVarSeq());
}
if (other.getQuestId() != 0) {
setQuestId(other.getQuestId());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -546,71 +546,9 @@ public final class QuestUpdateQuestVarRspOuterClass {
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;
}
private int questId_ ;
/**
* <code>uint32 quest_id = 13;</code>
* @return The questId.
*/
@java.lang.Override
public int getQuestId() {
return questId_;
}
/**
* <code>uint32 quest_id = 13;</code>
* @param value The questId to set.
* @return This builder for chaining.
*/
public Builder setQuestId(int value) {
questId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 quest_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearQuestId() {
questId_ = 0;
onChanged();
return this;
}
private int parentQuestId_ ;
/**
* <code>uint32 parent_quest_id = 14;</code>
* <code>uint32 parent_quest_id = 12;</code>
* @return The parentQuestId.
*/
@java.lang.Override
@@ -618,7 +556,7 @@ public final class QuestUpdateQuestVarRspOuterClass {
return parentQuestId_;
}
/**
* <code>uint32 parent_quest_id = 14;</code>
* <code>uint32 parent_quest_id = 12;</code>
* @param value The parentQuestId to set.
* @return This builder for chaining.
*/
@@ -629,7 +567,7 @@ public final class QuestUpdateQuestVarRspOuterClass {
return this;
}
/**
* <code>uint32 parent_quest_id = 14;</code>
* <code>uint32 parent_quest_id = 12;</code>
* @return This builder for chaining.
*/
public Builder clearParentQuestId() {
@@ -669,6 +607,68 @@ public final class QuestUpdateQuestVarRspOuterClass {
onChanged();
return this;
}
private int questId_ ;
/**
* <code>uint32 quest_id = 14;</code>
* @return The questId.
*/
@java.lang.Override
public int getQuestId() {
return questId_;
}
/**
* <code>uint32 quest_id = 14;</code>
* @param value The questId to set.
* @return This builder for chaining.
*/
public Builder setQuestId(int value) {
questId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 quest_id = 14;</code>
* @return This builder for chaining.
*/
public Builder clearQuestId() {
questId_ = 0;
onChanged();
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 6;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 6;</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 = 6;</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) {
@@ -737,9 +737,9 @@ public final class QuestUpdateQuestVarRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\034QuestUpdateQuestVarRsp.proto\"r\n\026QuestU" +
"pdateQuestVarRsp\022\017\n\007retcode\030\002 \001(\005\022\020\n\010que" +
"st_id\030\r \001(\r\022\027\n\017parent_quest_id\030\016 \001(\r\022\034\n\024" +
"parent_quest_var_seq\030\n \001(\rB\033\n\031emu.grassc" +
"pdateQuestVarRsp\022\027\n\017parent_quest_id\030\014 \001(" +
"\r\022\034\n\024parent_quest_var_seq\030\n \001(\r\022\020\n\010quest" +
"_id\030\016 \001(\r\022\017\n\007retcode\030\006 \001(\005B\033\n\031emu.grassc" +
"utter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -751,7 +751,7 @@ public final class QuestUpdateQuestVarRspOuterClass {
internal_static_QuestUpdateQuestVarRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_QuestUpdateQuestVarRsp_descriptor,
new java.lang.String[] { "Retcode", "QuestId", "ParentQuestId", "ParentQuestVarSeq", });
new java.lang.String[] { "ParentQuestId", "ParentQuestVarSeq", "QuestId", "Retcode", });
}
// @@protoc_insertion_point(outer_class_scope)