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:
Colleiflower
2023-03-31 19:13:32 +00:00
committed by GitHub
Unverified
parent 922f7bca51
commit 516e5975e1
1383 changed files with 167226 additions and 586936 deletions
@@ -19,48 +19,53 @@ public final class GetAllMailRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool isCollected = 5;</code>
* @return The isCollected.
*/
boolean getIsCollected();
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>bool is_truncated = 10;</code>
* @return The isTruncated.
*/
boolean getIsTruncated();
/**
* <code>repeated .MailData mail_list = 11;</code>
*/
java.util.List<emu.grasscutter.net.proto.MailDataOuterClass.MailData>
getMailListList();
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
emu.grasscutter.net.proto.MailDataOuterClass.MailData getMailList(int index);
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
int getMailListCount();
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.MailDataOuterClass.MailDataOrBuilder>
getMailListOrBuilderList();
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
emu.grasscutter.net.proto.MailDataOuterClass.MailDataOrBuilder getMailListOrBuilder(
int index);
/**
* <code>bool isTruncated = 8;</code>
* @return The isTruncated.
* <code>bool is_collected = 13;</code>
* @return The isCollected.
*/
boolean getIsTruncated();
boolean getIsCollected();
}
/**
* <pre>
* Name: LLAGIAGEIKA
* CmdId: 1407
* </pre>
*
* Protobuf type {@code GetAllMailRsp}
*/
public static final class GetAllMailRsp extends
@@ -107,12 +112,12 @@ public final class GetAllMailRspOuterClass {
case 0:
done = true;
break;
case 40: {
case 80: {
isCollected_ = input.readBool();
isTruncated_ = input.readBool();
break;
}
case 58: {
case 90: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
mailList_ = new java.util.ArrayList<emu.grasscutter.net.proto.MailDataOuterClass.MailData>();
mutable_bitField0_ |= 0x00000001;
@@ -121,12 +126,12 @@ public final class GetAllMailRspOuterClass {
input.readMessage(emu.grasscutter.net.proto.MailDataOuterClass.MailData.parser(), extensionRegistry));
break;
}
case 64: {
case 104: {
isTruncated_ = input.readBool();
isCollected_ = input.readBool();
break;
}
case 72: {
case 120: {
retcode_ = input.readInt32();
break;
@@ -166,152 +171,10 @@ public final class GetAllMailRspOuterClass {
emu.grasscutter.net.proto.GetAllMailRspOuterClass.GetAllMailRsp.class, emu.grasscutter.net.proto.GetAllMailRspOuterClass.GetAllMailRsp.Builder.class);
}
/**
* Protobuf enum {@code GetAllMailRsp.FNCKKDMEJGP}
*/
public enum FNCKKDMEJGP
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 1429;</code>
*/
PEPPOHPHJOJ(1, 1429),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final FNCKKDMEJGP DCDNILFDFLB = NONE;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 1429;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 1429;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final int DCDNILFDFLB_VALUE = 0;
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
public static final int NNBKOLMPOEA_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 FNCKKDMEJGP 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 FNCKKDMEJGP forNumber(int value) {
switch (value) {
case 0: return NONE;
case 1429: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<FNCKKDMEJGP>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
FNCKKDMEJGP> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<FNCKKDMEJGP>() {
public FNCKKDMEJGP findValueByNumber(int number) {
return FNCKKDMEJGP.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.GetAllMailRspOuterClass.GetAllMailRsp.getDescriptor().getEnumTypes().get(0);
}
private static final FNCKKDMEJGP[] VALUES = getStaticValuesArray();
private static FNCKKDMEJGP[] getStaticValuesArray() {
return new FNCKKDMEJGP[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
};
}
public static FNCKKDMEJGP 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 FNCKKDMEJGP(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:GetAllMailRsp.FNCKKDMEJGP)
}
public static final int ISCOLLECTED_FIELD_NUMBER = 5;
private boolean isCollected_;
/**
* <code>bool isCollected = 5;</code>
* @return The isCollected.
*/
@java.lang.Override
public boolean getIsCollected() {
return isCollected_;
}
public static final int RETCODE_FIELD_NUMBER = 9;
public static final int RETCODE_FIELD_NUMBER = 15;
private int retcode_;
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -319,17 +182,28 @@ public final class GetAllMailRspOuterClass {
return retcode_;
}
public static final int MAILLIST_FIELD_NUMBER = 7;
public static final int IS_TRUNCATED_FIELD_NUMBER = 10;
private boolean isTruncated_;
/**
* <code>bool is_truncated = 10;</code>
* @return The isTruncated.
*/
@java.lang.Override
public boolean getIsTruncated() {
return isTruncated_;
}
public static final int MAIL_LIST_FIELD_NUMBER = 11;
private java.util.List<emu.grasscutter.net.proto.MailDataOuterClass.MailData> mailList_;
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.MailDataOuterClass.MailData> getMailListList() {
return mailList_;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.MailDataOuterClass.MailDataOrBuilder>
@@ -337,21 +211,21 @@ public final class GetAllMailRspOuterClass {
return mailList_;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
@java.lang.Override
public int getMailListCount() {
return mailList_.size();
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.MailDataOuterClass.MailData getMailList(int index) {
return mailList_.get(index);
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.MailDataOuterClass.MailDataOrBuilder getMailListOrBuilder(
@@ -359,15 +233,15 @@ public final class GetAllMailRspOuterClass {
return mailList_.get(index);
}
public static final int ISTRUNCATED_FIELD_NUMBER = 8;
private boolean isTruncated_;
public static final int IS_COLLECTED_FIELD_NUMBER = 13;
private boolean isCollected_;
/**
* <code>bool isTruncated = 8;</code>
* @return The isTruncated.
* <code>bool is_collected = 13;</code>
* @return The isCollected.
*/
@java.lang.Override
public boolean getIsTruncated() {
return isTruncated_;
public boolean getIsCollected() {
return isCollected_;
}
private byte memoizedIsInitialized = -1;
@@ -384,17 +258,17 @@ public final class GetAllMailRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (isCollected_ != false) {
output.writeBool(5, isCollected_);
if (isTruncated_ != false) {
output.writeBool(10, isTruncated_);
}
for (int i = 0; i < mailList_.size(); i++) {
output.writeMessage(7, mailList_.get(i));
output.writeMessage(11, mailList_.get(i));
}
if (isTruncated_ != false) {
output.writeBool(8, isTruncated_);
if (isCollected_ != false) {
output.writeBool(13, isCollected_);
}
if (retcode_ != 0) {
output.writeInt32(9, retcode_);
output.writeInt32(15, retcode_);
}
unknownFields.writeTo(output);
}
@@ -405,21 +279,21 @@ public final class GetAllMailRspOuterClass {
if (size != -1) return size;
size = 0;
if (isCollected_ != false) {
if (isTruncated_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, isCollected_);
.computeBoolSize(10, isTruncated_);
}
for (int i = 0; i < mailList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, mailList_.get(i));
.computeMessageSize(11, mailList_.get(i));
}
if (isTruncated_ != false) {
if (isCollected_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, isTruncated_);
.computeBoolSize(13, isCollected_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, retcode_);
.computeInt32Size(15, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -436,14 +310,14 @@ public final class GetAllMailRspOuterClass {
}
emu.grasscutter.net.proto.GetAllMailRspOuterClass.GetAllMailRsp other = (emu.grasscutter.net.proto.GetAllMailRspOuterClass.GetAllMailRsp) obj;
if (getIsCollected()
!= other.getIsCollected()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!getMailListList()
.equals(other.getMailListList())) return false;
if (getIsTruncated()
!= other.getIsTruncated()) return false;
if (!getMailListList()
.equals(other.getMailListList())) return false;
if (getIsCollected()
!= other.getIsCollected()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -455,18 +329,18 @@ public final class GetAllMailRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ISCOLLECTED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsCollected());
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
if (getMailListCount() > 0) {
hash = (37 * hash) + MAILLIST_FIELD_NUMBER;
hash = (53 * hash) + getMailListList().hashCode();
}
hash = (37 * hash) + ISTRUNCATED_FIELD_NUMBER;
hash = (37 * hash) + IS_TRUNCATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsTruncated());
if (getMailListCount() > 0) {
hash = (37 * hash) + MAIL_LIST_FIELD_NUMBER;
hash = (53 * hash) + getMailListList().hashCode();
}
hash = (37 * hash) + IS_COLLECTED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsCollected());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -563,6 +437,11 @@ public final class GetAllMailRspOuterClass {
return builder;
}
/**
* <pre>
* Name: LLAGIAGEIKA
* CmdId: 1407
* </pre>
*
* Protobuf type {@code GetAllMailRsp}
*/
public static final class Builder extends
@@ -601,17 +480,17 @@ public final class GetAllMailRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
isCollected_ = false;
retcode_ = 0;
isTruncated_ = false;
if (mailListBuilder_ == null) {
mailList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
mailListBuilder_.clear();
}
isTruncated_ = false;
isCollected_ = false;
return this;
}
@@ -640,8 +519,8 @@ public final class GetAllMailRspOuterClass {
public emu.grasscutter.net.proto.GetAllMailRspOuterClass.GetAllMailRsp buildPartial() {
emu.grasscutter.net.proto.GetAllMailRspOuterClass.GetAllMailRsp result = new emu.grasscutter.net.proto.GetAllMailRspOuterClass.GetAllMailRsp(this);
int from_bitField0_ = bitField0_;
result.isCollected_ = isCollected_;
result.retcode_ = retcode_;
result.isTruncated_ = isTruncated_;
if (mailListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
mailList_ = java.util.Collections.unmodifiableList(mailList_);
@@ -651,7 +530,7 @@ public final class GetAllMailRspOuterClass {
} else {
result.mailList_ = mailListBuilder_.build();
}
result.isTruncated_ = isTruncated_;
result.isCollected_ = isCollected_;
onBuilt();
return result;
}
@@ -700,12 +579,12 @@ public final class GetAllMailRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.GetAllMailRspOuterClass.GetAllMailRsp other) {
if (other == emu.grasscutter.net.proto.GetAllMailRspOuterClass.GetAllMailRsp.getDefaultInstance()) return this;
if (other.getIsCollected() != false) {
setIsCollected(other.getIsCollected());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getIsTruncated() != false) {
setIsTruncated(other.getIsTruncated());
}
if (mailListBuilder_ == null) {
if (!other.mailList_.isEmpty()) {
if (mailList_.isEmpty()) {
@@ -732,8 +611,8 @@ public final class GetAllMailRspOuterClass {
}
}
}
if (other.getIsTruncated() != false) {
setIsTruncated(other.getIsTruncated());
if (other.getIsCollected() != false) {
setIsCollected(other.getIsCollected());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -765,40 +644,9 @@ public final class GetAllMailRspOuterClass {
}
private int bitField0_;
private boolean isCollected_ ;
/**
* <code>bool isCollected = 5;</code>
* @return The isCollected.
*/
@java.lang.Override
public boolean getIsCollected() {
return isCollected_;
}
/**
* <code>bool isCollected = 5;</code>
* @param value The isCollected to set.
* @return This builder for chaining.
*/
public Builder setIsCollected(boolean value) {
isCollected_ = value;
onChanged();
return this;
}
/**
* <code>bool isCollected = 5;</code>
* @return This builder for chaining.
*/
public Builder clearIsCollected() {
isCollected_ = false;
onChanged();
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -806,7 +654,7 @@ public final class GetAllMailRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 15;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -817,7 +665,7 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 15;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -827,6 +675,37 @@ public final class GetAllMailRspOuterClass {
return this;
}
private boolean isTruncated_ ;
/**
* <code>bool is_truncated = 10;</code>
* @return The isTruncated.
*/
@java.lang.Override
public boolean getIsTruncated() {
return isTruncated_;
}
/**
* <code>bool is_truncated = 10;</code>
* @param value The isTruncated to set.
* @return This builder for chaining.
*/
public Builder setIsTruncated(boolean value) {
isTruncated_ = value;
onChanged();
return this;
}
/**
* <code>bool is_truncated = 10;</code>
* @return This builder for chaining.
*/
public Builder clearIsTruncated() {
isTruncated_ = false;
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.MailDataOuterClass.MailData> mailList_ =
java.util.Collections.emptyList();
private void ensureMailListIsMutable() {
@@ -840,7 +719,7 @@ public final class GetAllMailRspOuterClass {
emu.grasscutter.net.proto.MailDataOuterClass.MailData, emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder, emu.grasscutter.net.proto.MailDataOuterClass.MailDataOrBuilder> mailListBuilder_;
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public java.util.List<emu.grasscutter.net.proto.MailDataOuterClass.MailData> getMailListList() {
if (mailListBuilder_ == null) {
@@ -850,7 +729,7 @@ public final class GetAllMailRspOuterClass {
}
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public int getMailListCount() {
if (mailListBuilder_ == null) {
@@ -860,7 +739,7 @@ public final class GetAllMailRspOuterClass {
}
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public emu.grasscutter.net.proto.MailDataOuterClass.MailData getMailList(int index) {
if (mailListBuilder_ == null) {
@@ -870,7 +749,7 @@ public final class GetAllMailRspOuterClass {
}
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public Builder setMailList(
int index, emu.grasscutter.net.proto.MailDataOuterClass.MailData value) {
@@ -887,7 +766,7 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public Builder setMailList(
int index, emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder builderForValue) {
@@ -901,7 +780,7 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public Builder addMailList(emu.grasscutter.net.proto.MailDataOuterClass.MailData value) {
if (mailListBuilder_ == null) {
@@ -917,7 +796,7 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public Builder addMailList(
int index, emu.grasscutter.net.proto.MailDataOuterClass.MailData value) {
@@ -934,7 +813,7 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public Builder addMailList(
emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder builderForValue) {
@@ -948,7 +827,7 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public Builder addMailList(
int index, emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder builderForValue) {
@@ -962,7 +841,7 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public Builder addAllMailList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.MailDataOuterClass.MailData> values) {
@@ -977,7 +856,7 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public Builder clearMailList() {
if (mailListBuilder_ == null) {
@@ -990,7 +869,7 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public Builder removeMailList(int index) {
if (mailListBuilder_ == null) {
@@ -1003,14 +882,14 @@ public final class GetAllMailRspOuterClass {
return this;
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder getMailListBuilder(
int index) {
return getMailListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public emu.grasscutter.net.proto.MailDataOuterClass.MailDataOrBuilder getMailListOrBuilder(
int index) {
@@ -1020,7 +899,7 @@ public final class GetAllMailRspOuterClass {
}
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.MailDataOuterClass.MailDataOrBuilder>
getMailListOrBuilderList() {
@@ -1031,14 +910,14 @@ public final class GetAllMailRspOuterClass {
}
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder addMailListBuilder() {
return getMailListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.MailDataOuterClass.MailData.getDefaultInstance());
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder addMailListBuilder(
int index) {
@@ -1046,7 +925,7 @@ public final class GetAllMailRspOuterClass {
index, emu.grasscutter.net.proto.MailDataOuterClass.MailData.getDefaultInstance());
}
/**
* <code>repeated .MailData mailList = 7;</code>
* <code>repeated .MailData mail_list = 11;</code>
*/
public java.util.List<emu.grasscutter.net.proto.MailDataOuterClass.MailData.Builder>
getMailListBuilderList() {
@@ -1067,33 +946,33 @@ public final class GetAllMailRspOuterClass {
return mailListBuilder_;
}
private boolean isTruncated_ ;
private boolean isCollected_ ;
/**
* <code>bool isTruncated = 8;</code>
* @return The isTruncated.
* <code>bool is_collected = 13;</code>
* @return The isCollected.
*/
@java.lang.Override
public boolean getIsTruncated() {
return isTruncated_;
public boolean getIsCollected() {
return isCollected_;
}
/**
* <code>bool isTruncated = 8;</code>
* @param value The isTruncated to set.
* <code>bool is_collected = 13;</code>
* @param value The isCollected to set.
* @return This builder for chaining.
*/
public Builder setIsTruncated(boolean value) {
public Builder setIsCollected(boolean value) {
isTruncated_ = value;
isCollected_ = value;
onChanged();
return this;
}
/**
* <code>bool isTruncated = 8;</code>
* <code>bool is_collected = 13;</code>
* @return This builder for chaining.
*/
public Builder clearIsTruncated() {
public Builder clearIsCollected() {
isTruncated_ = false;
isCollected_ = false;
onChanged();
return this;
}
@@ -1164,13 +1043,11 @@ public final class GetAllMailRspOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023GetAllMailRsp.proto\032\016MailData.proto\"\270\001" +
"\n\rGetAllMailRsp\022\023\n\013isCollected\030\005 \001(\010\022\017\n\007" +
"retcode\030\t \001(\005\022\033\n\010mailList\030\007 \003(\0132\t.MailDa" +
"ta\022\023\n\013isTruncated\030\010 \001(\010\"O\n\013FNCKKDMEJGP\022\010" +
"\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\225\013\022\017\n\013DCDNILFDFL" +
"B\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031emu.grasscut" +
"ter.net.protob\006proto3"
"\n\023GetAllMailRsp.proto\032\016MailData.proto\"j\n" +
"\rGetAllMailRsp\022\017\n\007retcode\030\017 \001(\005\022\024\n\014is_tr" +
"uncated\030\n \001(\010\022\034\n\tmail_list\030\013 \003(\0132\t.MailD" +
"ata\022\024\n\014is_collected\030\r \001(\010B\033\n\031emu.grasscu" +
"tter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -1182,7 +1059,7 @@ public final class GetAllMailRspOuterClass {
internal_static_GetAllMailRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetAllMailRsp_descriptor,
new java.lang.String[] { "IsCollected", "Retcode", "MailList", "IsTruncated", });
new java.lang.String[] { "Retcode", "IsTruncated", "MailList", "IsCollected", });
emu.grasscutter.net.proto.MailDataOuterClass.getDescriptor();
}