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,27 +19,27 @@ public final class QuestDestroyNpcRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 parent_quest_id = 5;</code>
* <code>int32 retcode = 8;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 parent_quest_id = 14;</code>
* @return The parentQuestId.
*/
int getParentQuestId();
/**
* <code>uint32 npc_id = 3;</code>
* <code>uint32 npc_id = 15;</code>
* @return The npcId.
*/
int getNpcId();
/**
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* Name: IHAMDEJMOKK
* CmdId: 444
* CmdId: 486
* Name: LNJDHHKEHBB
* </pre>
*
* Protobuf type {@code QuestDestroyNpcRsp}
@@ -86,21 +86,21 @@ public final class QuestDestroyNpcRspOuterClass {
case 0:
done = true;
break;
case 8: {
case 64: {
retcode_ = input.readInt32();
break;
}
case 24: {
npcId_ = input.readUInt32();
break;
}
case 40: {
case 112: {
parentQuestId_ = input.readUInt32();
break;
}
case 120: {
npcId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -133,10 +133,21 @@ public final class QuestDestroyNpcRspOuterClass {
emu.grasscutter.net.proto.QuestDestroyNpcRspOuterClass.QuestDestroyNpcRsp.class, emu.grasscutter.net.proto.QuestDestroyNpcRspOuterClass.QuestDestroyNpcRsp.Builder.class);
}
public static final int PARENT_QUEST_ID_FIELD_NUMBER = 5;
public static final int RETCODE_FIELD_NUMBER = 8;
private int retcode_;
/**
* <code>int32 retcode = 8;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int PARENT_QUEST_ID_FIELD_NUMBER = 14;
private int parentQuestId_;
/**
* <code>uint32 parent_quest_id = 5;</code>
* <code>uint32 parent_quest_id = 14;</code>
* @return The parentQuestId.
*/
@java.lang.Override
@@ -144,10 +155,10 @@ public final class QuestDestroyNpcRspOuterClass {
return parentQuestId_;
}
public static final int NPC_ID_FIELD_NUMBER = 3;
public static final int NPC_ID_FIELD_NUMBER = 15;
private int npcId_;
/**
* <code>uint32 npc_id = 3;</code>
* <code>uint32 npc_id = 15;</code>
* @return The npcId.
*/
@java.lang.Override
@@ -155,17 +166,6 @@ public final class QuestDestroyNpcRspOuterClass {
return npcId_;
}
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_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -181,13 +181,13 @@ public final class QuestDestroyNpcRspOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(1, retcode_);
}
if (npcId_ != 0) {
output.writeUInt32(3, npcId_);
output.writeInt32(8, retcode_);
}
if (parentQuestId_ != 0) {
output.writeUInt32(5, parentQuestId_);
output.writeUInt32(14, parentQuestId_);
}
if (npcId_ != 0) {
output.writeUInt32(15, npcId_);
}
unknownFields.writeTo(output);
}
@@ -200,15 +200,15 @@ public final class QuestDestroyNpcRspOuterClass {
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, retcode_);
}
if (npcId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, npcId_);
.computeInt32Size(8, retcode_);
}
if (parentQuestId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, parentQuestId_);
.computeUInt32Size(14, parentQuestId_);
}
if (npcId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, npcId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -225,12 +225,12 @@ public final class QuestDestroyNpcRspOuterClass {
}
emu.grasscutter.net.proto.QuestDestroyNpcRspOuterClass.QuestDestroyNpcRsp other = (emu.grasscutter.net.proto.QuestDestroyNpcRspOuterClass.QuestDestroyNpcRsp) obj;
if (getRetcode()
!= other.getRetcode()) return false;
if (getParentQuestId()
!= other.getParentQuestId()) return false;
if (getNpcId()
!= other.getNpcId()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -242,12 +242,12 @@ public final class QuestDestroyNpcRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + PARENT_QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getParentQuestId();
hash = (37 * hash) + NPC_ID_FIELD_NUMBER;
hash = (53 * hash) + getNpcId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -345,8 +345,8 @@ public final class QuestDestroyNpcRspOuterClass {
}
/**
* <pre>
* Name: IHAMDEJMOKK
* CmdId: 444
* CmdId: 486
* Name: LNJDHHKEHBB
* </pre>
*
* Protobuf type {@code QuestDestroyNpcRsp}
@@ -386,12 +386,12 @@ public final class QuestDestroyNpcRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
retcode_ = 0;
parentQuestId_ = 0;
npcId_ = 0;
retcode_ = 0;
return this;
}
@@ -418,9 +418,9 @@ public final class QuestDestroyNpcRspOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.QuestDestroyNpcRspOuterClass.QuestDestroyNpcRsp buildPartial() {
emu.grasscutter.net.proto.QuestDestroyNpcRspOuterClass.QuestDestroyNpcRsp result = new emu.grasscutter.net.proto.QuestDestroyNpcRspOuterClass.QuestDestroyNpcRsp(this);
result.retcode_ = retcode_;
result.parentQuestId_ = parentQuestId_;
result.npcId_ = npcId_;
result.retcode_ = retcode_;
onBuilt();
return result;
}
@@ -469,15 +469,15 @@ public final class QuestDestroyNpcRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.QuestDestroyNpcRspOuterClass.QuestDestroyNpcRsp other) {
if (other == emu.grasscutter.net.proto.QuestDestroyNpcRspOuterClass.QuestDestroyNpcRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getParentQuestId() != 0) {
setParentQuestId(other.getParentQuestId());
}
if (other.getNpcId() != 0) {
setNpcId(other.getNpcId());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -507,9 +507,40 @@ public final class QuestDestroyNpcRspOuterClass {
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 8;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 8;</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 = 8;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private int parentQuestId_ ;
/**
* <code>uint32 parent_quest_id = 5;</code>
* <code>uint32 parent_quest_id = 14;</code>
* @return The parentQuestId.
*/
@java.lang.Override
@@ -517,7 +548,7 @@ public final class QuestDestroyNpcRspOuterClass {
return parentQuestId_;
}
/**
* <code>uint32 parent_quest_id = 5;</code>
* <code>uint32 parent_quest_id = 14;</code>
* @param value The parentQuestId to set.
* @return This builder for chaining.
*/
@@ -528,7 +559,7 @@ public final class QuestDestroyNpcRspOuterClass {
return this;
}
/**
* <code>uint32 parent_quest_id = 5;</code>
* <code>uint32 parent_quest_id = 14;</code>
* @return This builder for chaining.
*/
public Builder clearParentQuestId() {
@@ -540,7 +571,7 @@ public final class QuestDestroyNpcRspOuterClass {
private int npcId_ ;
/**
* <code>uint32 npc_id = 3;</code>
* <code>uint32 npc_id = 15;</code>
* @return The npcId.
*/
@java.lang.Override
@@ -548,7 +579,7 @@ public final class QuestDestroyNpcRspOuterClass {
return npcId_;
}
/**
* <code>uint32 npc_id = 3;</code>
* <code>uint32 npc_id = 15;</code>
* @param value The npcId to set.
* @return This builder for chaining.
*/
@@ -559,7 +590,7 @@ public final class QuestDestroyNpcRspOuterClass {
return this;
}
/**
* <code>uint32 npc_id = 3;</code>
* <code>uint32 npc_id = 15;</code>
* @return This builder for chaining.
*/
public Builder clearNpcId() {
@@ -568,37 +599,6 @@ public final class QuestDestroyNpcRspOuterClass {
onChanged();
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;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -667,8 +667,8 @@ public final class QuestDestroyNpcRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\030QuestDestroyNpcRsp.proto\"N\n\022QuestDestr" +
"oyNpcRsp\022\027\n\017parent_quest_id\030\005 \001(\r\022\016\n\006npc" +
"_id\030\003 \001(\r\022\017\n\007retcode\030\001 \001(\005B\033\n\031emu.grassc" +
"oyNpcRsp\022\017\n\007retcode\030\010 \001(\005\022\027\n\017parent_ques" +
"t_id\030\016 \001(\r\022\016\n\006npc_id\030\017 \001(\rB\033\n\031emu.grassc" +
"utter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -680,7 +680,7 @@ public final class QuestDestroyNpcRspOuterClass {
internal_static_QuestDestroyNpcRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_QuestDestroyNpcRsp_descriptor,
new java.lang.String[] { "ParentQuestId", "NpcId", "Retcode", });
new java.lang.String[] { "Retcode", "ParentQuestId", "NpcId", });
}
// @@protoc_insertion_point(outer_class_scope)