diff --git a/src/generated/main/emu/lunarcore/proto/GetQuestDataScRspOuterClass.java b/src/generated/main/emu/lunarcore/proto/GetQuestDataScRspOuterClass.java index 45e4b68..ce69d93 100644 --- a/src/generated/main/emu/lunarcore/proto/GetQuestDataScRspOuterClass.java +++ b/src/generated/main/emu/lunarcore/proto/GetQuestDataScRspOuterClass.java @@ -20,17 +20,17 @@ public final class GetQuestDataScRspOuterClass { private static final long serialVersionUID = 0L; /** - * optional uint32 total_achievement_exp = 1; - */ - private int totalAchievementExp; - - /** - * optional uint32 retcode = 8; + * optional uint32 retcode = 7; */ private int retcode; /** - * repeated .Quest quest_list = 10; + * optional uint32 total_achievement_exp = 11; + */ + private int totalAchievementExp; + + /** + * repeated .Quest quest_list = 9; */ private final RepeatedMessage questList = RepeatedMessage.newEmptyInstance(QuestOuterClass.Quest.getFactory()); @@ -45,62 +45,25 @@ public final class GetQuestDataScRspOuterClass { } /** - * optional uint32 total_achievement_exp = 1; - * @return whether the totalAchievementExp field is set + * optional uint32 retcode = 7; + * @return whether the retcode field is set */ - public boolean hasTotalAchievementExp() { + public boolean hasRetcode() { return (bitField0_ & 0x00000001) != 0; } /** - * optional uint32 total_achievement_exp = 1; - * @return this - */ - public GetQuestDataScRsp clearTotalAchievementExp() { - bitField0_ &= ~0x00000001; - totalAchievementExp = 0; - return this; - } - - /** - * optional uint32 total_achievement_exp = 1; - * @return the totalAchievementExp - */ - public int getTotalAchievementExp() { - return totalAchievementExp; - } - - /** - * optional uint32 total_achievement_exp = 1; - * @param value the totalAchievementExp to set - * @return this - */ - public GetQuestDataScRsp setTotalAchievementExp(final int value) { - bitField0_ |= 0x00000001; - totalAchievementExp = value; - return this; - } - - /** - * optional uint32 retcode = 8; - * @return whether the retcode field is set - */ - public boolean hasRetcode() { - return (bitField0_ & 0x00000002) != 0; - } - - /** - * optional uint32 retcode = 8; + * optional uint32 retcode = 7; * @return this */ public GetQuestDataScRsp clearRetcode() { - bitField0_ &= ~0x00000002; + bitField0_ &= ~0x00000001; retcode = 0; return this; } /** - * optional uint32 retcode = 8; + * optional uint32 retcode = 7; * @return the retcode */ public int getRetcode() { @@ -108,18 +71,55 @@ public final class GetQuestDataScRspOuterClass { } /** - * optional uint32 retcode = 8; + * optional uint32 retcode = 7; * @param value the retcode to set * @return this */ public GetQuestDataScRsp setRetcode(final int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; retcode = value; return this; } /** - * repeated .Quest quest_list = 10; + * optional uint32 total_achievement_exp = 11; + * @return whether the totalAchievementExp field is set + */ + public boolean hasTotalAchievementExp() { + return (bitField0_ & 0x00000002) != 0; + } + + /** + * optional uint32 total_achievement_exp = 11; + * @return this + */ + public GetQuestDataScRsp clearTotalAchievementExp() { + bitField0_ &= ~0x00000002; + totalAchievementExp = 0; + return this; + } + + /** + * optional uint32 total_achievement_exp = 11; + * @return the totalAchievementExp + */ + public int getTotalAchievementExp() { + return totalAchievementExp; + } + + /** + * optional uint32 total_achievement_exp = 11; + * @param value the totalAchievementExp to set + * @return this + */ + public GetQuestDataScRsp setTotalAchievementExp(final int value) { + bitField0_ |= 0x00000002; + totalAchievementExp = value; + return this; + } + + /** + * repeated .Quest quest_list = 9; * @return whether the questList field is set */ public boolean hasQuestList() { @@ -127,7 +127,7 @@ public final class GetQuestDataScRspOuterClass { } /** - * repeated .Quest quest_list = 10; + * repeated .Quest quest_list = 9; * @return this */ public GetQuestDataScRsp clearQuestList() { @@ -137,7 +137,7 @@ public final class GetQuestDataScRspOuterClass { } /** - * repeated .Quest quest_list = 10; + * repeated .Quest quest_list = 9; * * This method returns the internal storage object without modifying any has state. * The returned object should not be modified and be treated as read-only. @@ -151,7 +151,7 @@ public final class GetQuestDataScRspOuterClass { } /** - * repeated .Quest quest_list = 10; + * repeated .Quest quest_list = 9; * * This method returns the internal storage object and sets the corresponding * has state. The returned object will become part of this message and its @@ -165,7 +165,7 @@ public final class GetQuestDataScRspOuterClass { } /** - * repeated .Quest quest_list = 10; + * repeated .Quest quest_list = 9; * @param value the questList to add * @return this */ @@ -176,7 +176,7 @@ public final class GetQuestDataScRspOuterClass { } /** - * repeated .Quest quest_list = 10; + * repeated .Quest quest_list = 9; * @param values the questList to add * @return this */ @@ -191,8 +191,8 @@ public final class GetQuestDataScRspOuterClass { cachedSize = other.cachedSize; if ((bitField0_ | other.bitField0_) != 0) { bitField0_ = other.bitField0_; - totalAchievementExp = other.totalAchievementExp; retcode = other.retcode; + totalAchievementExp = other.totalAchievementExp; questList.copyFrom(other.questList); } return this; @@ -204,12 +204,12 @@ public final class GetQuestDataScRspOuterClass { return this; } cachedSize = -1; - if (other.hasTotalAchievementExp()) { - setTotalAchievementExp(other.totalAchievementExp); - } if (other.hasRetcode()) { setRetcode(other.retcode); } + if (other.hasTotalAchievementExp()) { + setTotalAchievementExp(other.totalAchievementExp); + } if (other.hasQuestList()) { getMutableQuestList().addAll(other.questList); } @@ -223,8 +223,8 @@ public final class GetQuestDataScRspOuterClass { } cachedSize = -1; bitField0_ = 0; - totalAchievementExp = 0; retcode = 0; + totalAchievementExp = 0; questList.clear(); return this; } @@ -250,24 +250,24 @@ public final class GetQuestDataScRspOuterClass { } GetQuestDataScRsp other = (GetQuestDataScRsp) o; return bitField0_ == other.bitField0_ - && (!hasTotalAchievementExp() || totalAchievementExp == other.totalAchievementExp) && (!hasRetcode() || retcode == other.retcode) + && (!hasTotalAchievementExp() || totalAchievementExp == other.totalAchievementExp) && (!hasQuestList() || questList.equals(other.questList)); } @Override public void writeTo(final ProtoSink output) throws IOException { if ((bitField0_ & 0x00000001) != 0) { - output.writeRawByte((byte) 8); - output.writeUInt32NoTag(totalAchievementExp); + output.writeRawByte((byte) 56); + output.writeUInt32NoTag(retcode); } if ((bitField0_ & 0x00000002) != 0) { - output.writeRawByte((byte) 64); - output.writeUInt32NoTag(retcode); + output.writeRawByte((byte) 88); + output.writeUInt32NoTag(totalAchievementExp); } if ((bitField0_ & 0x00000004) != 0) { for (int i = 0; i < questList.length(); i++) { - output.writeRawByte((byte) 82); + output.writeRawByte((byte) 74); output.writeMessageNoTag(questList.get(i)); } } @@ -277,10 +277,10 @@ public final class GetQuestDataScRspOuterClass { protected int computeSerializedSize() { int size = 0; if ((bitField0_ & 0x00000001) != 0) { - size += 1 + ProtoSink.computeUInt32SizeNoTag(totalAchievementExp); + size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode); } if ((bitField0_ & 0x00000002) != 0) { - size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode); + size += 1 + ProtoSink.computeUInt32SizeNoTag(totalAchievementExp); } if ((bitField0_ & 0x00000004) != 0) { size += (1 * questList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(questList); @@ -295,25 +295,25 @@ public final class GetQuestDataScRspOuterClass { int tag = input.readTag(); while (true) { switch (tag) { - case 8: { - // totalAchievementExp - totalAchievementExp = input.readUInt32(); - bitField0_ |= 0x00000001; - tag = input.readTag(); - if (tag != 64) { - break; - } - } - case 64: { + case 56: { // retcode retcode = input.readUInt32(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; tag = input.readTag(); - if (tag != 82) { + if (tag != 88) { break; } } - case 82: { + case 88: { + // totalAchievementExp + totalAchievementExp = input.readUInt32(); + bitField0_ |= 0x00000002; + tag = input.readTag(); + if (tag != 74) { + break; + } + } + case 74: { // questList tag = input.readRepeatedMessage(questList, tag); bitField0_ |= 0x00000004; @@ -339,10 +339,10 @@ public final class GetQuestDataScRspOuterClass { public void writeTo(final JsonSink output) throws IOException { output.beginObject(); if ((bitField0_ & 0x00000001) != 0) { - output.writeUInt32(FieldNames.totalAchievementExp, totalAchievementExp); + output.writeUInt32(FieldNames.retcode, retcode); } if ((bitField0_ & 0x00000002) != 0) { - output.writeUInt32(FieldNames.retcode, retcode); + output.writeUInt32(FieldNames.totalAchievementExp, totalAchievementExp); } if ((bitField0_ & 0x00000004) != 0) { output.writeRepeatedMessage(FieldNames.questList, questList); @@ -357,11 +357,10 @@ public final class GetQuestDataScRspOuterClass { } while (!input.isAtEnd()) { switch (input.readFieldHash()) { - case 255336658: - case -1295039982: { - if (input.isAtField(FieldNames.totalAchievementExp)) { + case 1097936398: { + if (input.isAtField(FieldNames.retcode)) { if (!input.trySkipNullValue()) { - totalAchievementExp = input.readUInt32(); + retcode = input.readUInt32(); bitField0_ |= 0x00000001; } } else { @@ -369,10 +368,11 @@ public final class GetQuestDataScRspOuterClass { } break; } - case 1097936398: { - if (input.isAtField(FieldNames.retcode)) { + case 255336658: + case -1295039982: { + if (input.isAtField(FieldNames.totalAchievementExp)) { if (!input.trySkipNullValue()) { - retcode = input.readUInt32(); + totalAchievementExp = input.readUInt32(); bitField0_ |= 0x00000002; } } else { @@ -445,10 +445,10 @@ public final class GetQuestDataScRspOuterClass { * Contains name constants used for serializing JSON */ static class FieldNames { - static final FieldName totalAchievementExp = FieldName.forField("totalAchievementExp", "total_achievement_exp"); - static final FieldName retcode = FieldName.forField("retcode"); + static final FieldName totalAchievementExp = FieldName.forField("totalAchievementExp", "total_achievement_exp"); + static final FieldName questList = FieldName.forField("questList", "quest_list"); } } diff --git a/src/generated/main/emu/lunarcore/proto/QuestOuterClass.java b/src/generated/main/emu/lunarcore/proto/QuestOuterClass.java index e0de460..8243878 100644 --- a/src/generated/main/emu/lunarcore/proto/QuestOuterClass.java +++ b/src/generated/main/emu/lunarcore/proto/QuestOuterClass.java @@ -22,27 +22,27 @@ public final class QuestOuterClass { private static final long serialVersionUID = 0L; /** - * optional int64 finish_time = 12; + * optional int64 finish_time = 13; */ private long finishTime; /** - * optional uint32 progress = 8; - */ - private int progress; - - /** - * optional uint32 id = 11; + * optional uint32 id = 3; */ private int id; /** - * optional .Quest.QuestStatus status = 13; + * optional uint32 progress = 9; + */ + private int progress; + + /** + * optional .Quest.QuestStatus status = 5; */ private int status; /** - * repeated uint32 taken_achievement_level_list = 3; + * repeated uint32 taken_achievement_level_list = 7; */ private final RepeatedInt takenAchievementLevelList = RepeatedInt.newEmptyInstance(); @@ -57,7 +57,7 @@ public final class QuestOuterClass { } /** - * optional int64 finish_time = 12; + * optional int64 finish_time = 13; * @return whether the finishTime field is set */ public boolean hasFinishTime() { @@ -65,7 +65,7 @@ public final class QuestOuterClass { } /** - * optional int64 finish_time = 12; + * optional int64 finish_time = 13; * @return this */ public Quest clearFinishTime() { @@ -75,7 +75,7 @@ public final class QuestOuterClass { } /** - * optional int64 finish_time = 12; + * optional int64 finish_time = 13; * @return the finishTime */ public long getFinishTime() { @@ -83,7 +83,7 @@ public final class QuestOuterClass { } /** - * optional int64 finish_time = 12; + * optional int64 finish_time = 13; * @param value the finishTime to set * @return this */ @@ -94,62 +94,25 @@ public final class QuestOuterClass { } /** - * optional uint32 progress = 8; - * @return whether the progress field is set + * optional uint32 id = 3; + * @return whether the id field is set */ - public boolean hasProgress() { + public boolean hasId() { return (bitField0_ & 0x00000002) != 0; } /** - * optional uint32 progress = 8; - * @return this - */ - public Quest clearProgress() { - bitField0_ &= ~0x00000002; - progress = 0; - return this; - } - - /** - * optional uint32 progress = 8; - * @return the progress - */ - public int getProgress() { - return progress; - } - - /** - * optional uint32 progress = 8; - * @param value the progress to set - * @return this - */ - public Quest setProgress(final int value) { - bitField0_ |= 0x00000002; - progress = value; - return this; - } - - /** - * optional uint32 id = 11; - * @return whether the id field is set - */ - public boolean hasId() { - return (bitField0_ & 0x00000004) != 0; - } - - /** - * optional uint32 id = 11; + * optional uint32 id = 3; * @return this */ public Quest clearId() { - bitField0_ &= ~0x00000004; + bitField0_ &= ~0x00000002; id = 0; return this; } /** - * optional uint32 id = 11; + * optional uint32 id = 3; * @return the id */ public int getId() { @@ -157,18 +120,55 @@ public final class QuestOuterClass { } /** - * optional uint32 id = 11; + * optional uint32 id = 3; * @param value the id to set * @return this */ public Quest setId(final int value) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; id = value; return this; } /** - * optional .Quest.QuestStatus status = 13; + * optional uint32 progress = 9; + * @return whether the progress field is set + */ + public boolean hasProgress() { + return (bitField0_ & 0x00000004) != 0; + } + + /** + * optional uint32 progress = 9; + * @return this + */ + public Quest clearProgress() { + bitField0_ &= ~0x00000004; + progress = 0; + return this; + } + + /** + * optional uint32 progress = 9; + * @return the progress + */ + public int getProgress() { + return progress; + } + + /** + * optional uint32 progress = 9; + * @param value the progress to set + * @return this + */ + public Quest setProgress(final int value) { + bitField0_ |= 0x00000004; + progress = value; + return this; + } + + /** + * optional .Quest.QuestStatus status = 5; * @return whether the status field is set */ public boolean hasStatus() { @@ -176,7 +176,7 @@ public final class QuestOuterClass { } /** - * optional .Quest.QuestStatus status = 13; + * optional .Quest.QuestStatus status = 5; * @return this */ public Quest clearStatus() { @@ -186,7 +186,7 @@ public final class QuestOuterClass { } /** - * optional .Quest.QuestStatus status = 13; + * optional .Quest.QuestStatus status = 5; * @return the status */ public QuestStatus getStatus() { @@ -219,7 +219,7 @@ public final class QuestOuterClass { } /** - * optional .Quest.QuestStatus status = 13; + * optional .Quest.QuestStatus status = 5; * @param value the status to set * @return this */ @@ -230,7 +230,7 @@ public final class QuestOuterClass { } /** - * repeated uint32 taken_achievement_level_list = 3; + * repeated uint32 taken_achievement_level_list = 7; * @return whether the takenAchievementLevelList field is set */ public boolean hasTakenAchievementLevelList() { @@ -238,7 +238,7 @@ public final class QuestOuterClass { } /** - * repeated uint32 taken_achievement_level_list = 3; + * repeated uint32 taken_achievement_level_list = 7; * @return this */ public Quest clearTakenAchievementLevelList() { @@ -248,7 +248,7 @@ public final class QuestOuterClass { } /** - * repeated uint32 taken_achievement_level_list = 3; + * repeated uint32 taken_achievement_level_list = 7; * * This method returns the internal storage object without modifying any has state. * The returned object should not be modified and be treated as read-only. @@ -262,7 +262,7 @@ public final class QuestOuterClass { } /** - * repeated uint32 taken_achievement_level_list = 3; + * repeated uint32 taken_achievement_level_list = 7; * * This method returns the internal storage object and sets the corresponding * has state. The returned object will become part of this message and its @@ -276,7 +276,7 @@ public final class QuestOuterClass { } /** - * repeated uint32 taken_achievement_level_list = 3; + * repeated uint32 taken_achievement_level_list = 7; * @param value the takenAchievementLevelList to add * @return this */ @@ -287,7 +287,7 @@ public final class QuestOuterClass { } /** - * repeated uint32 taken_achievement_level_list = 3; + * repeated uint32 taken_achievement_level_list = 7; * @param values the takenAchievementLevelList to add * @return this */ @@ -303,8 +303,8 @@ public final class QuestOuterClass { if ((bitField0_ | other.bitField0_) != 0) { bitField0_ = other.bitField0_; finishTime = other.finishTime; - progress = other.progress; id = other.id; + progress = other.progress; status = other.status; takenAchievementLevelList.copyFrom(other.takenAchievementLevelList); } @@ -320,12 +320,12 @@ public final class QuestOuterClass { if (other.hasFinishTime()) { setFinishTime(other.finishTime); } - if (other.hasProgress()) { - setProgress(other.progress); - } if (other.hasId()) { setId(other.id); } + if (other.hasProgress()) { + setProgress(other.progress); + } if (other.hasStatus()) { setStatusValue(other.status); } @@ -343,8 +343,8 @@ public final class QuestOuterClass { cachedSize = -1; bitField0_ = 0; finishTime = 0L; - progress = 0; id = 0; + progress = 0; status = 0; takenAchievementLevelList.clear(); return this; @@ -372,8 +372,8 @@ public final class QuestOuterClass { Quest other = (Quest) o; return bitField0_ == other.bitField0_ && (!hasFinishTime() || finishTime == other.finishTime) - && (!hasProgress() || progress == other.progress) && (!hasId() || id == other.id) + && (!hasProgress() || progress == other.progress) && (!hasStatus() || status == other.status) && (!hasTakenAchievementLevelList() || takenAchievementLevelList.equals(other.takenAchievementLevelList)); } @@ -381,24 +381,24 @@ public final class QuestOuterClass { @Override public void writeTo(final ProtoSink output) throws IOException { if ((bitField0_ & 0x00000001) != 0) { - output.writeRawByte((byte) 96); + output.writeRawByte((byte) 104); output.writeInt64NoTag(finishTime); } if ((bitField0_ & 0x00000002) != 0) { - output.writeRawByte((byte) 64); - output.writeUInt32NoTag(progress); - } - if ((bitField0_ & 0x00000004) != 0) { - output.writeRawByte((byte) 88); + output.writeRawByte((byte) 24); output.writeUInt32NoTag(id); } + if ((bitField0_ & 0x00000004) != 0) { + output.writeRawByte((byte) 72); + output.writeUInt32NoTag(progress); + } if ((bitField0_ & 0x00000008) != 0) { - output.writeRawByte((byte) 104); + output.writeRawByte((byte) 40); output.writeEnumNoTag(status); } if ((bitField0_ & 0x00000010) != 0) { for (int i = 0; i < takenAchievementLevelList.length(); i++) { - output.writeRawByte((byte) 24); + output.writeRawByte((byte) 56); output.writeUInt32NoTag(takenAchievementLevelList.array()[i]); } } @@ -411,10 +411,10 @@ public final class QuestOuterClass { size += 1 + ProtoSink.computeInt64SizeNoTag(finishTime); } if ((bitField0_ & 0x00000002) != 0) { - size += 1 + ProtoSink.computeUInt32SizeNoTag(progress); + size += 1 + ProtoSink.computeUInt32SizeNoTag(id); } if ((bitField0_ & 0x00000004) != 0) { - size += 1 + ProtoSink.computeUInt32SizeNoTag(id); + size += 1 + ProtoSink.computeUInt32SizeNoTag(progress); } if ((bitField0_ & 0x00000008) != 0) { size += 1 + ProtoSink.computeEnumSizeNoTag(status); @@ -432,34 +432,34 @@ public final class QuestOuterClass { int tag = input.readTag(); while (true) { switch (tag) { - case 96: { + case 104: { // finishTime finishTime = input.readInt64(); bitField0_ |= 0x00000001; tag = input.readTag(); - if (tag != 64) { + if (tag != 24) { break; } } - case 64: { - // progress - progress = input.readUInt32(); - bitField0_ |= 0x00000002; - tag = input.readTag(); - if (tag != 88) { - break; - } - } - case 88: { + case 24: { // id id = input.readUInt32(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; tag = input.readTag(); - if (tag != 104) { + if (tag != 72) { break; } } - case 104: { + case 72: { + // progress + progress = input.readUInt32(); + bitField0_ |= 0x00000004; + tag = input.readTag(); + if (tag != 40) { + break; + } + } + case 40: { // status final int value = input.readInt32(); if (QuestStatus.forNumber(value) != null) { @@ -467,11 +467,11 @@ public final class QuestOuterClass { bitField0_ |= 0x00000008; } tag = input.readTag(); - if (tag != 26) { + if (tag != 58) { break; } } - case 26: { + case 58: { // takenAchievementLevelList [packed=true] input.readPackedUInt32(takenAchievementLevelList, tag); bitField0_ |= 0x00000010; @@ -490,7 +490,7 @@ public final class QuestOuterClass { tag = input.readTag(); break; } - case 24: { + case 56: { // takenAchievementLevelList [packed=false] tag = input.readRepeatedUInt32(takenAchievementLevelList, tag); bitField0_ |= 0x00000010; @@ -507,10 +507,10 @@ public final class QuestOuterClass { output.writeInt64(FieldNames.finishTime, finishTime); } if ((bitField0_ & 0x00000002) != 0) { - output.writeUInt32(FieldNames.progress, progress); + output.writeUInt32(FieldNames.id, id); } if ((bitField0_ & 0x00000004) != 0) { - output.writeUInt32(FieldNames.id, id); + output.writeUInt32(FieldNames.progress, progress); } if ((bitField0_ & 0x00000008) != 0) { output.writeEnum(FieldNames.status, status, QuestStatus.converter()); @@ -540,10 +540,10 @@ public final class QuestOuterClass { } break; } - case -1001078227: { - if (input.isAtField(FieldNames.progress)) { + case 3355: { + if (input.isAtField(FieldNames.id)) { if (!input.trySkipNullValue()) { - progress = input.readUInt32(); + id = input.readUInt32(); bitField0_ |= 0x00000002; } } else { @@ -551,10 +551,10 @@ public final class QuestOuterClass { } break; } - case 3355: { - if (input.isAtField(FieldNames.id)) { + case -1001078227: { + if (input.isAtField(FieldNames.progress)) { if (!input.trySkipNullValue()) { - id = input.readUInt32(); + progress = input.readUInt32(); bitField0_ |= 0x00000004; } } else { @@ -797,10 +797,10 @@ public final class QuestOuterClass { static class FieldNames { static final FieldName finishTime = FieldName.forField("finishTime", "finish_time"); - static final FieldName progress = FieldName.forField("progress"); - static final FieldName id = FieldName.forField("id"); + static final FieldName progress = FieldName.forField("progress"); + static final FieldName status = FieldName.forField("status"); static final FieldName takenAchievementLevelList = FieldName.forField("takenAchievementLevelList", "taken_achievement_level_list"); diff --git a/src/main/java/emu/lunarcore/server/packet/send/PacketGetQuestDataScRsp.java b/src/main/java/emu/lunarcore/server/packet/send/PacketGetQuestDataScRsp.java index a22db8e..a412ebe 100644 --- a/src/main/java/emu/lunarcore/server/packet/send/PacketGetQuestDataScRsp.java +++ b/src/main/java/emu/lunarcore/server/packet/send/PacketGetQuestDataScRsp.java @@ -15,8 +15,8 @@ public class PacketGetQuestDataScRsp extends BasePacket { var allIds = GameData.getAllQuestIds(); - var data = GetQuestDataScRsp.newInstance() - .setTotalAchievementExp(69); + var data = GetQuestDataScRsp.newInstance(); + //.setTotalAchievementExp(69); for (int questId : allIds) { var questItem = Quest.newInstance()