From 06ee5e36ccacfa69e99a91013b3d7b36abf5a414 Mon Sep 17 00:00:00 2001 From: WatchAndyTW Date: Wed, 28 Aug 2024 17:58:23 +0800 Subject: [PATCH] Fix item add hint notification --- .../proto/ItemAddHintNotifyOuterClass.java | 1197 +++++++++-------- 1 file changed, 599 insertions(+), 598 deletions(-) diff --git a/src/generated/main/java/emu/grasscutter/net/proto/ItemAddHintNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/ItemAddHintNotifyOuterClass.java index 244bd1260c5..92e9f38aa89 100644 --- a/src/generated/main/java/emu/grasscutter/net/proto/ItemAddHintNotifyOuterClass.java +++ b/src/generated/main/java/emu/grasscutter/net/proto/ItemAddHintNotifyOuterClass.java @@ -19,101 +19,101 @@ public interface ItemAddHintNotifyOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * bool FMLDPGOOCPG = 1; - * @return The fMLDPGOOCPG. + * repeated .ItemHint item_list = 2; */ - boolean getFMLDPGOOCPG(); + java.util.List + getItemListList(); + /** + * repeated .ItemHint item_list = 2; + */ + emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getItemList(int index); + /** + * repeated .ItemHint item_list = 2; + */ + int getItemListCount(); + /** + * repeated .ItemHint item_list = 2; + */ + java.util.List + getItemListOrBuilderList(); + /** + * repeated .ItemHint item_list = 2; + */ + emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getItemListOrBuilder( + int index); /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ java.util.List getOverflowTransformedItemListList(); /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getOverflowTransformedItemList(int index); /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ int getOverflowTransformedItemListCount(); /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ java.util.List getOverflowTransformedItemListOrBuilderList(); /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getOverflowTransformedItemListOrBuilder( int index); /** - * uint32 reason = 3; - * @return The reason. + * bool is_transfered_from_avatar_card = 5; + * @return The isTransferedFromAvatarCard. */ - int getReason(); + boolean getIsTransferedFromAvatarCard(); /** - * .Vector position = 4; + * .Vector position = 6; * @return Whether the position field is set. */ boolean hasPosition(); /** - * .Vector position = 4; + * .Vector position = 6; * @return The position. */ emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition(); /** - * .Vector position = 4; + * .Vector position = 6; */ emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder(); /** - * uint32 quest_id = 8; - * @return The questId. + * uint32 reason = 9; + * @return The reason. */ - int getQuestId(); + int getReason(); /** - * repeated .ItemHint item_list = 10; - */ - java.util.List - getItemListList(); - /** - * repeated .ItemHint item_list = 10; - */ - emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getItemList(int index); - /** - * repeated .ItemHint item_list = 10; - */ - int getItemListCount(); - /** - * repeated .ItemHint item_list = 10; + * bool is_position_valid = 11; + * @return The isPositionValid. */ - java.util.List - getItemListOrBuilderList(); - /** - * repeated .ItemHint item_list = 10; - */ - emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getItemListOrBuilder( - int index); + boolean getIsPositionValid(); /** - * bool BJFIEHFPADD = 12; - * @return The bJFIEHFPADD. + * bool is_general_reward_hiden = 12; + * @return The isGeneralRewardHiden. */ - boolean getBJFIEHFPADD(); + boolean getIsGeneralRewardHiden(); /** - * bool DAKGABMHAHP = 14; - * @return The dAKGABMHAHP. + * uint32 quest_id = 13; + * @return The questId. */ - boolean getDAKGABMHAHP(); + int getQuestId(); } /** *
-   * CmdId: 7712
+   * CmdId: 26599
    * 
* * Protobuf type {@code ItemAddHintNotify} @@ -128,8 +128,8 @@ private ItemAddHintNotify(com.google.protobuf.GeneratedMessageV3.Builder buil super(builder); } private ItemAddHintNotify() { - overflowTransformedItemList_ = java.util.Collections.emptyList(); itemList_ = java.util.Collections.emptyList(); + overflowTransformedItemList_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -163,26 +163,30 @@ private ItemAddHintNotify( case 0: done = true; break; - case 8: { - - fMLDPGOOCPG_ = input.readBool(); - break; - } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { - overflowTransformedItemList_ = new java.util.ArrayList(); + itemList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } + itemList_.add( + input.readMessage(emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + overflowTransformedItemList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } overflowTransformedItemList_.add( input.readMessage(emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.parser(), extensionRegistry)); break; } - case 24: { + case 40: { - reason_ = input.readUInt32(); + isTransferedFromAvatarCard_ = input.readBool(); break; } - case 34: { + case 50: { emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null; if (position_ != null) { subBuilder = position_.toBuilder(); @@ -195,28 +199,24 @@ private ItemAddHintNotify( break; } - case 64: { + case 72: { - questId_ = input.readUInt32(); + reason_ = input.readUInt32(); break; } - case 82: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - itemList_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - itemList_.add( - input.readMessage(emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.parser(), extensionRegistry)); + case 88: { + + isPositionValid_ = input.readBool(); break; } case 96: { - bJFIEHFPADD_ = input.readBool(); + isGeneralRewardHiden_ = input.readBool(); break; } - case 112: { + case 104: { - dAKGABMHAHP_ = input.readBool(); + questId_ = input.readUInt32(); break; } default: { @@ -235,10 +235,10 @@ private ItemAddHintNotify( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - overflowTransformedItemList_ = java.util.Collections.unmodifiableList(overflowTransformedItemList_); + itemList_ = java.util.Collections.unmodifiableList(itemList_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { - itemList_ = java.util.Collections.unmodifiableList(itemList_); + overflowTransformedItemList_ = java.util.Collections.unmodifiableList(overflowTransformedItemList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -257,28 +257,57 @@ private ItemAddHintNotify( emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify.class, emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify.Builder.class); } - public static final int FMLDPGOOCPG_FIELD_NUMBER = 1; - private boolean fMLDPGOOCPG_; + public static final int ITEM_LIST_FIELD_NUMBER = 2; + private java.util.List itemList_; + /** + * repeated .ItemHint item_list = 2; + */ + @java.lang.Override + public java.util.List getItemListList() { + return itemList_; + } + /** + * repeated .ItemHint item_list = 2; + */ + @java.lang.Override + public java.util.List + getItemListOrBuilderList() { + return itemList_; + } + /** + * repeated .ItemHint item_list = 2; + */ + @java.lang.Override + public int getItemListCount() { + return itemList_.size(); + } + /** + * repeated .ItemHint item_list = 2; + */ + @java.lang.Override + public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getItemList(int index) { + return itemList_.get(index); + } /** - * bool FMLDPGOOCPG = 1; - * @return The fMLDPGOOCPG. + * repeated .ItemHint item_list = 2; */ @java.lang.Override - public boolean getFMLDPGOOCPG() { - return fMLDPGOOCPG_; + public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getItemListOrBuilder( + int index) { + return itemList_.get(index); } - public static final int OVERFLOW_TRANSFORMED_ITEM_LIST_FIELD_NUMBER = 2; + public static final int OVERFLOW_TRANSFORMED_ITEM_LIST_FIELD_NUMBER = 3; private java.util.List overflowTransformedItemList_; /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ @java.lang.Override public java.util.List getOverflowTransformedItemListList() { return overflowTransformedItemList_; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ @java.lang.Override public java.util.List @@ -286,21 +315,21 @@ public java.util.List get return overflowTransformedItemList_; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ @java.lang.Override public int getOverflowTransformedItemListCount() { return overflowTransformedItemList_.size(); } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ @java.lang.Override public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getOverflowTransformedItemList(int index) { return overflowTransformedItemList_.get(index); } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ @java.lang.Override public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getOverflowTransformedItemListOrBuilder( @@ -308,21 +337,21 @@ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getOverflo return overflowTransformedItemList_.get(index); } - public static final int REASON_FIELD_NUMBER = 3; - private int reason_; + public static final int IS_TRANSFERED_FROM_AVATAR_CARD_FIELD_NUMBER = 5; + private boolean isTransferedFromAvatarCard_; /** - * uint32 reason = 3; - * @return The reason. + * bool is_transfered_from_avatar_card = 5; + * @return The isTransferedFromAvatarCard. */ @java.lang.Override - public int getReason() { - return reason_; + public boolean getIsTransferedFromAvatarCard() { + return isTransferedFromAvatarCard_; } - public static final int POSITION_FIELD_NUMBER = 4; + public static final int POSITION_FIELD_NUMBER = 6; private emu.grasscutter.net.proto.VectorOuterClass.Vector position_; /** - * .Vector position = 4; + * .Vector position = 6; * @return Whether the position field is set. */ @java.lang.Override @@ -330,7 +359,7 @@ public boolean hasPosition() { return position_ != null; } /** - * .Vector position = 4; + * .Vector position = 6; * @return The position. */ @java.lang.Override @@ -338,84 +367,55 @@ public emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition() { return position_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : position_; } /** - * .Vector position = 4; + * .Vector position = 6; */ @java.lang.Override public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder() { return getPosition(); } - public static final int QUEST_ID_FIELD_NUMBER = 8; - private int questId_; + public static final int REASON_FIELD_NUMBER = 9; + private int reason_; /** - * uint32 quest_id = 8; - * @return The questId. + * uint32 reason = 9; + * @return The reason. */ @java.lang.Override - public int getQuestId() { - return questId_; + public int getReason() { + return reason_; } - public static final int ITEM_LIST_FIELD_NUMBER = 10; - private java.util.List itemList_; - /** - * repeated .ItemHint item_list = 10; - */ - @java.lang.Override - public java.util.List getItemListList() { - return itemList_; - } - /** - * repeated .ItemHint item_list = 10; - */ - @java.lang.Override - public java.util.List - getItemListOrBuilderList() { - return itemList_; - } - /** - * repeated .ItemHint item_list = 10; - */ - @java.lang.Override - public int getItemListCount() { - return itemList_.size(); - } - /** - * repeated .ItemHint item_list = 10; - */ - @java.lang.Override - public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getItemList(int index) { - return itemList_.get(index); - } + public static final int IS_POSITION_VALID_FIELD_NUMBER = 11; + private boolean isPositionValid_; /** - * repeated .ItemHint item_list = 10; + * bool is_position_valid = 11; + * @return The isPositionValid. */ @java.lang.Override - public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getItemListOrBuilder( - int index) { - return itemList_.get(index); + public boolean getIsPositionValid() { + return isPositionValid_; } - public static final int BJFIEHFPADD_FIELD_NUMBER = 12; - private boolean bJFIEHFPADD_; + public static final int IS_GENERAL_REWARD_HIDEN_FIELD_NUMBER = 12; + private boolean isGeneralRewardHiden_; /** - * bool BJFIEHFPADD = 12; - * @return The bJFIEHFPADD. + * bool is_general_reward_hiden = 12; + * @return The isGeneralRewardHiden. */ @java.lang.Override - public boolean getBJFIEHFPADD() { - return bJFIEHFPADD_; + public boolean getIsGeneralRewardHiden() { + return isGeneralRewardHiden_; } - public static final int DAKGABMHAHP_FIELD_NUMBER = 14; - private boolean dAKGABMHAHP_; + public static final int QUEST_ID_FIELD_NUMBER = 13; + private int questId_; /** - * bool DAKGABMHAHP = 14; - * @return The dAKGABMHAHP. + * uint32 quest_id = 13; + * @return The questId. */ @java.lang.Override - public boolean getDAKGABMHAHP() { - return dAKGABMHAHP_; + public int getQuestId() { + return questId_; } private byte memoizedIsInitialized = -1; @@ -432,29 +432,29 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (fMLDPGOOCPG_ != false) { - output.writeBool(1, fMLDPGOOCPG_); + for (int i = 0; i < itemList_.size(); i++) { + output.writeMessage(2, itemList_.get(i)); } for (int i = 0; i < overflowTransformedItemList_.size(); i++) { - output.writeMessage(2, overflowTransformedItemList_.get(i)); + output.writeMessage(3, overflowTransformedItemList_.get(i)); } - if (reason_ != 0) { - output.writeUInt32(3, reason_); + if (isTransferedFromAvatarCard_ != false) { + output.writeBool(5, isTransferedFromAvatarCard_); } if (position_ != null) { - output.writeMessage(4, getPosition()); + output.writeMessage(6, getPosition()); } - if (questId_ != 0) { - output.writeUInt32(8, questId_); + if (reason_ != 0) { + output.writeUInt32(9, reason_); } - for (int i = 0; i < itemList_.size(); i++) { - output.writeMessage(10, itemList_.get(i)); + if (isPositionValid_ != false) { + output.writeBool(11, isPositionValid_); } - if (bJFIEHFPADD_ != false) { - output.writeBool(12, bJFIEHFPADD_); + if (isGeneralRewardHiden_ != false) { + output.writeBool(12, isGeneralRewardHiden_); } - if (dAKGABMHAHP_ != false) { - output.writeBool(14, dAKGABMHAHP_); + if (questId_ != 0) { + output.writeUInt32(13, questId_); } unknownFields.writeTo(output); } @@ -465,37 +465,37 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (fMLDPGOOCPG_ != false) { + for (int i = 0; i < itemList_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, fMLDPGOOCPG_); + .computeMessageSize(2, itemList_.get(i)); } for (int i = 0; i < overflowTransformedItemList_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, overflowTransformedItemList_.get(i)); + .computeMessageSize(3, overflowTransformedItemList_.get(i)); } - if (reason_ != 0) { + if (isTransferedFromAvatarCard_ != false) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, reason_); + .computeBoolSize(5, isTransferedFromAvatarCard_); } if (position_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPosition()); + .computeMessageSize(6, getPosition()); } - if (questId_ != 0) { + if (reason_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(8, questId_); + .computeUInt32Size(9, reason_); } - for (int i = 0; i < itemList_.size(); i++) { + if (isPositionValid_ != false) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, itemList_.get(i)); + .computeBoolSize(11, isPositionValid_); } - if (bJFIEHFPADD_ != false) { + if (isGeneralRewardHiden_ != false) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, bJFIEHFPADD_); + .computeBoolSize(12, isGeneralRewardHiden_); } - if (dAKGABMHAHP_ != false) { + if (questId_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(14, dAKGABMHAHP_); + .computeUInt32Size(13, questId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -512,25 +512,25 @@ public boolean equals(final java.lang.Object obj) { } emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify other = (emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify) obj; - if (getFMLDPGOOCPG() - != other.getFMLDPGOOCPG()) return false; + if (!getItemListList() + .equals(other.getItemListList())) return false; if (!getOverflowTransformedItemListList() .equals(other.getOverflowTransformedItemListList())) return false; - if (getReason() - != other.getReason()) return false; + if (getIsTransferedFromAvatarCard() + != other.getIsTransferedFromAvatarCard()) return false; if (hasPosition() != other.hasPosition()) return false; if (hasPosition()) { if (!getPosition() .equals(other.getPosition())) return false; } + if (getReason() + != other.getReason()) return false; + if (getIsPositionValid() + != other.getIsPositionValid()) return false; + if (getIsGeneralRewardHiden() + != other.getIsGeneralRewardHiden()) return false; if (getQuestId() != other.getQuestId()) return false; - if (!getItemListList() - .equals(other.getItemListList())) return false; - if (getBJFIEHFPADD() - != other.getBJFIEHFPADD()) return false; - if (getDAKGABMHAHP() - != other.getDAKGABMHAHP()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -542,31 +542,31 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FMLDPGOOCPG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFMLDPGOOCPG()); + if (getItemListCount() > 0) { + hash = (37 * hash) + ITEM_LIST_FIELD_NUMBER; + hash = (53 * hash) + getItemListList().hashCode(); + } if (getOverflowTransformedItemListCount() > 0) { hash = (37 * hash) + OVERFLOW_TRANSFORMED_ITEM_LIST_FIELD_NUMBER; hash = (53 * hash) + getOverflowTransformedItemListList().hashCode(); } - hash = (37 * hash) + REASON_FIELD_NUMBER; - hash = (53 * hash) + getReason(); + hash = (37 * hash) + IS_TRANSFERED_FROM_AVATAR_CARD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsTransferedFromAvatarCard()); if (hasPosition()) { hash = (37 * hash) + POSITION_FIELD_NUMBER; hash = (53 * hash) + getPosition().hashCode(); } - hash = (37 * hash) + QUEST_ID_FIELD_NUMBER; - hash = (53 * hash) + getQuestId(); - if (getItemListCount() > 0) { - hash = (37 * hash) + ITEM_LIST_FIELD_NUMBER; - hash = (53 * hash) + getItemListList().hashCode(); - } - hash = (37 * hash) + BJFIEHFPADD_FIELD_NUMBER; + hash = (37 * hash) + REASON_FIELD_NUMBER; + hash = (53 * hash) + getReason(); + hash = (37 * hash) + IS_POSITION_VALID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBJFIEHFPADD()); - hash = (37 * hash) + DAKGABMHAHP_FIELD_NUMBER; + getIsPositionValid()); + hash = (37 * hash) + IS_GENERAL_REWARD_HIDEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDAKGABMHAHP()); + getIsGeneralRewardHiden()); + hash = (37 * hash) + QUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getQuestId(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -664,7 +664,7 @@ protected Builder newBuilderForType( } /** *
-     * CmdId: 7712
+     * CmdId: 26599
      * 
* * Protobuf type {@code ItemAddHintNotify} @@ -699,22 +699,26 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getOverflowTransformedItemListFieldBuilder(); getItemListFieldBuilder(); + getOverflowTransformedItemListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - fMLDPGOOCPG_ = false; - + if (itemListBuilder_ == null) { + itemList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + itemListBuilder_.clear(); + } if (overflowTransformedItemListBuilder_ == null) { overflowTransformedItemList_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); } else { overflowTransformedItemListBuilder_.clear(); } - reason_ = 0; + isTransferedFromAvatarCard_ = false; if (positionBuilder_ == null) { position_ = null; @@ -722,17 +726,13 @@ public Builder clear() { position_ = null; positionBuilder_ = null; } - questId_ = 0; + reason_ = 0; - if (itemListBuilder_ == null) { - itemList_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - itemListBuilder_.clear(); - } - bJFIEHFPADD_ = false; + isPositionValid_ = false; - dAKGABMHAHP_ = false; + isGeneralRewardHiden_ = false; + + questId_ = 0; return this; } @@ -761,34 +761,34 @@ public emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify b public emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify buildPartial() { emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify result = new emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify(this); int from_bitField0_ = bitField0_; - result.fMLDPGOOCPG_ = fMLDPGOOCPG_; - if (overflowTransformedItemListBuilder_ == null) { + if (itemListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - overflowTransformedItemList_ = java.util.Collections.unmodifiableList(overflowTransformedItemList_); + itemList_ = java.util.Collections.unmodifiableList(itemList_); bitField0_ = (bitField0_ & ~0x00000001); } + result.itemList_ = itemList_; + } else { + result.itemList_ = itemListBuilder_.build(); + } + if (overflowTransformedItemListBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + overflowTransformedItemList_ = java.util.Collections.unmodifiableList(overflowTransformedItemList_); + bitField0_ = (bitField0_ & ~0x00000002); + } result.overflowTransformedItemList_ = overflowTransformedItemList_; } else { result.overflowTransformedItemList_ = overflowTransformedItemListBuilder_.build(); } - result.reason_ = reason_; + result.isTransferedFromAvatarCard_ = isTransferedFromAvatarCard_; if (positionBuilder_ == null) { result.position_ = position_; } else { result.position_ = positionBuilder_.build(); } + result.reason_ = reason_; + result.isPositionValid_ = isPositionValid_; + result.isGeneralRewardHiden_ = isGeneralRewardHiden_; result.questId_ = questId_; - if (itemListBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - itemList_ = java.util.Collections.unmodifiableList(itemList_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.itemList_ = itemList_; - } else { - result.itemList_ = itemListBuilder_.build(); - } - result.bJFIEHFPADD_ = bJFIEHFPADD_; - result.dAKGABMHAHP_ = dAKGABMHAHP_; onBuilt(); return result; } @@ -837,14 +837,37 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify other) { if (other == emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify.getDefaultInstance()) return this; - if (other.getFMLDPGOOCPG() != false) { - setFMLDPGOOCPG(other.getFMLDPGOOCPG()); + if (itemListBuilder_ == null) { + if (!other.itemList_.isEmpty()) { + if (itemList_.isEmpty()) { + itemList_ = other.itemList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureItemListIsMutable(); + itemList_.addAll(other.itemList_); + } + onChanged(); + } + } else { + if (!other.itemList_.isEmpty()) { + if (itemListBuilder_.isEmpty()) { + itemListBuilder_.dispose(); + itemListBuilder_ = null; + itemList_ = other.itemList_; + bitField0_ = (bitField0_ & ~0x00000001); + itemListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getItemListFieldBuilder() : null; + } else { + itemListBuilder_.addAllMessages(other.itemList_); + } + } } if (overflowTransformedItemListBuilder_ == null) { if (!other.overflowTransformedItemList_.isEmpty()) { if (overflowTransformedItemList_.isEmpty()) { overflowTransformedItemList_ = other.overflowTransformedItemList_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); } else { ensureOverflowTransformedItemListIsMutable(); overflowTransformedItemList_.addAll(other.overflowTransformedItemList_); @@ -857,7 +880,7 @@ public Builder mergeFrom(emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.I overflowTransformedItemListBuilder_.dispose(); overflowTransformedItemListBuilder_ = null; overflowTransformedItemList_ = other.overflowTransformedItemList_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); overflowTransformedItemListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOverflowTransformedItemListFieldBuilder() : null; @@ -866,46 +889,23 @@ public Builder mergeFrom(emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.I } } } - if (other.getReason() != 0) { - setReason(other.getReason()); + if (other.getIsTransferedFromAvatarCard() != false) { + setIsTransferedFromAvatarCard(other.getIsTransferedFromAvatarCard()); } if (other.hasPosition()) { mergePosition(other.getPosition()); } - if (other.getQuestId() != 0) { - setQuestId(other.getQuestId()); + if (other.getReason() != 0) { + setReason(other.getReason()); } - if (itemListBuilder_ == null) { - if (!other.itemList_.isEmpty()) { - if (itemList_.isEmpty()) { - itemList_ = other.itemList_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureItemListIsMutable(); - itemList_.addAll(other.itemList_); - } - onChanged(); - } - } else { - if (!other.itemList_.isEmpty()) { - if (itemListBuilder_.isEmpty()) { - itemListBuilder_.dispose(); - itemListBuilder_ = null; - itemList_ = other.itemList_; - bitField0_ = (bitField0_ & ~0x00000002); - itemListBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getItemListFieldBuilder() : null; - } else { - itemListBuilder_.addAllMessages(other.itemList_); - } - } + if (other.getIsPositionValid() != false) { + setIsPositionValid(other.getIsPositionValid()); } - if (other.getBJFIEHFPADD() != false) { - setBJFIEHFPADD(other.getBJFIEHFPADD()); + if (other.getIsGeneralRewardHiden() != false) { + setIsGeneralRewardHiden(other.getIsGeneralRewardHiden()); } - if (other.getDAKGABMHAHP() != false) { - setDAKGABMHAHP(other.getDAKGABMHAHP()); + if (other.getQuestId() != 0) { + setQuestId(other.getQuestId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -937,43 +937,252 @@ public Builder mergeFrom( } private int bitField0_; - private boolean fMLDPGOOCPG_ ; + private java.util.List itemList_ = + java.util.Collections.emptyList(); + private void ensureItemListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + itemList_ = new java.util.ArrayList(itemList_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder> itemListBuilder_; + /** - * bool FMLDPGOOCPG = 1; - * @return The fMLDPGOOCPG. + * repeated .ItemHint item_list = 2; */ - @java.lang.Override - public boolean getFMLDPGOOCPG() { - return fMLDPGOOCPG_; + public java.util.List getItemListList() { + if (itemListBuilder_ == null) { + return java.util.Collections.unmodifiableList(itemList_); + } else { + return itemListBuilder_.getMessageList(); + } } /** - * bool FMLDPGOOCPG = 1; - * @param value The fMLDPGOOCPG to set. - * @return This builder for chaining. + * repeated .ItemHint item_list = 2; */ - public Builder setFMLDPGOOCPG(boolean value) { - - fMLDPGOOCPG_ = value; - onChanged(); + public int getItemListCount() { + if (itemListBuilder_ == null) { + return itemList_.size(); + } else { + return itemListBuilder_.getCount(); + } + } + /** + * repeated .ItemHint item_list = 2; + */ + public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getItemList(int index) { + if (itemListBuilder_ == null) { + return itemList_.get(index); + } else { + return itemListBuilder_.getMessage(index); + } + } + /** + * repeated .ItemHint item_list = 2; + */ + public Builder setItemList( + int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint value) { + if (itemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemListIsMutable(); + itemList_.set(index, value); + onChanged(); + } else { + itemListBuilder_.setMessage(index, value); + } return this; } /** - * bool FMLDPGOOCPG = 1; - * @return This builder for chaining. + * repeated .ItemHint item_list = 2; */ - public Builder clearFMLDPGOOCPG() { - - fMLDPGOOCPG_ = false; - onChanged(); + public Builder setItemList( + int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder builderForValue) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.set(index, builderForValue.build()); + onChanged(); + } else { + itemListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .ItemHint item_list = 2; + */ + public Builder addItemList(emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint value) { + if (itemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemListIsMutable(); + itemList_.add(value); + onChanged(); + } else { + itemListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .ItemHint item_list = 2; + */ + public Builder addItemList( + int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint value) { + if (itemListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemListIsMutable(); + itemList_.add(index, value); + onChanged(); + } else { + itemListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .ItemHint item_list = 2; + */ + public Builder addItemList( + emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder builderForValue) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.add(builderForValue.build()); + onChanged(); + } else { + itemListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .ItemHint item_list = 2; + */ + public Builder addItemList( + int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder builderForValue) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.add(index, builderForValue.build()); + onChanged(); + } else { + itemListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .ItemHint item_list = 2; + */ + public Builder addAllItemList( + java.lang.Iterable values) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, itemList_); + onChanged(); + } else { + itemListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .ItemHint item_list = 2; + */ + public Builder clearItemList() { + if (itemListBuilder_ == null) { + itemList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + itemListBuilder_.clear(); + } + return this; + } + /** + * repeated .ItemHint item_list = 2; + */ + public Builder removeItemList(int index) { + if (itemListBuilder_ == null) { + ensureItemListIsMutable(); + itemList_.remove(index); + onChanged(); + } else { + itemListBuilder_.remove(index); + } return this; } + /** + * repeated .ItemHint item_list = 2; + */ + public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder getItemListBuilder( + int index) { + return getItemListFieldBuilder().getBuilder(index); + } + /** + * repeated .ItemHint item_list = 2; + */ + public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getItemListOrBuilder( + int index) { + if (itemListBuilder_ == null) { + return itemList_.get(index); } else { + return itemListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .ItemHint item_list = 2; + */ + public java.util.List + getItemListOrBuilderList() { + if (itemListBuilder_ != null) { + return itemListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(itemList_); + } + } + /** + * repeated .ItemHint item_list = 2; + */ + public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder addItemListBuilder() { + return getItemListFieldBuilder().addBuilder( + emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.getDefaultInstance()); + } + /** + * repeated .ItemHint item_list = 2; + */ + public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder addItemListBuilder( + int index) { + return getItemListFieldBuilder().addBuilder( + index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.getDefaultInstance()); + } + /** + * repeated .ItemHint item_list = 2; + */ + public java.util.List + getItemListBuilderList() { + return getItemListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder> + getItemListFieldBuilder() { + if (itemListBuilder_ == null) { + itemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder>( + itemList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + itemList_ = null; + } + return itemListBuilder_; + } private java.util.List overflowTransformedItemList_ = java.util.Collections.emptyList(); private void ensureOverflowTransformedItemListIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!((bitField0_ & 0x00000002) != 0)) { overflowTransformedItemList_ = new java.util.ArrayList(overflowTransformedItemList_); - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; } } @@ -981,7 +1190,7 @@ private void ensureOverflowTransformedItemListIsMutable() { emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder> overflowTransformedItemListBuilder_; /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public java.util.List getOverflowTransformedItemListList() { if (overflowTransformedItemListBuilder_ == null) { @@ -991,7 +1200,7 @@ public java.util.List get } } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public int getOverflowTransformedItemListCount() { if (overflowTransformedItemListBuilder_ == null) { @@ -1001,7 +1210,7 @@ public int getOverflowTransformedItemListCount() { } } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getOverflowTransformedItemList(int index) { if (overflowTransformedItemListBuilder_ == null) { @@ -1011,7 +1220,7 @@ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getOverflowTransfor } } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public Builder setOverflowTransformedItemList( int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint value) { @@ -1028,7 +1237,7 @@ public Builder setOverflowTransformedItemList( return this; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public Builder setOverflowTransformedItemList( int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder builderForValue) { @@ -1042,7 +1251,7 @@ public Builder setOverflowTransformedItemList( return this; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public Builder addOverflowTransformedItemList(emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint value) { if (overflowTransformedItemListBuilder_ == null) { @@ -1058,7 +1267,7 @@ public Builder addOverflowTransformedItemList(emu.grasscutter.net.proto.ItemHint return this; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public Builder addOverflowTransformedItemList( int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint value) { @@ -1075,7 +1284,7 @@ public Builder addOverflowTransformedItemList( return this; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public Builder addOverflowTransformedItemList( emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder builderForValue) { @@ -1089,7 +1298,7 @@ public Builder addOverflowTransformedItemList( return this; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public Builder addOverflowTransformedItemList( int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder builderForValue) { @@ -1103,7 +1312,7 @@ public Builder addOverflowTransformedItemList( return this; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public Builder addAllOverflowTransformedItemList( java.lang.Iterable values) { @@ -1118,12 +1327,12 @@ public Builder addAllOverflowTransformedItemList( return this; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public Builder clearOverflowTransformedItemList() { if (overflowTransformedItemListBuilder_ == null) { overflowTransformedItemList_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { overflowTransformedItemListBuilder_.clear(); @@ -1131,7 +1340,7 @@ public Builder clearOverflowTransformedItemList() { return this; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public Builder removeOverflowTransformedItemList(int index) { if (overflowTransformedItemListBuilder_ == null) { @@ -1144,14 +1353,14 @@ public Builder removeOverflowTransformedItemList(int index) { return this; } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder getOverflowTransformedItemListBuilder( int index) { return getOverflowTransformedItemListFieldBuilder().getBuilder(index); } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getOverflowTransformedItemListOrBuilder( int index) { @@ -1161,7 +1370,7 @@ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getOverflo } } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public java.util.List getOverflowTransformedItemListOrBuilderList() { @@ -1172,14 +1381,14 @@ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getOverflo } } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder addOverflowTransformedItemListBuilder() { return getOverflowTransformedItemListFieldBuilder().addBuilder( emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.getDefaultInstance()); } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder addOverflowTransformedItemListBuilder( int index) { @@ -1187,7 +1396,7 @@ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder addOverflow index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.getDefaultInstance()); } /** - * repeated .ItemHint overflow_transformed_item_list = 2; + * repeated .ItemHint overflow_transformed_item_list = 3; */ public java.util.List getOverflowTransformedItemListBuilderList() { @@ -1200,7 +1409,7 @@ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder addOverflow overflowTransformedItemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder>( overflowTransformedItemList_, - ((bitField0_ & 0x00000001) != 0), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); overflowTransformedItemList_ = null; @@ -1208,33 +1417,33 @@ public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder addOverflow return overflowTransformedItemListBuilder_; } - private int reason_ ; + private boolean isTransferedFromAvatarCard_ ; /** - * uint32 reason = 3; - * @return The reason. + * bool is_transfered_from_avatar_card = 5; + * @return The isTransferedFromAvatarCard. */ @java.lang.Override - public int getReason() { - return reason_; + public boolean getIsTransferedFromAvatarCard() { + return isTransferedFromAvatarCard_; } /** - * uint32 reason = 3; - * @param value The reason to set. + * bool is_transfered_from_avatar_card = 5; + * @param value The isTransferedFromAvatarCard to set. * @return This builder for chaining. */ - public Builder setReason(int value) { + public Builder setIsTransferedFromAvatarCard(boolean value) { - reason_ = value; + isTransferedFromAvatarCard_ = value; onChanged(); return this; } /** - * uint32 reason = 3; + * bool is_transfered_from_avatar_card = 5; * @return This builder for chaining. */ - public Builder clearReason() { + public Builder clearIsTransferedFromAvatarCard() { - reason_ = 0; + isTransferedFromAvatarCard_ = false; onChanged(); return this; } @@ -1243,14 +1452,14 @@ public Builder clearReason() { 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_; /** - * .Vector position = 4; + * .Vector position = 6; * @return Whether the position field is set. */ public boolean hasPosition() { return positionBuilder_ != null || position_ != null; } /** - * .Vector position = 4; + * .Vector position = 6; * @return The position. */ public emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition() { @@ -1261,7 +1470,7 @@ public emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition() { } } /** - * .Vector position = 4; + * .Vector position = 6; */ public Builder setPosition(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (positionBuilder_ == null) { @@ -1277,7 +1486,7 @@ public Builder setPosition(emu.grasscutter.net.proto.VectorOuterClass.Vector val return this; } /** - * .Vector position = 4; + * .Vector position = 6; */ public Builder setPosition( emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) { @@ -1291,7 +1500,7 @@ public Builder setPosition( return this; } /** - * .Vector position = 4; + * .Vector position = 6; */ public Builder mergePosition(emu.grasscutter.net.proto.VectorOuterClass.Vector value) { if (positionBuilder_ == null) { @@ -1309,7 +1518,7 @@ public Builder mergePosition(emu.grasscutter.net.proto.VectorOuterClass.Vector v return this; } /** - * .Vector position = 4; + * .Vector position = 6; */ public Builder clearPosition() { if (positionBuilder_ == null) { @@ -1323,7 +1532,7 @@ public Builder clearPosition() { return this; } /** - * .Vector position = 4; + * .Vector position = 6; */ public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPositionBuilder() { @@ -1331,7 +1540,7 @@ public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPositionBuil return getPositionFieldBuilder().getBuilder(); } /** - * .Vector position = 4; + * .Vector position = 6; */ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder() { if (positionBuilder_ != null) { @@ -1342,7 +1551,7 @@ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrB } } /** - * .Vector position = 4; + * .Vector position = 6; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> @@ -1358,335 +1567,126 @@ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrB return positionBuilder_; } - private int questId_ ; + private int reason_ ; /** - * uint32 quest_id = 8; - * @return The questId. + * uint32 reason = 9; + * @return The reason. */ @java.lang.Override - public int getQuestId() { - return questId_; + public int getReason() { + return reason_; } /** - * uint32 quest_id = 8; - * @param value The questId to set. + * uint32 reason = 9; + * @param value The reason to set. * @return This builder for chaining. */ - public Builder setQuestId(int value) { + public Builder setReason(int value) { - questId_ = value; + reason_ = value; onChanged(); return this; } /** - * uint32 quest_id = 8; + * uint32 reason = 9; * @return This builder for chaining. */ - public Builder clearQuestId() { + public Builder clearReason() { - questId_ = 0; + reason_ = 0; onChanged(); return this; } - private java.util.List itemList_ = - java.util.Collections.emptyList(); - private void ensureItemListIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - itemList_ = new java.util.ArrayList(itemList_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder> itemListBuilder_; - - /** - * repeated .ItemHint item_list = 10; - */ - public java.util.List getItemListList() { - if (itemListBuilder_ == null) { - return java.util.Collections.unmodifiableList(itemList_); - } else { - return itemListBuilder_.getMessageList(); - } - } - /** - * repeated .ItemHint item_list = 10; - */ - public int getItemListCount() { - if (itemListBuilder_ == null) { - return itemList_.size(); - } else { - return itemListBuilder_.getCount(); - } - } - /** - * repeated .ItemHint item_list = 10; - */ - public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint getItemList(int index) { - if (itemListBuilder_ == null) { - return itemList_.get(index); - } else { - return itemListBuilder_.getMessage(index); - } - } - /** - * repeated .ItemHint item_list = 10; - */ - public Builder setItemList( - int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint value) { - if (itemListBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureItemListIsMutable(); - itemList_.set(index, value); - onChanged(); - } else { - itemListBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .ItemHint item_list = 10; - */ - public Builder setItemList( - int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder builderForValue) { - if (itemListBuilder_ == null) { - ensureItemListIsMutable(); - itemList_.set(index, builderForValue.build()); - onChanged(); - } else { - itemListBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .ItemHint item_list = 10; - */ - public Builder addItemList(emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint value) { - if (itemListBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureItemListIsMutable(); - itemList_.add(value); - onChanged(); - } else { - itemListBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .ItemHint item_list = 10; - */ - public Builder addItemList( - int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint value) { - if (itemListBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureItemListIsMutable(); - itemList_.add(index, value); - onChanged(); - } else { - itemListBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .ItemHint item_list = 10; - */ - public Builder addItemList( - emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder builderForValue) { - if (itemListBuilder_ == null) { - ensureItemListIsMutable(); - itemList_.add(builderForValue.build()); - onChanged(); - } else { - itemListBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .ItemHint item_list = 10; - */ - public Builder addItemList( - int index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder builderForValue) { - if (itemListBuilder_ == null) { - ensureItemListIsMutable(); - itemList_.add(index, builderForValue.build()); - onChanged(); - } else { - itemListBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } + private boolean isPositionValid_ ; /** - * repeated .ItemHint item_list = 10; + * bool is_position_valid = 11; + * @return The isPositionValid. */ - public Builder addAllItemList( - java.lang.Iterable values) { - if (itemListBuilder_ == null) { - ensureItemListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, itemList_); - onChanged(); - } else { - itemListBuilder_.addAllMessages(values); - } - return this; + @java.lang.Override + public boolean getIsPositionValid() { + return isPositionValid_; } /** - * repeated .ItemHint item_list = 10; + * bool is_position_valid = 11; + * @param value The isPositionValid to set. + * @return This builder for chaining. */ - public Builder clearItemList() { - if (itemListBuilder_ == null) { - itemList_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - itemListBuilder_.clear(); - } + public Builder setIsPositionValid(boolean value) { + + isPositionValid_ = value; + onChanged(); return this; } /** - * repeated .ItemHint item_list = 10; + * bool is_position_valid = 11; + * @return This builder for chaining. */ - public Builder removeItemList(int index) { - if (itemListBuilder_ == null) { - ensureItemListIsMutable(); - itemList_.remove(index); - onChanged(); - } else { - itemListBuilder_.remove(index); - } + public Builder clearIsPositionValid() { + + isPositionValid_ = false; + onChanged(); return this; } - /** - * repeated .ItemHint item_list = 10; - */ - public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder getItemListBuilder( - int index) { - return getItemListFieldBuilder().getBuilder(index); - } - /** - * repeated .ItemHint item_list = 10; - */ - public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder getItemListOrBuilder( - int index) { - if (itemListBuilder_ == null) { - return itemList_.get(index); } else { - return itemListBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .ItemHint item_list = 10; - */ - public java.util.List - getItemListOrBuilderList() { - if (itemListBuilder_ != null) { - return itemListBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(itemList_); - } - } - /** - * repeated .ItemHint item_list = 10; - */ - public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder addItemListBuilder() { - return getItemListFieldBuilder().addBuilder( - emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.getDefaultInstance()); - } - /** - * repeated .ItemHint item_list = 10; - */ - public emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder addItemListBuilder( - int index) { - return getItemListFieldBuilder().addBuilder( - index, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.getDefaultInstance()); - } - /** - * repeated .ItemHint item_list = 10; - */ - public java.util.List - getItemListBuilderList() { - return getItemListFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder> - getItemListFieldBuilder() { - if (itemListBuilder_ == null) { - itemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHint.Builder, emu.grasscutter.net.proto.ItemHintOuterClass.ItemHintOrBuilder>( - itemList_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - itemList_ = null; - } - return itemListBuilder_; - } - private boolean bJFIEHFPADD_ ; + private boolean isGeneralRewardHiden_ ; /** - * bool BJFIEHFPADD = 12; - * @return The bJFIEHFPADD. + * bool is_general_reward_hiden = 12; + * @return The isGeneralRewardHiden. */ @java.lang.Override - public boolean getBJFIEHFPADD() { - return bJFIEHFPADD_; + public boolean getIsGeneralRewardHiden() { + return isGeneralRewardHiden_; } /** - * bool BJFIEHFPADD = 12; - * @param value The bJFIEHFPADD to set. + * bool is_general_reward_hiden = 12; + * @param value The isGeneralRewardHiden to set. * @return This builder for chaining. */ - public Builder setBJFIEHFPADD(boolean value) { + public Builder setIsGeneralRewardHiden(boolean value) { - bJFIEHFPADD_ = value; + isGeneralRewardHiden_ = value; onChanged(); return this; } /** - * bool BJFIEHFPADD = 12; + * bool is_general_reward_hiden = 12; * @return This builder for chaining. */ - public Builder clearBJFIEHFPADD() { + public Builder clearIsGeneralRewardHiden() { - bJFIEHFPADD_ = false; + isGeneralRewardHiden_ = false; onChanged(); return this; } - private boolean dAKGABMHAHP_ ; + private int questId_ ; /** - * bool DAKGABMHAHP = 14; - * @return The dAKGABMHAHP. + * uint32 quest_id = 13; + * @return The questId. */ @java.lang.Override - public boolean getDAKGABMHAHP() { - return dAKGABMHAHP_; + public int getQuestId() { + return questId_; } /** - * bool DAKGABMHAHP = 14; - * @param value The dAKGABMHAHP to set. + * uint32 quest_id = 13; + * @param value The questId to set. * @return This builder for chaining. */ - public Builder setDAKGABMHAHP(boolean value) { + public Builder setQuestId(int value) { - dAKGABMHAHP_ = value; + questId_ = value; onChanged(); return this; } /** - * bool DAKGABMHAHP = 14; + * uint32 quest_id = 13; * @return This builder for chaining. */ - public Builder clearDAKGABMHAHP() { + public Builder clearQuestId() { - dAKGABMHAHP_ = false; + questId_ = 0; onChanged(); return this; } @@ -1758,13 +1758,14 @@ public emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify g static { java.lang.String[] descriptorData = { "\n\027ItemAddHintNotify.proto\032\016ItemHint.prot" + - "o\032\014Vector.proto\"\340\001\n\021ItemAddHintNotify\022\023\n" + - "\013FMLDPGOOCPG\030\001 \001(\010\0221\n\036overflow_transform" + - "ed_item_list\030\002 \003(\0132\t.ItemHint\022\016\n\006reason\030" + - "\003 \001(\r\022\031\n\010position\030\004 \001(\0132\007.Vector\022\020\n\010ques" + - "t_id\030\010 \001(\r\022\034\n\titem_list\030\n \003(\0132\t.ItemHint" + - "\022\023\n\013BJFIEHFPADD\030\014 \001(\010\022\023\n\013DAKGABMHAHP\030\016 \001" + - "(\010B\033\n\031emu.grasscutter.net.protob\006proto3" + "o\032\014Vector.proto\"\205\002\n\021ItemAddHintNotify\022\034\n" + + "\titem_list\030\002 \003(\0132\t.ItemHint\0221\n\036overflow_" + + "transformed_item_list\030\003 \003(\0132\t.ItemHint\022&" + + "\n\036is_transfered_from_avatar_card\030\005 \001(\010\022\031" + + "\n\010position\030\006 \001(\0132\007.Vector\022\016\n\006reason\030\t \001(" + + "\r\022\031\n\021is_position_valid\030\013 \001(\010\022\037\n\027is_gener" + + "al_reward_hiden\030\014 \001(\010\022\020\n\010quest_id\030\r \001(\rB" + + "\033\n\031emu.grasscutter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -1777,7 +1778,7 @@ public emu.grasscutter.net.proto.ItemAddHintNotifyOuterClass.ItemAddHintNotify g internal_static_ItemAddHintNotify_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ItemAddHintNotify_descriptor, - new java.lang.String[] { "FMLDPGOOCPG", "OverflowTransformedItemList", "Reason", "Position", "QuestId", "ItemList", "BJFIEHFPADD", "DAKGABMHAHP", }); + new java.lang.String[] { "ItemList", "OverflowTransformedItemList", "IsTransferedFromAvatarCard", "Position", "Reason", "IsPositionValid", "IsGeneralRewardHiden", "QuestId", }); emu.grasscutter.net.proto.ItemHintOuterClass.getDescriptor(); emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(); }