mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-06 14:11:44 +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,32 +19,32 @@ public final class DropHintNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
* @return Whether the position field is set.
|
||||
*/
|
||||
boolean hasPosition();
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
* @return The position.
|
||||
*/
|
||||
emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition();
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @return A list containing the itemIdList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getItemIdListList();
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @return The count of itemIdList.
|
||||
*/
|
||||
int getItemIdListCount();
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The itemIdList at the given index.
|
||||
*/
|
||||
@@ -52,8 +52,8 @@ public final class DropHintNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: PAKLNEDHMBL
|
||||
* CmdId: 633
|
||||
* Name: EFOOFNIDNMC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code DropHintNotify}
|
||||
@@ -102,28 +102,7 @@ public final class DropHintNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 40: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
itemIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
itemIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
itemIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
itemIdList_.addInt(input.readUInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
case 50: {
|
||||
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
|
||||
if (position_ != null) {
|
||||
subBuilder = position_.toBuilder();
|
||||
@@ -136,6 +115,27 @@ public final class DropHintNotifyOuterClass {
|
||||
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
itemIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
itemIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 98: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
itemIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
itemIdList_.addInt(input.readUInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -171,10 +171,10 @@ public final class DropHintNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.DropHintNotifyOuterClass.DropHintNotify.class, emu.grasscutter.net.proto.DropHintNotifyOuterClass.DropHintNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int POSITION_FIELD_NUMBER = 14;
|
||||
public static final int POSITION_FIELD_NUMBER = 6;
|
||||
private emu.grasscutter.net.proto.VectorOuterClass.Vector position_;
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
* @return Whether the position field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -182,7 +182,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return position_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
* @return The position.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -190,17 +190,17 @@ public final class DropHintNotifyOuterClass {
|
||||
return position_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : position_;
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder() {
|
||||
return getPosition();
|
||||
}
|
||||
|
||||
public static final int ITEM_ID_LIST_FIELD_NUMBER = 5;
|
||||
public static final int ITEM_ID_LIST_FIELD_NUMBER = 12;
|
||||
private com.google.protobuf.Internal.IntList itemIdList_;
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @return A list containing the itemIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -209,14 +209,14 @@ public final class DropHintNotifyOuterClass {
|
||||
return itemIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @return The count of itemIdList.
|
||||
*/
|
||||
public int getItemIdListCount() {
|
||||
return itemIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The itemIdList at the given index.
|
||||
*/
|
||||
@@ -240,16 +240,16 @@ public final class DropHintNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (position_ != null) {
|
||||
output.writeMessage(6, getPosition());
|
||||
}
|
||||
if (getItemIdListList().size() > 0) {
|
||||
output.writeUInt32NoTag(42);
|
||||
output.writeUInt32NoTag(98);
|
||||
output.writeUInt32NoTag(itemIdListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < itemIdList_.size(); i++) {
|
||||
output.writeUInt32NoTag(itemIdList_.getInt(i));
|
||||
}
|
||||
if (position_ != null) {
|
||||
output.writeMessage(14, getPosition());
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -259,6 +259,10 @@ public final class DropHintNotifyOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (position_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(6, getPosition());
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < itemIdList_.size(); i++) {
|
||||
@@ -273,10 +277,6 @@ public final class DropHintNotifyOuterClass {
|
||||
}
|
||||
itemIdListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (position_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(14, getPosition());
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -415,8 +415,8 @@ public final class DropHintNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: PAKLNEDHMBL
|
||||
* CmdId: 633
|
||||
* Name: EFOOFNIDNMC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code DropHintNotify}
|
||||
@@ -596,14 +596,14 @@ public final class DropHintNotifyOuterClass {
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> positionBuilder_;
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
* @return Whether the position field is set.
|
||||
*/
|
||||
public boolean hasPosition() {
|
||||
return positionBuilder_ != null || position_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
* @return The position.
|
||||
*/
|
||||
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition() {
|
||||
@@ -614,7 +614,7 @@ public final class DropHintNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
*/
|
||||
public Builder setPosition(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
||||
if (positionBuilder_ == null) {
|
||||
@@ -630,7 +630,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
*/
|
||||
public Builder setPosition(
|
||||
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
|
||||
@@ -644,7 +644,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
*/
|
||||
public Builder mergePosition(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
||||
if (positionBuilder_ == null) {
|
||||
@@ -662,7 +662,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
*/
|
||||
public Builder clearPosition() {
|
||||
if (positionBuilder_ == null) {
|
||||
@@ -676,7 +676,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPositionBuilder() {
|
||||
|
||||
@@ -684,7 +684,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return getPositionFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder() {
|
||||
if (positionBuilder_ != null) {
|
||||
@@ -695,7 +695,7 @@ public final class DropHintNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.Vector position = 14;</code>
|
||||
* <code>.Vector position = 6;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
|
||||
@@ -719,7 +719,7 @@ public final class DropHintNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @return A list containing the itemIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -728,14 +728,14 @@ public final class DropHintNotifyOuterClass {
|
||||
java.util.Collections.unmodifiableList(itemIdList_) : itemIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @return The count of itemIdList.
|
||||
*/
|
||||
public int getItemIdListCount() {
|
||||
return itemIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The itemIdList at the given index.
|
||||
*/
|
||||
@@ -743,7 +743,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return itemIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The itemIdList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -756,7 +756,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @param value The itemIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -767,7 +767,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @param values The itemIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -780,7 +780,7 @@ public final class DropHintNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 item_id_list = 5;</code>
|
||||
* <code>repeated uint32 item_id_list = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearItemIdList() {
|
||||
@@ -857,8 +857,8 @@ public final class DropHintNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\024DropHintNotify.proto\032\014Vector.proto\"A\n\016" +
|
||||
"DropHintNotify\022\031\n\010position\030\016 \001(\0132\007.Vecto" +
|
||||
"r\022\024\n\014item_id_list\030\005 \003(\rB\033\n\031emu.grasscutt" +
|
||||
"DropHintNotify\022\031\n\010position\030\006 \001(\0132\007.Vecto" +
|
||||
"r\022\024\n\014item_id_list\030\014 \003(\rB\033\n\031emu.grasscutt" +
|
||||
"er.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user