Commit d575d1cc authored by Benj's avatar Benj Committed by Luke H-W
Browse files

Update 3.0 protos

parent 5db73d28
......@@ -19,40 +19,41 @@ public final class MusicGameSettleRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 7;</code>
* <code>int32 retcode = 11;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 music_basic_id = 9;</code>
* <code>uint32 music_basic_id = 5;</code>
* @return The musicBasicId.
*/
int getMusicBasicId();
/**
* <code>bool is_unlock_next_level = 1;</code>
* @return The isUnlockNextLevel.
* <code>bool is_new_record = 6;</code>
* @return The isNewRecord.
*/
boolean getIsUnlockNextLevel();
boolean getIsNewRecord();
/**
* <code>bool is_new_record = 3;</code>
* @return The isNewRecord.
* <code>bool is_unlock_next_level = 2;</code>
* @return The isUnlockNextLevel.
*/
boolean getIsNewRecord();
boolean getIsUnlockNextLevel();
/**
* <code>uint64 music_share_id = 11;</code>
* <code>uint64 music_share_id = 10;</code>
* @return The musicShareId.
*/
long getMusicShareId();
}
/**
* <pre>
* CmdId: 8288
* CmdId: 8673
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code MusicGameSettleRsp}
......@@ -99,29 +100,29 @@ public final class MusicGameSettleRspOuterClass {
case 0:
done = true;
break;
case 8: {
case 16: {
isUnlockNextLevel_ = input.readBool();
break;
}
case 24: {
case 40: {
isNewRecord_ = input.readBool();
musicBasicId_ = input.readUInt32();
break;
}
case 56: {
case 48: {
retcode_ = input.readInt32();
isNewRecord_ = input.readBool();
break;
}
case 72: {
case 80: {
musicBasicId_ = input.readUInt32();
musicShareId_ = input.readUInt64();
break;
}
case 88: {
musicShareId_ = input.readUInt64();
retcode_ = input.readInt32();
break;
}
default: {
......@@ -156,10 +157,10 @@ public final class MusicGameSettleRspOuterClass {
emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp.class, emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp.Builder.class);
}
public static final int RETCODE_FIELD_NUMBER = 7;
public static final int RETCODE_FIELD_NUMBER = 11;
private int retcode_;
/**
* <code>int32 retcode = 7;</code>
* <code>int32 retcode = 11;</code>
* @return The retcode.
*/
@java.lang.Override
......@@ -167,10 +168,10 @@ public final class MusicGameSettleRspOuterClass {
return retcode_;
}
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 9;
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 5;
private int musicBasicId_;
/**
* <code>uint32 music_basic_id = 9;</code>
* <code>uint32 music_basic_id = 5;</code>
* @return The musicBasicId.
*/
@java.lang.Override
......@@ -178,32 +179,32 @@ public final class MusicGameSettleRspOuterClass {
return musicBasicId_;
}
public static final int IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER = 1;
private boolean isUnlockNextLevel_;
public static final int IS_NEW_RECORD_FIELD_NUMBER = 6;
private boolean isNewRecord_;
/**
* <code>bool is_unlock_next_level = 1;</code>
* @return The isUnlockNextLevel.
* <code>bool is_new_record = 6;</code>
* @return The isNewRecord.
*/
@java.lang.Override
public boolean getIsUnlockNextLevel() {
return isUnlockNextLevel_;
public boolean getIsNewRecord() {
return isNewRecord_;
}
public static final int IS_NEW_RECORD_FIELD_NUMBER = 3;
private boolean isNewRecord_;
public static final int IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER = 2;
private boolean isUnlockNextLevel_;
/**
* <code>bool is_new_record = 3;</code>
* @return The isNewRecord.
* <code>bool is_unlock_next_level = 2;</code>
* @return The isUnlockNextLevel.
*/
@java.lang.Override
public boolean getIsNewRecord() {
return isNewRecord_;
public boolean getIsUnlockNextLevel() {
return isUnlockNextLevel_;
}
public static final int MUSIC_SHARE_ID_FIELD_NUMBER = 11;
public static final int MUSIC_SHARE_ID_FIELD_NUMBER = 10;
private long musicShareId_;
/**
* <code>uint64 music_share_id = 11;</code>
* <code>uint64 music_share_id = 10;</code>
* @return The musicShareId.
*/
@java.lang.Override
......@@ -226,19 +227,19 @@ public final class MusicGameSettleRspOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (isUnlockNextLevel_ != false) {
output.writeBool(1, isUnlockNextLevel_);
}
if (isNewRecord_ != false) {
output.writeBool(3, isNewRecord_);
}
if (retcode_ != 0) {
output.writeInt32(7, retcode_);
output.writeBool(2, isUnlockNextLevel_);
}
if (musicBasicId_ != 0) {
output.writeUInt32(9, musicBasicId_);
output.writeUInt32(5, musicBasicId_);
}
if (isNewRecord_ != false) {
output.writeBool(6, isNewRecord_);
}
if (musicShareId_ != 0L) {
output.writeUInt64(11, musicShareId_);
output.writeUInt64(10, musicShareId_);
}
if (retcode_ != 0) {
output.writeInt32(11, retcode_);
}
unknownFields.writeTo(output);
}
......@@ -251,23 +252,23 @@ public final class MusicGameSettleRspOuterClass {
size = 0;
if (isUnlockNextLevel_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isUnlockNextLevel_);
.computeBoolSize(2, isUnlockNextLevel_);
}
if (isNewRecord_ != false) {
if (musicBasicId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isNewRecord_);
.computeUInt32Size(5, musicBasicId_);
}
if (retcode_ != 0) {
if (isNewRecord_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, retcode_);
.computeBoolSize(6, isNewRecord_);
}
if (musicBasicId_ != 0) {
if (musicShareId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, musicBasicId_);
.computeUInt64Size(10, musicShareId_);
}
if (musicShareId_ != 0L) {
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, musicShareId_);
.computeInt32Size(11, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
......@@ -288,10 +289,10 @@ public final class MusicGameSettleRspOuterClass {
!= other.getRetcode()) return false;
if (getMusicBasicId()
!= other.getMusicBasicId()) return false;
if (getIsUnlockNextLevel()
!= other.getIsUnlockNextLevel()) return false;
if (getIsNewRecord()
!= other.getIsNewRecord()) return false;
if (getIsUnlockNextLevel()
!= other.getIsUnlockNextLevel()) return false;
if (getMusicShareId()
!= other.getMusicShareId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
......@@ -309,12 +310,12 @@ public final class MusicGameSettleRspOuterClass {
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + MUSIC_BASIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicBasicId();
hash = (37 * hash) + IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsUnlockNextLevel());
hash = (37 * hash) + IS_NEW_RECORD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsNewRecord());
hash = (37 * hash) + IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsUnlockNextLevel());
hash = (37 * hash) + MUSIC_SHARE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMusicShareId());
......@@ -415,9 +416,10 @@ public final class MusicGameSettleRspOuterClass {
}
/**
* <pre>
* CmdId: 8288
* CmdId: 8673
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code MusicGameSettleRsp}
......@@ -461,10 +463,10 @@ public final class MusicGameSettleRspOuterClass {
musicBasicId_ = 0;
isUnlockNextLevel_ = false;
isNewRecord_ = false;
isUnlockNextLevel_ = false;
musicShareId_ = 0L;
return this;
......@@ -495,8 +497,8 @@ public final class MusicGameSettleRspOuterClass {
emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp result = new emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp(this);
result.retcode_ = retcode_;
result.musicBasicId_ = musicBasicId_;
result.isUnlockNextLevel_ = isUnlockNextLevel_;
result.isNewRecord_ = isNewRecord_;
result.isUnlockNextLevel_ = isUnlockNextLevel_;
result.musicShareId_ = musicShareId_;
onBuilt();
return result;
......@@ -552,12 +554,12 @@ public final class MusicGameSettleRspOuterClass {
if (other.getMusicBasicId() != 0) {
setMusicBasicId(other.getMusicBasicId());
}
if (other.getIsUnlockNextLevel() != false) {
setIsUnlockNextLevel(other.getIsUnlockNextLevel());
}
if (other.getIsNewRecord() != false) {
setIsNewRecord(other.getIsNewRecord());
}
if (other.getIsUnlockNextLevel() != false) {
setIsUnlockNextLevel(other.getIsUnlockNextLevel());
}
if (other.getMusicShareId() != 0L) {
setMusicShareId(other.getMusicShareId());
}
......@@ -592,7 +594,7 @@ public final class MusicGameSettleRspOuterClass {
private int retcode_ ;
/**
* <code>int32 retcode = 7;</code>
* <code>int32 retcode = 11;</code>
* @return The retcode.
*/
@java.lang.Override
......@@ -600,7 +602,7 @@ public final class MusicGameSettleRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 7;</code>
* <code>int32 retcode = 11;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
......@@ -611,7 +613,7 @@ public final class MusicGameSettleRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 7;</code>
* <code>int32 retcode = 11;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
......@@ -623,7 +625,7 @@ public final class MusicGameSettleRspOuterClass {
private int musicBasicId_ ;
/**
* <code>uint32 music_basic_id = 9;</code>
* <code>uint32 music_basic_id = 5;</code>
* @return The musicBasicId.
*/
@java.lang.Override
......@@ -631,7 +633,7 @@ public final class MusicGameSettleRspOuterClass {
return musicBasicId_;
}
/**
* <code>uint32 music_basic_id = 9;</code>
* <code>uint32 music_basic_id = 5;</code>
* @param value The musicBasicId to set.
* @return This builder for chaining.
*/
......@@ -642,7 +644,7 @@ public final class MusicGameSettleRspOuterClass {
return this;
}
/**
* <code>uint32 music_basic_id = 9;</code>
* <code>uint32 music_basic_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearMusicBasicId() {
......@@ -652,71 +654,71 @@ public final class MusicGameSettleRspOuterClass {
return this;
}
private boolean isUnlockNextLevel_ ;
private boolean isNewRecord_ ;
/**
* <code>bool is_unlock_next_level = 1;</code>
* @return The isUnlockNextLevel.
* <code>bool is_new_record = 6;</code>
* @return The isNewRecord.
*/
@java.lang.Override
public boolean getIsUnlockNextLevel() {
return isUnlockNextLevel_;
public boolean getIsNewRecord() {
return isNewRecord_;
}
/**
* <code>bool is_unlock_next_level = 1;</code>
* @param value The isUnlockNextLevel to set.
* <code>bool is_new_record = 6;</code>
* @param value The isNewRecord to set.
* @return This builder for chaining.
*/
public Builder setIsUnlockNextLevel(boolean value) {
public Builder setIsNewRecord(boolean value) {
isUnlockNextLevel_ = value;
isNewRecord_ = value;
onChanged();
return this;
}
/**
* <code>bool is_unlock_next_level = 1;</code>
* <code>bool is_new_record = 6;</code>
* @return This builder for chaining.
*/
public Builder clearIsUnlockNextLevel() {
public Builder clearIsNewRecord() {
isUnlockNextLevel_ = false;
isNewRecord_ = false;
onChanged();
return this;
}
private boolean isNewRecord_ ;
private boolean isUnlockNextLevel_ ;
/**
* <code>bool is_new_record = 3;</code>
* @return The isNewRecord.
* <code>bool is_unlock_next_level = 2;</code>
* @return The isUnlockNextLevel.
*/
@java.lang.Override
public boolean getIsNewRecord() {
return isNewRecord_;
public boolean getIsUnlockNextLevel() {
return isUnlockNextLevel_;
}
/**
* <code>bool is_new_record = 3;</code>
* @param value The isNewRecord to set.
* <code>bool is_unlock_next_level = 2;</code>
* @param value The isUnlockNextLevel to set.
* @return This builder for chaining.
*/
public Builder setIsNewRecord(boolean value) {
public Builder setIsUnlockNextLevel(boolean value) {
isNewRecord_ = value;
isUnlockNextLevel_ = value;
onChanged();
return this;
}
/**
* <code>bool is_new_record = 3;</code>
* <code>bool is_unlock_next_level = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIsNewRecord() {
public Builder clearIsUnlockNextLevel() {
isNewRecord_ = false;
isUnlockNextLevel_ = false;
onChanged();
return this;
}
private long musicShareId_ ;
/**
* <code>uint64 music_share_id = 11;</code>
* <code>uint64 music_share_id = 10;</code>
* @return The musicShareId.
*/
@java.lang.Override
......@@ -724,7 +726,7 @@ public final class MusicGameSettleRspOuterClass {
return musicShareId_;
}
/**
* <code>uint64 music_share_id = 11;</code>
* <code>uint64 music_share_id = 10;</code>
* @param value The musicShareId to set.
* @return This builder for chaining.
*/
......@@ -735,7 +737,7 @@ public final class MusicGameSettleRspOuterClass {
return this;
}
/**
* <code>uint64 music_share_id = 11;</code>
* <code>uint64 music_share_id = 10;</code>
* @return This builder for chaining.
*/
public Builder clearMusicShareId() {
......@@ -812,10 +814,10 @@ public final class MusicGameSettleRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\030MusicGameSettleRsp.proto\"\212\001\n\022MusicGame" +
"SettleRsp\022\017\n\007retcode\030\007 \001(\005\022\026\n\016music_basi" +
"c_id\030\t \001(\r\022\034\n\024is_unlock_next_level\030\001 \001(\010" +
"\022\025\n\ris_new_record\030\003 \001(\010\022\026\n\016music_share_i" +
"d\030\013 \001(\004B\033\n\031emu.grasscutter.net.protob\006pr" +
"SettleRsp\022\017\n\007retcode\030\013 \001(\005\022\026\n\016music_basi" +
"c_id\030\005 \001(\r\022\025\n\ris_new_record\030\006 \001(\010\022\034\n\024is_" +
"unlock_next_level\030\002 \001(\010\022\026\n\016music_share_i" +
"d\030\n \001(\004B\033\n\031emu.grasscutter.net.protob\006pr" +
"oto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
......@@ -827,7 +829,7 @@ public final class MusicGameSettleRspOuterClass {
internal_static_MusicGameSettleRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_MusicGameSettleRsp_descriptor,
new java.lang.String[] { "Retcode", "MusicBasicId", "IsUnlockNextLevel", "IsNewRecord", "MusicShareId", });
new java.lang.String[] { "Retcode", "MusicBasicId", "IsNewRecord", "IsUnlockNextLevel", "MusicShareId", });
}
// @@protoc_insertion_point(outer_class_scope)
......
......@@ -19,28 +19,28 @@ public final class MusicGameStartReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 music_basic_id = 10;</code>
* <code>uint32 music_basic_id = 2;</code>
* @return The musicBasicId.
*/
int getMusicBasicId();
/**
* <code>uint64 music_share_id = 8;</code>
* @return The musicShareId.
* <code>bool Unk2700_IOKPIKJDEHG = 11;</code>
* @return The unk2700IOKPIKJDEHG.
*/
long getMusicShareId();
boolean getUnk2700IOKPIKJDEHG();
/**
* <code>bool KJNDJLBOJLM = 5;</code>
* @return The kJNDJLBOJLM.
* <code>uint64 music_share_id = 3;</code>
* @return The musicShareId.
*/
boolean getKJNDJLBOJLM();
long getMusicShareId();
}
/**
* <pre>
* CmdId: 8927
* CmdId: 8406
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -88,19 +88,19 @@ public final class MusicGameStartReqOuterClass {
case 0:
done = true;
break;
case 40: {
case 16: {
kJNDJLBOJLM_ = input.readBool();
musicBasicId_ = input.readUInt32();
break;
}
case 64: {
case 24: {
musicShareId_ = input.readUInt64();
break;
}
case 80: {
case 88: {
musicBasicId_ = input.readUInt32();
unk2700IOKPIKJDEHG_ = input.readBool();
break;
}
default: {
......@@ -135,10 +135,10 @@ public final class MusicGameStartReqOuterClass {
emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq.class, emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq.Builder.class);
}
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 10;
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 2;
private int musicBasicId_;
/**
* <code>uint32 music_basic_id = 10;</code>
* <code>uint32 music_basic_id = 2;</code>
* @return The musicBasicId.
*/
@java.lang.Override
......@@ -146,26 +146,26 @@ public final class MusicGameStartReqOuterClass {
return musicBasicId_;
}
public static final int MUSIC_SHARE_ID_FIELD_NUMBER = 8;
private long musicShareId_;
public static final int UNK2700_IOKPIKJDEHG_FIELD_NUMBER = 11;
private boolean unk2700IOKPIKJDEHG_;
/**
* <code>uint64 music_share_id = 8;</code>
* @return The musicShareId.
* <code>bool Unk2700_IOKPIKJDEHG = 11;</code>
* @return The unk2700IOKPIKJDEHG.
*/
@java.lang.Override
public long getMusicShareId() {
return musicShareId_;
public boolean getUnk2700IOKPIKJDEHG() {
return unk2700IOKPIKJDEHG_;
}
public static final int KJNDJLBOJLM_FIELD_NUMBER = 5;
private boolean kJNDJLBOJLM_;
public static final int MUSIC_SHARE_ID_FIELD_NUMBER = 3;
private long musicShareId_;
/**
* <code>bool KJNDJLBOJLM = 5;</code>
* @return The kJNDJLBOJLM.
* <code>uint64 music_share_id = 3;</code>
* @return The musicShareId.
*/
@java.lang.Override
public boolean getKJNDJLBOJLM() {
return kJNDJLBOJLM_;
public long getMusicShareId() {
return musicShareId_;
}
private byte memoizedIsInitialized = -1;
......@@ -182,14 +182,14 @@ public final class MusicGameStartReqOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (kJNDJLBOJLM_ != false) {
output.writeBool(5, kJNDJLBOJLM_);
if (musicBasicId_ != 0) {
output.writeUInt32(2, musicBasicId_);
}
if (musicShareId_ != 0L) {
output.writeUInt64(8, musicShareId_);
output.writeUInt64(3, musicShareId_);
}
if (musicBasicId_ != 0) {
output.writeUInt32(10, musicBasicId_);
if (unk2700IOKPIKJDEHG_ != false) {
output.writeBool(11, unk2700IOKPIKJDEHG_);
}
unknownFields.writeTo(output);
}
......@@ -200,17 +200,17 @@ public final class MusicGameStartReqOuterClass {
if (size != -1) return size;
size = 0;
if (kJNDJLBOJLM_ != false) {
if (musicBasicId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, kJNDJLBOJLM_);
.computeUInt32Size(2, musicBasicId_);
}
if (musicShareId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(8, musicShareId_);
.computeUInt64Size(3, musicShareId_);
}
if (musicBasicId_ != 0) {
if (unk2700IOKPIKJDEHG_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, musicBasicId_);
.computeBoolSize(11, unk2700IOKPIKJDEHG_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
......@@ -229,10 +229,10 @@ public final class MusicGameStartReqOuterClass {
if (getMusicBasicId()
!= other.getMusicBasicId()) return false;
if (getUnk2700IOKPIKJDEHG()
!= other.getUnk2700IOKPIKJDEHG()) return false;
if (getMusicShareId()
!= other.getMusicShareId()) return false;
if (getKJNDJLBOJLM()
!= other.getKJNDJLBOJLM()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
......@@ -246,12 +246,12 @@ public final class MusicGameStartReqOuterClass {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MUSIC_BASIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicBasicId();
hash = (37 * hash) + UNK2700_IOKPIKJDEHG_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getUnk2700IOKPIKJDEHG());
hash = (37 * hash) + MUSIC_SHARE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMusicShareId());
hash = (37 * hash) + KJNDJLBOJLM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getKJNDJLBOJLM());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
......@@ -349,9 +349,9 @@ public final class MusicGameStartReqOuterClass {
}
/**
* <pre>
* CmdId: 8927
* CmdId: 8406
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -394,9 +394,9 @@ public final class MusicGameStartReqOuterClass {
super.clear();
musicBasicId_ = 0;
musicShareId_ = 0L;
unk2700IOKPIKJDEHG_ = false;
kJNDJLBOJLM_ = false;
musicShareId_ = 0L;
return this;
}
......@@ -425,8 +425,8 @@ public final class MusicGameStartReqOuterClass {
public emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq buildPartial() {
emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq result = new emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq(this);
result.musicBasicId_ = musicBasicId_;
result.unk2700IOKPIKJDEHG_ = unk2700IOKPIKJDEHG_;
result.musicShareId_ = musicShareId_;
result.kJNDJLBOJLM_ = kJNDJLBOJLM_;
onBuilt();
return result;
}
......@@ -478,12 +478,12 @@ public final class MusicGameStartReqOuterClass {
if (other.getMusicBasicId() != 0) {
setMusicBasicId(other.getMusicBasicId());
}
if (other.getUnk2700IOKPIKJDEHG() != false) {
setUnk2700IOKPIKJDEHG(other.getUnk2700IOKPIKJDEHG());
}
if (other.getMusicShareId() != 0L) {
setMusicShareId(other.getMusicShareId());
}
if (other.getKJNDJLBOJLM() != false) {
setKJNDJLBOJLM(other.getKJNDJLBOJLM());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
......@@ -515,7 +515,7 @@ public final class MusicGameStartReqOuterClass {
private int musicBasicId_ ;
/**
* <code>uint32 music_basic_id = 10;</code>
* <code>uint32 music_basic_id = 2;</code>
* @return The musicBasicId.
*/
@java.lang.Override
......@@ -523,7 +523,7 @@ public final class MusicGameStartReqOuterClass {
return musicBasicId_;
}
/**
* <code>uint32 music_basic_id = 10;</code>
* <code>uint32 music_basic_id = 2;</code>
* @param value The musicBasicId to set.
* @return This builder for chaining.
*/
......@@ -534,7 +534,7 @@ public final class MusicGameStartReqOuterClass {
return this;
}
/**
* <code>uint32 music_basic_id = 10;</code>
* <code>uint32 music_basic_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearMusicBasicId() {
......@@ -544,64 +544,64 @@ public final class MusicGameStartReqOuterClass {
return this;
}
private long musicShareId_ ;
private boolean unk2700IOKPIKJDEHG_ ;
/**
* <code>uint64 music_share_id = 8;</code>
* @return The musicShareId.
* <code>bool Unk2700_IOKPIKJDEHG = 11;</code>
* @return The unk2700IOKPIKJDEHG.
*/
@java.lang.Override
public long getMusicShareId() {
return musicShareId_;
public boolean getUnk2700IOKPIKJDEHG() {
return unk2700IOKPIKJDEHG_;
}
/**
* <code>uint64 music_share_id = 8;</code>
* @param value The musicShareId to set.
* <code>bool Unk2700_IOKPIKJDEHG = 11;</code>
* @param value The unk2700IOKPIKJDEHG to set.
* @return This builder for chaining.
*/
public Builder setMusicShareId(long value) {
public Builder setUnk2700IOKPIKJDEHG(boolean value) {
musicShareId_ = value;
unk2700IOKPIKJDEHG_ = value;
onChanged();
return this;
}
/**
* <code>uint64 music_share_id = 8;</code>
* <code>bool Unk2700_IOKPIKJDEHG = 11;</code>
* @return This builder for chaining.
*/
public Builder clearMusicShareId() {
public Builder clearUnk2700IOKPIKJDEHG() {
musicShareId_ = 0L;
unk2700IOKPIKJDEHG_ = false;
onChanged();
return this;
}
private boolean kJNDJLBOJLM_ ;
private long musicShareId_ ;
/**
* <code>bool KJNDJLBOJLM = 5;</code>
* @return The kJNDJLBOJLM.
* <code>uint64 music_share_id = 3;</code>
* @return The musicShareId.
*/
@java.lang.Override
public boolean getKJNDJLBOJLM() {
return kJNDJLBOJLM_;
public long getMusicShareId() {
return musicShareId_;
}
/**
* <code>bool KJNDJLBOJLM = 5;</code>
* @param value The kJNDJLBOJLM to set.
* <code>uint64 music_share_id = 3;</code>
* @param value The musicShareId to set.
* @return This builder for chaining.
*/
public Builder setKJNDJLBOJLM(boolean value) {
public Builder setMusicShareId(long value) {
kJNDJLBOJLM_ = value;
musicShareId_ = value;
onChanged();
return this;
}
/**
* <code>bool KJNDJLBOJLM = 5;</code>
* <code>uint64 music_share_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearKJNDJLBOJLM() {
public Builder clearMusicShareId() {
kJNDJLBOJLM_ = false;
musicShareId_ = 0L;
onChanged();
return this;
}
......@@ -672,10 +672,10 @@ public final class MusicGameStartReqOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027MusicGameStartReq.proto\"X\n\021MusicGameSt" +
"artReq\022\026\n\016music_basic_id\030\n \001(\r\022\026\n\016music_" +
"share_id\030\010 \001(\004\022\023\n\013KJNDJLBOJLM\030\005 \001(\010B\033\n\031e" +
"mu.grasscutter.net.protob\006proto3"
"\n\027MusicGameStartReq.proto\"`\n\021MusicGameSt" +
"artReq\022\026\n\016music_basic_id\030\002 \001(\r\022\033\n\023Unk270" +
"0_IOKPIKJDEHG\030\013 \001(\010\022\026\n\016music_share_id\030\003 " +
"\001(\004B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
......@@ -686,7 +686,7 @@ public final class MusicGameStartReqOuterClass {
internal_static_MusicGameStartReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_MusicGameStartReq_descriptor,
new java.lang.String[] { "MusicBasicId", "MusicShareId", "KJNDJLBOJLM", });
new java.lang.String[] { "MusicBasicId", "Unk2700IOKPIKJDEHG", "MusicShareId", });
}
// @@protoc_insertion_point(outer_class_scope)
......
......@@ -19,28 +19,29 @@ public final class MusicGameStartRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 5;</code>
* @return The retcode.
* <code>uint32 music_basic_id = 4;</code>
* @return The musicBasicId.
*/
int getRetcode();
int getMusicBasicId();
/**
* <code>uint32 music_basic_id = 14;</code>
* @return The musicBasicId.
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
int getMusicBasicId();
int getRetcode();
/**
* <code>uint64 music_share_id = 12;</code>
* <code>uint64 music_share_id = 15;</code>
* @return The musicShareId.
*/
long getMusicShareId();
}
/**
* <pre>
* CmdId: 8101
* CmdId: 8326
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code MusicGameStartRsp}
......@@ -87,19 +88,19 @@ public final class MusicGameStartRspOuterClass {
case 0:
done = true;
break;
case 40: {
case 8: {
retcode_ = input.readInt32();
break;
}
case 96: {
case 32: {
musicShareId_ = input.readUInt64();
musicBasicId_ = input.readUInt32();
break;
}
case 112: {
case 120: {
musicBasicId_ = input.readUInt32();
musicShareId_ = input.readUInt64();
break;
}
default: {
......@@ -134,32 +135,32 @@ public final class MusicGameStartRspOuterClass {
emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp.class, emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp.Builder.class);
}
public static final int RETCODE_FIELD_NUMBER = 5;
private int retcode_;
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 4;
private int musicBasicId_;
/**
* <code>int32 retcode = 5;</code>
* @return The retcode.
* <code>uint32 music_basic_id = 4;</code>
* @return The musicBasicId.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
public int getMusicBasicId() {
return musicBasicId_;
}
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 14;
private int musicBasicId_;
public static final int RETCODE_FIELD_NUMBER = 1;
private int retcode_;
/**
* <code>uint32 music_basic_id = 14;</code>
* @return The musicBasicId.
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
@java.lang.Override
public int getMusicBasicId() {
return musicBasicId_;
public int getRetcode() {
return retcode_;
}
public static final int MUSIC_SHARE_ID_FIELD_NUMBER = 12;
public static final int MUSIC_SHARE_ID_FIELD_NUMBER = 15;
private long musicShareId_;
/**
* <code>uint64 music_share_id = 12;</code>
* <code>uint64 music_share_id = 15;</code>
* @return The musicShareId.
*/
@java.lang.Override
......@@ -182,13 +183,13 @@ public final class MusicGameStartRspOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(5, retcode_);
}
if (musicShareId_ != 0L) {
output.writeUInt64(12, musicShareId_);
output.writeInt32(1, retcode_);
}
if (musicBasicId_ != 0) {
output.writeUInt32(14, musicBasicId_);
output.writeUInt32(4, musicBasicId_);
}
if (musicShareId_ != 0L) {
output.writeUInt64(15, musicShareId_);
}
unknownFields.writeTo(output);
}
......@@ -201,15 +202,15 @@ public final class MusicGameStartRspOuterClass {
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, retcode_);
.computeInt32Size(1, retcode_);
}
if (musicShareId_ != 0L) {
if (musicBasicId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(12, musicShareId_);
.computeUInt32Size(4, musicBasicId_);
}
if (musicBasicId_ != 0) {
if (musicShareId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, musicBasicId_);
.computeUInt64Size(15, musicShareId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
......@@ -226,10 +227,10 @@ public final class MusicGameStartRspOuterClass {
}
emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp other = (emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp) obj;
if (getRetcode()
!= other.getRetcode()) return false;
if (getMusicBasicId()
!= other.getMusicBasicId()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (getMusicShareId()
!= other.getMusicShareId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
......@@ -243,10 +244,10 @@ public final class MusicGameStartRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + MUSIC_BASIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicBasicId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + MUSIC_SHARE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMusicShareId());
......@@ -347,9 +348,10 @@ public final class MusicGameStartRspOuterClass {
}
/**
* <pre>
* CmdId: 8101
* CmdId: 8326
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code MusicGameStartRsp}
......@@ -389,10 +391,10 @@ public final class MusicGameStartRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
retcode_ = 0;
musicBasicId_ = 0;
retcode_ = 0;
musicShareId_ = 0L;
return this;
......@@ -421,8 +423,8 @@ public final class MusicGameStartRspOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp buildPartial() {
emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp result = new emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp(this);
result.retcode_ = retcode_;
result.musicBasicId_ = musicBasicId_;
result.retcode_ = retcode_;
result.musicShareId_ = musicShareId_;
onBuilt();
return result;
......@@ -472,12 +474,12 @@ public final class MusicGameStartRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp other) {
if (other == emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getMusicBasicId() != 0) {
setMusicBasicId(other.getMusicBasicId());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getMusicShareId() != 0L) {
setMusicShareId(other.getMusicShareId());
}
......@@ -510,71 +512,71 @@ public final class MusicGameStartRspOuterClass {
return this;
}
private int retcode_ ;
private int musicBasicId_ ;
/**
* <code>int32 retcode = 5;</code>
* @return The retcode.
* <code>uint32 music_basic_id = 4;</code>
* @return The musicBasicId.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
public int getMusicBasicId() {
return musicBasicId_;
}
/**
* <code>int32 retcode = 5;</code>
* @param value The retcode to set.
* <code>uint32 music_basic_id = 4;</code>
* @param value The musicBasicId to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
public Builder setMusicBasicId(int value) {
retcode_ = value;
musicBasicId_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 5;</code>
* <code>uint32 music_basic_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
public Builder clearMusicBasicId() {
retcode_ = 0;
musicBasicId_ = 0;
onChanged();
return this;
}
private int musicBasicId_ ;
private int retcode_ ;
/**
* <code>uint32 music_basic_id = 14;</code>
* @return The musicBasicId.
* <code>int32 retcode = 1;</code>
* @return The retcode.
*/
@java.lang.Override
public int getMusicBasicId() {
return musicBasicId_;
public int getRetcode() {
return retcode_;
}
/**
* <code>uint32 music_basic_id = 14;</code>
* @param value The musicBasicId to set.
* <code>int32 retcode = 1;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setMusicBasicId(int value) {
public Builder setRetcode(int value) {
musicBasicId_ = value;
retcode_ = value;
onChanged();
return this;
}
/**
* <code>uint32 music_basic_id = 14;</code>
* <code>int32 retcode = 1;</code>
* @return This builder for chaining.
*/
public Builder clearMusicBasicId() {
public Builder clearRetcode() {
musicBasicId_ = 0;
retcode_ = 0;
onChanged();
return this;
}
private long musicShareId_ ;
/**
* <code>uint64 music_share_id = 12;</code>
* <code>uint64 music_share_id = 15;</code>
* @return The musicShareId.
*/
@java.lang.Override
......@@ -582,7 +584,7 @@ public final class MusicGameStartRspOuterClass {
return musicShareId_;
}
/**
* <code>uint64 music_share_id = 12;</code>
* <code>uint64 music_share_id = 15;</code>
* @param value The musicShareId to set.
* @return This builder for chaining.
*/
......@@ -593,7 +595,7 @@ public final class MusicGameStartRspOuterClass {
return this;
}
/**
* <code>uint64 music_share_id = 12;</code>
* <code>uint64 music_share_id = 15;</code>
* @return This builder for chaining.
*/
public Builder clearMusicShareId() {
......@@ -670,8 +672,8 @@ public final class MusicGameStartRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\027MusicGameStartRsp.proto\"T\n\021MusicGameSt" +
"artRsp\022\017\n\007retcode\030\005 \001(\005\022\026\n\016music_basic_i" +
"d\030\016 \001(\r\022\026\n\016music_share_id\030\014 \001(\004B\033\n\031emu.g" +
"artRsp\022\026\n\016music_basic_id\030\004 \001(\r\022\017\n\007retcod" +
"e\030\001 \001(\005\022\026\n\016music_share_id\030\017 \001(\004B\033\n\031emu.g" +
"rasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
......@@ -683,7 +685,7 @@ public final class MusicGameStartRspOuterClass {
internal_static_MusicGameStartRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_MusicGameStartRsp_descriptor,
new java.lang.String[] { "Retcode", "MusicBasicId", "MusicShareId", });
new java.lang.String[] { "MusicBasicId", "Retcode", "MusicShareId", });
}
// @@protoc_insertion_point(outer_class_scope)
......
......@@ -40,7 +40,7 @@ public final class NpcTalkReqOuterClass {
* <pre>
* CmdId: 572
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -349,7 +349,7 @@ public final class NpcTalkReqOuterClass {
* <pre>
* CmdId: 572
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -46,7 +46,8 @@ public final class NpcTalkRspOuterClass {
* <pre>
* CmdId: 598
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code NpcTalkRsp}
......@@ -381,7 +382,8 @@ public final class NpcTalkRspOuterClass {
* <pre>
* CmdId: 598
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code NpcTalkRsp}
......
......@@ -46,7 +46,8 @@ public final class OneofGatherPointDetectorDataNotifyOuterClass {
* <pre>
* CmdId: 4297
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code OneofGatherPointDetectorDataNotify}
......@@ -340,7 +341,8 @@ public final class OneofGatherPointDetectorDataNotifyOuterClass {
* <pre>
* CmdId: 4297
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code OneofGatherPointDetectorDataNotify}
......
......@@ -56,7 +56,8 @@ public final class OpenStateChangeNotifyOuterClass {
* <pre>
* CmdId: 127
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code OpenStateChangeNotify}
......@@ -412,7 +413,8 @@ public final class OpenStateChangeNotifyOuterClass {
* <pre>
* CmdId: 127
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code OpenStateChangeNotify}
......
......@@ -56,7 +56,8 @@ public final class OpenStateUpdateNotifyOuterClass {
* <pre>
* CmdId: 193
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code OpenStateUpdateNotify}
......@@ -412,7 +413,8 @@ public final class OpenStateUpdateNotifyOuterClass {
* <pre>
* CmdId: 193
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code OpenStateUpdateNotify}
......
......@@ -18,27 +18,6 @@ public final class ParentQuestOuterClass {
// @@protoc_insertion_point(interface_extends:ParentQuest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return Whether the randomInfo field is set.
*/
boolean hasRandomInfo();
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return The randomInfo.
*/
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo();
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder();
/**
* <code>uint32 quest_var_seq = 11;</code>
* @return The questVarSeq.
*/
int getQuestVarSeq();
/**
* <code>repeated int32 quest_var = 14;</code>
* @return A list containing the questVar.
......@@ -56,30 +35,6 @@ public final class ParentQuestOuterClass {
*/
int getQuestVar(int index);
/**
* <code>uint64 cutscene_encryption_key = 6;</code>
* @return The cutsceneEncryptionKey.
*/
long getCutsceneEncryptionKey();
/**
* <code>bool is_random = 13;</code>
* @return The isRandom.
*/
boolean getIsRandom();
/**
* <code>uint32 parent_quest_id = 3;</code>
* @return The parentQuestId.
*/
int getParentQuestId();
/**
* <code>bool is_finished = 7;</code>
* @return The isFinished.
*/
boolean getIsFinished();
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
......@@ -120,6 +75,75 @@ public final class ParentQuestOuterClass {
*/
int getParentQuestState();
/**
* <code>bool is_finished = 7;</code>
* @return The isFinished.
*/
boolean getIsFinished();
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK>
getUnk3000HLPGILIGGCBList();
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK getUnk3000HLPGILIGGCB(int index);
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
int getUnk3000HLPGILIGGCBCount();
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder>
getUnk3000HLPGILIGGCBOrBuilderList();
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder getUnk3000HLPGILIGGCBOrBuilder(
int index);
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return Whether the randomInfo field is set.
*/
boolean hasRandomInfo();
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return The randomInfo.
*/
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo();
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder();
/**
* <code>uint32 parent_quest_id = 3;</code>
* @return The parentQuestId.
*/
int getParentQuestId();
/**
* <code>bool is_random = 13;</code>
* @return The isRandom.
*/
boolean getIsRandom();
/**
* <code>uint64 cutscene_encryption_key = 6;</code>
* @return The cutsceneEncryptionKey.
*/
long getCutsceneEncryptionKey();
/**
* <code>uint32 quest_var_seq = 11;</code>
* @return The questVarSeq.
*/
int getQuestVarSeq();
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
*/
......@@ -158,6 +182,7 @@ public final class ParentQuestOuterClass {
}
private ParentQuest() {
questVar_ = emptyIntList();
unk3000HLPGILIGGCB_ = java.util.Collections.emptyList();
childQuestList_ = java.util.Collections.emptyList();
}
......@@ -226,9 +251,9 @@ public final class ParentQuestOuterClass {
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
childQuestList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest>();
mutable_bitField0_ |= 0x00000004;
mutable_bitField0_ |= 0x00000008;
}
childQuestList_.add(
input.readMessage(emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.parser(), extensionRegistry));
......@@ -278,6 +303,15 @@ public final class ParentQuestOuterClass {
input.popLimit(limit);
break;
}
case 122: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
unk3000HLPGILIGGCB_ = new java.util.ArrayList<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK>();
mutable_bitField0_ |= 0x00000004;
}
unk3000HLPGILIGGCB_.add(
input.readMessage(emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
......@@ -293,12 +327,15 @@ public final class ParentQuestOuterClass {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) != 0)) {
if (((mutable_bitField0_ & 0x00000008) != 0)) {
childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
}
if (((mutable_bitField0_ & 0x00000001) != 0)) {
questVar_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
unk3000HLPGILIGGCB_ = java.util.Collections.unmodifiableList(unk3000HLPGILIGGCB_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
......@@ -328,43 +365,6 @@ public final class ParentQuestOuterClass {
emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest.class, emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest.Builder.class);
}
public static final int RANDOM_INFO_FIELD_NUMBER = 12;
private emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo randomInfo_;
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return Whether the randomInfo field is set.
*/
@java.lang.Override
public boolean hasRandomInfo() {
return randomInfo_ != null;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return The randomInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo() {
return randomInfo_ == null ? emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance() : randomInfo_;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder() {
return getRandomInfo();
}
public static final int QUEST_VAR_SEQ_FIELD_NUMBER = 11;
private int questVarSeq_;
/**
* <code>uint32 quest_var_seq = 11;</code>
* @return The questVarSeq.
*/
@java.lang.Override
public int getQuestVarSeq() {
return questVarSeq_;
}
public static final int QUEST_VAR_FIELD_NUMBER = 14;
private com.google.protobuf.Internal.IntList questVar_;
/**
......@@ -393,50 +393,6 @@ public final class ParentQuestOuterClass {
}
private int questVarMemoizedSerializedSize = -1;
public static final int CUTSCENE_ENCRYPTION_KEY_FIELD_NUMBER = 6;
private long cutsceneEncryptionKey_;
/**
* <code>uint64 cutscene_encryption_key = 6;</code>
* @return The cutsceneEncryptionKey.
*/
@java.lang.Override
public long getCutsceneEncryptionKey() {
return cutsceneEncryptionKey_;
}
public static final int IS_RANDOM_FIELD_NUMBER = 13;
private boolean isRandom_;
/**
* <code>bool is_random = 13;</code>
* @return The isRandom.
*/
@java.lang.Override
public boolean getIsRandom() {
return isRandom_;
}
public static final int PARENT_QUEST_ID_FIELD_NUMBER = 3;
private int parentQuestId_;
/**
* <code>uint32 parent_quest_id = 3;</code>
* @return The parentQuestId.
*/
@java.lang.Override
public int getParentQuestId() {
return parentQuestId_;
}
public static final int IS_FINISHED_FIELD_NUMBER = 7;
private boolean isFinished_;
/**
* <code>bool is_finished = 7;</code>
* @return The isFinished.
*/
@java.lang.Override
public boolean getIsFinished() {
return isFinished_;
}
public static final int TIME_VAR_MAP_FIELD_NUMBER = 8;
private static final class TimeVarMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
......@@ -529,71 +485,192 @@ public final class ParentQuestOuterClass {
return parentQuestState_;
}
public static final int CHILD_QUEST_LIST_FIELD_NUMBER = 9;
private java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> childQuestList_;
public static final int IS_FINISHED_FIELD_NUMBER = 7;
private boolean isFinished_;
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
* <code>bool is_finished = 7;</code>
* @return The isFinished.
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> getChildQuestListList() {
return childQuestList_;
public boolean getIsFinished() {
return isFinished_;
}
public static final int UNK3000_HLPGILIGGCB_FIELD_NUMBER = 15;
private java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> unk3000HLPGILIGGCB_;
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder>
getChildQuestListOrBuilderList() {
return childQuestList_;
public java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> getUnk3000HLPGILIGGCBList() {
return unk3000HLPGILIGGCB_;
}
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
@java.lang.Override
public int getChildQuestListCount() {
return childQuestList_.size();
public java.util.List<? extends emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder>
getUnk3000HLPGILIGGCBOrBuilderList() {
return unk3000HLPGILIGGCB_;
}
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest getChildQuestList(int index) {
return childQuestList_.get(index);
public int getUnk3000HLPGILIGGCBCount() {
return unk3000HLPGILIGGCB_.size();
}
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder getChildQuestListOrBuilder(
public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK getUnk3000HLPGILIGGCB(int index) {
return unk3000HLPGILIGGCB_.get(index);
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder getUnk3000HLPGILIGGCBOrBuilder(
int index) {
return childQuestList_.get(index);
return unk3000HLPGILIGGCB_.get(index);
}
private byte memoizedIsInitialized = -1;
public static final int RANDOM_INFO_FIELD_NUMBER = 12;
private emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo randomInfo_;
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return Whether the randomInfo field is set.
*/
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
public boolean hasRandomInfo() {
return randomInfo_ != null;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return The randomInfo.
*/
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (parentQuestState_ != 0) {
output.writeUInt32(1, parentQuestState_);
}
if (parentQuestId_ != 0) {
output.writeUInt32(3, parentQuestId_);
}
if (cutsceneEncryptionKey_ != 0L) {
output.writeUInt64(6, cutsceneEncryptionKey_);
}
if (isFinished_ != false) {
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo() {
return randomInfo_ == null ? emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance() : randomInfo_;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder() {
return getRandomInfo();
}
public static final int PARENT_QUEST_ID_FIELD_NUMBER = 3;
private int parentQuestId_;
/**
* <code>uint32 parent_quest_id = 3;</code>
* @return The parentQuestId.
*/
@java.lang.Override
public int getParentQuestId() {
return parentQuestId_;
}
public static final int IS_RANDOM_FIELD_NUMBER = 13;
private boolean isRandom_;
/**
* <code>bool is_random = 13;</code>
* @return The isRandom.
*/
@java.lang.Override
public boolean getIsRandom() {
return isRandom_;
}
public static final int CUTSCENE_ENCRYPTION_KEY_FIELD_NUMBER = 6;
private long cutsceneEncryptionKey_;
/**
* <code>uint64 cutscene_encryption_key = 6;</code>
* @return The cutsceneEncryptionKey.
*/
@java.lang.Override
public long getCutsceneEncryptionKey() {
return cutsceneEncryptionKey_;
}
public static final int QUEST_VAR_SEQ_FIELD_NUMBER = 11;
private int questVarSeq_;
/**
* <code>uint32 quest_var_seq = 11;</code>
* @return The questVarSeq.
*/
@java.lang.Override
public int getQuestVarSeq() {
return questVarSeq_;
}
public static final int CHILD_QUEST_LIST_FIELD_NUMBER = 9;
private java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> childQuestList_;
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> getChildQuestListList() {
return childQuestList_;
}
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder>
getChildQuestListOrBuilderList() {
return childQuestList_;
}
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
*/
@java.lang.Override
public int getChildQuestListCount() {
return childQuestList_.size();
}
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest getChildQuestList(int index) {
return childQuestList_.get(index);
}
/**
* <code>repeated .ChildQuest child_quest_list = 9;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder getChildQuestListOrBuilder(
int index) {
return childQuestList_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (parentQuestState_ != 0) {
output.writeUInt32(1, parentQuestState_);
}
if (parentQuestId_ != 0) {
output.writeUInt32(3, parentQuestId_);
}
if (cutsceneEncryptionKey_ != 0L) {
output.writeUInt64(6, cutsceneEncryptionKey_);
}
if (isFinished_ != false) {
output.writeBool(7, isFinished_);
}
com.google.protobuf.GeneratedMessageV3
......@@ -621,6 +698,9 @@ public final class ParentQuestOuterClass {
for (int i = 0; i < questVar_.size(); i++) {
output.writeInt32NoTag(questVar_.getInt(i));
}
for (int i = 0; i < unk3000HLPGILIGGCB_.size(); i++) {
output.writeMessage(15, unk3000HLPGILIGGCB_.get(i));
}
unknownFields.writeTo(output);
}
......@@ -686,6 +766,10 @@ public final class ParentQuestOuterClass {
}
questVarMemoizedSerializedSize = dataSize;
}
for (int i = 0; i < unk3000HLPGILIGGCB_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, unk3000HLPGILIGGCB_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
......@@ -701,27 +785,29 @@ public final class ParentQuestOuterClass {
}
emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest other = (emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest) obj;
if (!getQuestVarList()
.equals(other.getQuestVarList())) return false;
if (!internalGetTimeVarMap().equals(
other.internalGetTimeVarMap())) return false;
if (getParentQuestState()
!= other.getParentQuestState()) return false;
if (getIsFinished()
!= other.getIsFinished()) return false;
if (!getUnk3000HLPGILIGGCBList()
.equals(other.getUnk3000HLPGILIGGCBList())) return false;
if (hasRandomInfo() != other.hasRandomInfo()) return false;
if (hasRandomInfo()) {
if (!getRandomInfo()
.equals(other.getRandomInfo())) return false;
}
if (getQuestVarSeq()
!= other.getQuestVarSeq()) return false;
if (!getQuestVarList()
.equals(other.getQuestVarList())) return false;
if (getCutsceneEncryptionKey()
!= other.getCutsceneEncryptionKey()) return false;
if (getIsRandom()
!= other.getIsRandom()) return false;
if (getParentQuestId()
!= other.getParentQuestId()) return false;
if (getIsFinished()
!= other.getIsFinished()) return false;
if (!internalGetTimeVarMap().equals(
other.internalGetTimeVarMap())) return false;
if (getParentQuestState()
!= other.getParentQuestState()) return false;
if (getIsRandom()
!= other.getIsRandom()) return false;
if (getCutsceneEncryptionKey()
!= other.getCutsceneEncryptionKey()) return false;
if (getQuestVarSeq()
!= other.getQuestVarSeq()) return false;
if (!getChildQuestListList()
.equals(other.getChildQuestListList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
......@@ -735,33 +821,37 @@ public final class ParentQuestOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRandomInfo()) {
hash = (37 * hash) + RANDOM_INFO_FIELD_NUMBER;
hash = (53 * hash) + getRandomInfo().hashCode();
}
hash = (37 * hash) + QUEST_VAR_SEQ_FIELD_NUMBER;
hash = (53 * hash) + getQuestVarSeq();
if (getQuestVarCount() > 0) {
hash = (37 * hash) + QUEST_VAR_FIELD_NUMBER;
hash = (53 * hash) + getQuestVarList().hashCode();
}
hash = (37 * hash) + CUTSCENE_ENCRYPTION_KEY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCutsceneEncryptionKey());
hash = (37 * hash) + IS_RANDOM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsRandom());
hash = (37 * hash) + PARENT_QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getParentQuestId();
hash = (37 * hash) + IS_FINISHED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFinished());
if (!internalGetTimeVarMap().getMap().isEmpty()) {
hash = (37 * hash) + TIME_VAR_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetTimeVarMap().hashCode();
}
hash = (37 * hash) + PARENT_QUEST_STATE_FIELD_NUMBER;
hash = (53 * hash) + getParentQuestState();
hash = (37 * hash) + IS_FINISHED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFinished());
if (getUnk3000HLPGILIGGCBCount() > 0) {
hash = (37 * hash) + UNK3000_HLPGILIGGCB_FIELD_NUMBER;
hash = (53 * hash) + getUnk3000HLPGILIGGCBList().hashCode();
}
if (hasRandomInfo()) {
hash = (37 * hash) + RANDOM_INFO_FIELD_NUMBER;
hash = (53 * hash) + getRandomInfo().hashCode();
}
hash = (37 * hash) + PARENT_QUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getParentQuestId();
hash = (37 * hash) + IS_RANDOM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsRandom());
hash = (37 * hash) + CUTSCENE_ENCRYPTION_KEY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCutsceneEncryptionKey());
hash = (37 * hash) + QUEST_VAR_SEQ_FIELD_NUMBER;
hash = (53 * hash) + getQuestVarSeq();
if (getChildQuestListCount() > 0) {
hash = (37 * hash) + CHILD_QUEST_LIST_FIELD_NUMBER;
hash = (53 * hash) + getChildQuestListList().hashCode();
......@@ -916,36 +1006,43 @@ public final class ParentQuestOuterClass {
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getUnk3000HLPGILIGGCBFieldBuilder();
getChildQuestListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
questVar_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableTimeVarMap().clear();
parentQuestState_ = 0;
isFinished_ = false;
if (unk3000HLPGILIGGCBBuilder_ == null) {
unk3000HLPGILIGGCB_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
unk3000HLPGILIGGCBBuilder_.clear();
}
if (randomInfoBuilder_ == null) {
randomInfo_ = null;
} else {
randomInfo_ = null;
randomInfoBuilder_ = null;
}
questVarSeq_ = 0;
questVar_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
cutsceneEncryptionKey_ = 0L;
parentQuestId_ = 0;
isRandom_ = false;
parentQuestId_ = 0;
isFinished_ = false;
cutsceneEncryptionKey_ = 0L;
internalGetMutableTimeVarMap().clear();
parentQuestState_ = 0;
questVarSeq_ = 0;
if (childQuestListBuilder_ == null) {
childQuestList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
bitField0_ = (bitField0_ & ~0x00000008);
} else {
childQuestListBuilder_.clear();
}
......@@ -976,29 +1073,38 @@ public final class ParentQuestOuterClass {
public emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest buildPartial() {
emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest result = new emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest(this);
int from_bitField0_ = bitField0_;
if (randomInfoBuilder_ == null) {
result.randomInfo_ = randomInfo_;
} else {
result.randomInfo_ = randomInfoBuilder_.build();
}
result.questVarSeq_ = questVarSeq_;
if (((bitField0_ & 0x00000001) != 0)) {
questVar_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.questVar_ = questVar_;
result.cutsceneEncryptionKey_ = cutsceneEncryptionKey_;
result.isRandom_ = isRandom_;
result.parentQuestId_ = parentQuestId_;
result.isFinished_ = isFinished_;
result.timeVarMap_ = internalGetTimeVarMap();
result.timeVarMap_.makeImmutable();
result.parentQuestState_ = parentQuestState_;
if (childQuestListBuilder_ == null) {
result.isFinished_ = isFinished_;
if (unk3000HLPGILIGGCBBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
unk3000HLPGILIGGCB_ = java.util.Collections.unmodifiableList(unk3000HLPGILIGGCB_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.unk3000HLPGILIGGCB_ = unk3000HLPGILIGGCB_;
} else {
result.unk3000HLPGILIGGCB_ = unk3000HLPGILIGGCBBuilder_.build();
}
if (randomInfoBuilder_ == null) {
result.randomInfo_ = randomInfo_;
} else {
result.randomInfo_ = randomInfoBuilder_.build();
}
result.parentQuestId_ = parentQuestId_;
result.isRandom_ = isRandom_;
result.cutsceneEncryptionKey_ = cutsceneEncryptionKey_;
result.questVarSeq_ = questVarSeq_;
if (childQuestListBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.childQuestList_ = childQuestList_;
} else {
result.childQuestList_ = childQuestListBuilder_.build();
......@@ -1051,12 +1157,6 @@ public final class ParentQuestOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest other) {
if (other == emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest.getDefaultInstance()) return this;
if (other.hasRandomInfo()) {
mergeRandomInfo(other.getRandomInfo());
}
if (other.getQuestVarSeq() != 0) {
setQuestVarSeq(other.getQuestVarSeq());
}
if (!other.questVar_.isEmpty()) {
if (questVar_.isEmpty()) {
questVar_ = other.questVar_;
......@@ -1067,28 +1167,60 @@ public final class ParentQuestOuterClass {
}
onChanged();
}
if (other.getCutsceneEncryptionKey() != 0L) {
setCutsceneEncryptionKey(other.getCutsceneEncryptionKey());
}
if (other.getIsRandom() != false) {
setIsRandom(other.getIsRandom());
}
if (other.getParentQuestId() != 0) {
setParentQuestId(other.getParentQuestId());
}
if (other.getIsFinished() != false) {
setIsFinished(other.getIsFinished());
}
internalGetMutableTimeVarMap().mergeFrom(
other.internalGetTimeVarMap());
if (other.getParentQuestState() != 0) {
setParentQuestState(other.getParentQuestState());
}
if (childQuestListBuilder_ == null) {
if (other.getIsFinished() != false) {
setIsFinished(other.getIsFinished());
}
if (unk3000HLPGILIGGCBBuilder_ == null) {
if (!other.unk3000HLPGILIGGCB_.isEmpty()) {
if (unk3000HLPGILIGGCB_.isEmpty()) {
unk3000HLPGILIGGCB_ = other.unk3000HLPGILIGGCB_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureUnk3000HLPGILIGGCBIsMutable();
unk3000HLPGILIGGCB_.addAll(other.unk3000HLPGILIGGCB_);
}
onChanged();
}
} else {
if (!other.unk3000HLPGILIGGCB_.isEmpty()) {
if (unk3000HLPGILIGGCBBuilder_.isEmpty()) {
unk3000HLPGILIGGCBBuilder_.dispose();
unk3000HLPGILIGGCBBuilder_ = null;
unk3000HLPGILIGGCB_ = other.unk3000HLPGILIGGCB_;
bitField0_ = (bitField0_ & ~0x00000004);
unk3000HLPGILIGGCBBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getUnk3000HLPGILIGGCBFieldBuilder() : null;
} else {
unk3000HLPGILIGGCBBuilder_.addAllMessages(other.unk3000HLPGILIGGCB_);
}
}
}
if (other.hasRandomInfo()) {
mergeRandomInfo(other.getRandomInfo());
}
if (other.getParentQuestId() != 0) {
setParentQuestId(other.getParentQuestId());
}
if (other.getIsRandom() != false) {
setIsRandom(other.getIsRandom());
}
if (other.getCutsceneEncryptionKey() != 0L) {
setCutsceneEncryptionKey(other.getCutsceneEncryptionKey());
}
if (other.getQuestVarSeq() != 0) {
setQuestVarSeq(other.getQuestVarSeq());
}
if (childQuestListBuilder_ == null) {
if (!other.childQuestList_.isEmpty()) {
if (childQuestList_.isEmpty()) {
childQuestList_ = other.childQuestList_;
bitField0_ = (bitField0_ & ~0x00000004);
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureChildQuestListIsMutable();
childQuestList_.addAll(other.childQuestList_);
......@@ -1101,7 +1233,7 @@ public final class ParentQuestOuterClass {
childQuestListBuilder_.dispose();
childQuestListBuilder_ = null;
childQuestList_ = other.childQuestList_;
bitField0_ = (bitField0_ & ~0x00000004);
bitField0_ = (bitField0_ & ~0x00000008);
childQuestListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getChildQuestListFieldBuilder() : null;
......@@ -1140,156 +1272,6 @@ public final class ParentQuestOuterClass {
}
private int bitField0_;
private emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo randomInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder> randomInfoBuilder_;
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return Whether the randomInfo field is set.
*/
public boolean hasRandomInfo() {
return randomInfoBuilder_ != null || randomInfo_ != null;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return The randomInfo.
*/
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo() {
if (randomInfoBuilder_ == null) {
return randomInfo_ == null ? emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance() : randomInfo_;
} else {
return randomInfoBuilder_.getMessage();
}
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder setRandomInfo(emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo value) {
if (randomInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
randomInfo_ = value;
onChanged();
} else {
randomInfoBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder setRandomInfo(
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder builderForValue) {
if (randomInfoBuilder_ == null) {
randomInfo_ = builderForValue.build();
onChanged();
} else {
randomInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder mergeRandomInfo(emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo value) {
if (randomInfoBuilder_ == null) {
if (randomInfo_ != null) {
randomInfo_ =
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.newBuilder(randomInfo_).mergeFrom(value).buildPartial();
} else {
randomInfo_ = value;
}
onChanged();
} else {
randomInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder clearRandomInfo() {
if (randomInfoBuilder_ == null) {
randomInfo_ = null;
onChanged();
} else {
randomInfo_ = null;
randomInfoBuilder_ = null;
}
return this;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder getRandomInfoBuilder() {
onChanged();
return getRandomInfoFieldBuilder().getBuilder();
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder() {
if (randomInfoBuilder_ != null) {
return randomInfoBuilder_.getMessageOrBuilder();
} else {
return randomInfo_ == null ?
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance() : randomInfo_;
}
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder>
getRandomInfoFieldBuilder() {
if (randomInfoBuilder_ == null) {
randomInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder>(
getRandomInfo(),
getParentForChildren(),
isClean());
randomInfo_ = null;
}
return randomInfoBuilder_;
}
private int questVarSeq_ ;
/**
* <code>uint32 quest_var_seq = 11;</code>
* @return The questVarSeq.
*/
@java.lang.Override
public int getQuestVarSeq() {
return questVarSeq_;
}
/**
* <code>uint32 quest_var_seq = 11;</code>
* @param value The questVarSeq to set.
* @return This builder for chaining.
*/
public Builder setQuestVarSeq(int value) {
questVarSeq_ = value;
onChanged();
return this;
}
/**
* <code>uint32 quest_var_seq = 11;</code>
* @return This builder for chaining.
*/
public Builder clearQuestVarSeq() {
questVarSeq_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList questVar_ = emptyIntList();
private void ensureQuestVarIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
......@@ -1369,66 +1351,553 @@ public final class ParentQuestOuterClass {
return this;
}
private long cutsceneEncryptionKey_ ;
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> timeVarMap_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetTimeVarMap() {
if (timeVarMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
TimeVarMapDefaultEntryHolder.defaultEntry);
}
return timeVarMap_;
}
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetMutableTimeVarMap() {
onChanged();;
if (timeVarMap_ == null) {
timeVarMap_ = com.google.protobuf.MapField.newMapField(
TimeVarMapDefaultEntryHolder.defaultEntry);
}
if (!timeVarMap_.isMutable()) {
timeVarMap_ = timeVarMap_.copy();
}
return timeVarMap_;
}
public int getTimeVarMapCount() {
return internalGetTimeVarMap().getMap().size();
}
/**
* <code>uint64 cutscene_encryption_key = 6;</code>
* @return The cutsceneEncryptionKey.
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
@java.lang.Override
public long getCutsceneEncryptionKey() {
return cutsceneEncryptionKey_;
public boolean containsTimeVarMap(
int key) {
return internalGetTimeVarMap().getMap().containsKey(key);
}
/**
* Use {@link #getTimeVarMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMap() {
return getTimeVarMapMap();
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMapMap() {
return internalGetTimeVarMap().getMap();
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
@java.lang.Override
public int getTimeVarMapOrDefault(
int key,
int defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetTimeVarMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
@java.lang.Override
public int getTimeVarMapOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetTimeVarMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearTimeVarMap() {
internalGetMutableTimeVarMap().getMutableMap()
.clear();
return this;
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
public Builder removeTimeVarMap(
int key) {
internalGetMutableTimeVarMap().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer>
getMutableTimeVarMap() {
return internalGetMutableTimeVarMap().getMutableMap();
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
public Builder putTimeVarMap(
int key,
int value) {
internalGetMutableTimeVarMap().getMutableMap()
.put(key, value);
return this;
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
public Builder putAllTimeVarMap(
java.util.Map<java.lang.Integer, java.lang.Integer> values) {
internalGetMutableTimeVarMap().getMutableMap()
.putAll(values);
return this;
}
private int parentQuestState_ ;
/**
* <code>uint32 parent_quest_state = 1;</code>
* @return The parentQuestState.
*/
@java.lang.Override
public int getParentQuestState() {
return parentQuestState_;
}
/**
* <code>uint32 parent_quest_state = 1;</code>
* @param value The parentQuestState to set.
* @return This builder for chaining.
*/
public Builder setParentQuestState(int value) {
parentQuestState_ = value;
onChanged();
return this;
}
/**
* <code>uint32 parent_quest_state = 1;</code>
* @return This builder for chaining.
*/
public Builder clearParentQuestState() {
parentQuestState_ = 0;
onChanged();
return this;
}
private boolean isFinished_ ;
/**
* <code>bool is_finished = 7;</code>
* @return The isFinished.
*/
@java.lang.Override
public boolean getIsFinished() {
return isFinished_;
}
/**
* <code>bool is_finished = 7;</code>
* @param value The isFinished to set.
* @return This builder for chaining.
*/
public Builder setIsFinished(boolean value) {
isFinished_ = value;
onChanged();
return this;
}
/**
* <code>bool is_finished = 7;</code>
* @return This builder for chaining.
*/
public Builder clearIsFinished() {
isFinished_ = false;
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> unk3000HLPGILIGGCB_ =
java.util.Collections.emptyList();
private void ensureUnk3000HLPGILIGGCBIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
unk3000HLPGILIGGCB_ = new java.util.ArrayList<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK>(unk3000HLPGILIGGCB_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder> unk3000HLPGILIGGCBBuilder_;
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> getUnk3000HLPGILIGGCBList() {
if (unk3000HLPGILIGGCBBuilder_ == null) {
return java.util.Collections.unmodifiableList(unk3000HLPGILIGGCB_);
} else {
return unk3000HLPGILIGGCBBuilder_.getMessageList();
}
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public int getUnk3000HLPGILIGGCBCount() {
if (unk3000HLPGILIGGCBBuilder_ == null) {
return unk3000HLPGILIGGCB_.size();
} else {
return unk3000HLPGILIGGCBBuilder_.getCount();
}
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK getUnk3000HLPGILIGGCB(int index) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
return unk3000HLPGILIGGCB_.get(index);
} else {
return unk3000HLPGILIGGCBBuilder_.getMessage(index);
}
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public Builder setUnk3000HLPGILIGGCB(
int index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK value) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUnk3000HLPGILIGGCBIsMutable();
unk3000HLPGILIGGCB_.set(index, value);
onChanged();
} else {
unk3000HLPGILIGGCBBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public Builder setUnk3000HLPGILIGGCB(
int index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder builderForValue) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
ensureUnk3000HLPGILIGGCBIsMutable();
unk3000HLPGILIGGCB_.set(index, builderForValue.build());
onChanged();
} else {
unk3000HLPGILIGGCBBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public Builder addUnk3000HLPGILIGGCB(emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK value) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUnk3000HLPGILIGGCBIsMutable();
unk3000HLPGILIGGCB_.add(value);
onChanged();
} else {
unk3000HLPGILIGGCBBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public Builder addUnk3000HLPGILIGGCB(
int index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK value) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUnk3000HLPGILIGGCBIsMutable();
unk3000HLPGILIGGCB_.add(index, value);
onChanged();
} else {
unk3000HLPGILIGGCBBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public Builder addUnk3000HLPGILIGGCB(
emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder builderForValue) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
ensureUnk3000HLPGILIGGCBIsMutable();
unk3000HLPGILIGGCB_.add(builderForValue.build());
onChanged();
} else {
unk3000HLPGILIGGCBBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public Builder addUnk3000HLPGILIGGCB(
int index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder builderForValue) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
ensureUnk3000HLPGILIGGCBIsMutable();
unk3000HLPGILIGGCB_.add(index, builderForValue.build());
onChanged();
} else {
unk3000HLPGILIGGCBBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public Builder addAllUnk3000HLPGILIGGCB(
java.lang.Iterable<? extends emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> values) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
ensureUnk3000HLPGILIGGCBIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, unk3000HLPGILIGGCB_);
onChanged();
} else {
unk3000HLPGILIGGCBBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public Builder clearUnk3000HLPGILIGGCB() {
if (unk3000HLPGILIGGCBBuilder_ == null) {
unk3000HLPGILIGGCB_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
unk3000HLPGILIGGCBBuilder_.clear();
}
return this;
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public Builder removeUnk3000HLPGILIGGCB(int index) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
ensureUnk3000HLPGILIGGCBIsMutable();
unk3000HLPGILIGGCB_.remove(index);
onChanged();
} else {
unk3000HLPGILIGGCBBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder getUnk3000HLPGILIGGCBBuilder(
int index) {
return getUnk3000HLPGILIGGCBFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder getUnk3000HLPGILIGGCBOrBuilder(
int index) {
if (unk3000HLPGILIGGCBBuilder_ == null) {
return unk3000HLPGILIGGCB_.get(index); } else {
return unk3000HLPGILIGGCBBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder>
getUnk3000HLPGILIGGCBOrBuilderList() {
if (unk3000HLPGILIGGCBBuilder_ != null) {
return unk3000HLPGILIGGCBBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(unk3000HLPGILIGGCB_);
}
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder addUnk3000HLPGILIGGCBBuilder() {
return getUnk3000HLPGILIGGCBFieldBuilder().addBuilder(
emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.getDefaultInstance());
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder addUnk3000HLPGILIGGCBBuilder(
int index) {
return getUnk3000HLPGILIGGCBFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.getDefaultInstance());
}
/**
* <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
*/
public java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder>
getUnk3000HLPGILIGGCBBuilderList() {
return getUnk3000HLPGILIGGCBFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder>
getUnk3000HLPGILIGGCBFieldBuilder() {
if (unk3000HLPGILIGGCBBuilder_ == null) {
unk3000HLPGILIGGCBBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder>(
unk3000HLPGILIGGCB_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
unk3000HLPGILIGGCB_ = null;
}
return unk3000HLPGILIGGCBBuilder_;
}
private emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo randomInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder> randomInfoBuilder_;
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return Whether the randomInfo field is set.
*/
public boolean hasRandomInfo() {
return randomInfoBuilder_ != null || randomInfo_ != null;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
* @return The randomInfo.
*/
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo() {
if (randomInfoBuilder_ == null) {
return randomInfo_ == null ? emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance() : randomInfo_;
} else {
return randomInfoBuilder_.getMessage();
}
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder setRandomInfo(emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo value) {
if (randomInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
randomInfo_ = value;
onChanged();
} else {
randomInfoBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder setRandomInfo(
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder builderForValue) {
if (randomInfoBuilder_ == null) {
randomInfo_ = builderForValue.build();
onChanged();
} else {
randomInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder mergeRandomInfo(emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo value) {
if (randomInfoBuilder_ == null) {
if (randomInfo_ != null) {
randomInfo_ =
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.newBuilder(randomInfo_).mergeFrom(value).buildPartial();
} else {
randomInfo_ = value;
}
onChanged();
} else {
randomInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>uint64 cutscene_encryption_key = 6;</code>
* @param value The cutsceneEncryptionKey to set.
* @return This builder for chaining.
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder setCutsceneEncryptionKey(long value) {
cutsceneEncryptionKey_ = value;
onChanged();
public Builder clearRandomInfo() {
if (randomInfoBuilder_ == null) {
randomInfo_ = null;
onChanged();
} else {
randomInfo_ = null;
randomInfoBuilder_ = null;
}
return this;
}
/**
* <code>uint64 cutscene_encryption_key = 6;</code>
* @return This builder for chaining.
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder clearCutsceneEncryptionKey() {
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder getRandomInfoBuilder() {
cutsceneEncryptionKey_ = 0L;
onChanged();
return this;
}
private boolean isRandom_ ;
/**
* <code>bool is_random = 13;</code>
* @return The isRandom.
*/
@java.lang.Override
public boolean getIsRandom() {
return isRandom_;
return getRandomInfoFieldBuilder().getBuilder();
}
/**
* <code>bool is_random = 13;</code>
* @param value The isRandom to set.
* @return This builder for chaining.
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder setIsRandom(boolean value) {
isRandom_ = value;
onChanged();
return this;
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder() {
if (randomInfoBuilder_ != null) {
return randomInfoBuilder_.getMessageOrBuilder();
} else {
return randomInfo_ == null ?
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance() : randomInfo_;
}
}
/**
* <code>bool is_random = 13;</code>
* @return This builder for chaining.
* <code>.ParentQuestRandomInfo random_info = 12;</code>
*/
public Builder clearIsRandom() {
isRandom_ = false;
onChanged();
return this;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder>
getRandomInfoFieldBuilder() {
if (randomInfoBuilder_ == null) {
randomInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder>(
getRandomInfo(),
getParentForChildren(),
isClean());
randomInfo_ = null;
}
return randomInfoBuilder_;
}
private int parentQuestId_ ;
......@@ -1462,192 +1931,95 @@ public final class ParentQuestOuterClass {
return this;
}
private boolean isFinished_ ;
private boolean isRandom_ ;
/**
* <code>bool is_finished = 7;</code>
* @return The isFinished.
* <code>bool is_random = 13;</code>
* @return The isRandom.
*/
@java.lang.Override
public boolean getIsFinished() {
return isFinished_;
public boolean getIsRandom() {
return isRandom_;
}
/**
* <code>bool is_finished = 7;</code>
* @param value The isFinished to set.
* <code>bool is_random = 13;</code>
* @param value The isRandom to set.
* @return This builder for chaining.
*/
public Builder setIsFinished(boolean value) {
public Builder setIsRandom(boolean value) {
isFinished_ = value;
isRandom_ = value;
onChanged();
return this;
}
/**
* <code>bool is_finished = 7;</code>
* <code>bool is_random = 13;</code>
* @return This builder for chaining.
*/
public Builder clearIsFinished() {
public Builder clearIsRandom() {
isFinished_ = false;
isRandom_ = false;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> timeVarMap_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetTimeVarMap() {
if (timeVarMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
TimeVarMapDefaultEntryHolder.defaultEntry);
}
return timeVarMap_;
}
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
internalGetMutableTimeVarMap() {
onChanged();;
if (timeVarMap_ == null) {
timeVarMap_ = com.google.protobuf.MapField.newMapField(
TimeVarMapDefaultEntryHolder.defaultEntry);
}
if (!timeVarMap_.isMutable()) {
timeVarMap_ = timeVarMap_.copy();
}
return timeVarMap_;
}
public int getTimeVarMapCount() {
return internalGetTimeVarMap().getMap().size();
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
@java.lang.Override
public boolean containsTimeVarMap(
int key) {
return internalGetTimeVarMap().getMap().containsKey(key);
}
/**
* Use {@link #getTimeVarMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMap() {
return getTimeVarMapMap();
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMapMap() {
return internalGetTimeVarMap().getMap();
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
@java.lang.Override
public int getTimeVarMapOrDefault(
int key,
int defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetTimeVarMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
private long cutsceneEncryptionKey_ ;
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
* <code>uint64 cutscene_encryption_key = 6;</code>
* @return The cutsceneEncryptionKey.
*/
@java.lang.Override
public int getTimeVarMapOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Integer> map =
internalGetTimeVarMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearTimeVarMap() {
internalGetMutableTimeVarMap().getMutableMap()
.clear();
return this;
public long getCutsceneEncryptionKey() {
return cutsceneEncryptionKey_;
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
* <code>uint64 cutscene_encryption_key = 6;</code>
* @param value The cutsceneEncryptionKey to set.
* @return This builder for chaining.
*/
public Builder removeTimeVarMap(
int key) {
public Builder setCutsceneEncryptionKey(long value) {
internalGetMutableTimeVarMap().getMutableMap()
.remove(key);
cutsceneEncryptionKey_ = value;
onChanged();
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Integer>
getMutableTimeVarMap() {
return internalGetMutableTimeVarMap().getMutableMap();
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
* <code>uint64 cutscene_encryption_key = 6;</code>
* @return This builder for chaining.
*/
public Builder putTimeVarMap(
int key,
int value) {
public Builder clearCutsceneEncryptionKey() {
internalGetMutableTimeVarMap().getMutableMap()
.put(key, value);
return this;
}
/**
* <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
*/
public Builder putAllTimeVarMap(
java.util.Map<java.lang.Integer, java.lang.Integer> values) {
internalGetMutableTimeVarMap().getMutableMap()
.putAll(values);
cutsceneEncryptionKey_ = 0L;
onChanged();
return this;
}
private int parentQuestState_ ;
private int questVarSeq_ ;
/**
* <code>uint32 parent_quest_state = 1;</code>
* @return The parentQuestState.
* <code>uint32 quest_var_seq = 11;</code>
* @return The questVarSeq.
*/
@java.lang.Override
public int getParentQuestState() {
return parentQuestState_;
public int getQuestVarSeq() {
return questVarSeq_;
}
/**
* <code>uint32 parent_quest_state = 1;</code>
* @param value The parentQuestState to set.
* <code>uint32 quest_var_seq = 11;</code>
* @param value The questVarSeq to set.
* @return This builder for chaining.
*/
public Builder setParentQuestState(int value) {
public Builder setQuestVarSeq(int value) {
parentQuestState_ = value;
questVarSeq_ = value;
onChanged();
return this;
}
/**
* <code>uint32 parent_quest_state = 1;</code>
* <code>uint32 quest_var_seq = 11;</code>
* @return This builder for chaining.
*/
public Builder clearParentQuestState() {
public Builder clearQuestVarSeq() {
parentQuestState_ = 0;
questVarSeq_ = 0;
onChanged();
return this;
}
......@@ -1655,9 +2027,9 @@ public final class ParentQuestOuterClass {
private java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> childQuestList_ =
java.util.Collections.emptyList();
private void ensureChildQuestListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
if (!((bitField0_ & 0x00000008) != 0)) {
childQuestList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest>(childQuestList_);
bitField0_ |= 0x00000004;
bitField0_ |= 0x00000008;
}
}
......@@ -1807,7 +2179,7 @@ public final class ParentQuestOuterClass {
public Builder clearChildQuestList() {
if (childQuestListBuilder_ == null) {
childQuestList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
childQuestListBuilder_.clear();
......@@ -1884,7 +2256,7 @@ public final class ParentQuestOuterClass {
childQuestListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder>(
childQuestList_,
((bitField0_ & 0x00000004) != 0),
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
childQuestList_ = null;
......@@ -1964,30 +2336,33 @@ public final class ParentQuestOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\021ParentQuest.proto\032\020ChildQuest.proto\032\033P" +
"arentQuestRandomInfo.proto\"\360\002\n\013ParentQue" +
"st\022+\n\013random_info\030\014 \001(\0132\026.ParentQuestRan" +
"domInfo\022\025\n\rquest_var_seq\030\013 \001(\r\022\021\n\tquest_" +
"var\030\016 \003(\005\022\037\n\027cutscene_encryption_key\030\006 \001" +
"(\004\022\021\n\tis_random\030\r \001(\010\022\027\n\017parent_quest_id" +
"\030\003 \001(\r\022\023\n\013is_finished\030\007 \001(\010\0222\n\014time_var_" +
"map\030\010 \003(\0132\034.ParentQuest.TimeVarMapEntry\022" +
"\032\n\022parent_quest_state\030\001 \001(\r\022%\n\020child_que" +
"st_list\030\t \003(\0132\013.ChildQuest\0321\n\017TimeVarMap" +
"Entry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\033\n" +
"\031emu.grasscutter.net.protob\006proto3"
"arentQuestRandomInfo.proto\032\031Unk3000_ENLD" +
"IHLGNCK.proto\"\243\003\n\013ParentQuest\022\021\n\tquest_v" +
"ar\030\016 \003(\005\0222\n\014time_var_map\030\010 \003(\0132\034.ParentQ" +
"uest.TimeVarMapEntry\022\032\n\022parent_quest_sta" +
"te\030\001 \001(\r\022\023\n\013is_finished\030\007 \001(\010\0221\n\023Unk3000" +
"_HLPGILIGGCB\030\017 \003(\0132\024.Unk3000_ENLDIHLGNCK" +
"\022+\n\013random_info\030\014 \001(\0132\026.ParentQuestRando" +
"mInfo\022\027\n\017parent_quest_id\030\003 \001(\r\022\021\n\tis_ran" +
"dom\030\r \001(\010\022\037\n\027cutscene_encryption_key\030\006 \001" +
"(\004\022\025\n\rquest_var_seq\030\013 \001(\r\022%\n\020child_quest" +
"_list\030\t \003(\0132\013.ChildQuest\0321\n\017TimeVarMapEn" +
"try\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\033\n\031e" +
"mu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.ChildQuestOuterClass.getDescriptor(),
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.getDescriptor(),
});
internal_static_ParentQuest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ParentQuest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ParentQuest_descriptor,
new java.lang.String[] { "RandomInfo", "QuestVarSeq", "QuestVar", "CutsceneEncryptionKey", "IsRandom", "ParentQuestId", "IsFinished", "TimeVarMap", "ParentQuestState", "ChildQuestList", });
new java.lang.String[] { "QuestVar", "TimeVarMap", "ParentQuestState", "IsFinished", "Unk3000HLPGILIGGCB", "RandomInfo", "ParentQuestId", "IsRandom", "CutsceneEncryptionKey", "QuestVarSeq", "ChildQuestList", });
internal_static_ParentQuest_TimeVarMapEntry_descriptor =
internal_static_ParentQuest_descriptor.getNestedTypes().get(0);
internal_static_ParentQuest_TimeVarMapEntry_fieldAccessorTable = new
......@@ -1996,6 +2371,7 @@ public final class ParentQuestOuterClass {
new java.lang.String[] { "Key", "Value", });
emu.grasscutter.net.proto.ChildQuestOuterClass.getDescriptor();
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
......
......@@ -20,9 +20,9 @@ public final class PersonalLineAllDataReqOuterClass {
}
/**
* <pre>
* CmdId: 446
* CmdId: 474
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -248,9 +248,9 @@ public final class PersonalLineAllDataReqOuterClass {
}
/**
* <pre>
* CmdId: 446
* CmdId: 474
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -18,12 +18,6 @@ public final class PersonalLineAllDataRspOuterClass {
// @@protoc_insertion_point(interface_extends:PersonalLineAllDataRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 cur_finished_daily_task_count = 5;</code>
* @return The curFinishedDailyTaskCount.
......@@ -31,10 +25,27 @@ public final class PersonalLineAllDataRspOuterClass {
int getCurFinishedDailyTaskCount();
/**
* <code>uint32 legendary_key_count = 11;</code>
* @return The legendaryKeyCount.
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return A list containing the canBeUnlockedPersonalLineList.
*/
int getLegendaryKeyCount();
java.util.List<java.lang.Integer> getCanBeUnlockedPersonalLineListList();
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return The count of canBeUnlockedPersonalLineList.
*/
int getCanBeUnlockedPersonalLineListCount();
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param index The index of the element to return.
* @return The canBeUnlockedPersonalLineList at the given index.
*/
int getCanBeUnlockedPersonalLineList(int index);
/**
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>repeated uint32 ongoing_personal_line_list = 8;</code>
......@@ -54,21 +65,10 @@ public final class PersonalLineAllDataRspOuterClass {
int getOngoingPersonalLineList(int index);
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return A list containing the canBeUnlockedPersonalLineList.
*/
java.util.List<java.lang.Integer> getCanBeUnlockedPersonalLineListList();
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return The count of canBeUnlockedPersonalLineList.
*/
int getCanBeUnlockedPersonalLineListCount();
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param index The index of the element to return.
* @return The canBeUnlockedPersonalLineList at the given index.
* <code>uint32 legendary_key_count = 11;</code>
* @return The legendaryKeyCount.
*/
int getCanBeUnlockedPersonalLineList(int index);
int getLegendaryKeyCount();
/**
* <code>repeated .LockedPersonallineData locked_personal_line_list = 10;</code>
......@@ -98,7 +98,8 @@ public final class PersonalLineAllDataRspOuterClass {
* <pre>
* CmdId: 476
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PersonalLineAllDataRsp}
......@@ -113,8 +114,8 @@ public final class PersonalLineAllDataRspOuterClass {
super(builder);
}
private PersonalLineAllDataRsp() {
ongoingPersonalLineList_ = emptyIntList();
canBeUnlockedPersonalLineList_ = emptyIntList();
ongoingPersonalLineList_ = emptyIntList();
lockedPersonalLineList_ = java.util.Collections.emptyList();
}
......@@ -155,9 +156,9 @@ public final class PersonalLineAllDataRspOuterClass {
break;
}
case 64: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
ongoingPersonalLineList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
mutable_bitField0_ |= 0x00000002;
}
ongoingPersonalLineList_.addInt(input.readUInt32());
break;
......@@ -165,9 +166,9 @@ public final class PersonalLineAllDataRspOuterClass {
case 66: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
ongoingPersonalLineList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
ongoingPersonalLineList_.addInt(input.readUInt32());
......@@ -190,9 +191,9 @@ public final class PersonalLineAllDataRspOuterClass {
break;
}
case 104: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
canBeUnlockedPersonalLineList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
mutable_bitField0_ |= 0x00000001;
}
canBeUnlockedPersonalLineList_.addInt(input.readUInt32());
break;
......@@ -200,9 +201,9 @@ public final class PersonalLineAllDataRspOuterClass {
case 106: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
canBeUnlockedPersonalLineList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
canBeUnlockedPersonalLineList_.addInt(input.readUInt32());
......@@ -230,13 +231,13 @@ public final class PersonalLineAllDataRspOuterClass {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
if (((mutable_bitField0_ & 0x00000002) != 0)) {
ongoingPersonalLineList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
lockedPersonalLineList_ = java.util.Collections.unmodifiableList(lockedPersonalLineList_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
canBeUnlockedPersonalLineList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
......@@ -256,17 +257,6 @@ public final class PersonalLineAllDataRspOuterClass {
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.class, emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.Builder.class);
}
public static final int RETCODE_FIELD_NUMBER = 15;
private int retcode_;
/**
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int CUR_FINISHED_DAILY_TASK_COUNT_FIELD_NUMBER = 5;
private int curFinishedDailyTaskCount_;
/**
......@@ -278,15 +268,43 @@ public final class PersonalLineAllDataRspOuterClass {
return curFinishedDailyTaskCount_;
}
public static final int LEGENDARY_KEY_COUNT_FIELD_NUMBER = 11;
private int legendaryKeyCount_;
public static final int CAN_BE_UNLOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER = 13;
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_;
/**
* <code>uint32 legendary_key_count = 11;</code>
* @return The legendaryKeyCount.
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return A list containing the canBeUnlockedPersonalLineList.
*/
@java.lang.Override
public int getLegendaryKeyCount() {
return legendaryKeyCount_;
public java.util.List<java.lang.Integer>
getCanBeUnlockedPersonalLineListList() {
return canBeUnlockedPersonalLineList_;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return The count of canBeUnlockedPersonalLineList.
*/
public int getCanBeUnlockedPersonalLineListCount() {
return canBeUnlockedPersonalLineList_.size();
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param index The index of the element to return.
* @return The canBeUnlockedPersonalLineList at the given index.
*/
public int getCanBeUnlockedPersonalLineList(int index) {
return canBeUnlockedPersonalLineList_.getInt(index);
}
private int canBeUnlockedPersonalLineListMemoizedSerializedSize = -1;
public static final int RETCODE_FIELD_NUMBER = 15;
private int retcode_;
/**
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int ONGOING_PERSONAL_LINE_LIST_FIELD_NUMBER = 8;
......@@ -317,33 +335,16 @@ public final class PersonalLineAllDataRspOuterClass {
}
private int ongoingPersonalLineListMemoizedSerializedSize = -1;
public static final int CAN_BE_UNLOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER = 13;
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_;
public static final int LEGENDARY_KEY_COUNT_FIELD_NUMBER = 11;
private int legendaryKeyCount_;
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return A list containing the canBeUnlockedPersonalLineList.
* <code>uint32 legendary_key_count = 11;</code>
* @return The legendaryKeyCount.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getCanBeUnlockedPersonalLineListList() {
return canBeUnlockedPersonalLineList_;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return The count of canBeUnlockedPersonalLineList.
*/
public int getCanBeUnlockedPersonalLineListCount() {
return canBeUnlockedPersonalLineList_.size();
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param index The index of the element to return.
* @return The canBeUnlockedPersonalLineList at the given index.
*/
public int getCanBeUnlockedPersonalLineList(int index) {
return canBeUnlockedPersonalLineList_.getInt(index);
public int getLegendaryKeyCount() {
return legendaryKeyCount_;
}
private int canBeUnlockedPersonalLineListMemoizedSerializedSize = -1;
public static final int LOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER = 10;
private java.util.List<emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.LockedPersonallineData> lockedPersonalLineList_;
......@@ -494,16 +495,16 @@ public final class PersonalLineAllDataRspOuterClass {
}
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp other = (emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp) obj;
if (getRetcode()
!= other.getRetcode()) return false;
if (getCurFinishedDailyTaskCount()
!= other.getCurFinishedDailyTaskCount()) return false;
if (getLegendaryKeyCount()
!= other.getLegendaryKeyCount()) return false;
if (!getOngoingPersonalLineListList()
.equals(other.getOngoingPersonalLineListList())) return false;
if (!getCanBeUnlockedPersonalLineListList()
.equals(other.getCanBeUnlockedPersonalLineListList())) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!getOngoingPersonalLineListList()
.equals(other.getOngoingPersonalLineListList())) return false;
if (getLegendaryKeyCount()
!= other.getLegendaryKeyCount()) return false;
if (!getLockedPersonalLineListList()
.equals(other.getLockedPersonalLineListList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
......@@ -517,20 +518,20 @@ public final class PersonalLineAllDataRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + CUR_FINISHED_DAILY_TASK_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCurFinishedDailyTaskCount();
hash = (37 * hash) + LEGENDARY_KEY_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getLegendaryKeyCount();
if (getOngoingPersonalLineListCount() > 0) {
hash = (37 * hash) + ONGOING_PERSONAL_LINE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getOngoingPersonalLineListList().hashCode();
}
if (getCanBeUnlockedPersonalLineListCount() > 0) {
hash = (37 * hash) + CAN_BE_UNLOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getCanBeUnlockedPersonalLineListList().hashCode();
}
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
if (getOngoingPersonalLineListCount() > 0) {
hash = (37 * hash) + ONGOING_PERSONAL_LINE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getOngoingPersonalLineListList().hashCode();
}
hash = (37 * hash) + LEGENDARY_KEY_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getLegendaryKeyCount();
if (getLockedPersonalLineListCount() > 0) {
hash = (37 * hash) + LOCKED_PERSONAL_LINE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getLockedPersonalLineListList().hashCode();
......@@ -634,7 +635,8 @@ public final class PersonalLineAllDataRspOuterClass {
* <pre>
* CmdId: 476
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PersonalLineAllDataRsp}
......@@ -675,16 +677,16 @@ public final class PersonalLineAllDataRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
retcode_ = 0;
curFinishedDailyTaskCount_ = 0;
legendaryKeyCount_ = 0;
canBeUnlockedPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
retcode_ = 0;
ongoingPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
canBeUnlockedPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
legendaryKeyCount_ = 0;
if (lockedPersonalLineListBuilder_ == null) {
lockedPersonalLineList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
......@@ -718,19 +720,19 @@ public final class PersonalLineAllDataRspOuterClass {
public emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp buildPartial() {
emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp result = new emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp(this);
int from_bitField0_ = bitField0_;
result.retcode_ = retcode_;
result.curFinishedDailyTaskCount_ = curFinishedDailyTaskCount_;
result.legendaryKeyCount_ = legendaryKeyCount_;
if (((bitField0_ & 0x00000001) != 0)) {
ongoingPersonalLineList_.makeImmutable();
canBeUnlockedPersonalLineList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.ongoingPersonalLineList_ = ongoingPersonalLineList_;
result.canBeUnlockedPersonalLineList_ = canBeUnlockedPersonalLineList_;
result.retcode_ = retcode_;
if (((bitField0_ & 0x00000002) != 0)) {
canBeUnlockedPersonalLineList_.makeImmutable();
ongoingPersonalLineList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.canBeUnlockedPersonalLineList_ = canBeUnlockedPersonalLineList_;
result.ongoingPersonalLineList_ = ongoingPersonalLineList_;
result.legendaryKeyCount_ = legendaryKeyCount_;
if (lockedPersonalLineListBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
lockedPersonalLineList_ = java.util.Collections.unmodifiableList(lockedPersonalLineList_);
......@@ -788,34 +790,34 @@ public final class PersonalLineAllDataRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp other) {
if (other == emu.grasscutter.net.proto.PersonalLineAllDataRspOuterClass.PersonalLineAllDataRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getCurFinishedDailyTaskCount() != 0) {
setCurFinishedDailyTaskCount(other.getCurFinishedDailyTaskCount());
}
if (other.getLegendaryKeyCount() != 0) {
setLegendaryKeyCount(other.getLegendaryKeyCount());
if (!other.canBeUnlockedPersonalLineList_.isEmpty()) {
if (canBeUnlockedPersonalLineList_.isEmpty()) {
canBeUnlockedPersonalLineList_ = other.canBeUnlockedPersonalLineList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCanBeUnlockedPersonalLineListIsMutable();
canBeUnlockedPersonalLineList_.addAll(other.canBeUnlockedPersonalLineList_);
}
onChanged();
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (!other.ongoingPersonalLineList_.isEmpty()) {
if (ongoingPersonalLineList_.isEmpty()) {
ongoingPersonalLineList_ = other.ongoingPersonalLineList_;
bitField0_ = (bitField0_ & ~0x00000001);
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOngoingPersonalLineListIsMutable();
ongoingPersonalLineList_.addAll(other.ongoingPersonalLineList_);
}
onChanged();
}
if (!other.canBeUnlockedPersonalLineList_.isEmpty()) {
if (canBeUnlockedPersonalLineList_.isEmpty()) {
canBeUnlockedPersonalLineList_ = other.canBeUnlockedPersonalLineList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureCanBeUnlockedPersonalLineListIsMutable();
canBeUnlockedPersonalLineList_.addAll(other.canBeUnlockedPersonalLineList_);
}
onChanged();
if (other.getLegendaryKeyCount() != 0) {
setLegendaryKeyCount(other.getLegendaryKeyCount());
}
if (lockedPersonalLineListBuilder_ == null) {
if (!other.lockedPersonalLineList_.isEmpty()) {
......@@ -873,104 +875,152 @@ public final class PersonalLineAllDataRspOuterClass {
}
private int bitField0_;
private int retcode_ ;
private int curFinishedDailyTaskCount_ ;
/**
* <code>int32 retcode = 15;</code>
* @return The retcode.
* <code>uint32 cur_finished_daily_task_count = 5;</code>
* @return The curFinishedDailyTaskCount.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
public int getCurFinishedDailyTaskCount() {
return curFinishedDailyTaskCount_;
}
/**
* <code>int32 retcode = 15;</code>
* @param value The retcode to set.
* <code>uint32 cur_finished_daily_task_count = 5;</code>
* @param value The curFinishedDailyTaskCount to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
public Builder setCurFinishedDailyTaskCount(int value) {
retcode_ = value;
curFinishedDailyTaskCount_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 15;</code>
* <code>uint32 cur_finished_daily_task_count = 5;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
public Builder clearCurFinishedDailyTaskCount() {
retcode_ = 0;
curFinishedDailyTaskCount_ = 0;
onChanged();
return this;
}
private int curFinishedDailyTaskCount_ ;
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_ = emptyIntList();
private void ensureCanBeUnlockedPersonalLineListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
canBeUnlockedPersonalLineList_ = mutableCopy(canBeUnlockedPersonalLineList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>uint32 cur_finished_daily_task_count = 5;</code>
* @return The curFinishedDailyTaskCount.
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return A list containing the canBeUnlockedPersonalLineList.
*/
@java.lang.Override
public int getCurFinishedDailyTaskCount() {
return curFinishedDailyTaskCount_;
public java.util.List<java.lang.Integer>
getCanBeUnlockedPersonalLineListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(canBeUnlockedPersonalLineList_) : canBeUnlockedPersonalLineList_;
}
/**
* <code>uint32 cur_finished_daily_task_count = 5;</code>
* @param value The curFinishedDailyTaskCount to set.
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return The count of canBeUnlockedPersonalLineList.
*/
public int getCanBeUnlockedPersonalLineListCount() {
return canBeUnlockedPersonalLineList_.size();
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param index The index of the element to return.
* @return The canBeUnlockedPersonalLineList at the given index.
*/
public int getCanBeUnlockedPersonalLineList(int index) {
return canBeUnlockedPersonalLineList_.getInt(index);
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param index The index to set the value at.
* @param value The canBeUnlockedPersonalLineList to set.
* @return This builder for chaining.
*/
public Builder setCurFinishedDailyTaskCount(int value) {
curFinishedDailyTaskCount_ = value;
public Builder setCanBeUnlockedPersonalLineList(
int index, int value) {
ensureCanBeUnlockedPersonalLineListIsMutable();
canBeUnlockedPersonalLineList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>uint32 cur_finished_daily_task_count = 5;</code>
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param value The canBeUnlockedPersonalLineList to add.
* @return This builder for chaining.
*/
public Builder clearCurFinishedDailyTaskCount() {
curFinishedDailyTaskCount_ = 0;
public Builder addCanBeUnlockedPersonalLineList(int value) {
ensureCanBeUnlockedPersonalLineListIsMutable();
canBeUnlockedPersonalLineList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param values The canBeUnlockedPersonalLineList to add.
* @return This builder for chaining.
*/
public Builder addAllCanBeUnlockedPersonalLineList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureCanBeUnlockedPersonalLineListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, canBeUnlockedPersonalLineList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return This builder for chaining.
*/
public Builder clearCanBeUnlockedPersonalLineList() {
canBeUnlockedPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private int legendaryKeyCount_ ;
private int retcode_ ;
/**
* <code>uint32 legendary_key_count = 11;</code>
* @return The legendaryKeyCount.
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
@java.lang.Override
public int getLegendaryKeyCount() {
return legendaryKeyCount_;
public int getRetcode() {
return retcode_;
}
/**
* <code>uint32 legendary_key_count = 11;</code>
* @param value The legendaryKeyCount to set.
* <code>int32 retcode = 15;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setLegendaryKeyCount(int value) {
public Builder setRetcode(int value) {
legendaryKeyCount_ = value;
retcode_ = value;
onChanged();
return this;
}
/**
* <code>uint32 legendary_key_count = 11;</code>
* <code>int32 retcode = 15;</code>
* @return This builder for chaining.
*/
public Builder clearLegendaryKeyCount() {
public Builder clearRetcode() {
legendaryKeyCount_ = 0;
retcode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList ongoingPersonalLineList_ = emptyIntList();
private void ensureOngoingPersonalLineListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
if (!((bitField0_ & 0x00000002) != 0)) {
ongoingPersonalLineList_ = mutableCopy(ongoingPersonalLineList_);
bitField0_ |= 0x00000001;
bitField0_ |= 0x00000002;
}
}
/**
......@@ -979,7 +1029,7 @@ public final class PersonalLineAllDataRspOuterClass {
*/
public java.util.List<java.lang.Integer>
getOngoingPersonalLineListList() {
return ((bitField0_ & 0x00000001) != 0) ?
return ((bitField0_ & 0x00000002) != 0) ?
java.util.Collections.unmodifiableList(ongoingPersonalLineList_) : ongoingPersonalLineList_;
}
/**
......@@ -1040,86 +1090,38 @@ public final class PersonalLineAllDataRspOuterClass {
*/
public Builder clearOngoingPersonalLineList() {
ongoingPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList canBeUnlockedPersonalLineList_ = emptyIntList();
private void ensureCanBeUnlockedPersonalLineListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
canBeUnlockedPersonalLineList_ = mutableCopy(canBeUnlockedPersonalLineList_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return A list containing the canBeUnlockedPersonalLineList.
*/
public java.util.List<java.lang.Integer>
getCanBeUnlockedPersonalLineListList() {
return ((bitField0_ & 0x00000002) != 0) ?
java.util.Collections.unmodifiableList(canBeUnlockedPersonalLineList_) : canBeUnlockedPersonalLineList_;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @return The count of canBeUnlockedPersonalLineList.
*/
public int getCanBeUnlockedPersonalLineListCount() {
return canBeUnlockedPersonalLineList_.size();
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param index The index of the element to return.
* @return The canBeUnlockedPersonalLineList at the given index.
*/
public int getCanBeUnlockedPersonalLineList(int index) {
return canBeUnlockedPersonalLineList_.getInt(index);
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param index The index to set the value at.
* @param value The canBeUnlockedPersonalLineList to set.
* @return This builder for chaining.
*/
public Builder setCanBeUnlockedPersonalLineList(
int index, int value) {
ensureCanBeUnlockedPersonalLineListIsMutable();
canBeUnlockedPersonalLineList_.setInt(index, value);
onChanged();
return this;
}
private int legendaryKeyCount_ ;
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param value The canBeUnlockedPersonalLineList to add.
* @return This builder for chaining.
* <code>uint32 legendary_key_count = 11;</code>
* @return The legendaryKeyCount.
*/
public Builder addCanBeUnlockedPersonalLineList(int value) {
ensureCanBeUnlockedPersonalLineListIsMutable();
canBeUnlockedPersonalLineList_.addInt(value);
onChanged();
return this;
@java.lang.Override
public int getLegendaryKeyCount() {
return legendaryKeyCount_;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* @param values The canBeUnlockedPersonalLineList to add.
* <code>uint32 legendary_key_count = 11;</code>
* @param value The legendaryKeyCount to set.
* @return This builder for chaining.
*/
public Builder addAllCanBeUnlockedPersonalLineList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureCanBeUnlockedPersonalLineListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, canBeUnlockedPersonalLineList_);
public Builder setLegendaryKeyCount(int value) {
legendaryKeyCount_ = value;
onChanged();
return this;
}
/**
* <code>repeated uint32 can_be_unlocked_personal_line_list = 13;</code>
* <code>uint32 legendary_key_count = 11;</code>
* @return This builder for chaining.
*/
public Builder clearCanBeUnlockedPersonalLineList() {
canBeUnlockedPersonalLineList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
public Builder clearLegendaryKeyCount() {
legendaryKeyCount_ = 0;
onChanged();
return this;
}
......@@ -1432,11 +1434,11 @@ public final class PersonalLineAllDataRspOuterClass {
java.lang.String[] descriptorData = {
"\n\034PersonalLineAllDataRsp.proto\032\034LockedPe" +
"rsonallineData.proto\"\371\001\n\026PersonalLineAll" +
"DataRsp\022\017\n\007retcode\030\017 \001(\005\022%\n\035cur_finished" +
"_daily_task_count\030\005 \001(\r\022\033\n\023legendary_key" +
"_count\030\013 \001(\r\022\"\n\032ongoing_personal_line_li" +
"st\030\010 \003(\r\022*\n\"can_be_unlocked_personal_lin" +
"e_list\030\r \003(\r\022:\n\031locked_personal_line_lis" +
"DataRsp\022%\n\035cur_finished_daily_task_count" +
"\030\005 \001(\r\022*\n\"can_be_unlocked_personal_line_" +
"list\030\r \003(\r\022\017\n\007retcode\030\017 \001(\005\022\"\n\032ongoing_p" +
"ersonal_line_list\030\010 \003(\r\022\033\n\023legendary_key" +
"_count\030\013 \001(\r\022:\n\031locked_personal_line_lis" +
"t\030\n \003(\0132\027.LockedPersonallineDataB\033\n\031emu." +
"grasscutter.net.protob\006proto3"
};
......@@ -1450,7 +1452,7 @@ public final class PersonalLineAllDataRspOuterClass {
internal_static_PersonalLineAllDataRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PersonalLineAllDataRsp_descriptor,
new java.lang.String[] { "Retcode", "CurFinishedDailyTaskCount", "LegendaryKeyCount", "OngoingPersonalLineList", "CanBeUnlockedPersonalLineList", "LockedPersonalLineList", });
new java.lang.String[] { "CurFinishedDailyTaskCount", "CanBeUnlockedPersonalLineList", "Retcode", "OngoingPersonalLineList", "LegendaryKeyCount", "LockedPersonalLineList", });
emu.grasscutter.net.proto.LockedPersonallineDataOuterClass.getDescriptor();
}
......
......@@ -28,7 +28,7 @@ public final class PersonalSceneJumpReqOuterClass {
* <pre>
* CmdId: 284
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -283,7 +283,7 @@ public final class PersonalSceneJumpReqOuterClass {
* <pre>
* CmdId: 284
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -49,7 +49,8 @@ public final class PersonalSceneJumpRspOuterClass {
* <pre>
* CmdId: 280
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PersonalSceneJumpRsp}
......@@ -385,7 +386,8 @@ public final class PersonalSceneJumpRspOuterClass {
* <pre>
* CmdId: 280
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PersonalSceneJumpRsp}
......
......@@ -52,7 +52,7 @@ public final class PingReqOuterClass {
* <pre>
* CmdId: 7
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -420,7 +420,7 @@ public final class PingReqOuterClass {
* <pre>
* CmdId: 7
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -40,7 +40,8 @@ public final class PingRspOuterClass {
* <pre>
* CmdId: 21
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PingRsp}
......@@ -348,7 +349,8 @@ public final class PingRspOuterClass {
* <pre>
* CmdId: 21
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PingRsp}
......
......@@ -36,9 +36,9 @@ public final class PlatformTypeOuterClass {
*/
PLATFORM_TYPE_PC(3),
/**
* <code>PLATFORM_TYPE_PS_4 = 4;</code>
* <code>PLATFORM_TYPE_PS4 = 4;</code>
*/
PLATFORM_TYPE_PS_4(4),
PLATFORM_TYPE_PS4(4),
/**
* <code>PLATFORM_TYPE_SERVER = 5;</code>
*/
......@@ -52,9 +52,9 @@ public final class PlatformTypeOuterClass {
*/
PLATFORM_TYPE_CLOUD_IOS(7),
/**
* <code>PLATFORM_TYPE_PS_5 = 8;</code>
* <code>PLATFORM_TYPE_PS5 = 8;</code>
*/
PLATFORM_TYPE_PS_5(8),
PLATFORM_TYPE_PS5(8),
/**
* <code>PLATFORM_TYPE_CLOUD_WEB = 9;</code>
*/
......@@ -99,9 +99,9 @@ public final class PlatformTypeOuterClass {
*/
public static final int PLATFORM_TYPE_PC_VALUE = 3;
/**
* <code>PLATFORM_TYPE_PS_4 = 4;</code>
* <code>PLATFORM_TYPE_PS4 = 4;</code>
*/
public static final int PLATFORM_TYPE_PS_4_VALUE = 4;
public static final int PLATFORM_TYPE_PS4_VALUE = 4;
/**
* <code>PLATFORM_TYPE_SERVER = 5;</code>
*/
......@@ -115,9 +115,9 @@ public final class PlatformTypeOuterClass {
*/
public static final int PLATFORM_TYPE_CLOUD_IOS_VALUE = 7;
/**
* <code>PLATFORM_TYPE_PS_5 = 8;</code>
* <code>PLATFORM_TYPE_PS5 = 8;</code>
*/
public static final int PLATFORM_TYPE_PS_5_VALUE = 8;
public static final int PLATFORM_TYPE_PS5_VALUE = 8;
/**
* <code>PLATFORM_TYPE_CLOUD_WEB = 9;</code>
*/
......@@ -172,11 +172,11 @@ public final class PlatformTypeOuterClass {
case 1: return PLATFORM_TYPE_IOS;
case 2: return PLATFORM_TYPE_ANDROID;
case 3: return PLATFORM_TYPE_PC;
case 4: return PLATFORM_TYPE_PS_4;
case 4: return PLATFORM_TYPE_PS4;
case 5: return PLATFORM_TYPE_SERVER;
case 6: return PLATFORM_TYPE_CLOUD_ANDROID;
case 7: return PLATFORM_TYPE_CLOUD_IOS;
case 8: return PLATFORM_TYPE_PS_5;
case 8: return PLATFORM_TYPE_PS5;
case 9: return PLATFORM_TYPE_CLOUD_WEB;
case 10: return PLATFORM_TYPE_CLOUD_TV;
case 11: return PLATFORM_TYPE_Unk2700_IBBEKBJLMAJ;
......@@ -248,20 +248,19 @@ public final class PlatformTypeOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\022PlatformType.proto*\315\003\n\014PlatformType\022\030\n" +
"\n\022PlatformType.proto*\313\003\n\014PlatformType\022\030\n" +
"\024PLATFORM_TYPE_EDITOR\020\000\022\025\n\021PLATFORM_TYPE" +
"_IOS\020\001\022\031\n\025PLATFORM_TYPE_ANDROID\020\002\022\024\n\020PLA" +
"TFORM_TYPE_PC\020\003\022\026\n\022PLATFORM_TYPE_PS_4\020\004\022" +
"\030\n\024PLATFORM_TYPE_SERVER\020\005\022\037\n\033PLATFORM_TY" +
"PE_CLOUD_ANDROID\020\006\022\033\n\027PLATFORM_TYPE_CLOU" +
"D_IOS\020\007\022\026\n\022PLATFORM_TYPE_PS_5\020\010\022\033\n\027PLATF" +
"ORM_TYPE_CLOUD_WEB\020\t\022\032\n\026PLATFORM_TYPE_CL" +
"OUD_TV\020\n\022%\n!PLATFORM_TYPE_Unk2700_IBBEKB" +
"JLMAJ\020\013\022%\n!PLATFORM_TYPE_Unk2700_BCEICMD" +
"NIIG\020\014\022%\n!PLATFORM_TYPE_Unk2800_EFNGHFNP" +
"MKM\020\r\022%\n!PLATFORM_TYPE_Unk2800_FNFHGPABL" +
"FB\020\016B\033\n\031emu.grasscutter.net.protob\006proto" +
"3"
"TFORM_TYPE_PC\020\003\022\025\n\021PLATFORM_TYPE_PS4\020\004\022\030" +
"\n\024PLATFORM_TYPE_SERVER\020\005\022\037\n\033PLATFORM_TYP" +
"E_CLOUD_ANDROID\020\006\022\033\n\027PLATFORM_TYPE_CLOUD" +
"_IOS\020\007\022\025\n\021PLATFORM_TYPE_PS5\020\010\022\033\n\027PLATFOR" +
"M_TYPE_CLOUD_WEB\020\t\022\032\n\026PLATFORM_TYPE_CLOU" +
"D_TV\020\n\022%\n!PLATFORM_TYPE_Unk2700_IBBEKBJL" +
"MAJ\020\013\022%\n!PLATFORM_TYPE_Unk2700_BCEICMDNI" +
"IG\020\014\022%\n!PLATFORM_TYPE_Unk2800_EFNGHFNPMK" +
"M\020\r\022%\n!PLATFORM_TYPE_Unk2800_FNFHGPABLFB" +
"\020\016B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
......
......@@ -49,7 +49,8 @@ public final class PlayerApplyEnterMpNotifyOuterClass {
* <pre>
* CmdId: 1826
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PlayerApplyEnterMpNotify}
......@@ -385,7 +386,8 @@ public final class PlayerApplyEnterMpNotifyOuterClass {
* <pre>
* CmdId: 1826
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PlayerApplyEnterMpNotify}
......
......@@ -28,7 +28,7 @@ public final class PlayerApplyEnterMpReqOuterClass {
* <pre>
* CmdId: 1818
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -283,7 +283,7 @@ public final class PlayerApplyEnterMpReqOuterClass {
* <pre>
* CmdId: 1818
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
......@@ -57,7 +57,8 @@ public final class PlayerApplyEnterMpResultNotifyOuterClass {
* <pre>
* CmdId: 1807
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PlayerApplyEnterMpResultNotify}
......@@ -646,7 +647,8 @@ public final class PlayerApplyEnterMpResultNotifyOuterClass {
* <pre>
* CmdId: 1807
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code PlayerApplyEnterMpResultNotify}
......
......@@ -34,7 +34,7 @@ public final class PlayerApplyEnterMpResultReqOuterClass {
* <pre>
* CmdId: 1802
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......@@ -317,7 +317,7 @@ public final class PlayerApplyEnterMpResultReqOuterClass {
* <pre>
* CmdId: 1802
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment