mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 05:43:33 +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
+124
-255
@@ -19,42 +19,47 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
* <code>bool is_for_mark = 14;</code>
|
||||
* @return The isForMark.
|
||||
*/
|
||||
int getRetcode();
|
||||
boolean getIsForMark();
|
||||
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster>
|
||||
getMonsterListList();
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster getMonsterList(int index);
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
int getMonsterListCount();
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
java.util.List<? extends emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder>
|
||||
getMonsterListOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder getMonsterListOrBuilder(
|
||||
int index);
|
||||
|
||||
/**
|
||||
* <code>bool isForMark = 11;</code>
|
||||
* @return The isForMark.
|
||||
* <code>int32 retcode = 4;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
boolean getIsForMark();
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: CNPABHAODOI
|
||||
* CmdId: 1923
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GetInvestigationMonsterRsp}
|
||||
*/
|
||||
public static final class GetInvestigationMonsterRsp extends
|
||||
@@ -101,7 +106,12 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 18: {
|
||||
case 32: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
monsterList_ = new java.util.ArrayList<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -110,12 +120,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
input.readMessage(emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
case 112: {
|
||||
|
||||
isForMark_ = input.readBool();
|
||||
break;
|
||||
@@ -155,167 +160,28 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp.class, emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int IS_FOR_MARK_FIELD_NUMBER = 14;
|
||||
private boolean isForMark_;
|
||||
/**
|
||||
* Protobuf enum {@code GetInvestigationMonsterRsp.ONMJIJLGELG}
|
||||
*/
|
||||
public enum ONMJIJLGELG
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
NONE(0, 0),
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 1927;</code>
|
||||
*/
|
||||
PEPPOHPHJOJ(1, 1927),
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
NNBKOLMPOEA(3, 1),
|
||||
UNRECOGNIZED(-1, -1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final ONMJIJLGELG DCDNILFDFLB = NONE;
|
||||
/**
|
||||
* <code>EAJIABGAOCI = 1;</code>
|
||||
*/
|
||||
public static final ONMJIJLGELG EAJIABGAOCI = NNBKOLMPOEA;
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
public static final int NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 1927;</code>
|
||||
*/
|
||||
public static final int PEPPOHPHJOJ_VALUE = 1927;
|
||||
/**
|
||||
* <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 ONMJIJLGELG 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 ONMJIJLGELG forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return NONE;
|
||||
case 1927: return PEPPOHPHJOJ;
|
||||
case 1: return NNBKOLMPOEA;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<ONMJIJLGELG>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
ONMJIJLGELG> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<ONMJIJLGELG>() {
|
||||
public ONMJIJLGELG findValueByNumber(int number) {
|
||||
return ONMJIJLGELG.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.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final ONMJIJLGELG[] VALUES = getStaticValuesArray();
|
||||
private static ONMJIJLGELG[] getStaticValuesArray() {
|
||||
return new ONMJIJLGELG[] {
|
||||
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI,
|
||||
};
|
||||
}
|
||||
public static ONMJIJLGELG 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 ONMJIJLGELG(int index, int value) {
|
||||
this.index = index;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GetInvestigationMonsterRsp.ONMJIJLGELG)
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 6;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
* <code>bool is_for_mark = 14;</code>
|
||||
* @return The isForMark.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
public boolean getIsForMark() {
|
||||
return isForMark_;
|
||||
}
|
||||
|
||||
public static final int MONSTERLIST_FIELD_NUMBER = 2;
|
||||
public static final int MONSTER_LIST_FIELD_NUMBER = 10;
|
||||
private java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster> monsterList_;
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster> getMonsterListList() {
|
||||
return monsterList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder>
|
||||
@@ -323,21 +189,21 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return monsterList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMonsterListCount() {
|
||||
return monsterList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster getMonsterList(int index) {
|
||||
return monsterList_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder getMonsterListOrBuilder(
|
||||
@@ -345,15 +211,15 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return monsterList_.get(index);
|
||||
}
|
||||
|
||||
public static final int ISFORMARK_FIELD_NUMBER = 11;
|
||||
private boolean isForMark_;
|
||||
public static final int RETCODE_FIELD_NUMBER = 4;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>bool isForMark = 11;</code>
|
||||
* @return The isForMark.
|
||||
* <code>int32 retcode = 4;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsForMark() {
|
||||
return isForMark_;
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -370,14 +236,14 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
for (int i = 0; i < monsterList_.size(); i++) {
|
||||
output.writeMessage(2, monsterList_.get(i));
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(6, retcode_);
|
||||
output.writeInt32(4, retcode_);
|
||||
}
|
||||
for (int i = 0; i < monsterList_.size(); i++) {
|
||||
output.writeMessage(10, monsterList_.get(i));
|
||||
}
|
||||
if (isForMark_ != false) {
|
||||
output.writeBool(11, isForMark_);
|
||||
output.writeBool(14, isForMark_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -388,17 +254,17 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
for (int i = 0; i < monsterList_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, monsterList_.get(i));
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(6, retcode_);
|
||||
.computeInt32Size(4, retcode_);
|
||||
}
|
||||
for (int i = 0; i < monsterList_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(10, monsterList_.get(i));
|
||||
}
|
||||
if (isForMark_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(11, isForMark_);
|
||||
.computeBoolSize(14, isForMark_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -415,12 +281,12 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp other = (emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp) obj;
|
||||
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!getMonsterListList()
|
||||
.equals(other.getMonsterListList())) return false;
|
||||
if (getIsForMark()
|
||||
!= other.getIsForMark()) return false;
|
||||
if (!getMonsterListList()
|
||||
.equals(other.getMonsterListList())) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -432,15 +298,15 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
if (getMonsterListCount() > 0) {
|
||||
hash = (37 * hash) + MONSTERLIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMonsterListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + ISFORMARK_FIELD_NUMBER;
|
||||
hash = (37 * hash) + IS_FOR_MARK_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsForMark());
|
||||
if (getMonsterListCount() > 0) {
|
||||
hash = (37 * hash) + MONSTER_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMonsterListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -537,6 +403,11 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: CNPABHAODOI
|
||||
* CmdId: 1923
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GetInvestigationMonsterRsp}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -575,7 +446,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
retcode_ = 0;
|
||||
isForMark_ = false;
|
||||
|
||||
if (monsterListBuilder_ == null) {
|
||||
monsterList_ = java.util.Collections.emptyList();
|
||||
@@ -583,7 +454,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
} else {
|
||||
monsterListBuilder_.clear();
|
||||
}
|
||||
isForMark_ = false;
|
||||
retcode_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
@@ -612,7 +483,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
public emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp result = new emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
result.retcode_ = retcode_;
|
||||
result.isForMark_ = isForMark_;
|
||||
if (monsterListBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
monsterList_ = java.util.Collections.unmodifiableList(monsterList_);
|
||||
@@ -622,7 +493,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
} else {
|
||||
result.monsterList_ = monsterListBuilder_.build();
|
||||
}
|
||||
result.isForMark_ = isForMark_;
|
||||
result.retcode_ = retcode_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -671,8 +542,8 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp.getDefaultInstance()) return this;
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
if (other.getIsForMark() != false) {
|
||||
setIsForMark(other.getIsForMark());
|
||||
}
|
||||
if (monsterListBuilder_ == null) {
|
||||
if (!other.monsterList_.isEmpty()) {
|
||||
@@ -700,8 +571,8 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (other.getIsForMark() != false) {
|
||||
setIsForMark(other.getIsForMark());
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
@@ -733,33 +604,33 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int retcode_ ;
|
||||
private boolean isForMark_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
* <code>bool is_for_mark = 14;</code>
|
||||
* @return The isForMark.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
public boolean getIsForMark() {
|
||||
return isForMark_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @param value The retcode to set.
|
||||
* <code>bool is_for_mark = 14;</code>
|
||||
* @param value The isForMark to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
public Builder setIsForMark(boolean value) {
|
||||
|
||||
retcode_ = value;
|
||||
isForMark_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>bool is_for_mark = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
public Builder clearIsForMark() {
|
||||
|
||||
retcode_ = 0;
|
||||
isForMark_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -777,7 +648,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder> monsterListBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster> getMonsterListList() {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -787,7 +658,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public int getMonsterListCount() {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -797,7 +668,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster getMonsterList(int index) {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -807,7 +678,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public Builder setMonsterList(
|
||||
int index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster value) {
|
||||
@@ -824,7 +695,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public Builder setMonsterList(
|
||||
int index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder builderForValue) {
|
||||
@@ -838,7 +709,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public Builder addMonsterList(emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster value) {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -854,7 +725,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public Builder addMonsterList(
|
||||
int index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster value) {
|
||||
@@ -871,7 +742,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public Builder addMonsterList(
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder builderForValue) {
|
||||
@@ -885,7 +756,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public Builder addMonsterList(
|
||||
int index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder builderForValue) {
|
||||
@@ -899,7 +770,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public Builder addAllMonsterList(
|
||||
java.lang.Iterable<? extends emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster> values) {
|
||||
@@ -914,7 +785,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public Builder clearMonsterList() {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -927,7 +798,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public Builder removeMonsterList(int index) {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -940,14 +811,14 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder getMonsterListBuilder(
|
||||
int index) {
|
||||
return getMonsterListFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder getMonsterListOrBuilder(
|
||||
int index) {
|
||||
@@ -957,7 +828,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder>
|
||||
getMonsterListOrBuilderList() {
|
||||
@@ -968,14 +839,14 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder addMonsterListBuilder() {
|
||||
return getMonsterListFieldBuilder().addBuilder(
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder addMonsterListBuilder(
|
||||
int index) {
|
||||
@@ -983,7 +854,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monsterList = 2;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 10;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder>
|
||||
getMonsterListBuilderList() {
|
||||
@@ -1004,33 +875,33 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return monsterListBuilder_;
|
||||
}
|
||||
|
||||
private boolean isForMark_ ;
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>bool isForMark = 11;</code>
|
||||
* @return The isForMark.
|
||||
* <code>int32 retcode = 4;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsForMark() {
|
||||
return isForMark_;
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>bool isForMark = 11;</code>
|
||||
* @param value The isForMark to set.
|
||||
* <code>int32 retcode = 4;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsForMark(boolean value) {
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
isForMark_ = value;
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool isForMark = 11;</code>
|
||||
* <code>int32 retcode = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsForMark() {
|
||||
public Builder clearRetcode() {
|
||||
|
||||
isForMark_ = false;
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -1102,13 +973,11 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n GetInvestigationMonsterRsp.proto\032\032Inve" +
|
||||
"stigationMonster.proto\"\316\001\n\032GetInvestigat" +
|
||||
"ionMonsterRsp\022\017\n\007retcode\030\006 \001(\005\022*\n\013monste" +
|
||||
"rList\030\002 \003(\0132\025.InvestigationMonster\022\021\n\tis" +
|
||||
"ForMark\030\013 \001(\010\"`\n\013ONMJIJLGELG\022\010\n\004NONE\020\000\022\020" +
|
||||
"\n\013PEPPOHPHJOJ\020\207\017\022\017\n\013DCDNILFDFLB\020\000\022\017\n\013NNB" +
|
||||
"KOLMPOEA\020\001\022\017\n\013EAJIABGAOCI\020\001\032\002\020\001B\033\n\031emu.g" +
|
||||
"rasscutter.net.protob\006proto3"
|
||||
"stigationMonster.proto\"o\n\032GetInvestigati" +
|
||||
"onMonsterRsp\022\023\n\013is_for_mark\030\016 \001(\010\022+\n\014mon" +
|
||||
"ster_list\030\n \003(\0132\025.InvestigationMonster\022\017" +
|
||||
"\n\007retcode\030\004 \001(\005B\033\n\031emu.grasscutter.net.p" +
|
||||
"rotob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -1120,7 +989,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
internal_static_GetInvestigationMonsterRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_GetInvestigationMonsterRsp_descriptor,
|
||||
new java.lang.String[] { "Retcode", "MonsterList", "IsForMark", });
|
||||
new java.lang.String[] { "IsForMark", "MonsterList", "Retcode", });
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user