mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 03:13:35 +08:00
Add support for v3.5.0 (#2090)
* Fix Dvalin battle See https://github.com/Anime-Game-Servers/Grasscutter-Quests/pull/25. This is entirely untested and there's a 99% chance it's broken, I'm just submitting it as a draft PR so that I don't forget about its existence. Co-Authored-By: mjolsic <21289772+mjolsic@users.noreply.github.com> * Update protos * 3.4 protos * Fix Now builds successfully, don't have the time to check if I should have specified true instead of false for withChildQuests, or if this functions as intended. * Change from false to true Per what smileoflove has been told on Discord * 3.5 * Remove the Dvalin crap from this PR Git is so confusing * Update version * Apply README changes from `origin/development` * Remove unnecessary debugging information --------- Co-authored-by: mjolsic <21289772+mjolsic@users.noreply.github.com> Co-authored-by: KingRainbow44 <kobedo11@gmail.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
922f7bca51
commit
516e5975e1
+171
-302
@@ -19,59 +19,64 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @return A list containing the parentQuestList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getParentQuestListList();
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @return The count of parentQuestList.
|
||||
*/
|
||||
int getParentQuestListCount();
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The parentQuestList at the given index.
|
||||
*/
|
||||
int getParentQuestList(int index);
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 cityId = 13;</code>
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* @return The cityId.
|
||||
*/
|
||||
int getCityId();
|
||||
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>
|
||||
getItemListList();
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getItemList(int index);
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
int getItemListCount();
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>
|
||||
getItemListOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getItemListOrBuilder(
|
||||
int index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FOOGLNHHBCK
|
||||
* CmdId: 2872
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code TakeCityReputationParentQuestRsp}
|
||||
*/
|
||||
public static final class TakeCityReputationParentQuestRsp extends
|
||||
@@ -119,26 +124,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 48: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
itemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
}
|
||||
itemList_.add(
|
||||
input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
|
||||
cityId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
case 32: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
parentQuestList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -146,7 +132,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
parentQuestList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
case 34: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -159,6 +145,25 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
|
||||
cityId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
itemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
}
|
||||
itemList_.add(
|
||||
input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -174,12 +179,12 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
itemList_ = java.util.Collections.unmodifiableList(itemList_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
parentQuestList_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
itemList_ = java.util.Collections.unmodifiableList(itemList_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
@@ -197,149 +202,10 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
emu.grasscutter.net.proto.TakeCityReputationParentQuestRspOuterClass.TakeCityReputationParentQuestRsp.class, emu.grasscutter.net.proto.TakeCityReputationParentQuestRspOuterClass.TakeCityReputationParentQuestRsp.Builder.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code TakeCityReputationParentQuestRsp.PLEHGFAIIKG}
|
||||
*/
|
||||
public enum PLEHGFAIIKG
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
NONE(0, 0),
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 2880;</code>
|
||||
*/
|
||||
PEPPOHPHJOJ(1, 2880),
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
NNBKOLMPOEA(3, 1),
|
||||
UNRECOGNIZED(-1, -1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final PLEHGFAIIKG DCDNILFDFLB = NONE;
|
||||
/**
|
||||
* <code>EAJIABGAOCI = 1;</code>
|
||||
*/
|
||||
public static final PLEHGFAIIKG EAJIABGAOCI = NNBKOLMPOEA;
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
public static final int NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 2880;</code>
|
||||
*/
|
||||
public static final int PEPPOHPHJOJ_VALUE = 2880;
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final int DCDNILFDFLB_VALUE = 0;
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
public static final int NNBKOLMPOEA_VALUE = 1;
|
||||
/**
|
||||
* <code>EAJIABGAOCI = 1;</code>
|
||||
*/
|
||||
public static final int EAJIABGAOCI_VALUE = 1;
|
||||
|
||||
|
||||
public final int getNumber() {
|
||||
if (index == -1) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"Can't get the number of an unknown enum value.");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value The numeric wire value of the corresponding enum entry.
|
||||
* @return The enum associated with the given numeric wire value.
|
||||
* @deprecated Use {@link #forNumber(int)} instead.
|
||||
*/
|
||||
@java.lang.Deprecated
|
||||
public static PLEHGFAIIKG valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value The numeric wire value of the corresponding enum entry.
|
||||
* @return The enum associated with the given numeric wire value.
|
||||
*/
|
||||
public static PLEHGFAIIKG forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return NONE;
|
||||
case 2880: return PEPPOHPHJOJ;
|
||||
case 1: return NNBKOLMPOEA;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<PLEHGFAIIKG>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
PLEHGFAIIKG> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<PLEHGFAIIKG>() {
|
||||
public PLEHGFAIIKG findValueByNumber(int number) {
|
||||
return PLEHGFAIIKG.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
||||
getValueDescriptor() {
|
||||
if (index == -1) {
|
||||
throw new java.lang.IllegalStateException(
|
||||
"Can't get the descriptor of an unrecognized enum value.");
|
||||
}
|
||||
return getDescriptor().getValues().get(index);
|
||||
}
|
||||
public final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptorForType() {
|
||||
return getDescriptor();
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.TakeCityReputationParentQuestRspOuterClass.TakeCityReputationParentQuestRsp.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final PLEHGFAIIKG[] VALUES = getStaticValuesArray();
|
||||
private static PLEHGFAIIKG[] getStaticValuesArray() {
|
||||
return new PLEHGFAIIKG[] {
|
||||
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI,
|
||||
};
|
||||
}
|
||||
public static PLEHGFAIIKG valueOf(
|
||||
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
||||
if (desc.getType() != getDescriptor()) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"EnumValueDescriptor is not for this type.");
|
||||
}
|
||||
if (desc.getIndex() == -1) {
|
||||
return UNRECOGNIZED;
|
||||
}
|
||||
return VALUES[desc.getIndex()];
|
||||
}
|
||||
|
||||
private final int index;
|
||||
private final int value;
|
||||
|
||||
private PLEHGFAIIKG(int index, int value) {
|
||||
this.index = index;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:TakeCityReputationParentQuestRsp.PLEHGFAIIKG)
|
||||
}
|
||||
|
||||
public static final int PARENTQUESTLIST_FIELD_NUMBER = 14;
|
||||
public static final int PARENT_QUEST_LIST_FIELD_NUMBER = 4;
|
||||
private com.google.protobuf.Internal.IntList parentQuestList_;
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @return A list containing the parentQuestList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -348,14 +214,14 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return parentQuestList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @return The count of parentQuestList.
|
||||
*/
|
||||
public int getParentQuestListCount() {
|
||||
return parentQuestList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The parentQuestList at the given index.
|
||||
*/
|
||||
@@ -364,21 +230,10 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
}
|
||||
private int parentQuestListMemoizedSerializedSize = -1;
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
public static final int CITYID_FIELD_NUMBER = 13;
|
||||
public static final int CITY_ID_FIELD_NUMBER = 9;
|
||||
private int cityId_;
|
||||
/**
|
||||
* <code>uint32 cityId = 13;</code>
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* @return The cityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -386,17 +241,28 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return cityId_;
|
||||
}
|
||||
|
||||
public static final int ITEMLIST_FIELD_NUMBER = 11;
|
||||
public static final int RETCODE_FIELD_NUMBER = 5;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int ITEM_LIST_FIELD_NUMBER = 13;
|
||||
private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> itemList_;
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getItemListList() {
|
||||
return itemList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>
|
||||
@@ -404,21 +270,21 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return itemList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getItemListCount() {
|
||||
return itemList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getItemList(int index) {
|
||||
return itemList_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getItemListOrBuilder(
|
||||
@@ -441,22 +307,22 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(6, retcode_);
|
||||
}
|
||||
for (int i = 0; i < itemList_.size(); i++) {
|
||||
output.writeMessage(11, itemList_.get(i));
|
||||
}
|
||||
if (cityId_ != 0) {
|
||||
output.writeUInt32(13, cityId_);
|
||||
}
|
||||
if (getParentQuestListList().size() > 0) {
|
||||
output.writeUInt32NoTag(114);
|
||||
output.writeUInt32NoTag(34);
|
||||
output.writeUInt32NoTag(parentQuestListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < parentQuestList_.size(); i++) {
|
||||
output.writeUInt32NoTag(parentQuestList_.getInt(i));
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(5, retcode_);
|
||||
}
|
||||
if (cityId_ != 0) {
|
||||
output.writeUInt32(9, cityId_);
|
||||
}
|
||||
for (int i = 0; i < itemList_.size(); i++) {
|
||||
output.writeMessage(13, itemList_.get(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -466,18 +332,6 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(6, retcode_);
|
||||
}
|
||||
for (int i = 0; i < itemList_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(11, itemList_.get(i));
|
||||
}
|
||||
if (cityId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(13, cityId_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < parentQuestList_.size(); i++) {
|
||||
@@ -492,6 +346,18 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
}
|
||||
parentQuestListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(5, retcode_);
|
||||
}
|
||||
if (cityId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, cityId_);
|
||||
}
|
||||
for (int i = 0; i < itemList_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(13, itemList_.get(i));
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -509,10 +375,10 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
|
||||
if (!getParentQuestListList()
|
||||
.equals(other.getParentQuestListList())) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getCityId()
|
||||
!= other.getCityId()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!getItemListList()
|
||||
.equals(other.getItemListList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
@@ -527,15 +393,15 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
if (getParentQuestListCount() > 0) {
|
||||
hash = (37 * hash) + PARENTQUESTLIST_FIELD_NUMBER;
|
||||
hash = (37 * hash) + PARENT_QUEST_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getParentQuestListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + CITY_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCityId();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + CITYID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCityId();
|
||||
if (getItemListCount() > 0) {
|
||||
hash = (37 * hash) + ITEMLIST_FIELD_NUMBER;
|
||||
hash = (37 * hash) + ITEM_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getItemListList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -634,6 +500,11 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FOOGLNHHBCK
|
||||
* CmdId: 2872
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code TakeCityReputationParentQuestRsp}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -674,10 +545,10 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
super.clear();
|
||||
parentQuestList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
retcode_ = 0;
|
||||
|
||||
cityId_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
if (itemListBuilder_ == null) {
|
||||
itemList_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -716,8 +587,8 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.parentQuestList_ = parentQuestList_;
|
||||
result.retcode_ = retcode_;
|
||||
result.cityId_ = cityId_;
|
||||
result.retcode_ = retcode_;
|
||||
if (itemListBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000002) != 0)) {
|
||||
itemList_ = java.util.Collections.unmodifiableList(itemList_);
|
||||
@@ -785,12 +656,12 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getCityId() != 0) {
|
||||
setCityId(other.getCityId());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (itemListBuilder_ == null) {
|
||||
if (!other.itemList_.isEmpty()) {
|
||||
if (itemList_.isEmpty()) {
|
||||
@@ -855,7 +726,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @return A list containing the parentQuestList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -864,14 +735,14 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
java.util.Collections.unmodifiableList(parentQuestList_) : parentQuestList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @return The count of parentQuestList.
|
||||
*/
|
||||
public int getParentQuestListCount() {
|
||||
return parentQuestList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The parentQuestList at the given index.
|
||||
*/
|
||||
@@ -879,7 +750,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return parentQuestList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The parentQuestList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -892,7 +763,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @param value The parentQuestList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -903,7 +774,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @param values The parentQuestList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -916,7 +787,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 parentQuestList = 14;</code>
|
||||
* <code>repeated uint32 parent_quest_list = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearParentQuestList() {
|
||||
@@ -926,40 +797,9 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
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;
|
||||
}
|
||||
|
||||
private int cityId_ ;
|
||||
/**
|
||||
* <code>uint32 cityId = 13;</code>
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* @return The cityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -967,7 +807,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return cityId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cityId = 13;</code>
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* @param value The cityId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -978,7 +818,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cityId = 13;</code>
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCityId() {
|
||||
@@ -988,6 +828,37 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 5;</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 = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> itemList_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureItemListIsMutable() {
|
||||
@@ -1001,7 +872,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> itemListBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getItemListList() {
|
||||
if (itemListBuilder_ == null) {
|
||||
@@ -1011,7 +882,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public int getItemListCount() {
|
||||
if (itemListBuilder_ == null) {
|
||||
@@ -1021,7 +892,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getItemList(int index) {
|
||||
if (itemListBuilder_ == null) {
|
||||
@@ -1031,7 +902,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public Builder setItemList(
|
||||
int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
|
||||
@@ -1048,7 +919,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public Builder setItemList(
|
||||
int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
|
||||
@@ -1062,7 +933,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public Builder addItemList(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
|
||||
if (itemListBuilder_ == null) {
|
||||
@@ -1078,7 +949,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public Builder addItemList(
|
||||
int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
|
||||
@@ -1095,7 +966,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public Builder addItemList(
|
||||
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
|
||||
@@ -1109,7 +980,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public Builder addItemList(
|
||||
int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
|
||||
@@ -1123,7 +994,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public Builder addAllItemList(
|
||||
java.lang.Iterable<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> values) {
|
||||
@@ -1138,7 +1009,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public Builder clearItemList() {
|
||||
if (itemListBuilder_ == null) {
|
||||
@@ -1151,7 +1022,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public Builder removeItemList(int index) {
|
||||
if (itemListBuilder_ == null) {
|
||||
@@ -1164,14 +1035,14 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getItemListBuilder(
|
||||
int index) {
|
||||
return getItemListFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getItemListOrBuilder(
|
||||
int index) {
|
||||
@@ -1181,7 +1052,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>
|
||||
getItemListOrBuilderList() {
|
||||
@@ -1192,14 +1063,14 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addItemListBuilder() {
|
||||
return getItemListFieldBuilder().addBuilder(
|
||||
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addItemListBuilder(
|
||||
int index) {
|
||||
@@ -1207,7 +1078,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .ItemParam itemList = 11;</code>
|
||||
* <code>repeated .ItemParam item_list = 13;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder>
|
||||
getItemListBuilderList() {
|
||||
@@ -1295,13 +1166,11 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n&TakeCityReputationParentQuestRsp.proto" +
|
||||
"\032\017ItemParam.proto\"\334\001\n TakeCityReputation" +
|
||||
"ParentQuestRsp\022\027\n\017parentQuestList\030\016 \003(\r\022" +
|
||||
"\017\n\007retcode\030\006 \001(\005\022\016\n\006cityId\030\r \001(\r\022\034\n\010item" +
|
||||
"List\030\013 \003(\0132\n.ItemParam\"`\n\013PLEHGFAIIKG\022\010\n" +
|
||||
"\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\300\026\022\017\n\013DCDNILFDFLB" +
|
||||
"\020\000\022\017\n\013NNBKOLMPOEA\020\001\022\017\n\013EAJIABGAOCI\020\001\032\002\020\001" +
|
||||
"B\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
"\032\017ItemParam.proto\"~\n TakeCityReputationP" +
|
||||
"arentQuestRsp\022\031\n\021parent_quest_list\030\004 \003(\r" +
|
||||
"\022\017\n\007city_id\030\t \001(\r\022\017\n\007retcode\030\005 \001(\005\022\035\n\tit" +
|
||||
"em_list\030\r \003(\0132\n.ItemParamB\033\n\031emu.grasscu" +
|
||||
"tter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -1313,7 +1182,7 @@ public final class TakeCityReputationParentQuestRspOuterClass {
|
||||
internal_static_TakeCityReputationParentQuestRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_TakeCityReputationParentQuestRsp_descriptor,
|
||||
new java.lang.String[] { "ParentQuestList", "Retcode", "CityId", "ItemList", });
|
||||
new java.lang.String[] { "ParentQuestList", "CityId", "Retcode", "ItemList", });
|
||||
emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user