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,23 +19,23 @@ public final class MarkNewNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 mark_new_type = 13;</code>
* <code>uint32 mark_new_type = 2;</code>
* @return The markNewType.
*/
int getMarkNewType();
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @return A list containing the idList.
*/
java.util.List<java.lang.Integer> getIdListList();
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @return The count of idList.
*/
int getIdListCount();
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @param index The index of the element to return.
* @return The idList at the given index.
*/
@@ -43,8 +43,8 @@ public final class MarkNewNotifyOuterClass {
}
/**
* <pre>
* Name: NGIAHNHBFNJ
* CmdId: 1207
* CmdId: 1278
* Name: MNBCEJBCJEH
* </pre>
*
* Protobuf type {@code MarkNewNotify}
@@ -94,6 +94,11 @@ public final class MarkNewNotifyOuterClass {
done = true;
break;
case 16: {
markNewType_ = input.readUInt32();
break;
}
case 56: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
idList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -101,7 +106,7 @@ public final class MarkNewNotifyOuterClass {
idList_.addInt(input.readUInt32());
break;
}
case 18: {
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -114,11 +119,6 @@ public final class MarkNewNotifyOuterClass {
input.popLimit(limit);
break;
}
case 104: {
markNewType_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -154,10 +154,10 @@ public final class MarkNewNotifyOuterClass {
emu.grasscutter.net.proto.MarkNewNotifyOuterClass.MarkNewNotify.class, emu.grasscutter.net.proto.MarkNewNotifyOuterClass.MarkNewNotify.Builder.class);
}
public static final int MARK_NEW_TYPE_FIELD_NUMBER = 13;
public static final int MARK_NEW_TYPE_FIELD_NUMBER = 2;
private int markNewType_;
/**
* <code>uint32 mark_new_type = 13;</code>
* <code>uint32 mark_new_type = 2;</code>
* @return The markNewType.
*/
@java.lang.Override
@@ -165,10 +165,10 @@ public final class MarkNewNotifyOuterClass {
return markNewType_;
}
public static final int ID_LIST_FIELD_NUMBER = 2;
public static final int ID_LIST_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.IntList idList_;
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @return A list containing the idList.
*/
@java.lang.Override
@@ -177,14 +177,14 @@ public final class MarkNewNotifyOuterClass {
return idList_;
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @return The count of idList.
*/
public int getIdListCount() {
return idList_.size();
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @param index The index of the element to return.
* @return The idList at the given index.
*/
@@ -208,16 +208,16 @@ public final class MarkNewNotifyOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (markNewType_ != 0) {
output.writeUInt32(2, markNewType_);
}
if (getIdListList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(58);
output.writeUInt32NoTag(idListMemoizedSerializedSize);
}
for (int i = 0; i < idList_.size(); i++) {
output.writeUInt32NoTag(idList_.getInt(i));
}
if (markNewType_ != 0) {
output.writeUInt32(13, markNewType_);
}
unknownFields.writeTo(output);
}
@@ -227,6 +227,10 @@ public final class MarkNewNotifyOuterClass {
if (size != -1) return size;
size = 0;
if (markNewType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, markNewType_);
}
{
int dataSize = 0;
for (int i = 0; i < idList_.size(); i++) {
@@ -241,10 +245,6 @@ public final class MarkNewNotifyOuterClass {
}
idListMemoizedSerializedSize = dataSize;
}
if (markNewType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, markNewType_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -378,8 +378,8 @@ public final class MarkNewNotifyOuterClass {
}
/**
* <pre>
* Name: NGIAHNHBFNJ
* CmdId: 1207
* CmdId: 1278
* Name: MNBCEJBCJEH
* </pre>
*
* Protobuf type {@code MarkNewNotify}
@@ -549,7 +549,7 @@ public final class MarkNewNotifyOuterClass {
private int markNewType_ ;
/**
* <code>uint32 mark_new_type = 13;</code>
* <code>uint32 mark_new_type = 2;</code>
* @return The markNewType.
*/
@java.lang.Override
@@ -557,7 +557,7 @@ public final class MarkNewNotifyOuterClass {
return markNewType_;
}
/**
* <code>uint32 mark_new_type = 13;</code>
* <code>uint32 mark_new_type = 2;</code>
* @param value The markNewType to set.
* @return This builder for chaining.
*/
@@ -568,7 +568,7 @@ public final class MarkNewNotifyOuterClass {
return this;
}
/**
* <code>uint32 mark_new_type = 13;</code>
* <code>uint32 mark_new_type = 2;</code>
* @return This builder for chaining.
*/
public Builder clearMarkNewType() {
@@ -586,7 +586,7 @@ public final class MarkNewNotifyOuterClass {
}
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @return A list containing the idList.
*/
public java.util.List<java.lang.Integer>
@@ -595,14 +595,14 @@ public final class MarkNewNotifyOuterClass {
java.util.Collections.unmodifiableList(idList_) : idList_;
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @return The count of idList.
*/
public int getIdListCount() {
return idList_.size();
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @param index The index of the element to return.
* @return The idList at the given index.
*/
@@ -610,7 +610,7 @@ public final class MarkNewNotifyOuterClass {
return idList_.getInt(index);
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @param index The index to set the value at.
* @param value The idList to set.
* @return This builder for chaining.
@@ -623,7 +623,7 @@ public final class MarkNewNotifyOuterClass {
return this;
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @param value The idList to add.
* @return This builder for chaining.
*/
@@ -634,7 +634,7 @@ public final class MarkNewNotifyOuterClass {
return this;
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @param values The idList to add.
* @return This builder for chaining.
*/
@@ -647,7 +647,7 @@ public final class MarkNewNotifyOuterClass {
return this;
}
/**
* <code>repeated uint32 id_list = 2;</code>
* <code>repeated uint32 id_list = 7;</code>
* @return This builder for chaining.
*/
public Builder clearIdList() {
@@ -724,7 +724,7 @@ public final class MarkNewNotifyOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\023MarkNewNotify.proto\"7\n\rMarkNewNotify\022\025" +
"\n\rmark_new_type\030\r \001(\r\022\017\n\007id_list\030\002 \003(\rB\033" +
"\n\rmark_new_type\030\002 \001(\r\022\017\n\007id_list\030\007 \003(\rB\033" +
"\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor