diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ced53d..6802f8a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,14 +19,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: distribution: temurin - java-version: '17' + java-version: '21' - name: Cache gradle files - uses: actions/cache@v2 + uses: actions/cache@v5 with: path: | ~/.gradle/caches @@ -38,7 +38,7 @@ jobs: - name: Run Gradle run: chmod +x gradlew && ./gradlew && ./gradlew jar - name: Upload build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v6 with: name: LunarCore path: LunarCore.jar diff --git a/README.md b/README.md index 0b8c7c9..7fa8de8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +
optional uint32 world_level = 9;
+ * optional uint32 world_level = 1;
*/
private int worldLevel;
/**
- * optional uint32 entity_id = 13;
+ * optional uint32 entity_id = 8;
*/
private int entityId;
@@ -39,7 +39,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
- * optional uint32 world_level = 9;
+ * optional uint32 world_level = 1;
* @return whether the worldLevel field is set
*/
public boolean hasWorldLevel() {
@@ -47,7 +47,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
- * optional uint32 world_level = 9;
+ * optional uint32 world_level = 1;
* @return this
*/
public ActivateFarmElementCsReq clearWorldLevel() {
@@ -57,7 +57,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
- * optional uint32 world_level = 9;
+ * optional uint32 world_level = 1;
* @return the worldLevel
*/
public int getWorldLevel() {
@@ -65,7 +65,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
- * optional uint32 world_level = 9;
+ * optional uint32 world_level = 1;
* @param value the worldLevel to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
- * optional uint32 entity_id = 13;
+ * optional uint32 entity_id = 8;
* @return whether the entityId field is set
*/
public boolean hasEntityId() {
@@ -84,7 +84,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
- * optional uint32 entity_id = 13;
+ * optional uint32 entity_id = 8;
* @return this
*/
public ActivateFarmElementCsReq clearEntityId() {
@@ -94,7 +94,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
- * optional uint32 entity_id = 13;
+ * optional uint32 entity_id = 8;
* @return the entityId
*/
public int getEntityId() {
@@ -102,7 +102,7 @@ public final class ActivateFarmElementCsReqOuterClass {
}
/**
- * optional uint32 entity_id = 13;
+ * optional uint32 entity_id = 8;
* @param value the entityId to set
* @return this
*/
@@ -177,11 +177,11 @@ public final class ActivateFarmElementCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 72);
+ output.writeRawByte((byte) 8);
output.writeUInt32NoTag(worldLevel);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 104);
+ output.writeRawByte((byte) 64);
output.writeUInt32NoTag(entityId);
}
}
@@ -205,16 +205,16 @@ public final class ActivateFarmElementCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 72: {
+ case 8: {
// worldLevel
worldLevel = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 104) {
+ if (tag != 64) {
break;
}
}
- case 104: {
+ case 64: {
// entityId
entityId = input.readUInt32();
bitField0_ |= 0x00000002;
diff --git a/src/generated/main/emu/lunarcore/proto/ActivateFarmElementScRspOuterClass.java b/src/generated/main/emu/lunarcore/proto/ActivateFarmElementScRspOuterClass.java
index eb3bf58..756ec7d 100644
--- a/src/generated/main/emu/lunarcore/proto/ActivateFarmElementScRspOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ActivateFarmElementScRspOuterClass.java
@@ -19,20 +19,20 @@ public final class ActivateFarmElementScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 entity_id = 2;
+ * optional uint32 retcode = 4;
+ */
+ private int retcode;
+
+ /**
+ * optional uint32 entity_id = 9;
*/
private int entityId;
/**
- * optional uint32 world_level = 8;
+ * optional uint32 world_level = 11;
*/
private int worldLevel;
- /**
- * optional uint32 retcode = 11;
- */
- private int retcode;
-
private ActivateFarmElementScRsp() {
}
@@ -44,99 +44,25 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
- * optional uint32 entity_id = 2;
- * @return whether the entityId field is set
+ * optional uint32 retcode = 4;
+ * @return whether the retcode field is set
*/
- public boolean hasEntityId() {
+ public boolean hasRetcode() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 entity_id = 2;
- * @return this
- */
- public ActivateFarmElementScRsp clearEntityId() {
- bitField0_ &= ~0x00000001;
- entityId = 0;
- return this;
- }
-
- /**
- * optional uint32 entity_id = 2;
- * @return the entityId
- */
- public int getEntityId() {
- return entityId;
- }
-
- /**
- * optional uint32 entity_id = 2;
- * @param value the entityId to set
- * @return this
- */
- public ActivateFarmElementScRsp setEntityId(final int value) {
- bitField0_ |= 0x00000001;
- entityId = value;
- return this;
- }
-
- /**
- * optional uint32 world_level = 8;
- * @return whether the worldLevel field is set
- */
- public boolean hasWorldLevel() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 world_level = 8;
- * @return this
- */
- public ActivateFarmElementScRsp clearWorldLevel() {
- bitField0_ &= ~0x00000002;
- worldLevel = 0;
- return this;
- }
-
- /**
- * optional uint32 world_level = 8;
- * @return the worldLevel
- */
- public int getWorldLevel() {
- return worldLevel;
- }
-
- /**
- * optional uint32 world_level = 8;
- * @param value the worldLevel to set
- * @return this
- */
- public ActivateFarmElementScRsp setWorldLevel(final int value) {
- bitField0_ |= 0x00000002;
- worldLevel = value;
- return this;
- }
-
- /**
- * optional uint32 retcode = 11;
- * @return whether the retcode field is set
- */
- public boolean hasRetcode() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 retcode = 11;
+ * optional uint32 retcode = 4;
* @return this
*/
public ActivateFarmElementScRsp clearRetcode() {
- bitField0_ &= ~0x00000004;
+ bitField0_ &= ~0x00000001;
retcode = 0;
return this;
}
/**
- * optional uint32 retcode = 11;
+ * optional uint32 retcode = 4;
* @return the retcode
*/
public int getRetcode() {
@@ -144,24 +70,98 @@ public final class ActivateFarmElementScRspOuterClass {
}
/**
- * optional uint32 retcode = 11;
+ * optional uint32 retcode = 4;
* @param value the retcode to set
* @return this
*/
public ActivateFarmElementScRsp setRetcode(final int value) {
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
retcode = value;
return this;
}
+ /**
+ * optional uint32 entity_id = 9;
+ * @return whether the entityId field is set
+ */
+ public boolean hasEntityId() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 entity_id = 9;
+ * @return this
+ */
+ public ActivateFarmElementScRsp clearEntityId() {
+ bitField0_ &= ~0x00000002;
+ entityId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 entity_id = 9;
+ * @return the entityId
+ */
+ public int getEntityId() {
+ return entityId;
+ }
+
+ /**
+ * optional uint32 entity_id = 9;
+ * @param value the entityId to set
+ * @return this
+ */
+ public ActivateFarmElementScRsp setEntityId(final int value) {
+ bitField0_ |= 0x00000002;
+ entityId = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 world_level = 11;
+ * @return whether the worldLevel field is set
+ */
+ public boolean hasWorldLevel() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 world_level = 11;
+ * @return this
+ */
+ public ActivateFarmElementScRsp clearWorldLevel() {
+ bitField0_ &= ~0x00000004;
+ worldLevel = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 world_level = 11;
+ * @return the worldLevel
+ */
+ public int getWorldLevel() {
+ return worldLevel;
+ }
+
+ /**
+ * optional uint32 world_level = 11;
+ * @param value the worldLevel to set
+ * @return this
+ */
+ public ActivateFarmElementScRsp setWorldLevel(final int value) {
+ bitField0_ |= 0x00000004;
+ worldLevel = value;
+ return this;
+ }
+
@Override
public ActivateFarmElementScRsp copyFrom(final ActivateFarmElementScRsp other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
+ retcode = other.retcode;
entityId = other.entityId;
worldLevel = other.worldLevel;
- retcode = other.retcode;
}
return this;
}
@@ -172,15 +172,15 @@ public final class ActivateFarmElementScRspOuterClass {
return this;
}
cachedSize = -1;
+ if (other.hasRetcode()) {
+ setRetcode(other.retcode);
+ }
if (other.hasEntityId()) {
setEntityId(other.entityId);
}
if (other.hasWorldLevel()) {
setWorldLevel(other.worldLevel);
}
- if (other.hasRetcode()) {
- setRetcode(other.retcode);
- }
return this;
}
@@ -191,9 +191,9 @@ public final class ActivateFarmElementScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
+ retcode = 0;
entityId = 0;
worldLevel = 0;
- retcode = 0;
return this;
}
@@ -217,24 +217,24 @@ public final class ActivateFarmElementScRspOuterClass {
}
ActivateFarmElementScRsp other = (ActivateFarmElementScRsp) o;
return bitField0_ == other.bitField0_
+ && (!hasRetcode() || retcode == other.retcode)
&& (!hasEntityId() || entityId == other.entityId)
- && (!hasWorldLevel() || worldLevel == other.worldLevel)
- && (!hasRetcode() || retcode == other.retcode);
+ && (!hasWorldLevel() || worldLevel == other.worldLevel);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(entityId);
+ output.writeRawByte((byte) 32);
+ output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt32NoTag(worldLevel);
+ output.writeRawByte((byte) 72);
+ output.writeUInt32NoTag(entityId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 88);
- output.writeUInt32NoTag(retcode);
+ output.writeUInt32NoTag(worldLevel);
}
}
@@ -242,13 +242,13 @@ public final class ActivateFarmElementScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(worldLevel);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
}
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(worldLevel);
}
return size;
}
@@ -260,18 +260,18 @@ public final class ActivateFarmElementScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 16: {
- // entityId
- entityId = input.readUInt32();
+ case 32: {
+ // retcode
+ retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 64) {
+ if (tag != 72) {
break;
}
}
- case 64: {
- // worldLevel
- worldLevel = input.readUInt32();
+ case 72: {
+ // entityId
+ entityId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 88) {
@@ -279,8 +279,8 @@ public final class ActivateFarmElementScRspOuterClass {
}
}
case 88: {
- // retcode
- retcode = input.readUInt32();
+ // worldLevel
+ worldLevel = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 0) {
@@ -305,13 +305,13 @@ public final class ActivateFarmElementScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.entityId, entityId);
+ output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.worldLevel, worldLevel);
+ output.writeUInt32(FieldNames.entityId, entityId);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.retcode, retcode);
+ output.writeUInt32(FieldNames.worldLevel, worldLevel);
}
output.endObject();
}
@@ -323,12 +323,23 @@ public final class ActivateFarmElementScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
+ case 1097936398: {
+ if (input.isAtField(FieldNames.retcode)) {
+ if (!input.trySkipNullValue()) {
+ retcode = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
case -2102099874:
case -740565257: {
if (input.isAtField(FieldNames.entityId)) {
if (!input.trySkipNullValue()) {
entityId = input.readUInt32();
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
}
} else {
input.skipUnknownField();
@@ -340,17 +351,6 @@ public final class ActivateFarmElementScRspOuterClass {
if (input.isAtField(FieldNames.worldLevel)) {
if (!input.trySkipNullValue()) {
worldLevel = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1097936398: {
- if (input.isAtField(FieldNames.retcode)) {
- if (!input.trySkipNullValue()) {
- retcode = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -411,11 +411,11 @@ public final class ActivateFarmElementScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
+ static final FieldName retcode = FieldName.forField("retcode");
+
static final FieldName entityId = FieldName.forField("entityId", "entity_id");
static final FieldName worldLevel = FieldName.forField("worldLevel", "world_level");
-
- static final FieldName retcode = FieldName.forField("retcode");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ActivityScheduleInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ActivityScheduleInfoOuterClass.java
index 08726db..5469761 100644
--- a/src/generated/main/emu/lunarcore/proto/ActivityScheduleInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ActivityScheduleInfoOuterClass.java
@@ -19,12 +19,12 @@ public final class ActivityScheduleInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional int64 begin_time = 5;
+ * optional int64 begin_time = 6;
*/
private long beginTime;
/**
- * optional int64 end_time = 9;
+ * optional int64 end_time = 12;
*/
private long endTime;
@@ -34,7 +34,7 @@ public final class ActivityScheduleInfoOuterClass {
private int activityId;
/**
- * optional uint32 module_id = 12;
+ * optional uint32 module_id = 15;
*/
private int moduleId;
@@ -49,7 +49,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional int64 begin_time = 5;
+ * optional int64 begin_time = 6;
* @return whether the beginTime field is set
*/
public boolean hasBeginTime() {
@@ -57,7 +57,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional int64 begin_time = 5;
+ * optional int64 begin_time = 6;
* @return this
*/
public ActivityScheduleInfo clearBeginTime() {
@@ -67,7 +67,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional int64 begin_time = 5;
+ * optional int64 begin_time = 6;
* @return the beginTime
*/
public long getBeginTime() {
@@ -75,7 +75,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional int64 begin_time = 5;
+ * optional int64 begin_time = 6;
* @param value the beginTime to set
* @return this
*/
@@ -86,7 +86,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional int64 end_time = 9;
+ * optional int64 end_time = 12;
* @return whether the endTime field is set
*/
public boolean hasEndTime() {
@@ -94,7 +94,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional int64 end_time = 9;
+ * optional int64 end_time = 12;
* @return this
*/
public ActivityScheduleInfo clearEndTime() {
@@ -104,7 +104,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional int64 end_time = 9;
+ * optional int64 end_time = 12;
* @return the endTime
*/
public long getEndTime() {
@@ -112,7 +112,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional int64 end_time = 9;
+ * optional int64 end_time = 12;
* @param value the endTime to set
* @return this
*/
@@ -160,7 +160,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional uint32 module_id = 12;
+ * optional uint32 module_id = 15;
* @return whether the moduleId field is set
*/
public boolean hasModuleId() {
@@ -168,7 +168,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional uint32 module_id = 12;
+ * optional uint32 module_id = 15;
* @return this
*/
public ActivityScheduleInfo clearModuleId() {
@@ -178,7 +178,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional uint32 module_id = 12;
+ * optional uint32 module_id = 15;
* @return the moduleId
*/
public int getModuleId() {
@@ -186,7 +186,7 @@ public final class ActivityScheduleInfoOuterClass {
}
/**
- * optional uint32 module_id = 12;
+ * optional uint32 module_id = 15;
* @param value the moduleId to set
* @return this
*/
@@ -273,11 +273,11 @@ public final class ActivityScheduleInfoOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 40);
+ output.writeRawByte((byte) 48);
output.writeInt64NoTag(beginTime);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 72);
+ output.writeRawByte((byte) 96);
output.writeInt64NoTag(endTime);
}
if ((bitField0_ & 0x00000004) != 0) {
@@ -285,7 +285,7 @@ public final class ActivityScheduleInfoOuterClass {
output.writeUInt32NoTag(activityId);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 96);
+ output.writeRawByte((byte) 120);
output.writeUInt32NoTag(moduleId);
}
}
@@ -315,16 +315,16 @@ public final class ActivityScheduleInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 40: {
+ case 48: {
// beginTime
beginTime = input.readInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 72) {
+ if (tag != 96) {
break;
}
}
- case 72: {
+ case 96: {
// endTime
endTime = input.readInt64();
bitField0_ |= 0x00000002;
@@ -338,11 +338,11 @@ public final class ActivityScheduleInfoOuterClass {
activityId = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
- if (tag != 96) {
+ if (tag != 120) {
break;
}
}
- case 96: {
+ case 120: {
// moduleId
moduleId = input.readUInt32();
bitField0_ |= 0x00000008;
diff --git a/src/generated/main/emu/lunarcore/proto/AddRogueBuffScNotifyOuterClass.java b/src/generated/main/emu/lunarcore/proto/AddRogueBuffScNotifyOuterClass.java
deleted file mode 100644
index 3b5f08c..0000000
--- a/src/generated/main/emu/lunarcore/proto/AddRogueBuffScNotifyOuterClass.java
+++ /dev/null
@@ -1,394 +0,0 @@
-// Code generated by protocol buffer compiler. Do not edit!
-package emu.lunarcore.proto;
-
-import java.io.IOException;
-import us.hebi.quickbuf.FieldName;
-import us.hebi.quickbuf.InvalidProtocolBufferException;
-import us.hebi.quickbuf.JsonSink;
-import us.hebi.quickbuf.JsonSource;
-import us.hebi.quickbuf.MessageFactory;
-import us.hebi.quickbuf.ProtoMessage;
-import us.hebi.quickbuf.ProtoSink;
-import us.hebi.quickbuf.ProtoSource;
-
-public final class AddRogueBuffScNotifyOuterClass {
- /**
- * Protobuf type {@code AddRogueBuffScNotify}
- */
- public static final class AddRogueBuffScNotify extends ProtoMessageoptional .RogueBuffSource source = 4;
- */
- private int source;
-
- /**
- * optional .RogueBuff maze_buff_info = 1;
- */
- private final RogueBuffOuterClass.RogueBuff mazeBuffInfo = RogueBuffOuterClass.RogueBuff.newInstance();
-
- private AddRogueBuffScNotify() {
- }
-
- /**
- * @return a new empty instance of {@code AddRogueBuffScNotify}
- */
- public static AddRogueBuffScNotify newInstance() {
- return new AddRogueBuffScNotify();
- }
-
- /**
- * optional .RogueBuffSource source = 4;
- * @return whether the source field is set
- */
- public boolean hasSource() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional .RogueBuffSource source = 4;
- * @return this
- */
- public AddRogueBuffScNotify clearSource() {
- bitField0_ &= ~0x00000001;
- source = 0;
- return this;
- }
-
- /**
- * optional .RogueBuffSource source = 4;
- * @return the source
- */
- public RogueBuffSourceOuterClass.RogueBuffSource getSource() {
- return RogueBuffSourceOuterClass.RogueBuffSource.forNumber(source);
- }
-
- /**
- * Gets the value of the internal enum store. The result is
- * equivalent to {@link AddRogueBuffScNotify#getSource()}.getNumber().
- *
- * @return numeric wire representation
- */
- public int getSourceValue() {
- return source;
- }
-
- /**
- * Sets the value of the internal enum store. This does not
- * do any validity checks, so be sure to use appropriate value
- * constants from {@link RogueBuffSourceOuterClass.RogueBuffSource}. Setting an invalid value
- * can cause {@link AddRogueBuffScNotify#getSource()} to return null
- *
- * @param value the numeric wire value to set
- * @return this
- */
- public AddRogueBuffScNotify setSourceValue(final int value) {
- bitField0_ |= 0x00000001;
- source = value;
- return this;
- }
-
- /**
- * optional .RogueBuffSource source = 4;
- * @param value the source to set
- * @return this
- */
- public AddRogueBuffScNotify setSource(final RogueBuffSourceOuterClass.RogueBuffSource value) {
- bitField0_ |= 0x00000001;
- source = value.getNumber();
- return this;
- }
-
- /**
- * optional .RogueBuff maze_buff_info = 1;
- * @return whether the mazeBuffInfo field is set
- */
- public boolean hasMazeBuffInfo() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional .RogueBuff maze_buff_info = 1;
- * @return this
- */
- public AddRogueBuffScNotify clearMazeBuffInfo() {
- bitField0_ &= ~0x00000002;
- mazeBuffInfo.clear();
- return this;
- }
-
- /**
- * optional .RogueBuff maze_buff_info = 1;
- *
- * 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.
- *
- * Use {@link #getMutableMazeBuffInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RogueBuffOuterClass.RogueBuff getMazeBuffInfo() {
- return mazeBuffInfo;
- }
-
- /**
- * optional .RogueBuff maze_buff_info = 1;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RogueBuffOuterClass.RogueBuff getMutableMazeBuffInfo() {
- bitField0_ |= 0x00000002;
- return mazeBuffInfo;
- }
-
- /**
- * optional .RogueBuff maze_buff_info = 1;
- * @param value the mazeBuffInfo to set
- * @return this
- */
- public AddRogueBuffScNotify setMazeBuffInfo(final RogueBuffOuterClass.RogueBuff value) {
- bitField0_ |= 0x00000002;
- mazeBuffInfo.copyFrom(value);
- return this;
- }
-
- @Override
- public AddRogueBuffScNotify copyFrom(final AddRogueBuffScNotify other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- source = other.source;
- mazeBuffInfo.copyFrom(other.mazeBuffInfo);
- }
- return this;
- }
-
- @Override
- public AddRogueBuffScNotify mergeFrom(final AddRogueBuffScNotify other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasSource()) {
- setSourceValue(other.source);
- }
- if (other.hasMazeBuffInfo()) {
- getMutableMazeBuffInfo().mergeFrom(other.mazeBuffInfo);
- }
- return this;
- }
-
- @Override
- public AddRogueBuffScNotify clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- source = 0;
- mazeBuffInfo.clear();
- return this;
- }
-
- @Override
- public AddRogueBuffScNotify clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- mazeBuffInfo.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof AddRogueBuffScNotify)) {
- return false;
- }
- AddRogueBuffScNotify other = (AddRogueBuffScNotify) o;
- return bitField0_ == other.bitField0_
- && (!hasSource() || source == other.source)
- && (!hasMazeBuffInfo() || mazeBuffInfo.equals(other.mazeBuffInfo));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 32);
- output.writeEnumNoTag(source);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 10);
- output.writeMessageNoTag(mazeBuffInfo);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeEnumSizeNoTag(source);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(mazeBuffInfo);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public AddRogueBuffScNotify mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 32: {
- // source
- final int value = input.readInt32();
- if (RogueBuffSourceOuterClass.RogueBuffSource.forNumber(value) != null) {
- source = value;
- bitField0_ |= 0x00000001;
- }
- tag = input.readTag();
- if (tag != 10) {
- break;
- }
- }
- case 10: {
- // mazeBuffInfo
- input.readMessage(mazeBuffInfo);
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeEnum(FieldNames.source, source, RogueBuffSourceOuterClass.RogueBuffSource.converter());
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeMessage(FieldNames.mazeBuffInfo, mazeBuffInfo);
- }
- output.endObject();
- }
-
- @Override
- public AddRogueBuffScNotify mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -896505829: {
- if (input.isAtField(FieldNames.source)) {
- if (!input.trySkipNullValue()) {
- final RogueBuffSourceOuterClass.RogueBuffSource value = input.readEnum(RogueBuffSourceOuterClass.RogueBuffSource.converter());
- if (value != null) {
- source = value.getNumber();
- bitField0_ |= 0x00000001;
- } else {
- input.skipUnknownEnumValue();
- }
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1147143296:
- case -1635080038: {
- if (input.isAtField(FieldNames.mazeBuffInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(mazeBuffInfo);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public AddRogueBuffScNotify clone() {
- return new AddRogueBuffScNotify().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static AddRogueBuffScNotify parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new AddRogueBuffScNotify(), data).checkInitialized();
- }
-
- public static AddRogueBuffScNotify parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new AddRogueBuffScNotify(), input).checkInitialized();
- }
-
- public static AddRogueBuffScNotify parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new AddRogueBuffScNotify(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating AddRogueBuffScNotify messages
- */
- public static MessageFactoryoptional .RogueMiracleSource source = 15;
- */
- private int source;
-
- /**
- * optional .RogueMiracle rogue_miracle = 4;
- */
- private final RogueMiracleOuterClass.RogueMiracle rogueMiracle = RogueMiracleOuterClass.RogueMiracle.newInstance();
-
- private AddRogueMiracleScNotify() {
- }
-
- /**
- * @return a new empty instance of {@code AddRogueMiracleScNotify}
- */
- public static AddRogueMiracleScNotify newInstance() {
- return new AddRogueMiracleScNotify();
- }
-
- /**
- * optional .RogueMiracleSource source = 15;
- * @return whether the source field is set
- */
- public boolean hasSource() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional .RogueMiracleSource source = 15;
- * @return this
- */
- public AddRogueMiracleScNotify clearSource() {
- bitField0_ &= ~0x00000001;
- source = 0;
- return this;
- }
-
- /**
- * optional .RogueMiracleSource source = 15;
- * @return the source
- */
- public RogueMiracleSourceOuterClass.RogueMiracleSource getSource() {
- return RogueMiracleSourceOuterClass.RogueMiracleSource.forNumber(source);
- }
-
- /**
- * Gets the value of the internal enum store. The result is
- * equivalent to {@link AddRogueMiracleScNotify#getSource()}.getNumber().
- *
- * @return numeric wire representation
- */
- public int getSourceValue() {
- return source;
- }
-
- /**
- * Sets the value of the internal enum store. This does not
- * do any validity checks, so be sure to use appropriate value
- * constants from {@link RogueMiracleSourceOuterClass.RogueMiracleSource}. Setting an invalid value
- * can cause {@link AddRogueMiracleScNotify#getSource()} to return null
- *
- * @param value the numeric wire value to set
- * @return this
- */
- public AddRogueMiracleScNotify setSourceValue(final int value) {
- bitField0_ |= 0x00000001;
- source = value;
- return this;
- }
-
- /**
- * optional .RogueMiracleSource source = 15;
- * @param value the source to set
- * @return this
- */
- public AddRogueMiracleScNotify setSource(
- final RogueMiracleSourceOuterClass.RogueMiracleSource value) {
- bitField0_ |= 0x00000001;
- source = value.getNumber();
- return this;
- }
-
- /**
- * optional .RogueMiracle rogue_miracle = 4;
- * @return whether the rogueMiracle field is set
- */
- public boolean hasRogueMiracle() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional .RogueMiracle rogue_miracle = 4;
- * @return this
- */
- public AddRogueMiracleScNotify clearRogueMiracle() {
- bitField0_ &= ~0x00000002;
- rogueMiracle.clear();
- return this;
- }
-
- /**
- * optional .RogueMiracle rogue_miracle = 4;
- *
- * 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.
- *
- * Use {@link #getMutableRogueMiracle()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RogueMiracleOuterClass.RogueMiracle getRogueMiracle() {
- return rogueMiracle;
- }
-
- /**
- * optional .RogueMiracle rogue_miracle = 4;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RogueMiracleOuterClass.RogueMiracle getMutableRogueMiracle() {
- bitField0_ |= 0x00000002;
- return rogueMiracle;
- }
-
- /**
- * optional .RogueMiracle rogue_miracle = 4;
- * @param value the rogueMiracle to set
- * @return this
- */
- public AddRogueMiracleScNotify setRogueMiracle(
- final RogueMiracleOuterClass.RogueMiracle value) {
- bitField0_ |= 0x00000002;
- rogueMiracle.copyFrom(value);
- return this;
- }
-
- @Override
- public AddRogueMiracleScNotify copyFrom(final AddRogueMiracleScNotify other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- source = other.source;
- rogueMiracle.copyFrom(other.rogueMiracle);
- }
- return this;
- }
-
- @Override
- public AddRogueMiracleScNotify mergeFrom(final AddRogueMiracleScNotify other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasSource()) {
- setSourceValue(other.source);
- }
- if (other.hasRogueMiracle()) {
- getMutableRogueMiracle().mergeFrom(other.rogueMiracle);
- }
- return this;
- }
-
- @Override
- public AddRogueMiracleScNotify clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- source = 0;
- rogueMiracle.clear();
- return this;
- }
-
- @Override
- public AddRogueMiracleScNotify clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- rogueMiracle.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof AddRogueMiracleScNotify)) {
- return false;
- }
- AddRogueMiracleScNotify other = (AddRogueMiracleScNotify) o;
- return bitField0_ == other.bitField0_
- && (!hasSource() || source == other.source)
- && (!hasRogueMiracle() || rogueMiracle.equals(other.rogueMiracle));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 120);
- output.writeEnumNoTag(source);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 34);
- output.writeMessageNoTag(rogueMiracle);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeEnumSizeNoTag(source);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(rogueMiracle);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public AddRogueMiracleScNotify mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 120: {
- // source
- final int value = input.readInt32();
- if (RogueMiracleSourceOuterClass.RogueMiracleSource.forNumber(value) != null) {
- source = value;
- bitField0_ |= 0x00000001;
- }
- tag = input.readTag();
- if (tag != 34) {
- break;
- }
- }
- case 34: {
- // rogueMiracle
- input.readMessage(rogueMiracle);
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeEnum(FieldNames.source, source, RogueMiracleSourceOuterClass.RogueMiracleSource.converter());
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeMessage(FieldNames.rogueMiracle, rogueMiracle);
- }
- output.endObject();
- }
-
- @Override
- public AddRogueMiracleScNotify mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -896505829: {
- if (input.isAtField(FieldNames.source)) {
- if (!input.trySkipNullValue()) {
- final RogueMiracleSourceOuterClass.RogueMiracleSource value = input.readEnum(RogueMiracleSourceOuterClass.RogueMiracleSource.converter());
- if (value != null) {
- source = value.getNumber();
- bitField0_ |= 0x00000001;
- } else {
- input.skipUnknownEnumValue();
- }
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1479551689:
- case 1697369868: {
- if (input.isAtField(FieldNames.rogueMiracle)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(rogueMiracle);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public AddRogueMiracleScNotify clone() {
- return new AddRogueMiracleScNotify().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static AddRogueMiracleScNotify parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new AddRogueMiracleScNotify(), data).checkInitialized();
- }
-
- public static AddRogueMiracleScNotify parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new AddRogueMiracleScNotify(), input).checkInitialized();
- }
-
- public static AddRogueMiracleScNotify parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new AddRogueMiracleScNotify(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating AddRogueMiracleScNotify messages
- */
- public static MessageFactoryoptional uint32 uid = 7;
+ * optional uint32 uid = 15;
*/
private int uid;
@@ -39,7 +39,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
- * optional uint32 uid = 7;
+ * optional uint32 uid = 15;
* @return whether the uid field is set
*/
public boolean hasUid() {
@@ -47,7 +47,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
- * optional uint32 uid = 7;
+ * optional uint32 uid = 15;
* @return this
*/
public ApplyFriendCsReq clearUid() {
@@ -57,7 +57,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
- * optional uint32 uid = 7;
+ * optional uint32 uid = 15;
* @return the uid
*/
public int getUid() {
@@ -65,7 +65,7 @@ public final class ApplyFriendCsReqOuterClass {
}
/**
- * optional uint32 uid = 7;
+ * optional uint32 uid = 15;
* @param value the uid to set
* @return this
*/
@@ -202,7 +202,7 @@ public final class ApplyFriendCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 56);
+ output.writeRawByte((byte) 120);
output.writeUInt32NoTag(uid);
}
if ((bitField0_ & 0x00000002) != 0) {
@@ -230,7 +230,7 @@ public final class ApplyFriendCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 56: {
+ case 120: {
// uid
uid = input.readUInt32();
bitField0_ |= 0x00000001;
diff --git a/src/generated/main/emu/lunarcore/proto/ArchiveDataOuterClass.java b/src/generated/main/emu/lunarcore/proto/ArchiveDataOuterClass.java
index 4e00bf4..d51bcc5 100644
--- a/src/generated/main/emu/lunarcore/proto/ArchiveDataOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ArchiveDataOuterClass.java
@@ -20,25 +20,34 @@ public final class ArchiveDataOuterClass {
public static final class ArchiveData extends ProtoMessagerepeated uint32 GLHNOAKHHPD = 2;
+ */
+ private final RepeatedInt gLHNOAKHHPD = RepeatedInt.newEmptyInstance();
+
/**
*
- * repeated uint32 archive_missing_avatar_id_list = 2; // isnt used
- * repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
+ * guessed
*
*
- * repeated uint32 archive_equipment_id_list = 12;
+ * repeated uint32 archive_equipment_id_list = 7;
*/
private final RepeatedInt archiveEquipmentIdList = RepeatedInt.newEmptyInstance();
/**
- * repeated .RelicArchive relic_list = 2;
+ * repeated uint32 OOICHLFIHLF = 12;
*/
- private final RepeatedMessagerepeated .MonsterArchive archive_monster_id_list = 5;
+ * repeated .MonsterArchive monster_list = 6;
*/
- private final RepeatedMessagerepeated .RelicArchive relic_list = 8;
+ */
+ private final RepeatedMessage- * repeated uint32 archive_missing_avatar_id_list = 2; // isnt used - * repeated uint32 archive_missing_equipment_id_list = 14; // isnt used - *- * - *
repeated uint32 archive_equipment_id_list = 12;
- * @return whether the archiveEquipmentIdList field is set
+ * repeated uint32 GLHNOAKHHPD = 2;
+ * @return whether the gLHNOAKHHPD field is set
*/
- public boolean hasArchiveEquipmentIdList() {
+ public boolean hasGLHNOAKHHPD() {
return (bitField0_ & 0x00000001) != 0;
}
+ /**
+ * repeated uint32 GLHNOAKHHPD = 2;
+ * @return this
+ */
+ public ArchiveData clearGLHNOAKHHPD() {
+ bitField0_ &= ~0x00000001;
+ gLHNOAKHHPD.clear();
+ return this;
+ }
+
+ /**
+ * repeated uint32 GLHNOAKHHPD = 2;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableGLHNOAKHHPD()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getGLHNOAKHHPD() {
+ return gLHNOAKHHPD;
+ }
+
+ /**
+ * repeated uint32 GLHNOAKHHPD = 2;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableGLHNOAKHHPD() {
+ bitField0_ |= 0x00000001;
+ return gLHNOAKHHPD;
+ }
+
+ /**
+ * repeated uint32 GLHNOAKHHPD = 2;
+ * @param value the gLHNOAKHHPD to add
+ * @return this
+ */
+ public ArchiveData addGLHNOAKHHPD(final int value) {
+ bitField0_ |= 0x00000001;
+ gLHNOAKHHPD.add(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 GLHNOAKHHPD = 2;
+ * @param values the gLHNOAKHHPD to add
+ * @return this
+ */
+ public ArchiveData addAllGLHNOAKHHPD(final int... values) {
+ bitField0_ |= 0x00000001;
+ gLHNOAKHHPD.addAll(values);
+ return this;
+ }
+
/**
*
- * repeated uint32 archive_missing_avatar_id_list = 2; // isnt used
- * repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
+ * guessed
*
*
- * repeated uint32 archive_equipment_id_list = 12;
+ * repeated uint32 archive_equipment_id_list = 7;
+ * @return whether the archiveEquipmentIdList field is set
+ */
+ public boolean hasArchiveEquipmentIdList() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * + * guessed + *+ * + *
repeated uint32 archive_equipment_id_list = 7;
* @return this
*/
public ArchiveData clearArchiveEquipmentIdList() {
- bitField0_ &= ~0x00000001;
+ bitField0_ &= ~0x00000002;
archiveEquipmentIdList.clear();
return this;
}
/**
*
- * repeated uint32 archive_missing_avatar_id_list = 2; // isnt used
- * repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
+ * guessed
*
*
- * repeated uint32 archive_equipment_id_list = 12;
+ * repeated uint32 archive_equipment_id_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.
@@ -99,11 +173,10 @@ public final class ArchiveDataOuterClass {
/**
*
- * repeated uint32 archive_missing_avatar_id_list = 2; // isnt used
- * repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
+ * guessed
*
*
- * repeated uint32 archive_equipment_id_list = 12;
+ * repeated uint32 archive_equipment_id_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
@@ -112,62 +185,196 @@ public final class ArchiveDataOuterClass {
* @return internal storage object for modifications
*/
public RepeatedInt getMutableArchiveEquipmentIdList() {
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
return archiveEquipmentIdList;
}
/**
*
- * repeated uint32 archive_missing_avatar_id_list = 2; // isnt used
- * repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
+ * guessed
*
*
- * repeated uint32 archive_equipment_id_list = 12;
+ * repeated uint32 archive_equipment_id_list = 7;
* @param value the archiveEquipmentIdList to add
* @return this
*/
public ArchiveData addArchiveEquipmentIdList(final int value) {
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
archiveEquipmentIdList.add(value);
return this;
}
/**
*
- * repeated uint32 archive_missing_avatar_id_list = 2; // isnt used
- * repeated uint32 archive_missing_equipment_id_list = 14; // isnt used
+ * guessed
*
*
- * repeated uint32 archive_equipment_id_list = 12;
+ * repeated uint32 archive_equipment_id_list = 7;
* @param values the archiveEquipmentIdList to add
* @return this
*/
public ArchiveData addAllArchiveEquipmentIdList(final int... values) {
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
archiveEquipmentIdList.addAll(values);
return this;
}
/**
- * repeated .RelicArchive relic_list = 2;
- * @return whether the relicList field is set
+ * repeated uint32 OOICHLFIHLF = 12;
+ * @return whether the oOICHLFIHLF field is set
*/
- public boolean hasRelicList() {
- return (bitField0_ & 0x00000002) != 0;
+ public boolean hasOOICHLFIHLF() {
+ return (bitField0_ & 0x00000004) != 0;
}
/**
- * repeated .RelicArchive relic_list = 2;
+ * repeated uint32 OOICHLFIHLF = 12;
+ * @return this
+ */
+ public ArchiveData clearOOICHLFIHLF() {
+ bitField0_ &= ~0x00000004;
+ oOICHLFIHLF.clear();
+ return this;
+ }
+
+ /**
+ * repeated uint32 OOICHLFIHLF = 12;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableOOICHLFIHLF()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getOOICHLFIHLF() {
+ return oOICHLFIHLF;
+ }
+
+ /**
+ * repeated uint32 OOICHLFIHLF = 12;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableOOICHLFIHLF() {
+ bitField0_ |= 0x00000004;
+ return oOICHLFIHLF;
+ }
+
+ /**
+ * repeated uint32 OOICHLFIHLF = 12;
+ * @param value the oOICHLFIHLF to add
+ * @return this
+ */
+ public ArchiveData addOOICHLFIHLF(final int value) {
+ bitField0_ |= 0x00000004;
+ oOICHLFIHLF.add(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 OOICHLFIHLF = 12;
+ * @param values the oOICHLFIHLF to add
+ * @return this
+ */
+ public ArchiveData addAllOOICHLFIHLF(final int... values) {
+ bitField0_ |= 0x00000004;
+ oOICHLFIHLF.addAll(values);
+ return this;
+ }
+
+ /**
+ * repeated .MonsterArchive monster_list = 6;
+ * @return whether the monsterList field is set
+ */
+ public boolean hasMonsterList() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * repeated .MonsterArchive monster_list = 6;
+ * @return this
+ */
+ public ArchiveData clearMonsterList() {
+ bitField0_ &= ~0x00000008;
+ monsterList.clear();
+ return this;
+ }
+
+ /**
+ * repeated .MonsterArchive monster_list = 6;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableMonsterList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedMessagerepeated .MonsterArchive monster_list = 6;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedMessagerepeated .MonsterArchive monster_list = 6;
+ * @param value the monsterList to add
+ * @return this
+ */
+ public ArchiveData addMonsterList(final MonsterArchiveOuterClass.MonsterArchive value) {
+ bitField0_ |= 0x00000008;
+ monsterList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated .MonsterArchive monster_list = 6;
+ * @param values the monsterList to add
+ * @return this
+ */
+ public ArchiveData addAllMonsterList(final MonsterArchiveOuterClass.MonsterArchive... values) {
+ bitField0_ |= 0x00000008;
+ monsterList.addAll(values);
+ return this;
+ }
+
+ /**
+ * repeated .RelicArchive relic_list = 8;
+ * @return whether the relicList field is set
+ */
+ public boolean hasRelicList() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * repeated .RelicArchive relic_list = 8;
* @return this
*/
public ArchiveData clearRelicList() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000010;
relicList.clear();
return this;
}
/**
- * repeated .RelicArchive relic_list = 2;
+ * repeated .RelicArchive relic_list = 8;
*
* 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.
@@ -181,7 +388,7 @@ public final class ArchiveDataOuterClass {
}
/**
- * repeated .RelicArchive relic_list = 2;
+ * repeated .RelicArchive relic_list = 8;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -190,111 +397,42 @@ public final class ArchiveDataOuterClass {
* @return internal storage object for modifications
*/
public RepeatedMessagerepeated .RelicArchive relic_list = 2;
+ * repeated .RelicArchive relic_list = 8;
* @param value the relicList to add
* @return this
*/
public ArchiveData addRelicList(final RelicArchiveOuterClass.RelicArchive value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000010;
relicList.add(value);
return this;
}
/**
- * repeated .RelicArchive relic_list = 2;
+ * repeated .RelicArchive relic_list = 8;
* @param values the relicList to add
* @return this
*/
public ArchiveData addAllRelicList(final RelicArchiveOuterClass.RelicArchive... values) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000010;
relicList.addAll(values);
return this;
}
- /**
- * repeated .MonsterArchive archive_monster_id_list = 5;
- * @return whether the archiveMonsterIdList field is set
- */
- public boolean hasArchiveMonsterIdList() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * repeated .MonsterArchive archive_monster_id_list = 5;
- * @return this
- */
- public ArchiveData clearArchiveMonsterIdList() {
- bitField0_ &= ~0x00000004;
- archiveMonsterIdList.clear();
- return this;
- }
-
- /**
- * repeated .MonsterArchive archive_monster_id_list = 5;
- *
- * 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.
- *
- * Use {@link #getMutableArchiveMonsterIdList()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessagerepeated .MonsterArchive archive_monster_id_list = 5;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessagerepeated .MonsterArchive archive_monster_id_list = 5;
- * @param value the archiveMonsterIdList to add
- * @return this
- */
- public ArchiveData addArchiveMonsterIdList(
- final MonsterArchiveOuterClass.MonsterArchive value) {
- bitField0_ |= 0x00000004;
- archiveMonsterIdList.add(value);
- return this;
- }
-
- /**
- * repeated .MonsterArchive archive_monster_id_list = 5;
- * @param values the archiveMonsterIdList to add
- * @return this
- */
- public ArchiveData addAllArchiveMonsterIdList(
- final MonsterArchiveOuterClass.MonsterArchive... values) {
- bitField0_ |= 0x00000004;
- archiveMonsterIdList.addAll(values);
- return this;
- }
-
@Override
public ArchiveData copyFrom(final ArchiveData other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
+ gLHNOAKHHPD.copyFrom(other.gLHNOAKHHPD);
archiveEquipmentIdList.copyFrom(other.archiveEquipmentIdList);
+ oOICHLFIHLF.copyFrom(other.oOICHLFIHLF);
+ monsterList.copyFrom(other.monsterList);
relicList.copyFrom(other.relicList);
- archiveMonsterIdList.copyFrom(other.archiveMonsterIdList);
}
return this;
}
@@ -305,15 +443,21 @@ public final class ArchiveDataOuterClass {
return this;
}
cachedSize = -1;
+ if (other.hasGLHNOAKHHPD()) {
+ getMutableGLHNOAKHHPD().addAll(other.gLHNOAKHHPD);
+ }
if (other.hasArchiveEquipmentIdList()) {
getMutableArchiveEquipmentIdList().addAll(other.archiveEquipmentIdList);
}
+ if (other.hasOOICHLFIHLF()) {
+ getMutableOOICHLFIHLF().addAll(other.oOICHLFIHLF);
+ }
+ if (other.hasMonsterList()) {
+ getMutableMonsterList().addAll(other.monsterList);
+ }
if (other.hasRelicList()) {
getMutableRelicList().addAll(other.relicList);
}
- if (other.hasArchiveMonsterIdList()) {
- getMutableArchiveMonsterIdList().addAll(other.archiveMonsterIdList);
- }
return this;
}
@@ -324,9 +468,11 @@ public final class ArchiveDataOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
+ gLHNOAKHHPD.clear();
archiveEquipmentIdList.clear();
+ oOICHLFIHLF.clear();
+ monsterList.clear();
relicList.clear();
- archiveMonsterIdList.clear();
return this;
}
@@ -337,9 +483,11 @@ public final class ArchiveDataOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
+ gLHNOAKHHPD.clear();
archiveEquipmentIdList.clear();
+ oOICHLFIHLF.clear();
+ monsterList.clearQuick();
relicList.clearQuick();
- archiveMonsterIdList.clearQuick();
return this;
}
@@ -353,29 +501,43 @@ public final class ArchiveDataOuterClass {
}
ArchiveData other = (ArchiveData) o;
return bitField0_ == other.bitField0_
+ && (!hasGLHNOAKHHPD() || gLHNOAKHHPD.equals(other.gLHNOAKHHPD))
&& (!hasArchiveEquipmentIdList() || archiveEquipmentIdList.equals(other.archiveEquipmentIdList))
- && (!hasRelicList() || relicList.equals(other.relicList))
- && (!hasArchiveMonsterIdList() || archiveMonsterIdList.equals(other.archiveMonsterIdList));
+ && (!hasOOICHLFIHLF() || oOICHLFIHLF.equals(other.oOICHLFIHLF))
+ && (!hasMonsterList() || monsterList.equals(other.monsterList))
+ && (!hasRelicList() || relicList.equals(other.relicList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- for (int i = 0; i < archiveEquipmentIdList.length(); i++) {
- output.writeRawByte((byte) 96);
- output.writeUInt32NoTag(archiveEquipmentIdList.array()[i]);
+ for (int i = 0; i < gLHNOAKHHPD.length(); i++) {
+ output.writeRawByte((byte) 16);
+ output.writeUInt32NoTag(gLHNOAKHHPD.array()[i]);
}
}
if ((bitField0_ & 0x00000002) != 0) {
- for (int i = 0; i < relicList.length(); i++) {
- output.writeRawByte((byte) 18);
- output.writeMessageNoTag(relicList.get(i));
+ for (int i = 0; i < archiveEquipmentIdList.length(); i++) {
+ output.writeRawByte((byte) 56);
+ output.writeUInt32NoTag(archiveEquipmentIdList.array()[i]);
}
}
if ((bitField0_ & 0x00000004) != 0) {
- for (int i = 0; i < archiveMonsterIdList.length(); i++) {
- output.writeRawByte((byte) 42);
- output.writeMessageNoTag(archiveMonsterIdList.get(i));
+ for (int i = 0; i < oOICHLFIHLF.length(); i++) {
+ output.writeRawByte((byte) 96);
+ output.writeUInt32NoTag(oOICHLFIHLF.array()[i]);
+ }
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ for (int i = 0; i < monsterList.length(); i++) {
+ output.writeRawByte((byte) 50);
+ output.writeMessageNoTag(monsterList.get(i));
+ }
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ for (int i = 0; i < relicList.length(); i++) {
+ output.writeRawByte((byte) 66);
+ output.writeMessageNoTag(relicList.get(i));
}
}
}
@@ -384,13 +546,19 @@ public final class ArchiveDataOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += (1 * archiveEquipmentIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(archiveEquipmentIdList);
+ size += (1 * gLHNOAKHHPD.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(gLHNOAKHHPD);
}
if ((bitField0_ & 0x00000002) != 0) {
- size += (1 * relicList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(relicList);
+ size += (1 * archiveEquipmentIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(archiveEquipmentIdList);
}
if ((bitField0_ & 0x00000004) != 0) {
- size += (1 * archiveMonsterIdList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(archiveMonsterIdList);
+ size += (1 * oOICHLFIHLF.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(oOICHLFIHLF);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += (1 * monsterList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(monsterList);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ size += (1 * relicList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(relicList);
}
return size;
}
@@ -402,27 +570,45 @@ public final class ArchiveDataOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 98: {
- // archiveEquipmentIdList [packed=true]
- input.readPackedUInt32(archiveEquipmentIdList, tag);
+ case 18: {
+ // gLHNOAKHHPD [packed=true]
+ input.readPackedUInt32(gLHNOAKHHPD, tag);
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 18) {
+ if (tag != 58) {
break;
}
}
- case 18: {
+ case 58: {
+ // archiveEquipmentIdList [packed=true]
+ input.readPackedUInt32(archiveEquipmentIdList, tag);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 98) {
+ break;
+ }
+ }
+ case 98: {
+ // oOICHLFIHLF [packed=true]
+ input.readPackedUInt32(oOICHLFIHLF, tag);
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 50) {
+ break;
+ }
+ }
+ case 50: {
+ // monsterList
+ tag = input.readRepeatedMessage(monsterList, tag);
+ bitField0_ |= 0x00000008;
+ if (tag != 66) {
+ break;
+ }
+ }
+ case 66: {
// relicList
tag = input.readRepeatedMessage(relicList, tag);
- bitField0_ |= 0x00000002;
- if (tag != 42) {
- break;
- }
- }
- case 42: {
- // archiveMonsterIdList
- tag = input.readRepeatedMessage(archiveMonsterIdList, tag);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000010;
if (tag != 0) {
break;
}
@@ -437,10 +623,22 @@ public final class ArchiveDataOuterClass {
tag = input.readTag();
break;
}
- case 96: {
+ case 16: {
+ // gLHNOAKHHPD [packed=false]
+ tag = input.readRepeatedUInt32(gLHNOAKHHPD, tag);
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 56: {
// archiveEquipmentIdList [packed=false]
tag = input.readRepeatedUInt32(archiveEquipmentIdList, tag);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ case 96: {
+ // oOICHLFIHLF [packed=false]
+ tag = input.readRepeatedUInt32(oOICHLFIHLF, tag);
+ bitField0_ |= 0x00000004;
break;
}
}
@@ -451,13 +649,19 @@ public final class ArchiveDataOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRepeatedUInt32(FieldNames.archiveEquipmentIdList, archiveEquipmentIdList);
+ output.writeRepeatedUInt32(FieldNames.gLHNOAKHHPD, gLHNOAKHHPD);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRepeatedMessage(FieldNames.relicList, relicList);
+ output.writeRepeatedUInt32(FieldNames.archiveEquipmentIdList, archiveEquipmentIdList);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRepeatedMessage(FieldNames.archiveMonsterIdList, archiveMonsterIdList);
+ output.writeRepeatedUInt32(FieldNames.oOICHLFIHLF, oOICHLFIHLF);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRepeatedMessage(FieldNames.monsterList, monsterList);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeRepeatedMessage(FieldNames.relicList, relicList);
}
output.endObject();
}
@@ -469,12 +673,46 @@ public final class ArchiveDataOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
+ case -246412254: {
+ if (input.isAtField(FieldNames.gLHNOAKHHPD)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(gLHNOAKHHPD);
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
case 1521227365:
case 967463252: {
if (input.isAtField(FieldNames.archiveEquipmentIdList)) {
if (!input.trySkipNullValue()) {
input.readRepeatedUInt32(archiveEquipmentIdList);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 857548129: {
+ if (input.isAtField(FieldNames.oOICHLFIHLF)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(oOICHLFIHLF);
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1541271448:
+ case 552401379: {
+ if (input.isAtField(FieldNames.monsterList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedMessage(monsterList);
+ bitField0_ |= 0x00000008;
}
} else {
input.skipUnknownField();
@@ -486,19 +724,7 @@ public final class ArchiveDataOuterClass {
if (input.isAtField(FieldNames.relicList)) {
if (!input.trySkipNullValue()) {
input.readRepeatedMessage(relicList);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 912174897:
- case 1817787488: {
- if (input.isAtField(FieldNames.archiveMonsterIdList)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(archiveMonsterIdList);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000010;
}
} else {
input.skipUnknownField();
@@ -557,11 +783,15 @@ public final class ArchiveDataOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
+ static final FieldName gLHNOAKHHPD = FieldName.forField("GLHNOAKHHPD");
+
static final FieldName archiveEquipmentIdList = FieldName.forField("archiveEquipmentIdList", "archive_equipment_id_list");
- static final FieldName relicList = FieldName.forField("relicList", "relic_list");
+ static final FieldName oOICHLFIHLF = FieldName.forField("OOICHLFIHLF");
- static final FieldName archiveMonsterIdList = FieldName.forField("archiveMonsterIdList", "archive_monster_id_list");
+ static final FieldName monsterList = FieldName.forField("monsterList", "monster_list");
+
+ static final FieldName relicList = FieldName.forField("relicList", "relic_list");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/AssistMonsterWaveOuterClass.java b/src/generated/main/emu/lunarcore/proto/AssistMonsterWaveOuterClass.java
index 832153c..aceede1 100644
--- a/src/generated/main/emu/lunarcore/proto/AssistMonsterWaveOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/AssistMonsterWaveOuterClass.java
@@ -20,7 +20,7 @@ public final class AssistMonsterWaveOuterClass {
private static final long serialVersionUID = 0L;
/**
- * repeated uint32 entity_id_list = 4;
+ * repeated uint32 entity_id_list = 2;
*/
private final RepeatedInt entityIdList = RepeatedInt.newEmptyInstance();
@@ -35,7 +35,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
- * repeated uint32 entity_id_list = 4;
+ * repeated uint32 entity_id_list = 2;
* @return whether the entityIdList field is set
*/
public boolean hasEntityIdList() {
@@ -43,7 +43,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
- * repeated uint32 entity_id_list = 4;
+ * repeated uint32 entity_id_list = 2;
* @return this
*/
public AssistMonsterWave clearEntityIdList() {
@@ -53,7 +53,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
- * repeated uint32 entity_id_list = 4;
+ * repeated uint32 entity_id_list = 2;
*
* 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.
@@ -67,7 +67,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
- * repeated uint32 entity_id_list = 4;
+ * repeated uint32 entity_id_list = 2;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -81,7 +81,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
- * repeated uint32 entity_id_list = 4;
+ * repeated uint32 entity_id_list = 2;
* @param value the entityIdList to add
* @return this
*/
@@ -92,7 +92,7 @@ public final class AssistMonsterWaveOuterClass {
}
/**
- * repeated uint32 entity_id_list = 4;
+ * repeated uint32 entity_id_list = 2;
* @param values the entityIdList to add
* @return this
*/
@@ -163,7 +163,7 @@ public final class AssistMonsterWaveOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < entityIdList.length(); i++) {
- output.writeRawByte((byte) 32);
+ output.writeRawByte((byte) 16);
output.writeUInt32NoTag(entityIdList.array()[i]);
}
}
@@ -185,7 +185,7 @@ public final class AssistMonsterWaveOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 34: {
+ case 18: {
// entityIdList [packed=true]
input.readPackedUInt32(entityIdList, tag);
bitField0_ |= 0x00000001;
@@ -204,7 +204,7 @@ public final class AssistMonsterWaveOuterClass {
tag = input.readTag();
break;
}
- case 32: {
+ case 16: {
// entityIdList [packed=false]
tag = input.readRepeatedUInt32(entityIdList, tag);
bitField0_ |= 0x00000001;
diff --git a/src/generated/main/emu/lunarcore/proto/AssistSimpleInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/AssistSimpleInfoOuterClass.java
index 53b79b0..a63eaf6 100644
--- a/src/generated/main/emu/lunarcore/proto/AssistSimpleInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/AssistSimpleInfoOuterClass.java
@@ -19,25 +19,25 @@ public final class AssistSimpleInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 avatar_id = 2;
- */
- private int avatarId;
-
- /**
- * optional uint32 pos = 6;
+ * optional uint32 pos = 2;
*/
private int pos;
/**
- * optional uint32 level = 12;
+ * optional uint32 avatar_id = 3;
*/
- private int level;
+ private int avatarId;
/**
- * optional uint32 dressed_skin_id = 15;
+ * optional uint32 dressed_skin_id = 9;
*/
private int dressedSkinId;
+ /**
+ * optional uint32 level = 15;
+ */
+ private int level;
+
private AssistSimpleInfo() {
}
@@ -49,62 +49,25 @@ public final class AssistSimpleInfoOuterClass {
}
/**
- * optional uint32 avatar_id = 2;
- * @return whether the avatarId field is set
+ * optional uint32 pos = 2;
+ * @return whether the pos field is set
*/
- public boolean hasAvatarId() {
+ public boolean hasPos() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 avatar_id = 2;
- * @return this
- */
- public AssistSimpleInfo clearAvatarId() {
- bitField0_ &= ~0x00000001;
- avatarId = 0;
- return this;
- }
-
- /**
- * optional uint32 avatar_id = 2;
- * @return the avatarId
- */
- public int getAvatarId() {
- return avatarId;
- }
-
- /**
- * optional uint32 avatar_id = 2;
- * @param value the avatarId to set
- * @return this
- */
- public AssistSimpleInfo setAvatarId(final int value) {
- bitField0_ |= 0x00000001;
- avatarId = value;
- return this;
- }
-
- /**
- * optional uint32 pos = 6;
- * @return whether the pos field is set
- */
- public boolean hasPos() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 pos = 6;
+ * optional uint32 pos = 2;
* @return this
*/
public AssistSimpleInfo clearPos() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000001;
pos = 0;
return this;
}
/**
- * optional uint32 pos = 6;
+ * optional uint32 pos = 2;
* @return the pos
*/
public int getPos() {
@@ -112,73 +75,73 @@ public final class AssistSimpleInfoOuterClass {
}
/**
- * optional uint32 pos = 6;
+ * optional uint32 pos = 2;
* @param value the pos to set
* @return this
*/
public AssistSimpleInfo setPos(final int value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
pos = value;
return this;
}
/**
- * optional uint32 level = 12;
- * @return whether the level field is set
+ * optional uint32 avatar_id = 3;
+ * @return whether the avatarId field is set
*/
- public boolean hasLevel() {
+ public boolean hasAvatarId() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 avatar_id = 3;
+ * @return this
+ */
+ public AssistSimpleInfo clearAvatarId() {
+ bitField0_ &= ~0x00000002;
+ avatarId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 avatar_id = 3;
+ * @return the avatarId
+ */
+ public int getAvatarId() {
+ return avatarId;
+ }
+
+ /**
+ * optional uint32 avatar_id = 3;
+ * @param value the avatarId to set
+ * @return this
+ */
+ public AssistSimpleInfo setAvatarId(final int value) {
+ bitField0_ |= 0x00000002;
+ avatarId = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 dressed_skin_id = 9;
+ * @return whether the dressedSkinId field is set
+ */
+ public boolean hasDressedSkinId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
- * optional uint32 level = 12;
- * @return this
- */
- public AssistSimpleInfo clearLevel() {
- bitField0_ &= ~0x00000004;
- level = 0;
- return this;
- }
-
- /**
- * optional uint32 level = 12;
- * @return the level
- */
- public int getLevel() {
- return level;
- }
-
- /**
- * optional uint32 level = 12;
- * @param value the level to set
- * @return this
- */
- public AssistSimpleInfo setLevel(final int value) {
- bitField0_ |= 0x00000004;
- level = value;
- return this;
- }
-
- /**
- * optional uint32 dressed_skin_id = 15;
- * @return whether the dressedSkinId field is set
- */
- public boolean hasDressedSkinId() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional uint32 dressed_skin_id = 15;
+ * optional uint32 dressed_skin_id = 9;
* @return this
*/
public AssistSimpleInfo clearDressedSkinId() {
- bitField0_ &= ~0x00000008;
+ bitField0_ &= ~0x00000004;
dressedSkinId = 0;
return this;
}
/**
- * optional uint32 dressed_skin_id = 15;
+ * optional uint32 dressed_skin_id = 9;
* @return the dressedSkinId
*/
public int getDressedSkinId() {
@@ -186,25 +149,62 @@ public final class AssistSimpleInfoOuterClass {
}
/**
- * optional uint32 dressed_skin_id = 15;
+ * optional uint32 dressed_skin_id = 9;
* @param value the dressedSkinId to set
* @return this
*/
public AssistSimpleInfo setDressedSkinId(final int value) {
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000004;
dressedSkinId = value;
return this;
}
+ /**
+ * optional uint32 level = 15;
+ * @return whether the level field is set
+ */
+ public boolean hasLevel() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional uint32 level = 15;
+ * @return this
+ */
+ public AssistSimpleInfo clearLevel() {
+ bitField0_ &= ~0x00000008;
+ level = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 level = 15;
+ * @return the level
+ */
+ public int getLevel() {
+ return level;
+ }
+
+ /**
+ * optional uint32 level = 15;
+ * @param value the level to set
+ * @return this
+ */
+ public AssistSimpleInfo setLevel(final int value) {
+ bitField0_ |= 0x00000008;
+ level = value;
+ return this;
+ }
+
@Override
public AssistSimpleInfo copyFrom(final AssistSimpleInfo other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- avatarId = other.avatarId;
pos = other.pos;
- level = other.level;
+ avatarId = other.avatarId;
dressedSkinId = other.dressedSkinId;
+ level = other.level;
}
return this;
}
@@ -215,18 +215,18 @@ public final class AssistSimpleInfoOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasAvatarId()) {
- setAvatarId(other.avatarId);
- }
if (other.hasPos()) {
setPos(other.pos);
}
- if (other.hasLevel()) {
- setLevel(other.level);
+ if (other.hasAvatarId()) {
+ setAvatarId(other.avatarId);
}
if (other.hasDressedSkinId()) {
setDressedSkinId(other.dressedSkinId);
}
+ if (other.hasLevel()) {
+ setLevel(other.level);
+ }
return this;
}
@@ -237,10 +237,10 @@ public final class AssistSimpleInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- avatarId = 0;
pos = 0;
- level = 0;
+ avatarId = 0;
dressedSkinId = 0;
+ level = 0;
return this;
}
@@ -264,29 +264,29 @@ public final class AssistSimpleInfoOuterClass {
}
AssistSimpleInfo other = (AssistSimpleInfo) o;
return bitField0_ == other.bitField0_
- && (!hasAvatarId() || avatarId == other.avatarId)
&& (!hasPos() || pos == other.pos)
- && (!hasLevel() || level == other.level)
- && (!hasDressedSkinId() || dressedSkinId == other.dressedSkinId);
+ && (!hasAvatarId() || avatarId == other.avatarId)
+ && (!hasDressedSkinId() || dressedSkinId == other.dressedSkinId)
+ && (!hasLevel() || level == other.level);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(avatarId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 48);
output.writeUInt32NoTag(pos);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 24);
+ output.writeUInt32NoTag(avatarId);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 96);
- output.writeUInt32NoTag(level);
+ output.writeRawByte((byte) 72);
+ output.writeUInt32NoTag(dressedSkinId);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeRawByte((byte) 120);
- output.writeUInt32NoTag(dressedSkinId);
+ output.writeUInt32NoTag(level);
}
}
@@ -294,16 +294,16 @@ public final class AssistSimpleInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(avatarId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(pos);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(avatarId);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(dressedSkinId);
}
if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(dressedSkinId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
return size;
}
@@ -316,26 +316,26 @@ public final class AssistSimpleInfoOuterClass {
while (true) {
switch (tag) {
case 16: {
- // avatarId
- avatarId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 48) {
- break;
- }
- }
- case 48: {
// pos
pos = input.readUInt32();
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 96) {
+ if (tag != 24) {
break;
}
}
- case 96: {
- // level
- level = input.readUInt32();
+ case 24: {
+ // avatarId
+ avatarId = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 72) {
+ break;
+ }
+ }
+ case 72: {
+ // dressedSkinId
+ dressedSkinId = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 120) {
@@ -343,8 +343,8 @@ public final class AssistSimpleInfoOuterClass {
}
}
case 120: {
- // dressedSkinId
- dressedSkinId = input.readUInt32();
+ // level
+ level = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 0) {
@@ -369,16 +369,16 @@ public final class AssistSimpleInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.avatarId, avatarId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.pos, pos);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.avatarId, avatarId);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.level, level);
+ output.writeUInt32(FieldNames.dressedSkinId, dressedSkinId);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt32(FieldNames.dressedSkinId, dressedSkinId);
+ output.writeUInt32(FieldNames.level, level);
}
output.endObject();
}
@@ -390,11 +390,10 @@ public final class AssistSimpleInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 1787287636:
- case -428636735: {
- if (input.isAtField(FieldNames.avatarId)) {
+ case 111188: {
+ if (input.isAtField(FieldNames.pos)) {
if (!input.trySkipNullValue()) {
- avatarId = input.readUInt32();
+ pos = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -402,10 +401,11 @@ public final class AssistSimpleInfoOuterClass {
}
break;
}
- case 111188: {
- if (input.isAtField(FieldNames.pos)) {
+ case 1787287636:
+ case -428636735: {
+ if (input.isAtField(FieldNames.avatarId)) {
if (!input.trySkipNullValue()) {
- pos = input.readUInt32();
+ avatarId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -413,22 +413,22 @@ public final class AssistSimpleInfoOuterClass {
}
break;
}
- case 102865796: {
- if (input.isAtField(FieldNames.level)) {
- if (!input.trySkipNullValue()) {
- level = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
case -407000018:
case 2012697844: {
if (input.isAtField(FieldNames.dressedSkinId)) {
if (!input.trySkipNullValue()) {
dressedSkinId = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 102865796: {
+ if (input.isAtField(FieldNames.level)) {
+ if (!input.trySkipNullValue()) {
+ level = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -489,13 +489,13 @@ public final class AssistSimpleInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName avatarId = FieldName.forField("avatarId", "avatar_id");
-
static final FieldName pos = FieldName.forField("pos");
- static final FieldName level = FieldName.forField("level");
+ static final FieldName avatarId = FieldName.forField("avatarId", "avatar_id");
static final FieldName dressedSkinId = FieldName.forField("dressedSkinId", "dressed_skin_id");
+
+ static final FieldName level = FieldName.forField("level");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/AvatarExpUpCsReqOuterClass.java b/src/generated/main/emu/lunarcore/proto/AvatarExpUpCsReqOuterClass.java
index 20712dc..cf4e68f 100644
--- a/src/generated/main/emu/lunarcore/proto/AvatarExpUpCsReqOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/AvatarExpUpCsReqOuterClass.java
@@ -19,12 +19,12 @@ public final class AvatarExpUpCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 base_avatar_id = 1;
+ * optional uint32 base_avatar_id = 3;
*/
private int baseAvatarId;
/**
- * optional .ItemCostList item_cost_list = 4;
+ * optional .ItemCostList item_cost_list = 9;
*/
private final ItemCostListOuterClass.ItemCostList itemCostList = ItemCostListOuterClass.ItemCostList.newInstance();
@@ -39,7 +39,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
- * optional uint32 base_avatar_id = 1;
+ * optional uint32 base_avatar_id = 3;
* @return whether the baseAvatarId field is set
*/
public boolean hasBaseAvatarId() {
@@ -47,7 +47,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
- * optional uint32 base_avatar_id = 1;
+ * optional uint32 base_avatar_id = 3;
* @return this
*/
public AvatarExpUpCsReq clearBaseAvatarId() {
@@ -57,7 +57,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
- * optional uint32 base_avatar_id = 1;
+ * optional uint32 base_avatar_id = 3;
* @return the baseAvatarId
*/
public int getBaseAvatarId() {
@@ -65,7 +65,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
- * optional uint32 base_avatar_id = 1;
+ * optional uint32 base_avatar_id = 3;
* @param value the baseAvatarId to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
- * optional .ItemCostList item_cost_list = 4;
+ * optional .ItemCostList item_cost_list = 9;
* @return whether the itemCostList field is set
*/
public boolean hasItemCostList() {
@@ -84,7 +84,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
- * optional .ItemCostList item_cost_list = 4;
+ * optional .ItemCostList item_cost_list = 9;
* @return this
*/
public AvatarExpUpCsReq clearItemCostList() {
@@ -94,7 +94,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
- * optional .ItemCostList item_cost_list = 4;
+ * optional .ItemCostList item_cost_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.
@@ -108,7 +108,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
- * optional .ItemCostList item_cost_list = 4;
+ * optional .ItemCostList item_cost_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
@@ -122,7 +122,7 @@ public final class AvatarExpUpCsReqOuterClass {
}
/**
- * optional .ItemCostList item_cost_list = 4;
+ * optional .ItemCostList item_cost_list = 9;
* @param value the itemCostList to set
* @return this
*/
@@ -198,11 +198,11 @@ public final class AvatarExpUpCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
+ output.writeRawByte((byte) 24);
output.writeUInt32NoTag(baseAvatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 34);
+ output.writeRawByte((byte) 74);
output.writeMessageNoTag(itemCostList);
}
}
@@ -226,16 +226,16 @@ public final class AvatarExpUpCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 8: {
+ case 24: {
// baseAvatarId
baseAvatarId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 34) {
+ if (tag != 74) {
break;
}
}
- case 34: {
+ case 74: {
// itemCostList
input.readMessage(itemCostList);
bitField0_ |= 0x00000002;
diff --git a/src/generated/main/emu/lunarcore/proto/AvatarExpUpScRspOuterClass.java b/src/generated/main/emu/lunarcore/proto/AvatarExpUpScRspOuterClass.java
index 4a86c20..d21ee12 100644
--- a/src/generated/main/emu/lunarcore/proto/AvatarExpUpScRspOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/AvatarExpUpScRspOuterClass.java
@@ -20,12 +20,12 @@ public final class AvatarExpUpScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 retcode = 12;
+ * optional uint32 retcode = 14;
*/
private int retcode;
/**
- * repeated .PileItem return_item_list = 11;
+ * repeated .PileItem return_item_list = 6;
*/
private final RepeatedMessageoptional uint32 retcode = 12;
+ * optional uint32 retcode = 14;
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -48,7 +48,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
- * optional uint32 retcode = 12;
+ * optional uint32 retcode = 14;
* @return this
*/
public AvatarExpUpScRsp clearRetcode() {
@@ -58,7 +58,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
- * optional uint32 retcode = 12;
+ * optional uint32 retcode = 14;
* @return the retcode
*/
public int getRetcode() {
@@ -66,7 +66,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
- * optional uint32 retcode = 12;
+ * optional uint32 retcode = 14;
* @param value the retcode to set
* @return this
*/
@@ -77,7 +77,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
- * repeated .PileItem return_item_list = 11;
+ * repeated .PileItem return_item_list = 6;
* @return whether the returnItemList field is set
*/
public boolean hasReturnItemList() {
@@ -85,7 +85,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
- * repeated .PileItem return_item_list = 11;
+ * repeated .PileItem return_item_list = 6;
* @return this
*/
public AvatarExpUpScRsp clearReturnItemList() {
@@ -95,7 +95,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
- * repeated .PileItem return_item_list = 11;
+ * repeated .PileItem return_item_list = 6;
*
* 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.
@@ -109,7 +109,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
- * repeated .PileItem return_item_list = 11;
+ * repeated .PileItem return_item_list = 6;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -123,7 +123,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
- * repeated .PileItem return_item_list = 11;
+ * repeated .PileItem return_item_list = 6;
* @param value the returnItemList to add
* @return this
*/
@@ -134,7 +134,7 @@ public final class AvatarExpUpScRspOuterClass {
}
/**
- * repeated .PileItem return_item_list = 11;
+ * repeated .PileItem return_item_list = 6;
* @param values the returnItemList to add
* @return this
*/
@@ -210,12 +210,12 @@ public final class AvatarExpUpScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 96);
+ output.writeRawByte((byte) 112);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
for (int i = 0; i < returnItemList.length(); i++) {
- output.writeRawByte((byte) 90);
+ output.writeRawByte((byte) 50);
output.writeMessageNoTag(returnItemList.get(i));
}
}
@@ -240,16 +240,16 @@ public final class AvatarExpUpScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 96: {
+ case 112: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 90) {
+ if (tag != 50) {
break;
}
}
- case 90: {
+ case 50: {
// returnItemList
tag = input.readRepeatedMessage(returnItemList, tag);
bitField0_ |= 0x00000002;
diff --git a/src/generated/main/emu/lunarcore/proto/AvatarOuterClass.java b/src/generated/main/emu/lunarcore/proto/AvatarOuterClass.java
index 27c36dc..05465f5 100644
--- a/src/generated/main/emu/lunarcore/proto/AvatarOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/AvatarOuterClass.java
@@ -11,7 +11,6 @@ import us.hebi.quickbuf.ProtoMessage;
import us.hebi.quickbuf.ProtoSink;
import us.hebi.quickbuf.ProtoSource;
import us.hebi.quickbuf.RepeatedInt;
-import us.hebi.quickbuf.RepeatedMessage;
public final class AvatarOuterClass {
/**
@@ -21,65 +20,45 @@ public final class AvatarOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint64 first_met_timestamp = 4;
+ * optional uint64 first_met_timestamp = 2;
*/
private long firstMetTimestamp;
/**
- * optional uint32 level = 1;
- */
- private int level;
-
- /**
- * optional uint32 equipment_unique_id = 3;
- */
- private int equipmentUniqueId;
-
- /**
- * optional uint32 dressed_skin_id = 8;
- */
- private int dressedSkinId;
-
- /**
- * optional uint32 promotion = 9;
+ * optional uint32 promotion = 3;
*/
private int promotion;
/**
- * optional uint32 exp = 10;
+ * optional uint32 level = 8;
*/
- private int exp;
+ private int level;
/**
- * optional uint32 rank = 13;
- */
- private int rank;
-
- /**
- * optional uint32 base_avatar_id = 15;
+ * optional uint32 base_avatar_id = 9;
*/
private int baseAvatarId;
/**
- * optional bool is_marked = 6;
+ * optional uint32 changed_avatar_type = 13;
+ */
+ private int changedAvatarType;
+
+ /**
+ * optional uint32 exp = 14;
+ */
+ private int exp;
+
+ /**
+ * optional bool is_marked = 5;
*/
private boolean isMarked;
/**
- * repeated uint32 taken_rewards = 11;
+ * repeated uint32 taken_rewards = 12;
*/
private final RepeatedInt takenRewards = RepeatedInt.newEmptyInstance();
- /**
- * repeated .EquipRelic equip_relic_list = 2;
- */
- private final RepeatedMessagerepeated .AvatarSkillTree skilltree_list = 14;
- */
- private final RepeatedMessageoptional uint64 first_met_timestamp = 4;
+ * optional uint64 first_met_timestamp = 2;
* @return whether the firstMetTimestamp field is set
*/
public boolean hasFirstMetTimestamp() {
@@ -99,7 +78,7 @@ public final class AvatarOuterClass {
}
/**
- * optional uint64 first_met_timestamp = 4;
+ * optional uint64 first_met_timestamp = 2;
* @return this
*/
public Avatar clearFirstMetTimestamp() {
@@ -109,7 +88,7 @@ public final class AvatarOuterClass {
}
/**
- * optional uint64 first_met_timestamp = 4;
+ * optional uint64 first_met_timestamp = 2;
* @return the firstMetTimestamp
*/
public long getFirstMetTimestamp() {
@@ -117,7 +96,7 @@ public final class AvatarOuterClass {
}
/**
- * optional uint64 first_met_timestamp = 4;
+ * optional uint64 first_met_timestamp = 2;
* @param value the firstMetTimestamp to set
* @return this
*/
@@ -128,136 +107,25 @@ public final class AvatarOuterClass {
}
/**
- * optional uint32 level = 1;
- * @return whether the level field is set
+ * optional uint32 promotion = 3;
+ * @return whether the promotion field is set
*/
- public boolean hasLevel() {
+ public boolean hasPromotion() {
return (bitField0_ & 0x00000002) != 0;
}
/**
- * optional uint32 level = 1;
- * @return this
- */
- public Avatar clearLevel() {
- bitField0_ &= ~0x00000002;
- level = 0;
- return this;
- }
-
- /**
- * optional uint32 level = 1;
- * @return the level
- */
- public int getLevel() {
- return level;
- }
-
- /**
- * optional uint32 level = 1;
- * @param value the level to set
- * @return this
- */
- public Avatar setLevel(final int value) {
- bitField0_ |= 0x00000002;
- level = value;
- return this;
- }
-
- /**
- * optional uint32 equipment_unique_id = 3;
- * @return whether the equipmentUniqueId field is set
- */
- public boolean hasEquipmentUniqueId() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 equipment_unique_id = 3;
- * @return this
- */
- public Avatar clearEquipmentUniqueId() {
- bitField0_ &= ~0x00000004;
- equipmentUniqueId = 0;
- return this;
- }
-
- /**
- * optional uint32 equipment_unique_id = 3;
- * @return the equipmentUniqueId
- */
- public int getEquipmentUniqueId() {
- return equipmentUniqueId;
- }
-
- /**
- * optional uint32 equipment_unique_id = 3;
- * @param value the equipmentUniqueId to set
- * @return this
- */
- public Avatar setEquipmentUniqueId(final int value) {
- bitField0_ |= 0x00000004;
- equipmentUniqueId = value;
- return this;
- }
-
- /**
- * optional uint32 dressed_skin_id = 8;
- * @return whether the dressedSkinId field is set
- */
- public boolean hasDressedSkinId() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional uint32 dressed_skin_id = 8;
- * @return this
- */
- public Avatar clearDressedSkinId() {
- bitField0_ &= ~0x00000008;
- dressedSkinId = 0;
- return this;
- }
-
- /**
- * optional uint32 dressed_skin_id = 8;
- * @return the dressedSkinId
- */
- public int getDressedSkinId() {
- return dressedSkinId;
- }
-
- /**
- * optional uint32 dressed_skin_id = 8;
- * @param value the dressedSkinId to set
- * @return this
- */
- public Avatar setDressedSkinId(final int value) {
- bitField0_ |= 0x00000008;
- dressedSkinId = value;
- return this;
- }
-
- /**
- * optional uint32 promotion = 9;
- * @return whether the promotion field is set
- */
- public boolean hasPromotion() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * optional uint32 promotion = 9;
+ * optional uint32 promotion = 3;
* @return this
*/
public Avatar clearPromotion() {
- bitField0_ &= ~0x00000010;
+ bitField0_ &= ~0x00000002;
promotion = 0;
return this;
}
/**
- * optional uint32 promotion = 9;
+ * optional uint32 promotion = 3;
* @return the promotion
*/
public int getPromotion() {
@@ -265,18 +133,129 @@ public final class AvatarOuterClass {
}
/**
- * optional uint32 promotion = 9;
+ * optional uint32 promotion = 3;
* @param value the promotion to set
* @return this
*/
public Avatar setPromotion(final int value) {
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000002;
promotion = value;
return this;
}
/**
- * optional uint32 exp = 10;
+ * optional uint32 level = 8;
+ * @return whether the level field is set
+ */
+ public boolean hasLevel() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 level = 8;
+ * @return this
+ */
+ public Avatar clearLevel() {
+ bitField0_ &= ~0x00000004;
+ level = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 level = 8;
+ * @return the level
+ */
+ public int getLevel() {
+ return level;
+ }
+
+ /**
+ * optional uint32 level = 8;
+ * @param value the level to set
+ * @return this
+ */
+ public Avatar setLevel(final int value) {
+ bitField0_ |= 0x00000004;
+ level = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 base_avatar_id = 9;
+ * @return whether the baseAvatarId field is set
+ */
+ public boolean hasBaseAvatarId() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional uint32 base_avatar_id = 9;
+ * @return this
+ */
+ public Avatar clearBaseAvatarId() {
+ bitField0_ &= ~0x00000008;
+ baseAvatarId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 base_avatar_id = 9;
+ * @return the baseAvatarId
+ */
+ public int getBaseAvatarId() {
+ return baseAvatarId;
+ }
+
+ /**
+ * optional uint32 base_avatar_id = 9;
+ * @param value the baseAvatarId to set
+ * @return this
+ */
+ public Avatar setBaseAvatarId(final int value) {
+ bitField0_ |= 0x00000008;
+ baseAvatarId = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 changed_avatar_type = 13;
+ * @return whether the changedAvatarType field is set
+ */
+ public boolean hasChangedAvatarType() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * optional uint32 changed_avatar_type = 13;
+ * @return this
+ */
+ public Avatar clearChangedAvatarType() {
+ bitField0_ &= ~0x00000010;
+ changedAvatarType = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 changed_avatar_type = 13;
+ * @return the changedAvatarType
+ */
+ public int getChangedAvatarType() {
+ return changedAvatarType;
+ }
+
+ /**
+ * optional uint32 changed_avatar_type = 13;
+ * @param value the changedAvatarType to set
+ * @return this
+ */
+ public Avatar setChangedAvatarType(final int value) {
+ bitField0_ |= 0x00000010;
+ changedAvatarType = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 exp = 14;
* @return whether the exp field is set
*/
public boolean hasExp() {
@@ -284,7 +263,7 @@ public final class AvatarOuterClass {
}
/**
- * optional uint32 exp = 10;
+ * optional uint32 exp = 14;
* @return this
*/
public Avatar clearExp() {
@@ -294,7 +273,7 @@ public final class AvatarOuterClass {
}
/**
- * optional uint32 exp = 10;
+ * optional uint32 exp = 14;
* @return the exp
*/
public int getExp() {
@@ -302,7 +281,7 @@ public final class AvatarOuterClass {
}
/**
- * optional uint32 exp = 10;
+ * optional uint32 exp = 14;
* @param value the exp to set
* @return this
*/
@@ -313,99 +292,25 @@ public final class AvatarOuterClass {
}
/**
- * optional uint32 rank = 13;
- * @return whether the rank field is set
+ * optional bool is_marked = 5;
+ * @return whether the isMarked field is set
*/
- public boolean hasRank() {
+ public boolean hasIsMarked() {
return (bitField0_ & 0x00000040) != 0;
}
/**
- * optional uint32 rank = 13;
- * @return this
- */
- public Avatar clearRank() {
- bitField0_ &= ~0x00000040;
- rank = 0;
- return this;
- }
-
- /**
- * optional uint32 rank = 13;
- * @return the rank
- */
- public int getRank() {
- return rank;
- }
-
- /**
- * optional uint32 rank = 13;
- * @param value the rank to set
- * @return this
- */
- public Avatar setRank(final int value) {
- bitField0_ |= 0x00000040;
- rank = value;
- return this;
- }
-
- /**
- * optional uint32 base_avatar_id = 15;
- * @return whether the baseAvatarId field is set
- */
- public boolean hasBaseAvatarId() {
- return (bitField0_ & 0x00000080) != 0;
- }
-
- /**
- * optional uint32 base_avatar_id = 15;
- * @return this
- */
- public Avatar clearBaseAvatarId() {
- bitField0_ &= ~0x00000080;
- baseAvatarId = 0;
- return this;
- }
-
- /**
- * optional uint32 base_avatar_id = 15;
- * @return the baseAvatarId
- */
- public int getBaseAvatarId() {
- return baseAvatarId;
- }
-
- /**
- * optional uint32 base_avatar_id = 15;
- * @param value the baseAvatarId to set
- * @return this
- */
- public Avatar setBaseAvatarId(final int value) {
- bitField0_ |= 0x00000080;
- baseAvatarId = value;
- return this;
- }
-
- /**
- * optional bool is_marked = 6;
- * @return whether the isMarked field is set
- */
- public boolean hasIsMarked() {
- return (bitField0_ & 0x00000100) != 0;
- }
-
- /**
- * optional bool is_marked = 6;
+ * optional bool is_marked = 5;
* @return this
*/
public Avatar clearIsMarked() {
- bitField0_ &= ~0x00000100;
+ bitField0_ &= ~0x00000040;
isMarked = false;
return this;
}
/**
- * optional bool is_marked = 6;
+ * optional bool is_marked = 5;
* @return the isMarked
*/
public boolean getIsMarked() {
@@ -413,36 +318,36 @@ public final class AvatarOuterClass {
}
/**
- * optional bool is_marked = 6;
+ * optional bool is_marked = 5;
* @param value the isMarked to set
* @return this
*/
public Avatar setIsMarked(final boolean value) {
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000040;
isMarked = value;
return this;
}
/**
- * repeated uint32 taken_rewards = 11;
+ * repeated uint32 taken_rewards = 12;
* @return whether the takenRewards field is set
*/
public boolean hasTakenRewards() {
- return (bitField0_ & 0x00000200) != 0;
+ return (bitField0_ & 0x00000080) != 0;
}
/**
- * repeated uint32 taken_rewards = 11;
+ * repeated uint32 taken_rewards = 12;
* @return this
*/
public Avatar clearTakenRewards() {
- bitField0_ &= ~0x00000200;
+ bitField0_ &= ~0x00000080;
takenRewards.clear();
return this;
}
/**
- * repeated uint32 taken_rewards = 11;
+ * repeated uint32 taken_rewards = 12;
*
* 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.
@@ -456,7 +361,7 @@ public final class AvatarOuterClass {
}
/**
- * repeated uint32 taken_rewards = 11;
+ * repeated uint32 taken_rewards = 12;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -465,185 +370,45 @@ public final class AvatarOuterClass {
* @return internal storage object for modifications
*/
public RepeatedInt getMutableTakenRewards() {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000080;
return takenRewards;
}
/**
- * repeated uint32 taken_rewards = 11;
+ * repeated uint32 taken_rewards = 12;
* @param value the takenRewards to add
* @return this
*/
public Avatar addTakenRewards(final int value) {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000080;
takenRewards.add(value);
return this;
}
/**
- * repeated uint32 taken_rewards = 11;
+ * repeated uint32 taken_rewards = 12;
* @param values the takenRewards to add
* @return this
*/
public Avatar addAllTakenRewards(final int... values) {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000080;
takenRewards.addAll(values);
return this;
}
- /**
- * repeated .EquipRelic equip_relic_list = 2;
- * @return whether the equipRelicList field is set
- */
- public boolean hasEquipRelicList() {
- return (bitField0_ & 0x00000400) != 0;
- }
-
- /**
- * repeated .EquipRelic equip_relic_list = 2;
- * @return this
- */
- public Avatar clearEquipRelicList() {
- bitField0_ &= ~0x00000400;
- equipRelicList.clear();
- return this;
- }
-
- /**
- * repeated .EquipRelic equip_relic_list = 2;
- *
- * 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.
- *
- * Use {@link #getMutableEquipRelicList()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessagerepeated .EquipRelic equip_relic_list = 2;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessagerepeated .EquipRelic equip_relic_list = 2;
- * @param value the equipRelicList to add
- * @return this
- */
- public Avatar addEquipRelicList(final EquipRelicOuterClass.EquipRelic value) {
- bitField0_ |= 0x00000400;
- equipRelicList.add(value);
- return this;
- }
-
- /**
- * repeated .EquipRelic equip_relic_list = 2;
- * @param values the equipRelicList to add
- * @return this
- */
- public Avatar addAllEquipRelicList(final EquipRelicOuterClass.EquipRelic... values) {
- bitField0_ |= 0x00000400;
- equipRelicList.addAll(values);
- return this;
- }
-
- /**
- * repeated .AvatarSkillTree skilltree_list = 14;
- * @return whether the skilltreeList field is set
- */
- public boolean hasSkilltreeList() {
- return (bitField0_ & 0x00000800) != 0;
- }
-
- /**
- * repeated .AvatarSkillTree skilltree_list = 14;
- * @return this
- */
- public Avatar clearSkilltreeList() {
- bitField0_ &= ~0x00000800;
- skilltreeList.clear();
- return this;
- }
-
- /**
- * repeated .AvatarSkillTree skilltree_list = 14;
- *
- * 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.
- *
- * Use {@link #getMutableSkilltreeList()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessagerepeated .AvatarSkillTree skilltree_list = 14;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessagerepeated .AvatarSkillTree skilltree_list = 14;
- * @param value the skilltreeList to add
- * @return this
- */
- public Avatar addSkilltreeList(final AvatarSkillTreeOuterClass.AvatarSkillTree value) {
- bitField0_ |= 0x00000800;
- skilltreeList.add(value);
- return this;
- }
-
- /**
- * repeated .AvatarSkillTree skilltree_list = 14;
- * @param values the skilltreeList to add
- * @return this
- */
- public Avatar addAllSkilltreeList(final AvatarSkillTreeOuterClass.AvatarSkillTree... values) {
- bitField0_ |= 0x00000800;
- skilltreeList.addAll(values);
- return this;
- }
-
@Override
public Avatar copyFrom(final Avatar other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
firstMetTimestamp = other.firstMetTimestamp;
- level = other.level;
- equipmentUniqueId = other.equipmentUniqueId;
- dressedSkinId = other.dressedSkinId;
promotion = other.promotion;
- exp = other.exp;
- rank = other.rank;
+ level = other.level;
baseAvatarId = other.baseAvatarId;
+ changedAvatarType = other.changedAvatarType;
+ exp = other.exp;
isMarked = other.isMarked;
takenRewards.copyFrom(other.takenRewards);
- equipRelicList.copyFrom(other.equipRelicList);
- skilltreeList.copyFrom(other.skilltreeList);
}
return this;
}
@@ -657,39 +422,27 @@ public final class AvatarOuterClass {
if (other.hasFirstMetTimestamp()) {
setFirstMetTimestamp(other.firstMetTimestamp);
}
- if (other.hasLevel()) {
- setLevel(other.level);
- }
- if (other.hasEquipmentUniqueId()) {
- setEquipmentUniqueId(other.equipmentUniqueId);
- }
- if (other.hasDressedSkinId()) {
- setDressedSkinId(other.dressedSkinId);
- }
if (other.hasPromotion()) {
setPromotion(other.promotion);
}
- if (other.hasExp()) {
- setExp(other.exp);
- }
- if (other.hasRank()) {
- setRank(other.rank);
+ if (other.hasLevel()) {
+ setLevel(other.level);
}
if (other.hasBaseAvatarId()) {
setBaseAvatarId(other.baseAvatarId);
}
+ if (other.hasChangedAvatarType()) {
+ setChangedAvatarType(other.changedAvatarType);
+ }
+ if (other.hasExp()) {
+ setExp(other.exp);
+ }
if (other.hasIsMarked()) {
setIsMarked(other.isMarked);
}
if (other.hasTakenRewards()) {
getMutableTakenRewards().addAll(other.takenRewards);
}
- if (other.hasEquipRelicList()) {
- getMutableEquipRelicList().addAll(other.equipRelicList);
- }
- if (other.hasSkilltreeList()) {
- getMutableSkilltreeList().addAll(other.skilltreeList);
- }
return this;
}
@@ -701,17 +454,13 @@ public final class AvatarOuterClass {
cachedSize = -1;
bitField0_ = 0;
firstMetTimestamp = 0L;
- level = 0;
- equipmentUniqueId = 0;
- dressedSkinId = 0;
promotion = 0;
- exp = 0;
- rank = 0;
+ level = 0;
baseAvatarId = 0;
+ changedAvatarType = 0;
+ exp = 0;
isMarked = false;
takenRewards.clear();
- equipRelicList.clear();
- skilltreeList.clear();
return this;
}
@@ -723,8 +472,6 @@ public final class AvatarOuterClass {
cachedSize = -1;
bitField0_ = 0;
takenRewards.clear();
- equipRelicList.clearQuick();
- skilltreeList.clearQuick();
return this;
}
@@ -739,75 +486,51 @@ public final class AvatarOuterClass {
Avatar other = (Avatar) o;
return bitField0_ == other.bitField0_
&& (!hasFirstMetTimestamp() || firstMetTimestamp == other.firstMetTimestamp)
- && (!hasLevel() || level == other.level)
- && (!hasEquipmentUniqueId() || equipmentUniqueId == other.equipmentUniqueId)
- && (!hasDressedSkinId() || dressedSkinId == other.dressedSkinId)
&& (!hasPromotion() || promotion == other.promotion)
- && (!hasExp() || exp == other.exp)
- && (!hasRank() || rank == other.rank)
+ && (!hasLevel() || level == other.level)
&& (!hasBaseAvatarId() || baseAvatarId == other.baseAvatarId)
+ && (!hasChangedAvatarType() || changedAvatarType == other.changedAvatarType)
+ && (!hasExp() || exp == other.exp)
&& (!hasIsMarked() || isMarked == other.isMarked)
- && (!hasTakenRewards() || takenRewards.equals(other.takenRewards))
- && (!hasEquipRelicList() || equipRelicList.equals(other.equipRelicList))
- && (!hasSkilltreeList() || skilltreeList.equals(other.skilltreeList));
+ && (!hasTakenRewards() || takenRewards.equals(other.takenRewards));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 32);
+ output.writeRawByte((byte) 16);
output.writeUInt64NoTag(firstMetTimestamp);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(level);
- }
- if ((bitField0_ & 0x00000004) != 0) {
output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(equipmentUniqueId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt32NoTag(dressedSkinId);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 72);
output.writeUInt32NoTag(promotion);
}
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 64);
+ output.writeUInt32NoTag(level);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 72);
+ output.writeUInt32NoTag(baseAvatarId);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeRawByte((byte) 104);
+ output.writeUInt32NoTag(changedAvatarType);
+ }
if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 80);
+ output.writeRawByte((byte) 112);
output.writeUInt32NoTag(exp);
}
if ((bitField0_ & 0x00000040) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(rank);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeRawByte((byte) 120);
- output.writeUInt32NoTag(baseAvatarId);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- output.writeRawByte((byte) 48);
+ output.writeRawByte((byte) 40);
output.writeBoolNoTag(isMarked);
}
- if ((bitField0_ & 0x00000200) != 0) {
+ if ((bitField0_ & 0x00000080) != 0) {
for (int i = 0; i < takenRewards.length(); i++) {
- output.writeRawByte((byte) 88);
+ output.writeRawByte((byte) 96);
output.writeUInt32NoTag(takenRewards.array()[i]);
}
}
- if ((bitField0_ & 0x00000400) != 0) {
- for (int i = 0; i < equipRelicList.length(); i++) {
- output.writeRawByte((byte) 18);
- output.writeMessageNoTag(equipRelicList.get(i));
- }
- }
- if ((bitField0_ & 0x00000800) != 0) {
- for (int i = 0; i < skilltreeList.length(); i++) {
- output.writeRawByte((byte) 114);
- output.writeMessageNoTag(skilltreeList.get(i));
- }
- }
}
@Override
@@ -817,38 +540,26 @@ public final class AvatarOuterClass {
size += 1 + ProtoSink.computeUInt64SizeNoTag(firstMetTimestamp);
}
if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(promotion);
}
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(equipmentUniqueId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(dressedSkinId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(baseAvatarId);
}
if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(promotion);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(changedAvatarType);
}
if ((bitField0_ & 0x00000020) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(exp);
}
if ((bitField0_ & 0x00000040) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(rank);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(baseAvatarId);
- }
- if ((bitField0_ & 0x00000100) != 0) {
size += 2;
}
- if ((bitField0_ & 0x00000200) != 0) {
+ if ((bitField0_ & 0x00000080) != 0) {
size += (1 * takenRewards.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(takenRewards);
}
- if ((bitField0_ & 0x00000400) != 0) {
- size += (1 * equipRelicList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(equipRelicList);
- }
- if ((bitField0_ & 0x00000800) != 0) {
- size += (1 * skilltreeList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(skilltreeList);
- }
return size;
}
@@ -859,108 +570,74 @@ public final class AvatarOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 32: {
+ case 16: {
// firstMetTimestamp
firstMetTimestamp = input.readUInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 8) {
- break;
- }
- }
- case 8: {
- // level
- level = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
if (tag != 24) {
break;
}
}
case 24: {
- // equipmentUniqueId
- equipmentUniqueId = input.readUInt32();
- bitField0_ |= 0x00000004;
+ // promotion
+ promotion = input.readUInt32();
+ bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 64) {
break;
}
}
case 64: {
- // dressedSkinId
- dressedSkinId = input.readUInt32();
- bitField0_ |= 0x00000008;
+ // level
+ level = input.readUInt32();
+ bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
- // promotion
- promotion = input.readUInt32();
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 80) {
- break;
- }
- }
- case 80: {
- // exp
- exp = input.readUInt32();
- bitField0_ |= 0x00000020;
+ // baseAvatarId
+ baseAvatarId = input.readUInt32();
+ bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
- // rank
- rank = input.readUInt32();
- bitField0_ |= 0x00000040;
+ // changedAvatarType
+ changedAvatarType = input.readUInt32();
+ bitField0_ |= 0x00000010;
tag = input.readTag();
- if (tag != 120) {
+ if (tag != 112) {
break;
}
}
- case 120: {
- // baseAvatarId
- baseAvatarId = input.readUInt32();
- bitField0_ |= 0x00000080;
+ case 112: {
+ // exp
+ exp = input.readUInt32();
+ bitField0_ |= 0x00000020;
tag = input.readTag();
- if (tag != 48) {
+ if (tag != 40) {
break;
}
}
- case 48: {
+ case 40: {
// isMarked
isMarked = input.readBool();
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000040;
tag = input.readTag();
- if (tag != 90) {
+ if (tag != 98) {
break;
}
}
- case 90: {
+ case 98: {
// takenRewards [packed=true]
input.readPackedUInt32(takenRewards, tag);
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000080;
tag = input.readTag();
- if (tag != 18) {
- break;
- }
- }
- case 18: {
- // equipRelicList
- tag = input.readRepeatedMessage(equipRelicList, tag);
- bitField0_ |= 0x00000400;
- if (tag != 114) {
- break;
- }
- }
- case 114: {
- // skilltreeList
- tag = input.readRepeatedMessage(skilltreeList, tag);
- bitField0_ |= 0x00000800;
if (tag != 0) {
break;
}
@@ -975,10 +652,10 @@ public final class AvatarOuterClass {
tag = input.readTag();
break;
}
- case 88: {
+ case 96: {
// takenRewards [packed=false]
tag = input.readRepeatedUInt32(takenRewards, tag);
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000080;
break;
}
}
@@ -992,38 +669,26 @@ public final class AvatarOuterClass {
output.writeUInt64(FieldNames.firstMetTimestamp, firstMetTimestamp);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.level, level);
+ output.writeUInt32(FieldNames.promotion, promotion);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.equipmentUniqueId, equipmentUniqueId);
+ output.writeUInt32(FieldNames.level, level);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt32(FieldNames.dressedSkinId, dressedSkinId);
+ output.writeUInt32(FieldNames.baseAvatarId, baseAvatarId);
}
if ((bitField0_ & 0x00000010) != 0) {
- output.writeUInt32(FieldNames.promotion, promotion);
+ output.writeUInt32(FieldNames.changedAvatarType, changedAvatarType);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeUInt32(FieldNames.exp, exp);
}
if ((bitField0_ & 0x00000040) != 0) {
- output.writeUInt32(FieldNames.rank, rank);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeUInt32(FieldNames.baseAvatarId, baseAvatarId);
- }
- if ((bitField0_ & 0x00000100) != 0) {
output.writeBool(FieldNames.isMarked, isMarked);
}
- if ((bitField0_ & 0x00000200) != 0) {
+ if ((bitField0_ & 0x00000080) != 0) {
output.writeRepeatedUInt32(FieldNames.takenRewards, takenRewards);
}
- if ((bitField0_ & 0x00000400) != 0) {
- output.writeRepeatedMessage(FieldNames.equipRelicList, equipRelicList);
- }
- if ((bitField0_ & 0x00000800) != 0) {
- output.writeRepeatedMessage(FieldNames.skilltreeList, skilltreeList);
- }
output.endObject();
}
@@ -1046,10 +711,10 @@ public final class AvatarOuterClass {
}
break;
}
- case 102865796: {
- if (input.isAtField(FieldNames.level)) {
+ case -799212381: {
+ if (input.isAtField(FieldNames.promotion)) {
if (!input.trySkipNullValue()) {
- level = input.readUInt32();
+ promotion = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -1057,11 +722,10 @@ public final class AvatarOuterClass {
}
break;
}
- case -1867136902:
- case 760467160: {
- if (input.isAtField(FieldNames.equipmentUniqueId)) {
+ case 102865796: {
+ if (input.isAtField(FieldNames.level)) {
if (!input.trySkipNullValue()) {
- equipmentUniqueId = input.readUInt32();
+ level = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -1069,11 +733,11 @@ public final class AvatarOuterClass {
}
break;
}
- case -407000018:
- case 2012697844: {
- if (input.isAtField(FieldNames.dressedSkinId)) {
+ case 118022725:
+ case -1756826157: {
+ if (input.isAtField(FieldNames.baseAvatarId)) {
if (!input.trySkipNullValue()) {
- dressedSkinId = input.readUInt32();
+ baseAvatarId = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -1081,10 +745,11 @@ public final class AvatarOuterClass {
}
break;
}
- case -799212381: {
- if (input.isAtField(FieldNames.promotion)) {
+ case 1985011207:
+ case 1120127317: {
+ if (input.isAtField(FieldNames.changedAvatarType)) {
if (!input.trySkipNullValue()) {
- promotion = input.readUInt32();
+ changedAvatarType = input.readUInt32();
bitField0_ |= 0x00000010;
}
} else {
@@ -1103,35 +768,12 @@ public final class AvatarOuterClass {
}
break;
}
- case 3492908: {
- if (input.isAtField(FieldNames.rank)) {
- if (!input.trySkipNullValue()) {
- rank = input.readUInt32();
- bitField0_ |= 0x00000040;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 118022725:
- case -1756826157: {
- if (input.isAtField(FieldNames.baseAvatarId)) {
- if (!input.trySkipNullValue()) {
- baseAvatarId = input.readUInt32();
- bitField0_ |= 0x00000080;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
case -407271946:
case -617266975: {
if (input.isAtField(FieldNames.isMarked)) {
if (!input.trySkipNullValue()) {
isMarked = input.readBool();
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000040;
}
} else {
input.skipUnknownField();
@@ -1143,31 +785,7 @@ public final class AvatarOuterClass {
if (input.isAtField(FieldNames.takenRewards)) {
if (!input.trySkipNullValue()) {
input.readRepeatedUInt32(takenRewards);
- bitField0_ |= 0x00000200;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1578968161:
- case -795441831: {
- if (input.isAtField(FieldNames.equipRelicList)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(equipRelicList);
- bitField0_ |= 0x00000400;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1549763245:
- case 815647086: {
- if (input.isAtField(FieldNames.skilltreeList)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(skilltreeList);
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00000080;
}
} else {
input.skipUnknownField();
@@ -1228,27 +846,19 @@ public final class AvatarOuterClass {
static class FieldNames {
static final FieldName firstMetTimestamp = FieldName.forField("firstMetTimestamp", "first_met_timestamp");
- static final FieldName level = FieldName.forField("level");
-
- static final FieldName equipmentUniqueId = FieldName.forField("equipmentUniqueId", "equipment_unique_id");
-
- static final FieldName dressedSkinId = FieldName.forField("dressedSkinId", "dressed_skin_id");
-
static final FieldName promotion = FieldName.forField("promotion");
- static final FieldName exp = FieldName.forField("exp");
-
- static final FieldName rank = FieldName.forField("rank");
+ static final FieldName level = FieldName.forField("level");
static final FieldName baseAvatarId = FieldName.forField("baseAvatarId", "base_avatar_id");
+ static final FieldName changedAvatarType = FieldName.forField("changedAvatarType", "changed_avatar_type");
+
+ static final FieldName exp = FieldName.forField("exp");
+
static final FieldName isMarked = FieldName.forField("isMarked", "is_marked");
static final FieldName takenRewards = FieldName.forField("takenRewards", "taken_rewards");
-
- static final FieldName equipRelicList = FieldName.forField("equipRelicList", "equip_relic_list");
-
- static final FieldName skilltreeList = FieldName.forField("skilltreeList", "skilltree_list");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/AvatarPathChangedNotifyOuterClass.java b/src/generated/main/emu/lunarcore/proto/AvatarPathChangedNotifyOuterClass.java
index ce81d3b..216a319 100644
--- a/src/generated/main/emu/lunarcore/proto/AvatarPathChangedNotifyOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/AvatarPathChangedNotifyOuterClass.java
@@ -19,12 +19,12 @@ public final class AvatarPathChangedNotifyOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 base_avatar_id = 3;
+ * optional uint32 base_avatar_id = 5;
*/
private int baseAvatarId;
/**
- * optional .MultiPathAvatarType changed_avatar_type = 8;
+ * optional .MultiPathAvatarType changed_avatar_type = 7;
*/
private int changedAvatarType;
@@ -39,7 +39,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
- * optional uint32 base_avatar_id = 3;
+ * optional uint32 base_avatar_id = 5;
* @return whether the baseAvatarId field is set
*/
public boolean hasBaseAvatarId() {
@@ -47,7 +47,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
- * optional uint32 base_avatar_id = 3;
+ * optional uint32 base_avatar_id = 5;
* @return this
*/
public AvatarPathChangedNotify clearBaseAvatarId() {
@@ -57,7 +57,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
- * optional uint32 base_avatar_id = 3;
+ * optional uint32 base_avatar_id = 5;
* @return the baseAvatarId
*/
public int getBaseAvatarId() {
@@ -65,7 +65,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
- * optional uint32 base_avatar_id = 3;
+ * optional uint32 base_avatar_id = 5;
* @param value the baseAvatarId to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
- * optional .MultiPathAvatarType changed_avatar_type = 8;
+ * optional .MultiPathAvatarType changed_avatar_type = 7;
* @return whether the changedAvatarType field is set
*/
public boolean hasChangedAvatarType() {
@@ -84,7 +84,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
- * optional .MultiPathAvatarType changed_avatar_type = 8;
+ * optional .MultiPathAvatarType changed_avatar_type = 7;
* @return this
*/
public AvatarPathChangedNotify clearChangedAvatarType() {
@@ -94,7 +94,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
- * optional .MultiPathAvatarType changed_avatar_type = 8;
+ * optional .MultiPathAvatarType changed_avatar_type = 7;
* @return the changedAvatarType
*/
public MultiPathAvatarTypeOuterClass.MultiPathAvatarType getChangedAvatarType() {
@@ -127,7 +127,7 @@ public final class AvatarPathChangedNotifyOuterClass {
}
/**
- * optional .MultiPathAvatarType changed_avatar_type = 8;
+ * optional .MultiPathAvatarType changed_avatar_type = 7;
* @param value the changedAvatarType to set
* @return this
*/
@@ -203,11 +203,11 @@ public final class AvatarPathChangedNotifyOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 24);
+ output.writeRawByte((byte) 40);
output.writeUInt32NoTag(baseAvatarId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 64);
+ output.writeRawByte((byte) 56);
output.writeEnumNoTag(changedAvatarType);
}
}
@@ -231,16 +231,16 @@ public final class AvatarPathChangedNotifyOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 24: {
+ case 40: {
// baseAvatarId
baseAvatarId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 64) {
+ if (tag != 56) {
break;
}
}
- case 64: {
+ case 56: {
// changedAvatarType
final int value = input.readInt32();
if (MultiPathAvatarTypeOuterClass.MultiPathAvatarType.forNumber(value) != null) {
diff --git a/src/generated/main/emu/lunarcore/proto/AvatarPathInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/AvatarPathInfoOuterClass.java
new file mode 100644
index 0000000..3f182c5
--- /dev/null
+++ b/src/generated/main/emu/lunarcore/proto/AvatarPathInfoOuterClass.java
@@ -0,0 +1,896 @@
+// Code generated by protocol buffer compiler. Do not edit!
+package emu.lunarcore.proto;
+
+import java.io.IOException;
+import us.hebi.quickbuf.FieldName;
+import us.hebi.quickbuf.InvalidProtocolBufferException;
+import us.hebi.quickbuf.JsonSink;
+import us.hebi.quickbuf.JsonSource;
+import us.hebi.quickbuf.MessageFactory;
+import us.hebi.quickbuf.ProtoMessage;
+import us.hebi.quickbuf.ProtoSink;
+import us.hebi.quickbuf.ProtoSource;
+import us.hebi.quickbuf.RepeatedMessage;
+
+public final class AvatarPathInfoOuterClass {
+ /**
+ * Protobuf type {@code AvatarPathInfo}
+ */
+ public static final class AvatarPathInfo extends ProtoMessageoptional uint64 first_met_timestamp = 12;
+ */
+ private long firstMetTimestamp;
+
+ /**
+ * optional uint32 avatar_skin = 8;
+ */
+ private int avatarSkin;
+
+ /**
+ * optional uint32 avatar_id = 10;
+ */
+ private int avatarId;
+
+ /**
+ * optional uint32 rank = 11;
+ */
+ private int rank;
+
+ /**
+ * optional uint32 path_equipment_id = 13;
+ */
+ private int pathEquipmentId;
+
+ /**
+ * optional uint32 enhance_id = 14;
+ */
+ private int enhanceId;
+
+ /**
+ * repeated .AvatarPathSkillTree skilltree_list = 1;
+ */
+ private final RepeatedMessagerepeated .EquipRelic equip_relic_list = 9;
+ */
+ private final RepeatedMessageoptional uint64 first_met_timestamp = 12;
+ * @return whether the firstMetTimestamp field is set
+ */
+ public boolean hasFirstMetTimestamp() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint64 first_met_timestamp = 12;
+ * @return this
+ */
+ public AvatarPathInfo clearFirstMetTimestamp() {
+ bitField0_ &= ~0x00000001;
+ firstMetTimestamp = 0L;
+ return this;
+ }
+
+ /**
+ * optional uint64 first_met_timestamp = 12;
+ * @return the firstMetTimestamp
+ */
+ public long getFirstMetTimestamp() {
+ return firstMetTimestamp;
+ }
+
+ /**
+ * optional uint64 first_met_timestamp = 12;
+ * @param value the firstMetTimestamp to set
+ * @return this
+ */
+ public AvatarPathInfo setFirstMetTimestamp(final long value) {
+ bitField0_ |= 0x00000001;
+ firstMetTimestamp = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 avatar_skin = 8;
+ * @return whether the avatarSkin field is set
+ */
+ public boolean hasAvatarSkin() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 avatar_skin = 8;
+ * @return this
+ */
+ public AvatarPathInfo clearAvatarSkin() {
+ bitField0_ &= ~0x00000002;
+ avatarSkin = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 avatar_skin = 8;
+ * @return the avatarSkin
+ */
+ public int getAvatarSkin() {
+ return avatarSkin;
+ }
+
+ /**
+ * optional uint32 avatar_skin = 8;
+ * @param value the avatarSkin to set
+ * @return this
+ */
+ public AvatarPathInfo setAvatarSkin(final int value) {
+ bitField0_ |= 0x00000002;
+ avatarSkin = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 avatar_id = 10;
+ * @return whether the avatarId field is set
+ */
+ public boolean hasAvatarId() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 avatar_id = 10;
+ * @return this
+ */
+ public AvatarPathInfo clearAvatarId() {
+ bitField0_ &= ~0x00000004;
+ avatarId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 avatar_id = 10;
+ * @return the avatarId
+ */
+ public int getAvatarId() {
+ return avatarId;
+ }
+
+ /**
+ * optional uint32 avatar_id = 10;
+ * @param value the avatarId to set
+ * @return this
+ */
+ public AvatarPathInfo setAvatarId(final int value) {
+ bitField0_ |= 0x00000004;
+ avatarId = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 rank = 11;
+ * @return whether the rank field is set
+ */
+ public boolean hasRank() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional uint32 rank = 11;
+ * @return this
+ */
+ public AvatarPathInfo clearRank() {
+ bitField0_ &= ~0x00000008;
+ rank = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 rank = 11;
+ * @return the rank
+ */
+ public int getRank() {
+ return rank;
+ }
+
+ /**
+ * optional uint32 rank = 11;
+ * @param value the rank to set
+ * @return this
+ */
+ public AvatarPathInfo setRank(final int value) {
+ bitField0_ |= 0x00000008;
+ rank = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 path_equipment_id = 13;
+ * @return whether the pathEquipmentId field is set
+ */
+ public boolean hasPathEquipmentId() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * optional uint32 path_equipment_id = 13;
+ * @return this
+ */
+ public AvatarPathInfo clearPathEquipmentId() {
+ bitField0_ &= ~0x00000010;
+ pathEquipmentId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 path_equipment_id = 13;
+ * @return the pathEquipmentId
+ */
+ public int getPathEquipmentId() {
+ return pathEquipmentId;
+ }
+
+ /**
+ * optional uint32 path_equipment_id = 13;
+ * @param value the pathEquipmentId to set
+ * @return this
+ */
+ public AvatarPathInfo setPathEquipmentId(final int value) {
+ bitField0_ |= 0x00000010;
+ pathEquipmentId = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 enhance_id = 14;
+ * @return whether the enhanceId field is set
+ */
+ public boolean hasEnhanceId() {
+ return (bitField0_ & 0x00000020) != 0;
+ }
+
+ /**
+ * optional uint32 enhance_id = 14;
+ * @return this
+ */
+ public AvatarPathInfo clearEnhanceId() {
+ bitField0_ &= ~0x00000020;
+ enhanceId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 enhance_id = 14;
+ * @return the enhanceId
+ */
+ public int getEnhanceId() {
+ return enhanceId;
+ }
+
+ /**
+ * optional uint32 enhance_id = 14;
+ * @param value the enhanceId to set
+ * @return this
+ */
+ public AvatarPathInfo setEnhanceId(final int value) {
+ bitField0_ |= 0x00000020;
+ enhanceId = value;
+ return this;
+ }
+
+ /**
+ * repeated .AvatarPathSkillTree skilltree_list = 1;
+ * @return whether the skilltreeList field is set
+ */
+ public boolean hasSkilltreeList() {
+ return (bitField0_ & 0x00000040) != 0;
+ }
+
+ /**
+ * repeated .AvatarPathSkillTree skilltree_list = 1;
+ * @return this
+ */
+ public AvatarPathInfo clearSkilltreeList() {
+ bitField0_ &= ~0x00000040;
+ skilltreeList.clear();
+ return this;
+ }
+
+ /**
+ * repeated .AvatarPathSkillTree skilltree_list = 1;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableSkilltreeList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedMessagerepeated .AvatarPathSkillTree skilltree_list = 1;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedMessagerepeated .AvatarPathSkillTree skilltree_list = 1;
+ * @param value the skilltreeList to add
+ * @return this
+ */
+ public AvatarPathInfo addSkilltreeList(
+ final AvatarPathSkillTreeOuterClass.AvatarPathSkillTree value) {
+ bitField0_ |= 0x00000040;
+ skilltreeList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated .AvatarPathSkillTree skilltree_list = 1;
+ * @param values the skilltreeList to add
+ * @return this
+ */
+ public AvatarPathInfo addAllSkilltreeList(
+ final AvatarPathSkillTreeOuterClass.AvatarPathSkillTree... values) {
+ bitField0_ |= 0x00000040;
+ skilltreeList.addAll(values);
+ return this;
+ }
+
+ /**
+ * repeated .EquipRelic equip_relic_list = 9;
+ * @return whether the equipRelicList field is set
+ */
+ public boolean hasEquipRelicList() {
+ return (bitField0_ & 0x00000080) != 0;
+ }
+
+ /**
+ * repeated .EquipRelic equip_relic_list = 9;
+ * @return this
+ */
+ public AvatarPathInfo clearEquipRelicList() {
+ bitField0_ &= ~0x00000080;
+ equipRelicList.clear();
+ return this;
+ }
+
+ /**
+ * repeated .EquipRelic equip_relic_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.
+ *
+ * Use {@link #getMutableEquipRelicList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedMessagerepeated .EquipRelic equip_relic_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
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedMessagerepeated .EquipRelic equip_relic_list = 9;
+ * @param value the equipRelicList to add
+ * @return this
+ */
+ public AvatarPathInfo addEquipRelicList(final EquipRelicOuterClass.EquipRelic value) {
+ bitField0_ |= 0x00000080;
+ equipRelicList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated .EquipRelic equip_relic_list = 9;
+ * @param values the equipRelicList to add
+ * @return this
+ */
+ public AvatarPathInfo addAllEquipRelicList(final EquipRelicOuterClass.EquipRelic... values) {
+ bitField0_ |= 0x00000080;
+ equipRelicList.addAll(values);
+ return this;
+ }
+
+ @Override
+ public AvatarPathInfo copyFrom(final AvatarPathInfo other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ firstMetTimestamp = other.firstMetTimestamp;
+ avatarSkin = other.avatarSkin;
+ avatarId = other.avatarId;
+ rank = other.rank;
+ pathEquipmentId = other.pathEquipmentId;
+ enhanceId = other.enhanceId;
+ skilltreeList.copyFrom(other.skilltreeList);
+ equipRelicList.copyFrom(other.equipRelicList);
+ }
+ return this;
+ }
+
+ @Override
+ public AvatarPathInfo mergeFrom(final AvatarPathInfo other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasFirstMetTimestamp()) {
+ setFirstMetTimestamp(other.firstMetTimestamp);
+ }
+ if (other.hasAvatarSkin()) {
+ setAvatarSkin(other.avatarSkin);
+ }
+ if (other.hasAvatarId()) {
+ setAvatarId(other.avatarId);
+ }
+ if (other.hasRank()) {
+ setRank(other.rank);
+ }
+ if (other.hasPathEquipmentId()) {
+ setPathEquipmentId(other.pathEquipmentId);
+ }
+ if (other.hasEnhanceId()) {
+ setEnhanceId(other.enhanceId);
+ }
+ if (other.hasSkilltreeList()) {
+ getMutableSkilltreeList().addAll(other.skilltreeList);
+ }
+ if (other.hasEquipRelicList()) {
+ getMutableEquipRelicList().addAll(other.equipRelicList);
+ }
+ return this;
+ }
+
+ @Override
+ public AvatarPathInfo clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ firstMetTimestamp = 0L;
+ avatarSkin = 0;
+ avatarId = 0;
+ rank = 0;
+ pathEquipmentId = 0;
+ enhanceId = 0;
+ skilltreeList.clear();
+ equipRelicList.clear();
+ return this;
+ }
+
+ @Override
+ public AvatarPathInfo clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ skilltreeList.clearQuick();
+ equipRelicList.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof AvatarPathInfo)) {
+ return false;
+ }
+ AvatarPathInfo other = (AvatarPathInfo) o;
+ return bitField0_ == other.bitField0_
+ && (!hasFirstMetTimestamp() || firstMetTimestamp == other.firstMetTimestamp)
+ && (!hasAvatarSkin() || avatarSkin == other.avatarSkin)
+ && (!hasAvatarId() || avatarId == other.avatarId)
+ && (!hasRank() || rank == other.rank)
+ && (!hasPathEquipmentId() || pathEquipmentId == other.pathEquipmentId)
+ && (!hasEnhanceId() || enhanceId == other.enhanceId)
+ && (!hasSkilltreeList() || skilltreeList.equals(other.skilltreeList))
+ && (!hasEquipRelicList() || equipRelicList.equals(other.equipRelicList));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 96);
+ output.writeUInt64NoTag(firstMetTimestamp);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 64);
+ output.writeUInt32NoTag(avatarSkin);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 80);
+ output.writeUInt32NoTag(avatarId);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 88);
+ output.writeUInt32NoTag(rank);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeRawByte((byte) 104);
+ output.writeUInt32NoTag(pathEquipmentId);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ output.writeRawByte((byte) 112);
+ output.writeUInt32NoTag(enhanceId);
+ }
+ if ((bitField0_ & 0x00000040) != 0) {
+ for (int i = 0; i < skilltreeList.length(); i++) {
+ output.writeRawByte((byte) 10);
+ output.writeMessageNoTag(skilltreeList.get(i));
+ }
+ }
+ if ((bitField0_ & 0x00000080) != 0) {
+ for (int i = 0; i < equipRelicList.length(); i++) {
+ output.writeRawByte((byte) 74);
+ output.writeMessageNoTag(equipRelicList.get(i));
+ }
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt64SizeNoTag(firstMetTimestamp);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(avatarSkin);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(avatarId);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(rank);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(pathEquipmentId);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(enhanceId);
+ }
+ if ((bitField0_ & 0x00000040) != 0) {
+ size += (1 * skilltreeList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(skilltreeList);
+ }
+ if ((bitField0_ & 0x00000080) != 0) {
+ size += (1 * equipRelicList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(equipRelicList);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public AvatarPathInfo mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 96: {
+ // firstMetTimestamp
+ firstMetTimestamp = input.readUInt64();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 64) {
+ break;
+ }
+ }
+ case 64: {
+ // avatarSkin
+ avatarSkin = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 80) {
+ break;
+ }
+ }
+ case 80: {
+ // avatarId
+ avatarId = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 88) {
+ break;
+ }
+ }
+ case 88: {
+ // rank
+ rank = input.readUInt32();
+ bitField0_ |= 0x00000008;
+ tag = input.readTag();
+ if (tag != 104) {
+ break;
+ }
+ }
+ case 104: {
+ // pathEquipmentId
+ pathEquipmentId = input.readUInt32();
+ bitField0_ |= 0x00000010;
+ tag = input.readTag();
+ if (tag != 112) {
+ break;
+ }
+ }
+ case 112: {
+ // enhanceId
+ enhanceId = input.readUInt32();
+ bitField0_ |= 0x00000020;
+ tag = input.readTag();
+ if (tag != 10) {
+ break;
+ }
+ }
+ case 10: {
+ // skilltreeList
+ tag = input.readRepeatedMessage(skilltreeList, tag);
+ bitField0_ |= 0x00000040;
+ if (tag != 74) {
+ break;
+ }
+ }
+ case 74: {
+ // equipRelicList
+ tag = input.readRepeatedMessage(equipRelicList, tag);
+ bitField0_ |= 0x00000080;
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt64(FieldNames.firstMetTimestamp, firstMetTimestamp);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.avatarSkin, avatarSkin);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeUInt32(FieldNames.avatarId, avatarId);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeUInt32(FieldNames.rank, rank);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeUInt32(FieldNames.pathEquipmentId, pathEquipmentId);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ output.writeUInt32(FieldNames.enhanceId, enhanceId);
+ }
+ if ((bitField0_ & 0x00000040) != 0) {
+ output.writeRepeatedMessage(FieldNames.skilltreeList, skilltreeList);
+ }
+ if ((bitField0_ & 0x00000080) != 0) {
+ output.writeRepeatedMessage(FieldNames.equipRelicList, equipRelicList);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public AvatarPathInfo mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 1893996906:
+ case 329864996: {
+ if (input.isAtField(FieldNames.firstMetTimestamp)) {
+ if (!input.trySkipNullValue()) {
+ firstMetTimestamp = input.readUInt64();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -403192202:
+ case 397266083: {
+ if (input.isAtField(FieldNames.avatarSkin)) {
+ if (!input.trySkipNullValue()) {
+ avatarSkin = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1787287636:
+ case -428636735: {
+ if (input.isAtField(FieldNames.avatarId)) {
+ if (!input.trySkipNullValue()) {
+ avatarId = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 3492908: {
+ if (input.isAtField(FieldNames.rank)) {
+ if (!input.trySkipNullValue()) {
+ rank = input.readUInt32();
+ bitField0_ |= 0x00000008;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1371565540:
+ case -1584422074: {
+ if (input.isAtField(FieldNames.pathEquipmentId)) {
+ if (!input.trySkipNullValue()) {
+ pathEquipmentId = input.readUInt32();
+ bitField0_ |= 0x00000010;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1259067497:
+ case 376408140: {
+ if (input.isAtField(FieldNames.enhanceId)) {
+ if (!input.trySkipNullValue()) {
+ enhanceId = input.readUInt32();
+ bitField0_ |= 0x00000020;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1549763245:
+ case 815647086: {
+ if (input.isAtField(FieldNames.skilltreeList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedMessage(skilltreeList);
+ bitField0_ |= 0x00000040;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1578968161:
+ case -795441831: {
+ if (input.isAtField(FieldNames.equipRelicList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedMessage(equipRelicList);
+ bitField0_ |= 0x00000080;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public AvatarPathInfo clone() {
+ return new AvatarPathInfo().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static AvatarPathInfo parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new AvatarPathInfo(), data).checkInitialized();
+ }
+
+ public static AvatarPathInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new AvatarPathInfo(), input).checkInitialized();
+ }
+
+ public static AvatarPathInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new AvatarPathInfo(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating AvatarPathInfo messages
+ */
+ public static MessageFactoryoptional uint32 level = 3;
+ * optional uint32 anchor_point_id = 6;
+ */
+ private int anchorPointId;
+
+ /**
+ * optional uint32 level = 7;
*/
private int level;
- /**
- * optional uint32 buff_id = 7;
- */
- private int buffId;
-
- private RogueBuff() {
+ private AvatarPathSkillTree() {
}
/**
- * @return a new empty instance of {@code RogueBuff}
+ * @return a new empty instance of {@code AvatarPathSkillTree}
*/
- public static RogueBuff newInstance() {
- return new RogueBuff();
+ public static AvatarPathSkillTree newInstance() {
+ return new AvatarPathSkillTree();
}
/**
- * optional uint32 level = 3;
- * @return whether the level field is set
+ * optional uint32 anchor_point_id = 6;
+ * @return whether the anchorPointId field is set
*/
- public boolean hasLevel() {
+ public boolean hasAnchorPointId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 level = 3;
+ * optional uint32 anchor_point_id = 6;
* @return this
*/
- public RogueBuff clearLevel() {
+ public AvatarPathSkillTree clearAnchorPointId() {
bitField0_ &= ~0x00000001;
+ anchorPointId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 anchor_point_id = 6;
+ * @return the anchorPointId
+ */
+ public int getAnchorPointId() {
+ return anchorPointId;
+ }
+
+ /**
+ * optional uint32 anchor_point_id = 6;
+ * @param value the anchorPointId to set
+ * @return this
+ */
+ public AvatarPathSkillTree setAnchorPointId(final int value) {
+ bitField0_ |= 0x00000001;
+ anchorPointId = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 level = 7;
+ * @return whether the level field is set
+ */
+ public boolean hasLevel() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 level = 7;
+ * @return this
+ */
+ public AvatarPathSkillTree clearLevel() {
+ bitField0_ &= ~0x00000002;
level = 0;
return this;
}
/**
- * optional uint32 level = 3;
+ * optional uint32 level = 7;
* @return the level
*/
public int getLevel() {
@@ -65,93 +102,56 @@ public final class RogueBuffOuterClass {
}
/**
- * optional uint32 level = 3;
+ * optional uint32 level = 7;
* @param value the level to set
* @return this
*/
- public RogueBuff setLevel(final int value) {
- bitField0_ |= 0x00000001;
+ public AvatarPathSkillTree setLevel(final int value) {
+ bitField0_ |= 0x00000002;
level = value;
return this;
}
- /**
- * optional uint32 buff_id = 7;
- * @return whether the buffId field is set
- */
- public boolean hasBuffId() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 buff_id = 7;
- * @return this
- */
- public RogueBuff clearBuffId() {
- bitField0_ &= ~0x00000002;
- buffId = 0;
- return this;
- }
-
- /**
- * optional uint32 buff_id = 7;
- * @return the buffId
- */
- public int getBuffId() {
- return buffId;
- }
-
- /**
- * optional uint32 buff_id = 7;
- * @param value the buffId to set
- * @return this
- */
- public RogueBuff setBuffId(final int value) {
- bitField0_ |= 0x00000002;
- buffId = value;
- return this;
- }
-
@Override
- public RogueBuff copyFrom(final RogueBuff other) {
+ public AvatarPathSkillTree copyFrom(final AvatarPathSkillTree other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
+ anchorPointId = other.anchorPointId;
level = other.level;
- buffId = other.buffId;
}
return this;
}
@Override
- public RogueBuff mergeFrom(final RogueBuff other) {
+ public AvatarPathSkillTree mergeFrom(final AvatarPathSkillTree other) {
if (other.isEmpty()) {
return this;
}
cachedSize = -1;
+ if (other.hasAnchorPointId()) {
+ setAnchorPointId(other.anchorPointId);
+ }
if (other.hasLevel()) {
setLevel(other.level);
}
- if (other.hasBuffId()) {
- setBuffId(other.buffId);
- }
return this;
}
@Override
- public RogueBuff clear() {
+ public AvatarPathSkillTree clear() {
if (isEmpty()) {
return this;
}
cachedSize = -1;
bitField0_ = 0;
+ anchorPointId = 0;
level = 0;
- buffId = 0;
return this;
}
@Override
- public RogueBuff clearQuick() {
+ public AvatarPathSkillTree clearQuick() {
if (isEmpty()) {
return this;
}
@@ -165,24 +165,24 @@ public final class RogueBuffOuterClass {
if (o == this) {
return true;
}
- if (!(o instanceof RogueBuff)) {
+ if (!(o instanceof AvatarPathSkillTree)) {
return false;
}
- RogueBuff other = (RogueBuff) o;
+ AvatarPathSkillTree other = (AvatarPathSkillTree) o;
return bitField0_ == other.bitField0_
- && (!hasLevel() || level == other.level)
- && (!hasBuffId() || buffId == other.buffId);
+ && (!hasAnchorPointId() || anchorPointId == other.anchorPointId)
+ && (!hasLevel() || level == other.level);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(level);
+ output.writeRawByte((byte) 48);
+ output.writeUInt32NoTag(anchorPointId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 56);
- output.writeUInt32NoTag(buffId);
+ output.writeUInt32NoTag(level);
}
}
@@ -190,24 +190,24 @@ public final class RogueBuffOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(anchorPointId);
}
if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
return size;
}
@Override
@SuppressWarnings("fallthrough")
- public RogueBuff mergeFrom(final ProtoSource input) throws IOException {
+ public AvatarPathSkillTree mergeFrom(final ProtoSource input) throws IOException {
// Enabled Fall-Through Optimization (QuickBuffers)
int tag = input.readTag();
while (true) {
switch (tag) {
- case 24: {
- // level
- level = input.readUInt32();
+ case 48: {
+ // anchorPointId
+ anchorPointId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 56) {
@@ -215,8 +215,8 @@ public final class RogueBuffOuterClass {
}
}
case 56: {
- // buffId
- buffId = input.readUInt32();
+ // level
+ level = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,25 +241,26 @@ public final class RogueBuffOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.level, level);
+ output.writeUInt32(FieldNames.anchorPointId, anchorPointId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.buffId, buffId);
+ output.writeUInt32(FieldNames.level, level);
}
output.endObject();
}
@Override
- public RogueBuff mergeFrom(final JsonSource input) throws IOException {
+ public AvatarPathSkillTree mergeFrom(final JsonSource input) throws IOException {
if (!input.beginObject()) {
return this;
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 102865796: {
- if (input.isAtField(FieldNames.level)) {
+ case 1468762710:
+ case -279831436: {
+ if (input.isAtField(FieldNames.anchorPointId)) {
if (!input.trySkipNullValue()) {
- level = input.readUInt32();
+ anchorPointId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -267,11 +268,10 @@ public final class RogueBuffOuterClass {
}
break;
}
- case -1378119474:
- case 227990663: {
- if (input.isAtField(FieldNames.buffId)) {
+ case 102865796: {
+ if (input.isAtField(FieldNames.level)) {
if (!input.trySkipNullValue()) {
- buffId = input.readUInt32();
+ level = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -290,8 +290,8 @@ public final class RogueBuffOuterClass {
}
@Override
- public RogueBuff clone() {
- return new RogueBuff().copyFrom(this);
+ public AvatarPathSkillTree clone() {
+ return new AvatarPathSkillTree().copyFrom(this);
}
@Override
@@ -299,31 +299,32 @@ public final class RogueBuffOuterClass {
return ((bitField0_) == 0);
}
- public static RogueBuff parseFrom(final byte[] data) throws InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new RogueBuff(), data).checkInitialized();
+ public static AvatarPathSkillTree parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new AvatarPathSkillTree(), data).checkInitialized();
}
- public static RogueBuff parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new RogueBuff(), input).checkInitialized();
+ public static AvatarPathSkillTree parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new AvatarPathSkillTree(), input).checkInitialized();
}
- public static RogueBuff parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new RogueBuff(), input).checkInitialized();
+ public static AvatarPathSkillTree parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new AvatarPathSkillTree(), input).checkInitialized();
}
/**
- * @return factory for creating RogueBuff messages
+ * @return factory for creating AvatarPathSkillTree messages
*/
- public static MessageFactory+ * repeated KNNFPFKCABE APFECOOPNKN = 7; + *+ * + * Protobuf type {@code AvatarReccomendData} */ - public static final class GetQuestDataCsReq extends ProtoMessage
+ * repeated KNNFPFKCABE APFECOOPNKN = 7; + *+ * + * @return a new empty instance of {@code AvatarReccomendData} */ - public static GetQuestDataCsReq newInstance() { - return new GetQuestDataCsReq(); + public static AvatarReccomendData newInstance() { + return new AvatarReccomendData(); } @Override - public GetQuestDataCsReq copyFrom(final GetQuestDataCsReq other) { + public AvatarReccomendData copyFrom(final AvatarReccomendData other) { cachedSize = other.cachedSize; return this; } @Override - public GetQuestDataCsReq mergeFrom(final GetQuestDataCsReq other) { + public AvatarReccomendData mergeFrom(final AvatarReccomendData other) { if (other.isEmpty()) { return this; } @@ -43,7 +51,7 @@ public final class GetQuestDataCsReqOuterClass { } @Override - public GetQuestDataCsReq clear() { + public AvatarReccomendData clear() { if (isEmpty()) { return this; } @@ -52,7 +60,7 @@ public final class GetQuestDataCsReqOuterClass { } @Override - public GetQuestDataCsReq clearQuick() { + public AvatarReccomendData clearQuick() { if (isEmpty()) { return this; } @@ -65,10 +73,10 @@ public final class GetQuestDataCsReqOuterClass { if (o == this) { return true; } - if (!(o instanceof GetQuestDataCsReq)) { + if (!(o instanceof AvatarReccomendData)) { return false; } - GetQuestDataCsReq other = (GetQuestDataCsReq) o; + AvatarReccomendData other = (AvatarReccomendData) o; return true; } @@ -84,7 +92,7 @@ public final class GetQuestDataCsReqOuterClass { @Override @SuppressWarnings("fallthrough") - public GetQuestDataCsReq mergeFrom(final ProtoSource input) throws IOException { + public AvatarReccomendData mergeFrom(final ProtoSource input) throws IOException { // Enabled Fall-Through Optimization (QuickBuffers) int tag = input.readTag(); while (true) { @@ -110,7 +118,7 @@ public final class GetQuestDataCsReqOuterClass { } @Override - public GetQuestDataCsReq mergeFrom(final JsonSource input) throws IOException { + public AvatarReccomendData mergeFrom(final JsonSource input) throws IOException { if (!input.beginObject()) { return this; } @@ -127,8 +135,8 @@ public final class GetQuestDataCsReqOuterClass { } @Override - public GetQuestDataCsReq clone() { - return new GetQuestDataCsReq().copyFrom(this); + public AvatarReccomendData clone() { + return new AvatarReccomendData().copyFrom(this); } @Override @@ -136,32 +144,32 @@ public final class GetQuestDataCsReqOuterClass { return ((bitField0_) == 0); } - public static GetQuestDataCsReq parseFrom(final byte[] data) throws + public static AvatarReccomendData parseFrom(final byte[] data) throws InvalidProtocolBufferException { - return ProtoMessage.mergeFrom(new GetQuestDataCsReq(), data).checkInitialized(); + return ProtoMessage.mergeFrom(new AvatarReccomendData(), data).checkInitialized(); } - public static GetQuestDataCsReq parseFrom(final ProtoSource input) throws IOException { - return ProtoMessage.mergeFrom(new GetQuestDataCsReq(), input).checkInitialized(); + public static AvatarReccomendData parseFrom(final ProtoSource input) throws IOException { + return ProtoMessage.mergeFrom(new AvatarReccomendData(), input).checkInitialized(); } - public static GetQuestDataCsReq parseFrom(final JsonSource input) throws IOException { - return ProtoMessage.mergeFrom(new GetQuestDataCsReq(), input).checkInitialized(); + public static AvatarReccomendData parseFrom(final JsonSource input) throws IOException { + return ProtoMessage.mergeFrom(new AvatarReccomendData(), input).checkInitialized(); } /** - * @return factory for creating GetQuestDataCsReq messages + * @return factory for creating AvatarReccomendData messages */ - public static MessageFactory
repeated .Avatar avatar_list = 10;
+ * repeated .Avatar avatar_list = 6;
*/
private final RepeatedMessagerepeated .AvatarPathInfo avatar_path_info_list = 14;
+ */
+ private final RepeatedMessagerepeated .Avatar avatar_list = 10;
+ * repeated .Avatar avatar_list = 6;
* @return whether the avatarList field is set
*/
public boolean hasAvatarList() {
@@ -43,7 +48,7 @@ public final class AvatarSyncOuterClass {
}
/**
- * repeated .Avatar avatar_list = 10;
+ * repeated .Avatar avatar_list = 6;
* @return this
*/
public AvatarSync clearAvatarList() {
@@ -53,7 +58,7 @@ public final class AvatarSyncOuterClass {
}
/**
- * repeated .Avatar avatar_list = 10;
+ * repeated .Avatar avatar_list = 6;
*
* 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.
@@ -67,7 +72,7 @@ public final class AvatarSyncOuterClass {
}
/**
- * repeated .Avatar avatar_list = 10;
+ * repeated .Avatar avatar_list = 6;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -81,7 +86,7 @@ public final class AvatarSyncOuterClass {
}
/**
- * repeated .Avatar avatar_list = 10;
+ * repeated .Avatar avatar_list = 6;
* @param value the avatarList to add
* @return this
*/
@@ -92,7 +97,7 @@ public final class AvatarSyncOuterClass {
}
/**
- * repeated .Avatar avatar_list = 10;
+ * repeated .Avatar avatar_list = 6;
* @param values the avatarList to add
* @return this
*/
@@ -102,12 +107,82 @@ public final class AvatarSyncOuterClass {
return this;
}
+ /**
+ * repeated .AvatarPathInfo avatar_path_info_list = 14;
+ * @return whether the avatarPathInfoList field is set
+ */
+ public boolean hasAvatarPathInfoList() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * repeated .AvatarPathInfo avatar_path_info_list = 14;
+ * @return this
+ */
+ public AvatarSync clearAvatarPathInfoList() {
+ bitField0_ &= ~0x00000002;
+ avatarPathInfoList.clear();
+ return this;
+ }
+
+ /**
+ * repeated .AvatarPathInfo avatar_path_info_list = 14;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableAvatarPathInfoList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedMessagerepeated .AvatarPathInfo avatar_path_info_list = 14;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedMessagerepeated .AvatarPathInfo avatar_path_info_list = 14;
+ * @param value the avatarPathInfoList to add
+ * @return this
+ */
+ public AvatarSync addAvatarPathInfoList(final AvatarPathInfoOuterClass.AvatarPathInfo value) {
+ bitField0_ |= 0x00000002;
+ avatarPathInfoList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated .AvatarPathInfo avatar_path_info_list = 14;
+ * @param values the avatarPathInfoList to add
+ * @return this
+ */
+ public AvatarSync addAllAvatarPathInfoList(
+ final AvatarPathInfoOuterClass.AvatarPathInfo... values) {
+ bitField0_ |= 0x00000002;
+ avatarPathInfoList.addAll(values);
+ return this;
+ }
+
@Override
public AvatarSync copyFrom(final AvatarSync other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
avatarList.copyFrom(other.avatarList);
+ avatarPathInfoList.copyFrom(other.avatarPathInfoList);
}
return this;
}
@@ -121,6 +196,9 @@ public final class AvatarSyncOuterClass {
if (other.hasAvatarList()) {
getMutableAvatarList().addAll(other.avatarList);
}
+ if (other.hasAvatarPathInfoList()) {
+ getMutableAvatarPathInfoList().addAll(other.avatarPathInfoList);
+ }
return this;
}
@@ -132,6 +210,7 @@ public final class AvatarSyncOuterClass {
cachedSize = -1;
bitField0_ = 0;
avatarList.clear();
+ avatarPathInfoList.clear();
return this;
}
@@ -143,6 +222,7 @@ public final class AvatarSyncOuterClass {
cachedSize = -1;
bitField0_ = 0;
avatarList.clearQuick();
+ avatarPathInfoList.clearQuick();
return this;
}
@@ -156,17 +236,24 @@ public final class AvatarSyncOuterClass {
}
AvatarSync other = (AvatarSync) o;
return bitField0_ == other.bitField0_
- && (!hasAvatarList() || avatarList.equals(other.avatarList));
+ && (!hasAvatarList() || avatarList.equals(other.avatarList))
+ && (!hasAvatarPathInfoList() || avatarPathInfoList.equals(other.avatarPathInfoList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < avatarList.length(); i++) {
- output.writeRawByte((byte) 82);
+ output.writeRawByte((byte) 50);
output.writeMessageNoTag(avatarList.get(i));
}
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ for (int i = 0; i < avatarPathInfoList.length(); i++) {
+ output.writeRawByte((byte) 114);
+ output.writeMessageNoTag(avatarPathInfoList.get(i));
+ }
+ }
}
@Override
@@ -175,6 +262,9 @@ public final class AvatarSyncOuterClass {
if ((bitField0_ & 0x00000001) != 0) {
size += (1 * avatarList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(avatarList);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += (1 * avatarPathInfoList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(avatarPathInfoList);
+ }
return size;
}
@@ -185,10 +275,18 @@ public final class AvatarSyncOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 82: {
+ case 50: {
// avatarList
tag = input.readRepeatedMessage(avatarList, tag);
bitField0_ |= 0x00000001;
+ if (tag != 114) {
+ break;
+ }
+ }
+ case 114: {
+ // avatarPathInfoList
+ tag = input.readRepeatedMessage(avatarPathInfoList, tag);
+ bitField0_ |= 0x00000002;
if (tag != 0) {
break;
}
@@ -213,6 +311,9 @@ public final class AvatarSyncOuterClass {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRepeatedMessage(FieldNames.avatarList, avatarList);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRepeatedMessage(FieldNames.avatarPathInfoList, avatarPathInfoList);
+ }
output.endObject();
}
@@ -235,6 +336,18 @@ public final class AvatarSyncOuterClass {
}
break;
}
+ case 1918381482:
+ case 11642267: {
+ if (input.isAtField(FieldNames.avatarPathInfoList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedMessage(avatarPathInfoList);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
default: {
input.skipUnknownField();
break;
@@ -288,6 +401,8 @@ public final class AvatarSyncOuterClass {
*/
static class FieldNames {
static final FieldName avatarList = FieldName.forField("avatarList", "avatar_list");
+
+ static final FieldName avatarPathInfoList = FieldName.forField("avatarPathInfoList", "avatar_path_info_list");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/AvatarTypeOuterClass.java b/src/generated/main/emu/lunarcore/proto/AvatarTypeOuterClass.java
index a2778bb..8901fc8 100644
--- a/src/generated/main/emu/lunarcore/proto/AvatarTypeOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/AvatarTypeOuterClass.java
@@ -32,7 +32,27 @@ public final class AvatarTypeOuterClass {
/**
* AVATAR_ASSIST_TYPE = 4;
*/
- AVATAR_ASSIST_TYPE("AVATAR_ASSIST_TYPE", 4);
+ AVATAR_ASSIST_TYPE("AVATAR_ASSIST_TYPE", 4),
+
+ /**
+ * AVATAR_AETHER_DIVIDE_TYPE = 5;
+ */
+ AVATAR_AETHER_DIVIDE_TYPE("AVATAR_AETHER_DIVIDE_TYPE", 5),
+
+ /**
+ * AVATAR_UPGRADE_AVAILABLE_TYPE = 6;
+ */
+ AVATAR_UPGRADE_AVAILABLE_TYPE("AVATAR_UPGRADE_AVAILABLE_TYPE", 6),
+
+ /**
+ * AVATAR_GRID_FIGHT_TYPE = 7;
+ */
+ AVATAR_GRID_FIGHT_TYPE("AVATAR_GRID_FIGHT_TYPE", 7),
+
+ /**
+ * AVATAR_UNKNOWN_TYPE_1 = 8;
+ */
+ AVATAR_UNKNOWN_TYPE_1("AVATAR_UNKNOWN_TYPE_1", 8);
/**
* AVATAR_TYPE_NONE = 0;
@@ -59,6 +79,26 @@ public final class AvatarTypeOuterClass {
*/
public static final int AVATAR_ASSIST_TYPE_VALUE = 4;
+ /**
+ * AVATAR_AETHER_DIVIDE_TYPE = 5;
+ */
+ public static final int AVATAR_AETHER_DIVIDE_TYPE_VALUE = 5;
+
+ /**
+ * AVATAR_UPGRADE_AVAILABLE_TYPE = 6;
+ */
+ public static final int AVATAR_UPGRADE_AVAILABLE_TYPE_VALUE = 6;
+
+ /**
+ * AVATAR_GRID_FIGHT_TYPE = 7;
+ */
+ public static final int AVATAR_GRID_FIGHT_TYPE_VALUE = 7;
+
+ /**
+ * AVATAR_UNKNOWN_TYPE_1 = 8;
+ */
+ public static final int AVATAR_UNKNOWN_TYPE_1_VALUE = 8;
+
private final String name;
private final int number;
@@ -112,7 +152,7 @@ public final class AvatarTypeOuterClass {
enum AvatarTypeConverter implements ProtoEnum.EnumConverteroptional uint32 avatar_enhance_id = 19;
+ */
+ private int avatarEnhanceId;
+
/**
* optional .AvatarType avatar_type = 1;
*/
@@ -390,12 +395,49 @@ public final class BattleAvatarOuterClass {
return this;
}
+ /**
+ * optional uint32 avatar_enhance_id = 19;
+ * @return whether the avatarEnhanceId field is set
+ */
+ public boolean hasAvatarEnhanceId() {
+ return (bitField0_ & 0x00000100) != 0;
+ }
+
+ /**
+ * optional uint32 avatar_enhance_id = 19;
+ * @return this
+ */
+ public BattleAvatar clearAvatarEnhanceId() {
+ bitField0_ &= ~0x00000100;
+ avatarEnhanceId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 avatar_enhance_id = 19;
+ * @return the avatarEnhanceId
+ */
+ public int getAvatarEnhanceId() {
+ return avatarEnhanceId;
+ }
+
+ /**
+ * optional uint32 avatar_enhance_id = 19;
+ * @param value the avatarEnhanceId to set
+ * @return this
+ */
+ public BattleAvatar setAvatarEnhanceId(final int value) {
+ bitField0_ |= 0x00000100;
+ avatarEnhanceId = value;
+ return this;
+ }
+
/**
* optional .AvatarType avatar_type = 1;
* @return whether the avatarType field is set
*/
public boolean hasAvatarType() {
- return (bitField0_ & 0x00000100) != 0;
+ return (bitField0_ & 0x00000200) != 0;
}
/**
@@ -403,7 +445,7 @@ public final class BattleAvatarOuterClass {
* @return this
*/
public BattleAvatar clearAvatarType() {
- bitField0_ &= ~0x00000100;
+ bitField0_ &= ~0x00000200;
avatarType = 0;
return this;
}
@@ -436,7 +478,7 @@ public final class BattleAvatarOuterClass {
* @return this
*/
public BattleAvatar setAvatarTypeValue(final int value) {
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
avatarType = value;
return this;
}
@@ -447,7 +489,7 @@ public final class BattleAvatarOuterClass {
* @return this
*/
public BattleAvatar setAvatarType(final AvatarTypeOuterClass.AvatarType value) {
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
avatarType = value.getNumber();
return this;
}
@@ -457,7 +499,7 @@ public final class BattleAvatarOuterClass {
* @return whether the spBar field is set
*/
public boolean hasSpBar() {
- return (bitField0_ & 0x00000200) != 0;
+ return (bitField0_ & 0x00000400) != 0;
}
/**
@@ -465,7 +507,7 @@ public final class BattleAvatarOuterClass {
* @return this
*/
public BattleAvatar clearSpBar() {
- bitField0_ &= ~0x00000200;
+ bitField0_ &= ~0x00000400;
spBar.clear();
return this;
}
@@ -494,7 +536,7 @@ public final class BattleAvatarOuterClass {
* @return internal storage object for modifications
*/
public SpBarInfoOuterClass.SpBarInfo getMutableSpBar() {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
return spBar;
}
@@ -504,7 +546,7 @@ public final class BattleAvatarOuterClass {
* @return this
*/
public BattleAvatar setSpBar(final SpBarInfoOuterClass.SpBarInfo value) {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
spBar.copyFrom(value);
return this;
}
@@ -514,7 +556,7 @@ public final class BattleAvatarOuterClass {
* @return whether the skilltreeList field is set
*/
public boolean hasSkilltreeList() {
- return (bitField0_ & 0x00000400) != 0;
+ return (bitField0_ & 0x00000800) != 0;
}
/**
@@ -522,7 +564,7 @@ public final class BattleAvatarOuterClass {
* @return this
*/
public BattleAvatar clearSkilltreeList() {
- bitField0_ &= ~0x00000400;
+ bitField0_ &= ~0x00000800;
skilltreeList.clear();
return this;
}
@@ -551,7 +593,7 @@ public final class BattleAvatarOuterClass {
* @return internal storage object for modifications
*/
public RepeatedMessageoptional uint64 taken_premium_reward1 = 3;
- */
- private long takenPremiumReward1;
-
- /**
- * optional uint64 taken_premium_extended_reward = 6;
- */
- private long takenPremiumExtendedReward;
-
- /**
- * optional uint64 taken_free_extended_reward = 7;
- */
- private long takenFreeExtendedReward;
-
- /**
- * - * the difficult ones - *- * - *
optional uint64 taken_free_reward = 8;
- */
- private long takenFreeReward;
-
- /**
- * optional uint64 taken_premium_reward2 = 12;
+ * optional uint64 taken_premium_reward2 = 3;
*/
private long takenPremiumReward2;
/**
- * optional uint64 taken_premium_optional_reward = 15;
+ * optional uint64 taken_premium_optional_reward = 7;
*/
private long takenPremiumOptionalReward;
/**
- * optional uint32 level = 1;
+ * optional uint64 taken_free_extended_reward = 8;
*/
- private int level;
+ private long takenFreeExtendedReward;
/**
- * optional uint32 exp = 4;
+ * optional uint64 taken_premium_extended_optional_reward = 9;
+ */
+ private long takenPremiumExtendedOptionalReward;
+
+ /**
+ * optional uint64 taken_premium_extended_reward2 = 11;
+ */
+ private long takenPremiumExtendedReward2;
+
+ /**
+ * optional uint64 taken_premium_extended_reward = 13;
+ */
+ private long takenPremiumExtendedReward;
+
+ /**
+ * optional uint64 taken_premium_reward1 = 14;
+ */
+ private long takenPremiumReward1;
+
+ /**
+ * optional uint64 taken_free_reward = 15;
+ */
+ private long takenFreeReward;
+
+ /**
+ * optional uint32 exp = 1;
*/
private int exp;
/**
- * optional uint32 cur_bp_id = 9;
+ * optional uint32 cur_bp_id = 6;
*/
private int curBpId;
/**
- * optional uint32 cur_week_add_exp_sum = 14;
+ * optional uint32 cur_week_add_exp_sum = 10;
*/
private int curWeekAddExpSum;
/**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 13;
+ * optional uint32 level = 12;
+ */
+ private int level;
+
+ /**
+ * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 5;
*/
private int bpTierType;
@@ -90,81 +96,81 @@ public final class BattlePassInfoNotifyOuterClass {
}
/**
- * optional uint64 taken_premium_reward1 = 3;
- * @return whether the takenPremiumReward1 field is set
+ * optional uint64 taken_premium_reward2 = 3;
+ * @return whether the takenPremiumReward2 field is set
*/
- public boolean hasTakenPremiumReward1() {
+ public boolean hasTakenPremiumReward2() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint64 taken_premium_reward1 = 3;
+ * optional uint64 taken_premium_reward2 = 3;
* @return this
*/
- public BattlePassInfoNotify clearTakenPremiumReward1() {
+ public BattlePassInfoNotify clearTakenPremiumReward2() {
bitField0_ &= ~0x00000001;
- takenPremiumReward1 = 0L;
+ takenPremiumReward2 = 0L;
return this;
}
/**
- * optional uint64 taken_premium_reward1 = 3;
- * @return the takenPremiumReward1
+ * optional uint64 taken_premium_reward2 = 3;
+ * @return the takenPremiumReward2
*/
- public long getTakenPremiumReward1() {
- return takenPremiumReward1;
+ public long getTakenPremiumReward2() {
+ return takenPremiumReward2;
}
/**
- * optional uint64 taken_premium_reward1 = 3;
- * @param value the takenPremiumReward1 to set
+ * optional uint64 taken_premium_reward2 = 3;
+ * @param value the takenPremiumReward2 to set
* @return this
*/
- public BattlePassInfoNotify setTakenPremiumReward1(final long value) {
+ public BattlePassInfoNotify setTakenPremiumReward2(final long value) {
bitField0_ |= 0x00000001;
- takenPremiumReward1 = value;
+ takenPremiumReward2 = value;
return this;
}
/**
- * optional uint64 taken_premium_extended_reward = 6;
- * @return whether the takenPremiumExtendedReward field is set
+ * optional uint64 taken_premium_optional_reward = 7;
+ * @return whether the takenPremiumOptionalReward field is set
*/
- public boolean hasTakenPremiumExtendedReward() {
+ public boolean hasTakenPremiumOptionalReward() {
return (bitField0_ & 0x00000002) != 0;
}
/**
- * optional uint64 taken_premium_extended_reward = 6;
+ * optional uint64 taken_premium_optional_reward = 7;
* @return this
*/
- public BattlePassInfoNotify clearTakenPremiumExtendedReward() {
+ public BattlePassInfoNotify clearTakenPremiumOptionalReward() {
bitField0_ &= ~0x00000002;
- takenPremiumExtendedReward = 0L;
+ takenPremiumOptionalReward = 0L;
return this;
}
/**
- * optional uint64 taken_premium_extended_reward = 6;
- * @return the takenPremiumExtendedReward
+ * optional uint64 taken_premium_optional_reward = 7;
+ * @return the takenPremiumOptionalReward
*/
- public long getTakenPremiumExtendedReward() {
- return takenPremiumExtendedReward;
+ public long getTakenPremiumOptionalReward() {
+ return takenPremiumOptionalReward;
}
/**
- * optional uint64 taken_premium_extended_reward = 6;
- * @param value the takenPremiumExtendedReward to set
+ * optional uint64 taken_premium_optional_reward = 7;
+ * @param value the takenPremiumOptionalReward to set
* @return this
*/
- public BattlePassInfoNotify setTakenPremiumExtendedReward(final long value) {
+ public BattlePassInfoNotify setTakenPremiumOptionalReward(final long value) {
bitField0_ |= 0x00000002;
- takenPremiumExtendedReward = value;
+ takenPremiumOptionalReward = value;
return this;
}
/**
- * optional uint64 taken_free_extended_reward = 7;
+ * optional uint64 taken_free_extended_reward = 8;
* @return whether the takenFreeExtendedReward field is set
*/
public boolean hasTakenFreeExtendedReward() {
@@ -172,7 +178,7 @@ public final class BattlePassInfoNotifyOuterClass {
}
/**
- * optional uint64 taken_free_extended_reward = 7;
+ * optional uint64 taken_free_extended_reward = 8;
* @return this
*/
public BattlePassInfoNotify clearTakenFreeExtendedReward() {
@@ -182,7 +188,7 @@ public final class BattlePassInfoNotifyOuterClass {
}
/**
- * optional uint64 taken_free_extended_reward = 7;
+ * optional uint64 taken_free_extended_reward = 8;
* @return the takenFreeExtendedReward
*/
public long getTakenFreeExtendedReward() {
@@ -190,7 +196,7 @@ public final class BattlePassInfoNotifyOuterClass {
}
/**
- * optional uint64 taken_free_extended_reward = 7;
+ * optional uint64 taken_free_extended_reward = 8;
* @param value the takenFreeExtendedReward to set
* @return this
*/
@@ -201,37 +207,173 @@ public final class BattlePassInfoNotifyOuterClass {
}
/**
- * - * the difficult ones - *- * - *
optional uint64 taken_free_reward = 8;
- * @return whether the takenFreeReward field is set
+ * optional uint64 taken_premium_extended_optional_reward = 9;
+ * @return whether the takenPremiumExtendedOptionalReward field is set
*/
- public boolean hasTakenFreeReward() {
+ public boolean hasTakenPremiumExtendedOptionalReward() {
return (bitField0_ & 0x00000008) != 0;
}
/**
- * - * the difficult ones - *- * - *
optional uint64 taken_free_reward = 8;
+ * optional uint64 taken_premium_extended_optional_reward = 9;
+ * @return this
+ */
+ public BattlePassInfoNotify clearTakenPremiumExtendedOptionalReward() {
+ bitField0_ &= ~0x00000008;
+ takenPremiumExtendedOptionalReward = 0L;
+ return this;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_optional_reward = 9;
+ * @return the takenPremiumExtendedOptionalReward
+ */
+ public long getTakenPremiumExtendedOptionalReward() {
+ return takenPremiumExtendedOptionalReward;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_optional_reward = 9;
+ * @param value the takenPremiumExtendedOptionalReward to set
+ * @return this
+ */
+ public BattlePassInfoNotify setTakenPremiumExtendedOptionalReward(final long value) {
+ bitField0_ |= 0x00000008;
+ takenPremiumExtendedOptionalReward = value;
+ return this;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_reward2 = 11;
+ * @return whether the takenPremiumExtendedReward2 field is set
+ */
+ public boolean hasTakenPremiumExtendedReward2() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_reward2 = 11;
+ * @return this
+ */
+ public BattlePassInfoNotify clearTakenPremiumExtendedReward2() {
+ bitField0_ &= ~0x00000010;
+ takenPremiumExtendedReward2 = 0L;
+ return this;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_reward2 = 11;
+ * @return the takenPremiumExtendedReward2
+ */
+ public long getTakenPremiumExtendedReward2() {
+ return takenPremiumExtendedReward2;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_reward2 = 11;
+ * @param value the takenPremiumExtendedReward2 to set
+ * @return this
+ */
+ public BattlePassInfoNotify setTakenPremiumExtendedReward2(final long value) {
+ bitField0_ |= 0x00000010;
+ takenPremiumExtendedReward2 = value;
+ return this;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_reward = 13;
+ * @return whether the takenPremiumExtendedReward field is set
+ */
+ public boolean hasTakenPremiumExtendedReward() {
+ return (bitField0_ & 0x00000020) != 0;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_reward = 13;
+ * @return this
+ */
+ public BattlePassInfoNotify clearTakenPremiumExtendedReward() {
+ bitField0_ &= ~0x00000020;
+ takenPremiumExtendedReward = 0L;
+ return this;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_reward = 13;
+ * @return the takenPremiumExtendedReward
+ */
+ public long getTakenPremiumExtendedReward() {
+ return takenPremiumExtendedReward;
+ }
+
+ /**
+ * optional uint64 taken_premium_extended_reward = 13;
+ * @param value the takenPremiumExtendedReward to set
+ * @return this
+ */
+ public BattlePassInfoNotify setTakenPremiumExtendedReward(final long value) {
+ bitField0_ |= 0x00000020;
+ takenPremiumExtendedReward = value;
+ return this;
+ }
+
+ /**
+ * optional uint64 taken_premium_reward1 = 14;
+ * @return whether the takenPremiumReward1 field is set
+ */
+ public boolean hasTakenPremiumReward1() {
+ return (bitField0_ & 0x00000040) != 0;
+ }
+
+ /**
+ * optional uint64 taken_premium_reward1 = 14;
+ * @return this
+ */
+ public BattlePassInfoNotify clearTakenPremiumReward1() {
+ bitField0_ &= ~0x00000040;
+ takenPremiumReward1 = 0L;
+ return this;
+ }
+
+ /**
+ * optional uint64 taken_premium_reward1 = 14;
+ * @return the takenPremiumReward1
+ */
+ public long getTakenPremiumReward1() {
+ return takenPremiumReward1;
+ }
+
+ /**
+ * optional uint64 taken_premium_reward1 = 14;
+ * @param value the takenPremiumReward1 to set
+ * @return this
+ */
+ public BattlePassInfoNotify setTakenPremiumReward1(final long value) {
+ bitField0_ |= 0x00000040;
+ takenPremiumReward1 = value;
+ return this;
+ }
+
+ /**
+ * optional uint64 taken_free_reward = 15;
+ * @return whether the takenFreeReward field is set
+ */
+ public boolean hasTakenFreeReward() {
+ return (bitField0_ & 0x00000080) != 0;
+ }
+
+ /**
+ * optional uint64 taken_free_reward = 15;
* @return this
*/
public BattlePassInfoNotify clearTakenFreeReward() {
- bitField0_ &= ~0x00000008;
+ bitField0_ &= ~0x00000080;
takenFreeReward = 0L;
return this;
}
/**
- * - * the difficult ones - *- * - *
optional uint64 taken_free_reward = 8;
+ * optional uint64 taken_free_reward = 15;
* @return the takenFreeReward
*/
public long getTakenFreeReward() {
@@ -239,151 +381,36 @@ public final class BattlePassInfoNotifyOuterClass {
}
/**
- * - * the difficult ones - *- * - *
optional uint64 taken_free_reward = 8;
+ * optional uint64 taken_free_reward = 15;
* @param value the takenFreeReward to set
* @return this
*/
public BattlePassInfoNotify setTakenFreeReward(final long value) {
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000080;
takenFreeReward = value;
return this;
}
/**
- * optional uint64 taken_premium_reward2 = 12;
- * @return whether the takenPremiumReward2 field is set
- */
- public boolean hasTakenPremiumReward2() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * optional uint64 taken_premium_reward2 = 12;
- * @return this
- */
- public BattlePassInfoNotify clearTakenPremiumReward2() {
- bitField0_ &= ~0x00000010;
- takenPremiumReward2 = 0L;
- return this;
- }
-
- /**
- * optional uint64 taken_premium_reward2 = 12;
- * @return the takenPremiumReward2
- */
- public long getTakenPremiumReward2() {
- return takenPremiumReward2;
- }
-
- /**
- * optional uint64 taken_premium_reward2 = 12;
- * @param value the takenPremiumReward2 to set
- * @return this
- */
- public BattlePassInfoNotify setTakenPremiumReward2(final long value) {
- bitField0_ |= 0x00000010;
- takenPremiumReward2 = value;
- return this;
- }
-
- /**
- * optional uint64 taken_premium_optional_reward = 15;
- * @return whether the takenPremiumOptionalReward field is set
- */
- public boolean hasTakenPremiumOptionalReward() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * optional uint64 taken_premium_optional_reward = 15;
- * @return this
- */
- public BattlePassInfoNotify clearTakenPremiumOptionalReward() {
- bitField0_ &= ~0x00000020;
- takenPremiumOptionalReward = 0L;
- return this;
- }
-
- /**
- * optional uint64 taken_premium_optional_reward = 15;
- * @return the takenPremiumOptionalReward
- */
- public long getTakenPremiumOptionalReward() {
- return takenPremiumOptionalReward;
- }
-
- /**
- * optional uint64 taken_premium_optional_reward = 15;
- * @param value the takenPremiumOptionalReward to set
- * @return this
- */
- public BattlePassInfoNotify setTakenPremiumOptionalReward(final long value) {
- bitField0_ |= 0x00000020;
- takenPremiumOptionalReward = value;
- return this;
- }
-
- /**
- * optional uint32 level = 1;
- * @return whether the level field is set
- */
- public boolean hasLevel() {
- return (bitField0_ & 0x00000040) != 0;
- }
-
- /**
- * optional uint32 level = 1;
- * @return this
- */
- public BattlePassInfoNotify clearLevel() {
- bitField0_ &= ~0x00000040;
- level = 0;
- return this;
- }
-
- /**
- * optional uint32 level = 1;
- * @return the level
- */
- public int getLevel() {
- return level;
- }
-
- /**
- * optional uint32 level = 1;
- * @param value the level to set
- * @return this
- */
- public BattlePassInfoNotify setLevel(final int value) {
- bitField0_ |= 0x00000040;
- level = value;
- return this;
- }
-
- /**
- * optional uint32 exp = 4;
+ * optional uint32 exp = 1;
* @return whether the exp field is set
*/
public boolean hasExp() {
- return (bitField0_ & 0x00000080) != 0;
+ return (bitField0_ & 0x00000100) != 0;
}
/**
- * optional uint32 exp = 4;
+ * optional uint32 exp = 1;
* @return this
*/
public BattlePassInfoNotify clearExp() {
- bitField0_ &= ~0x00000080;
+ bitField0_ &= ~0x00000100;
exp = 0;
return this;
}
/**
- * optional uint32 exp = 4;
+ * optional uint32 exp = 1;
* @return the exp
*/
public int getExp() {
@@ -391,36 +418,36 @@ public final class BattlePassInfoNotifyOuterClass {
}
/**
- * optional uint32 exp = 4;
+ * optional uint32 exp = 1;
* @param value the exp to set
* @return this
*/
public BattlePassInfoNotify setExp(final int value) {
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
exp = value;
return this;
}
/**
- * optional uint32 cur_bp_id = 9;
+ * optional uint32 cur_bp_id = 6;
* @return whether the curBpId field is set
*/
public boolean hasCurBpId() {
- return (bitField0_ & 0x00000100) != 0;
+ return (bitField0_ & 0x00000200) != 0;
}
/**
- * optional uint32 cur_bp_id = 9;
+ * optional uint32 cur_bp_id = 6;
* @return this
*/
public BattlePassInfoNotify clearCurBpId() {
- bitField0_ &= ~0x00000100;
+ bitField0_ &= ~0x00000200;
curBpId = 0;
return this;
}
/**
- * optional uint32 cur_bp_id = 9;
+ * optional uint32 cur_bp_id = 6;
* @return the curBpId
*/
public int getCurBpId() {
@@ -428,36 +455,36 @@ public final class BattlePassInfoNotifyOuterClass {
}
/**
- * optional uint32 cur_bp_id = 9;
+ * optional uint32 cur_bp_id = 6;
* @param value the curBpId to set
* @return this
*/
public BattlePassInfoNotify setCurBpId(final int value) {
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
curBpId = value;
return this;
}
/**
- * optional uint32 cur_week_add_exp_sum = 14;
+ * optional uint32 cur_week_add_exp_sum = 10;
* @return whether the curWeekAddExpSum field is set
*/
public boolean hasCurWeekAddExpSum() {
- return (bitField0_ & 0x00000200) != 0;
+ return (bitField0_ & 0x00000400) != 0;
}
/**
- * optional uint32 cur_week_add_exp_sum = 14;
+ * optional uint32 cur_week_add_exp_sum = 10;
* @return this
*/
public BattlePassInfoNotify clearCurWeekAddExpSum() {
- bitField0_ &= ~0x00000200;
+ bitField0_ &= ~0x00000400;
curWeekAddExpSum = 0;
return this;
}
/**
- * optional uint32 cur_week_add_exp_sum = 14;
+ * optional uint32 cur_week_add_exp_sum = 10;
* @return the curWeekAddExpSum
*/
public int getCurWeekAddExpSum() {
@@ -465,36 +492,73 @@ public final class BattlePassInfoNotifyOuterClass {
}
/**
- * optional uint32 cur_week_add_exp_sum = 14;
+ * optional uint32 cur_week_add_exp_sum = 10;
* @param value the curWeekAddExpSum to set
* @return this
*/
public BattlePassInfoNotify setCurWeekAddExpSum(final int value) {
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
curWeekAddExpSum = value;
return this;
}
/**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 13;
- * @return whether the bpTierType field is set
+ * optional uint32 level = 12;
+ * @return whether the level field is set
*/
- public boolean hasBpTierType() {
- return (bitField0_ & 0x00000400) != 0;
+ public boolean hasLevel() {
+ return (bitField0_ & 0x00000800) != 0;
}
/**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 13;
+ * optional uint32 level = 12;
+ * @return this
+ */
+ public BattlePassInfoNotify clearLevel() {
+ bitField0_ &= ~0x00000800;
+ level = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 level = 12;
+ * @return the level
+ */
+ public int getLevel() {
+ return level;
+ }
+
+ /**
+ * optional uint32 level = 12;
+ * @param value the level to set
+ * @return this
+ */
+ public BattlePassInfoNotify setLevel(final int value) {
+ bitField0_ |= 0x00000800;
+ level = value;
+ return this;
+ }
+
+ /**
+ * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 5;
+ * @return whether the bpTierType field is set
+ */
+ public boolean hasBpTierType() {
+ return (bitField0_ & 0x00001000) != 0;
+ }
+
+ /**
+ * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 5;
* @return this
*/
public BattlePassInfoNotify clearBpTierType() {
- bitField0_ &= ~0x00000400;
+ bitField0_ &= ~0x00001000;
bpTierType = 0;
return this;
}
/**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 13;
+ * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 5;
* @return the bpTierType
*/
public BpTierType getBpTierType() {
@@ -521,18 +585,18 @@ public final class BattlePassInfoNotifyOuterClass {
* @return this
*/
public BattlePassInfoNotify setBpTierTypeValue(final int value) {
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00001000;
bpTierType = value;
return this;
}
/**
- * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 13;
+ * optional .BattlePassInfoNotify.BpTierType bp_tier_type = 5;
* @param value the bpTierType to set
* @return this
*/
public BattlePassInfoNotify setBpTierType(final BpTierType value) {
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00001000;
bpTierType = value.getNumber();
return this;
}
@@ -542,16 +606,18 @@ public final class BattlePassInfoNotifyOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- takenPremiumReward1 = other.takenPremiumReward1;
- takenPremiumExtendedReward = other.takenPremiumExtendedReward;
- takenFreeExtendedReward = other.takenFreeExtendedReward;
- takenFreeReward = other.takenFreeReward;
takenPremiumReward2 = other.takenPremiumReward2;
takenPremiumOptionalReward = other.takenPremiumOptionalReward;
- level = other.level;
+ takenFreeExtendedReward = other.takenFreeExtendedReward;
+ takenPremiumExtendedOptionalReward = other.takenPremiumExtendedOptionalReward;
+ takenPremiumExtendedReward2 = other.takenPremiumExtendedReward2;
+ takenPremiumExtendedReward = other.takenPremiumExtendedReward;
+ takenPremiumReward1 = other.takenPremiumReward1;
+ takenFreeReward = other.takenFreeReward;
exp = other.exp;
curBpId = other.curBpId;
curWeekAddExpSum = other.curWeekAddExpSum;
+ level = other.level;
bpTierType = other.bpTierType;
}
return this;
@@ -563,26 +629,29 @@ public final class BattlePassInfoNotifyOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasTakenPremiumReward1()) {
- setTakenPremiumReward1(other.takenPremiumReward1);
- }
- if (other.hasTakenPremiumExtendedReward()) {
- setTakenPremiumExtendedReward(other.takenPremiumExtendedReward);
- }
- if (other.hasTakenFreeExtendedReward()) {
- setTakenFreeExtendedReward(other.takenFreeExtendedReward);
- }
- if (other.hasTakenFreeReward()) {
- setTakenFreeReward(other.takenFreeReward);
- }
if (other.hasTakenPremiumReward2()) {
setTakenPremiumReward2(other.takenPremiumReward2);
}
if (other.hasTakenPremiumOptionalReward()) {
setTakenPremiumOptionalReward(other.takenPremiumOptionalReward);
}
- if (other.hasLevel()) {
- setLevel(other.level);
+ if (other.hasTakenFreeExtendedReward()) {
+ setTakenFreeExtendedReward(other.takenFreeExtendedReward);
+ }
+ if (other.hasTakenPremiumExtendedOptionalReward()) {
+ setTakenPremiumExtendedOptionalReward(other.takenPremiumExtendedOptionalReward);
+ }
+ if (other.hasTakenPremiumExtendedReward2()) {
+ setTakenPremiumExtendedReward2(other.takenPremiumExtendedReward2);
+ }
+ if (other.hasTakenPremiumExtendedReward()) {
+ setTakenPremiumExtendedReward(other.takenPremiumExtendedReward);
+ }
+ if (other.hasTakenPremiumReward1()) {
+ setTakenPremiumReward1(other.takenPremiumReward1);
+ }
+ if (other.hasTakenFreeReward()) {
+ setTakenFreeReward(other.takenFreeReward);
}
if (other.hasExp()) {
setExp(other.exp);
@@ -593,6 +662,9 @@ public final class BattlePassInfoNotifyOuterClass {
if (other.hasCurWeekAddExpSum()) {
setCurWeekAddExpSum(other.curWeekAddExpSum);
}
+ if (other.hasLevel()) {
+ setLevel(other.level);
+ }
if (other.hasBpTierType()) {
setBpTierTypeValue(other.bpTierType);
}
@@ -606,16 +678,18 @@ public final class BattlePassInfoNotifyOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- takenPremiumReward1 = 0L;
- takenPremiumExtendedReward = 0L;
- takenFreeExtendedReward = 0L;
- takenFreeReward = 0L;
takenPremiumReward2 = 0L;
takenPremiumOptionalReward = 0L;
- level = 0;
+ takenFreeExtendedReward = 0L;
+ takenPremiumExtendedOptionalReward = 0L;
+ takenPremiumExtendedReward2 = 0L;
+ takenPremiumExtendedReward = 0L;
+ takenPremiumReward1 = 0L;
+ takenFreeReward = 0L;
exp = 0;
curBpId = 0;
curWeekAddExpSum = 0;
+ level = 0;
bpTierType = 0;
return this;
}
@@ -640,16 +714,18 @@ public final class BattlePassInfoNotifyOuterClass {
}
BattlePassInfoNotify other = (BattlePassInfoNotify) o;
return bitField0_ == other.bitField0_
- && (!hasTakenPremiumReward1() || takenPremiumReward1 == other.takenPremiumReward1)
- && (!hasTakenPremiumExtendedReward() || takenPremiumExtendedReward == other.takenPremiumExtendedReward)
- && (!hasTakenFreeExtendedReward() || takenFreeExtendedReward == other.takenFreeExtendedReward)
- && (!hasTakenFreeReward() || takenFreeReward == other.takenFreeReward)
&& (!hasTakenPremiumReward2() || takenPremiumReward2 == other.takenPremiumReward2)
&& (!hasTakenPremiumOptionalReward() || takenPremiumOptionalReward == other.takenPremiumOptionalReward)
- && (!hasLevel() || level == other.level)
+ && (!hasTakenFreeExtendedReward() || takenFreeExtendedReward == other.takenFreeExtendedReward)
+ && (!hasTakenPremiumExtendedOptionalReward() || takenPremiumExtendedOptionalReward == other.takenPremiumExtendedOptionalReward)
+ && (!hasTakenPremiumExtendedReward2() || takenPremiumExtendedReward2 == other.takenPremiumExtendedReward2)
+ && (!hasTakenPremiumExtendedReward() || takenPremiumExtendedReward == other.takenPremiumExtendedReward)
+ && (!hasTakenPremiumReward1() || takenPremiumReward1 == other.takenPremiumReward1)
+ && (!hasTakenFreeReward() || takenFreeReward == other.takenFreeReward)
&& (!hasExp() || exp == other.exp)
&& (!hasCurBpId() || curBpId == other.curBpId)
&& (!hasCurWeekAddExpSum() || curWeekAddExpSum == other.curWeekAddExpSum)
+ && (!hasLevel() || level == other.level)
&& (!hasBpTierType() || bpTierType == other.bpTierType);
}
@@ -657,46 +733,54 @@ public final class BattlePassInfoNotifyOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
- output.writeUInt64NoTag(takenPremiumReward1);
+ output.writeUInt64NoTag(takenPremiumReward2);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 48);
- output.writeUInt64NoTag(takenPremiumExtendedReward);
+ output.writeRawByte((byte) 56);
+ output.writeUInt64NoTag(takenPremiumOptionalReward);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 56);
+ output.writeRawByte((byte) 64);
output.writeUInt64NoTag(takenFreeExtendedReward);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt64NoTag(takenFreeReward);
+ output.writeRawByte((byte) 72);
+ output.writeUInt64NoTag(takenPremiumExtendedOptionalReward);
}
if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 96);
- output.writeUInt64NoTag(takenPremiumReward2);
+ output.writeRawByte((byte) 88);
+ output.writeUInt64NoTag(takenPremiumExtendedReward2);
}
if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 120);
- output.writeUInt64NoTag(takenPremiumOptionalReward);
+ output.writeRawByte((byte) 104);
+ output.writeUInt64NoTag(takenPremiumExtendedReward);
}
if ((bitField0_ & 0x00000040) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(level);
+ output.writeRawByte((byte) 112);
+ output.writeUInt64NoTag(takenPremiumReward1);
}
if ((bitField0_ & 0x00000080) != 0) {
- output.writeRawByte((byte) 32);
- output.writeUInt32NoTag(exp);
+ output.writeRawByte((byte) 120);
+ output.writeUInt64NoTag(takenFreeReward);
}
if ((bitField0_ & 0x00000100) != 0) {
- output.writeRawByte((byte) 72);
- output.writeUInt32NoTag(curBpId);
+ output.writeRawByte((byte) 8);
+ output.writeUInt32NoTag(exp);
}
if ((bitField0_ & 0x00000200) != 0) {
- output.writeRawByte((byte) 112);
- output.writeUInt32NoTag(curWeekAddExpSum);
+ output.writeRawByte((byte) 48);
+ output.writeUInt32NoTag(curBpId);
}
if ((bitField0_ & 0x00000400) != 0) {
- output.writeRawByte((byte) 104);
+ output.writeRawByte((byte) 80);
+ output.writeUInt32NoTag(curWeekAddExpSum);
+ }
+ if ((bitField0_ & 0x00000800) != 0) {
+ output.writeRawByte((byte) 96);
+ output.writeUInt32NoTag(level);
+ }
+ if ((bitField0_ & 0x00001000) != 0) {
+ output.writeRawByte((byte) 40);
output.writeEnumNoTag(bpTierType);
}
}
@@ -705,36 +789,42 @@ public final class BattlePassInfoNotifyOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumReward1);
+ size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumReward2);
}
if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumExtendedReward);
+ size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumOptionalReward);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt64SizeNoTag(takenFreeExtendedReward);
}
if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenFreeReward);
+ size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumExtendedOptionalReward);
}
if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumReward2);
+ size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumExtendedReward2);
}
if ((bitField0_ & 0x00000020) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumOptionalReward);
+ size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumExtendedReward);
}
if ((bitField0_ & 0x00000040) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
+ size += 1 + ProtoSink.computeUInt64SizeNoTag(takenPremiumReward1);
}
if ((bitField0_ & 0x00000080) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(exp);
+ size += 1 + ProtoSink.computeUInt64SizeNoTag(takenFreeReward);
}
if ((bitField0_ & 0x00000100) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(curBpId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(exp);
}
if ((bitField0_ & 0x00000200) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(curWeekAddExpSum);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(curBpId);
}
if ((bitField0_ & 0x00000400) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(curWeekAddExpSum);
+ }
+ if ((bitField0_ & 0x00000800) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
+ }
+ if ((bitField0_ & 0x00001000) != 0) {
size += 1 + ProtoSink.computeEnumSizeNoTag(bpTierType);
}
return size;
@@ -748,101 +838,119 @@ public final class BattlePassInfoNotifyOuterClass {
while (true) {
switch (tag) {
case 24: {
- // takenPremiumReward1
- takenPremiumReward1 = input.readUInt64();
+ // takenPremiumReward2
+ takenPremiumReward2 = input.readUInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 48) {
- break;
- }
- }
- case 48: {
- // takenPremiumExtendedReward
- takenPremiumExtendedReward = input.readUInt64();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
if (tag != 56) {
break;
}
}
case 56: {
- // takenFreeExtendedReward
- takenFreeExtendedReward = input.readUInt64();
- bitField0_ |= 0x00000004;
+ // takenPremiumOptionalReward
+ takenPremiumOptionalReward = input.readUInt64();
+ bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 64) {
break;
}
}
case 64: {
- // takenFreeReward
- takenFreeReward = input.readUInt64();
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 96) {
- break;
- }
- }
- case 96: {
- // takenPremiumReward2
- takenPremiumReward2 = input.readUInt64();
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 120) {
- break;
- }
- }
- case 120: {
- // takenPremiumOptionalReward
- takenPremiumOptionalReward = input.readUInt64();
- bitField0_ |= 0x00000020;
- tag = input.readTag();
- if (tag != 8) {
- break;
- }
- }
- case 8: {
- // level
- level = input.readUInt32();
- bitField0_ |= 0x00000040;
- tag = input.readTag();
- if (tag != 32) {
- break;
- }
- }
- case 32: {
- // exp
- exp = input.readUInt32();
- bitField0_ |= 0x00000080;
+ // takenFreeExtendedReward
+ takenFreeExtendedReward = input.readUInt64();
+ bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 72) {
break;
}
}
case 72: {
- // curBpId
- curBpId = input.readUInt32();
- bitField0_ |= 0x00000100;
+ // takenPremiumExtendedOptionalReward
+ takenPremiumExtendedOptionalReward = input.readUInt64();
+ bitField0_ |= 0x00000008;
tag = input.readTag();
- if (tag != 112) {
+ if (tag != 88) {
break;
}
}
- case 112: {
- // curWeekAddExpSum
- curWeekAddExpSum = input.readUInt32();
- bitField0_ |= 0x00000200;
+ case 88: {
+ // takenPremiumExtendedReward2
+ takenPremiumExtendedReward2 = input.readUInt64();
+ bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
+ // takenPremiumExtendedReward
+ takenPremiumExtendedReward = input.readUInt64();
+ bitField0_ |= 0x00000020;
+ tag = input.readTag();
+ if (tag != 112) {
+ break;
+ }
+ }
+ case 112: {
+ // takenPremiumReward1
+ takenPremiumReward1 = input.readUInt64();
+ bitField0_ |= 0x00000040;
+ tag = input.readTag();
+ if (tag != 120) {
+ break;
+ }
+ }
+ case 120: {
+ // takenFreeReward
+ takenFreeReward = input.readUInt64();
+ bitField0_ |= 0x00000080;
+ tag = input.readTag();
+ if (tag != 8) {
+ break;
+ }
+ }
+ case 8: {
+ // exp
+ exp = input.readUInt32();
+ bitField0_ |= 0x00000100;
+ tag = input.readTag();
+ if (tag != 48) {
+ break;
+ }
+ }
+ case 48: {
+ // curBpId
+ curBpId = input.readUInt32();
+ bitField0_ |= 0x00000200;
+ tag = input.readTag();
+ if (tag != 80) {
+ break;
+ }
+ }
+ case 80: {
+ // curWeekAddExpSum
+ curWeekAddExpSum = input.readUInt32();
+ bitField0_ |= 0x00000400;
+ tag = input.readTag();
+ if (tag != 96) {
+ break;
+ }
+ }
+ case 96: {
+ // level
+ level = input.readUInt32();
+ bitField0_ |= 0x00000800;
+ tag = input.readTag();
+ if (tag != 40) {
+ break;
+ }
+ }
+ case 40: {
// bpTierType
final int value = input.readInt32();
if (BpTierType.forNumber(value) != null) {
bpTierType = value;
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00001000;
}
tag = input.readTag();
if (tag != 0) {
@@ -867,36 +975,42 @@ public final class BattlePassInfoNotifyOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt64(FieldNames.takenPremiumReward1, takenPremiumReward1);
+ output.writeUInt64(FieldNames.takenPremiumReward2, takenPremiumReward2);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt64(FieldNames.takenPremiumExtendedReward, takenPremiumExtendedReward);
+ output.writeUInt64(FieldNames.takenPremiumOptionalReward, takenPremiumOptionalReward);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt64(FieldNames.takenFreeExtendedReward, takenFreeExtendedReward);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt64(FieldNames.takenFreeReward, takenFreeReward);
+ output.writeUInt64(FieldNames.takenPremiumExtendedOptionalReward, takenPremiumExtendedOptionalReward);
}
if ((bitField0_ & 0x00000010) != 0) {
- output.writeUInt64(FieldNames.takenPremiumReward2, takenPremiumReward2);
+ output.writeUInt64(FieldNames.takenPremiumExtendedReward2, takenPremiumExtendedReward2);
}
if ((bitField0_ & 0x00000020) != 0) {
- output.writeUInt64(FieldNames.takenPremiumOptionalReward, takenPremiumOptionalReward);
+ output.writeUInt64(FieldNames.takenPremiumExtendedReward, takenPremiumExtendedReward);
}
if ((bitField0_ & 0x00000040) != 0) {
- output.writeUInt32(FieldNames.level, level);
+ output.writeUInt64(FieldNames.takenPremiumReward1, takenPremiumReward1);
}
if ((bitField0_ & 0x00000080) != 0) {
- output.writeUInt32(FieldNames.exp, exp);
+ output.writeUInt64(FieldNames.takenFreeReward, takenFreeReward);
}
if ((bitField0_ & 0x00000100) != 0) {
- output.writeUInt32(FieldNames.curBpId, curBpId);
+ output.writeUInt32(FieldNames.exp, exp);
}
if ((bitField0_ & 0x00000200) != 0) {
- output.writeUInt32(FieldNames.curWeekAddExpSum, curWeekAddExpSum);
+ output.writeUInt32(FieldNames.curBpId, curBpId);
}
if ((bitField0_ & 0x00000400) != 0) {
+ output.writeUInt32(FieldNames.curWeekAddExpSum, curWeekAddExpSum);
+ }
+ if ((bitField0_ & 0x00000800) != 0) {
+ output.writeUInt32(FieldNames.level, level);
+ }
+ if ((bitField0_ & 0x00001000) != 0) {
output.writeEnum(FieldNames.bpTierType, bpTierType, BpTierType.converter());
}
output.endObject();
@@ -909,11 +1023,11 @@ public final class BattlePassInfoNotifyOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 226926898:
- case 1195903362: {
- if (input.isAtField(FieldNames.takenPremiumReward1)) {
+ case 226926899:
+ case 1195903363: {
+ if (input.isAtField(FieldNames.takenPremiumReward2)) {
if (!input.trySkipNullValue()) {
- takenPremiumReward1 = input.readUInt64();
+ takenPremiumReward2 = input.readUInt64();
bitField0_ |= 0x00000001;
}
} else {
@@ -921,11 +1035,11 @@ public final class BattlePassInfoNotifyOuterClass {
}
break;
}
- case -1290021512:
- case -2138632299: {
- if (input.isAtField(FieldNames.takenPremiumExtendedReward)) {
+ case 736311903:
+ case 548161422: {
+ if (input.isAtField(FieldNames.takenPremiumOptionalReward)) {
if (!input.trySkipNullValue()) {
- takenPremiumExtendedReward = input.readUInt64();
+ takenPremiumOptionalReward = input.readUInt64();
bitField0_ |= 0x00000002;
}
} else {
@@ -945,11 +1059,11 @@ public final class BattlePassInfoNotifyOuterClass {
}
break;
}
- case 1065549026:
- case 135671018: {
- if (input.isAtField(FieldNames.takenFreeReward)) {
+ case 798665720:
+ case -208746680: {
+ if (input.isAtField(FieldNames.takenPremiumExtendedOptionalReward)) {
if (!input.trySkipNullValue()) {
- takenFreeReward = input.readUInt64();
+ takenPremiumExtendedOptionalReward = input.readUInt64();
bitField0_ |= 0x00000008;
}
} else {
@@ -957,11 +1071,11 @@ public final class BattlePassInfoNotifyOuterClass {
}
break;
}
- case 226926899:
- case 1195903363: {
- if (input.isAtField(FieldNames.takenPremiumReward2)) {
+ case -1335961158:
+ case -1873091779: {
+ if (input.isAtField(FieldNames.takenPremiumExtendedReward2)) {
if (!input.trySkipNullValue()) {
- takenPremiumReward2 = input.readUInt64();
+ takenPremiumExtendedReward2 = input.readUInt64();
bitField0_ |= 0x00000010;
}
} else {
@@ -969,11 +1083,11 @@ public final class BattlePassInfoNotifyOuterClass {
}
break;
}
- case 736311903:
- case 548161422: {
- if (input.isAtField(FieldNames.takenPremiumOptionalReward)) {
+ case -1290021512:
+ case -2138632299: {
+ if (input.isAtField(FieldNames.takenPremiumExtendedReward)) {
if (!input.trySkipNullValue()) {
- takenPremiumOptionalReward = input.readUInt64();
+ takenPremiumExtendedReward = input.readUInt64();
bitField0_ |= 0x00000020;
}
} else {
@@ -981,10 +1095,11 @@ public final class BattlePassInfoNotifyOuterClass {
}
break;
}
- case 102865796: {
- if (input.isAtField(FieldNames.level)) {
+ case 226926898:
+ case 1195903362: {
+ if (input.isAtField(FieldNames.takenPremiumReward1)) {
if (!input.trySkipNullValue()) {
- level = input.readUInt32();
+ takenPremiumReward1 = input.readUInt64();
bitField0_ |= 0x00000040;
}
} else {
@@ -992,11 +1107,23 @@ public final class BattlePassInfoNotifyOuterClass {
}
break;
}
+ case 1065549026:
+ case 135671018: {
+ if (input.isAtField(FieldNames.takenFreeReward)) {
+ if (!input.trySkipNullValue()) {
+ takenFreeReward = input.readUInt64();
+ bitField0_ |= 0x00000080;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
case 100893: {
if (input.isAtField(FieldNames.exp)) {
if (!input.trySkipNullValue()) {
exp = input.readUInt32();
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
}
} else {
input.skipUnknownField();
@@ -1008,7 +1135,7 @@ public final class BattlePassInfoNotifyOuterClass {
if (input.isAtField(FieldNames.curBpId)) {
if (!input.trySkipNullValue()) {
curBpId = input.readUInt32();
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000200;
}
} else {
input.skipUnknownField();
@@ -1020,7 +1147,18 @@ public final class BattlePassInfoNotifyOuterClass {
if (input.isAtField(FieldNames.curWeekAddExpSum)) {
if (!input.trySkipNullValue()) {
curWeekAddExpSum = input.readUInt32();
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000400;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 102865796: {
+ if (input.isAtField(FieldNames.level)) {
+ if (!input.trySkipNullValue()) {
+ level = input.readUInt32();
+ bitField0_ |= 0x00000800;
}
} else {
input.skipUnknownField();
@@ -1034,7 +1172,7 @@ public final class BattlePassInfoNotifyOuterClass {
final BpTierType value = input.readEnum(BpTierType.converter());
if (value != null) {
bpTierType = value.getNumber();
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00001000;
} else {
input.skipUnknownEnumValue();
}
@@ -1086,8 +1224,8 @@ public final class BattlePassInfoNotifyOuterClass {
/**
*
- * up to lv64 => normal
- * after lv64 => extended
+ * up to lv64 => normal, flag 0
+ * after lv64 => extended, flag 1
*
*
* Protobuf enum {@code BpTierType}
@@ -1239,19 +1377,21 @@ public final class BattlePassInfoNotifyOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName takenPremiumReward1 = FieldName.forField("takenPremiumReward1", "taken_premium_reward1");
-
- static final FieldName takenPremiumExtendedReward = FieldName.forField("takenPremiumExtendedReward", "taken_premium_extended_reward");
-
- static final FieldName takenFreeExtendedReward = FieldName.forField("takenFreeExtendedReward", "taken_free_extended_reward");
-
- static final FieldName takenFreeReward = FieldName.forField("takenFreeReward", "taken_free_reward");
-
static final FieldName takenPremiumReward2 = FieldName.forField("takenPremiumReward2", "taken_premium_reward2");
static final FieldName takenPremiumOptionalReward = FieldName.forField("takenPremiumOptionalReward", "taken_premium_optional_reward");
- static final FieldName level = FieldName.forField("level");
+ static final FieldName takenFreeExtendedReward = FieldName.forField("takenFreeExtendedReward", "taken_free_extended_reward");
+
+ static final FieldName takenPremiumExtendedOptionalReward = FieldName.forField("takenPremiumExtendedOptionalReward", "taken_premium_extended_optional_reward");
+
+ static final FieldName takenPremiumExtendedReward2 = FieldName.forField("takenPremiumExtendedReward2", "taken_premium_extended_reward2");
+
+ static final FieldName takenPremiumExtendedReward = FieldName.forField("takenPremiumExtendedReward", "taken_premium_extended_reward");
+
+ static final FieldName takenPremiumReward1 = FieldName.forField("takenPremiumReward1", "taken_premium_reward1");
+
+ static final FieldName takenFreeReward = FieldName.forField("takenFreeReward", "taken_free_reward");
static final FieldName exp = FieldName.forField("exp");
@@ -1259,6 +1399,8 @@ public final class BattlePassInfoNotifyOuterClass {
static final FieldName curWeekAddExpSum = FieldName.forField("curWeekAddExpSum", "cur_week_add_exp_sum");
+ static final FieldName level = FieldName.forField("level");
+
static final FieldName bpTierType = FieldName.forField("bpTierType", "bp_tier_type");
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/BattleRecord1InfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/BattleRecord1InfoOuterClass.java
new file mode 100644
index 0000000..bb057d1
--- /dev/null
+++ b/src/generated/main/emu/lunarcore/proto/BattleRecord1InfoOuterClass.java
@@ -0,0 +1,540 @@
+// Code generated by protocol buffer compiler. Do not edit!
+package emu.lunarcore.proto;
+
+import java.io.IOException;
+import us.hebi.quickbuf.FieldName;
+import us.hebi.quickbuf.InvalidProtocolBufferException;
+import us.hebi.quickbuf.JsonSink;
+import us.hebi.quickbuf.JsonSource;
+import us.hebi.quickbuf.MessageFactory;
+import us.hebi.quickbuf.ProtoMessage;
+import us.hebi.quickbuf.ProtoSink;
+import us.hebi.quickbuf.ProtoSource;
+import us.hebi.quickbuf.RepeatedMessage;
+
+public final class BattleRecord1InfoOuterClass {
+ /**
+ * Protobuf type {@code BattleRecord1Info}
+ */
+ public static final class BattleRecord1Info extends ProtoMessageoptional uint32 battle_record_stars = 6;
+ */
+ private int battleRecordStars;
+
+ /**
+ * optional uint32 round_count = 8;
+ */
+ private int roundCount;
+
+ /**
+ * optional uint32 level = 12;
+ */
+ private int level;
+
+ /**
+ * repeated .BattleRecordAvatars battle_record_avatars = 11;
+ */
+ private final RepeatedMessageoptional uint32 battle_record_stars = 6;
+ * @return whether the battleRecordStars field is set
+ */
+ public boolean hasBattleRecordStars() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 battle_record_stars = 6;
+ * @return this
+ */
+ public BattleRecord1Info clearBattleRecordStars() {
+ bitField0_ &= ~0x00000001;
+ battleRecordStars = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 battle_record_stars = 6;
+ * @return the battleRecordStars
+ */
+ public int getBattleRecordStars() {
+ return battleRecordStars;
+ }
+
+ /**
+ * optional uint32 battle_record_stars = 6;
+ * @param value the battleRecordStars to set
+ * @return this
+ */
+ public BattleRecord1Info setBattleRecordStars(final int value) {
+ bitField0_ |= 0x00000001;
+ battleRecordStars = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 round_count = 8;
+ * @return whether the roundCount field is set
+ */
+ public boolean hasRoundCount() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 round_count = 8;
+ * @return this
+ */
+ public BattleRecord1Info clearRoundCount() {
+ bitField0_ &= ~0x00000002;
+ roundCount = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 round_count = 8;
+ * @return the roundCount
+ */
+ public int getRoundCount() {
+ return roundCount;
+ }
+
+ /**
+ * optional uint32 round_count = 8;
+ * @param value the roundCount to set
+ * @return this
+ */
+ public BattleRecord1Info setRoundCount(final int value) {
+ bitField0_ |= 0x00000002;
+ roundCount = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 level = 12;
+ * @return whether the level field is set
+ */
+ public boolean hasLevel() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 level = 12;
+ * @return this
+ */
+ public BattleRecord1Info clearLevel() {
+ bitField0_ &= ~0x00000004;
+ level = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 level = 12;
+ * @return the level
+ */
+ public int getLevel() {
+ return level;
+ }
+
+ /**
+ * optional uint32 level = 12;
+ * @param value the level to set
+ * @return this
+ */
+ public BattleRecord1Info setLevel(final int value) {
+ bitField0_ |= 0x00000004;
+ level = value;
+ return this;
+ }
+
+ /**
+ * repeated .BattleRecordAvatars battle_record_avatars = 11;
+ * @return whether the battleRecordAvatars field is set
+ */
+ public boolean hasBattleRecordAvatars() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * repeated .BattleRecordAvatars battle_record_avatars = 11;
+ * @return this
+ */
+ public BattleRecord1Info clearBattleRecordAvatars() {
+ bitField0_ &= ~0x00000008;
+ battleRecordAvatars.clear();
+ return this;
+ }
+
+ /**
+ * repeated .BattleRecordAvatars battle_record_avatars = 11;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableBattleRecordAvatars()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedMessagerepeated .BattleRecordAvatars battle_record_avatars = 11;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedMessagerepeated .BattleRecordAvatars battle_record_avatars = 11;
+ * @param value the battleRecordAvatars to add
+ * @return this
+ */
+ public BattleRecord1Info addBattleRecordAvatars(
+ final BattleRecordAvatarsOuterClass.BattleRecordAvatars value) {
+ bitField0_ |= 0x00000008;
+ battleRecordAvatars.add(value);
+ return this;
+ }
+
+ /**
+ * repeated .BattleRecordAvatars battle_record_avatars = 11;
+ * @param values the battleRecordAvatars to add
+ * @return this
+ */
+ public BattleRecord1Info addAllBattleRecordAvatars(
+ final BattleRecordAvatarsOuterClass.BattleRecordAvatars... values) {
+ bitField0_ |= 0x00000008;
+ battleRecordAvatars.addAll(values);
+ return this;
+ }
+
+ @Override
+ public BattleRecord1Info copyFrom(final BattleRecord1Info other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ battleRecordStars = other.battleRecordStars;
+ roundCount = other.roundCount;
+ level = other.level;
+ battleRecordAvatars.copyFrom(other.battleRecordAvatars);
+ }
+ return this;
+ }
+
+ @Override
+ public BattleRecord1Info mergeFrom(final BattleRecord1Info other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasBattleRecordStars()) {
+ setBattleRecordStars(other.battleRecordStars);
+ }
+ if (other.hasRoundCount()) {
+ setRoundCount(other.roundCount);
+ }
+ if (other.hasLevel()) {
+ setLevel(other.level);
+ }
+ if (other.hasBattleRecordAvatars()) {
+ getMutableBattleRecordAvatars().addAll(other.battleRecordAvatars);
+ }
+ return this;
+ }
+
+ @Override
+ public BattleRecord1Info clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ battleRecordStars = 0;
+ roundCount = 0;
+ level = 0;
+ battleRecordAvatars.clear();
+ return this;
+ }
+
+ @Override
+ public BattleRecord1Info clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ battleRecordAvatars.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof BattleRecord1Info)) {
+ return false;
+ }
+ BattleRecord1Info other = (BattleRecord1Info) o;
+ return bitField0_ == other.bitField0_
+ && (!hasBattleRecordStars() || battleRecordStars == other.battleRecordStars)
+ && (!hasRoundCount() || roundCount == other.roundCount)
+ && (!hasLevel() || level == other.level)
+ && (!hasBattleRecordAvatars() || battleRecordAvatars.equals(other.battleRecordAvatars));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 48);
+ output.writeUInt32NoTag(battleRecordStars);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 64);
+ output.writeUInt32NoTag(roundCount);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 96);
+ output.writeUInt32NoTag(level);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ for (int i = 0; i < battleRecordAvatars.length(); i++) {
+ output.writeRawByte((byte) 90);
+ output.writeMessageNoTag(battleRecordAvatars.get(i));
+ }
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(battleRecordStars);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(roundCount);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += (1 * battleRecordAvatars.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(battleRecordAvatars);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public BattleRecord1Info mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 48: {
+ // battleRecordStars
+ battleRecordStars = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 64) {
+ break;
+ }
+ }
+ case 64: {
+ // roundCount
+ roundCount = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 96) {
+ break;
+ }
+ }
+ case 96: {
+ // level
+ level = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 90) {
+ break;
+ }
+ }
+ case 90: {
+ // battleRecordAvatars
+ tag = input.readRepeatedMessage(battleRecordAvatars, tag);
+ bitField0_ |= 0x00000008;
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.battleRecordStars, battleRecordStars);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.roundCount, roundCount);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeUInt32(FieldNames.level, level);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRepeatedMessage(FieldNames.battleRecordAvatars, battleRecordAvatars);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public BattleRecord1Info mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case -1025792328:
+ case 59201306: {
+ if (input.isAtField(FieldNames.battleRecordStars)) {
+ if (!input.trySkipNullValue()) {
+ battleRecordStars = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -171935711:
+ case -244677858: {
+ if (input.isAtField(FieldNames.roundCount)) {
+ if (!input.trySkipNullValue()) {
+ roundCount = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 102865796: {
+ if (input.isAtField(FieldNames.level)) {
+ if (!input.trySkipNullValue()) {
+ level = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -976809263:
+ case -1974979917: {
+ if (input.isAtField(FieldNames.battleRecordAvatars)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedMessage(battleRecordAvatars);
+ bitField0_ |= 0x00000008;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public BattleRecord1Info clone() {
+ return new BattleRecord1Info().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static BattleRecord1Info parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new BattleRecord1Info(), data).checkInitialized();
+ }
+
+ public static BattleRecord1Info parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecord1Info(), input).checkInitialized();
+ }
+
+ public static BattleRecord1Info parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecord1Info(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating BattleRecord1Info messages
+ */
+ public static MessageFactoryoptional uint32 record_id = 9;
+ */
+ private int recordId;
+
+ /**
+ * optional .BattleRecord1Info record_info = 1;
+ */
+ private final BattleRecord1InfoOuterClass.BattleRecord1Info recordInfo = BattleRecord1InfoOuterClass.BattleRecord1Info.newInstance();
+
+ private BattleRecord1() {
+ }
+
+ /**
+ * @return a new empty instance of {@code BattleRecord1}
+ */
+ public static BattleRecord1 newInstance() {
+ return new BattleRecord1();
+ }
+
+ /**
+ * optional uint32 record_id = 9;
+ * @return whether the recordId field is set
+ */
+ public boolean hasRecordId() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 record_id = 9;
+ * @return this
+ */
+ public BattleRecord1 clearRecordId() {
+ bitField0_ &= ~0x00000001;
+ recordId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 record_id = 9;
+ * @return the recordId
+ */
+ public int getRecordId() {
+ return recordId;
+ }
+
+ /**
+ * optional uint32 record_id = 9;
+ * @param value the recordId to set
+ * @return this
+ */
+ public BattleRecord1 setRecordId(final int value) {
+ bitField0_ |= 0x00000001;
+ recordId = value;
+ return this;
+ }
+
+ /**
+ * optional .BattleRecord1Info record_info = 1;
+ * @return whether the recordInfo field is set
+ */
+ public boolean hasRecordInfo() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional .BattleRecord1Info record_info = 1;
+ * @return this
+ */
+ public BattleRecord1 clearRecordInfo() {
+ bitField0_ &= ~0x00000002;
+ recordInfo.clear();
+ return this;
+ }
+
+ /**
+ * optional .BattleRecord1Info record_info = 1;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableRecordInfo()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public BattleRecord1InfoOuterClass.BattleRecord1Info getRecordInfo() {
+ return recordInfo;
+ }
+
+ /**
+ * optional .BattleRecord1Info record_info = 1;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public BattleRecord1InfoOuterClass.BattleRecord1Info getMutableRecordInfo() {
+ bitField0_ |= 0x00000002;
+ return recordInfo;
+ }
+
+ /**
+ * optional .BattleRecord1Info record_info = 1;
+ * @param value the recordInfo to set
+ * @return this
+ */
+ public BattleRecord1 setRecordInfo(final BattleRecord1InfoOuterClass.BattleRecord1Info value) {
+ bitField0_ |= 0x00000002;
+ recordInfo.copyFrom(value);
+ return this;
+ }
+
+ @Override
+ public BattleRecord1 copyFrom(final BattleRecord1 other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ recordId = other.recordId;
+ recordInfo.copyFrom(other.recordInfo);
+ }
+ return this;
+ }
+
+ @Override
+ public BattleRecord1 mergeFrom(final BattleRecord1 other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasRecordId()) {
+ setRecordId(other.recordId);
+ }
+ if (other.hasRecordInfo()) {
+ getMutableRecordInfo().mergeFrom(other.recordInfo);
+ }
+ return this;
+ }
+
+ @Override
+ public BattleRecord1 clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ recordId = 0;
+ recordInfo.clear();
+ return this;
+ }
+
+ @Override
+ public BattleRecord1 clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ recordInfo.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof BattleRecord1)) {
+ return false;
+ }
+ BattleRecord1 other = (BattleRecord1) o;
+ return bitField0_ == other.bitField0_
+ && (!hasRecordId() || recordId == other.recordId)
+ && (!hasRecordInfo() || recordInfo.equals(other.recordInfo));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 72);
+ output.writeUInt32NoTag(recordId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 10);
+ output.writeMessageNoTag(recordInfo);
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(recordId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(recordInfo);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public BattleRecord1 mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 72: {
+ // recordId
+ recordId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 10) {
+ break;
+ }
+ }
+ case 10: {
+ // recordInfo
+ input.readMessage(recordInfo);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.recordId, recordId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeMessage(FieldNames.recordInfo, recordInfo);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public BattleRecord1 mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case -799234740:
+ case 993548233: {
+ if (input.isAtField(FieldNames.recordId)) {
+ if (!input.trySkipNullValue()) {
+ recordId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 734573727:
+ case 1317125084: {
+ if (input.isAtField(FieldNames.recordInfo)) {
+ if (!input.trySkipNullValue()) {
+ input.readMessage(recordInfo);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public BattleRecord1 clone() {
+ return new BattleRecord1().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static BattleRecord1 parseFrom(final byte[] data) throws InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new BattleRecord1(), data).checkInitialized();
+ }
+
+ public static BattleRecord1 parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecord1(), input).checkInitialized();
+ }
+
+ public static BattleRecord1 parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecord1(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating BattleRecord1 messages
+ */
+ public static MessageFactoryoptional uint32 id = 1;
- */
- private int id;
-
/**
* optional uint32 level = 4;
*/
private int level;
/**
- * optional uint32 slot = 13;
+ * optional uint32 index = 14;
*/
- private int slot;
+ private int index;
/**
- * optional .AvatarType avatar_type = 11;
+ * optional uint32 id = 15;
+ */
+ private int id;
+
+ /**
+ * optional .AvatarType avatar_type = 1;
*/
private int avatarType;
- private RogueRecordAvatar() {
+ private BattleRecordAvatar() {
}
/**
- * @return a new empty instance of {@code RogueRecordAvatar}
+ * @return a new empty instance of {@code BattleRecordAvatar}
*/
- public static RogueRecordAvatar newInstance() {
- return new RogueRecordAvatar();
- }
-
- /**
- * optional uint32 id = 1;
- * @return whether the id field is set
- */
- public boolean hasId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 id = 1;
- * @return this
- */
- public RogueRecordAvatar clearId() {
- bitField0_ &= ~0x00000001;
- id = 0;
- return this;
- }
-
- /**
- * optional uint32 id = 1;
- * @return the id
- */
- public int getId() {
- return id;
- }
-
- /**
- * optional uint32 id = 1;
- * @param value the id to set
- * @return this
- */
- public RogueRecordAvatar setId(final int value) {
- bitField0_ |= 0x00000001;
- id = value;
- return this;
+ public static BattleRecordAvatar newInstance() {
+ return new BattleRecordAvatar();
}
/**
@@ -90,15 +53,15 @@ public final class RogueRecordAvatarOuterClass {
* @return whether the level field is set
*/
public boolean hasLevel() {
- return (bitField0_ & 0x00000002) != 0;
+ return (bitField0_ & 0x00000001) != 0;
}
/**
* optional uint32 level = 4;
* @return this
*/
- public RogueRecordAvatar clearLevel() {
- bitField0_ &= ~0x00000002;
+ public BattleRecordAvatar clearLevel() {
+ bitField0_ &= ~0x00000001;
level = 0;
return this;
}
@@ -116,51 +79,88 @@ public final class RogueRecordAvatarOuterClass {
* @param value the level to set
* @return this
*/
- public RogueRecordAvatar setLevel(final int value) {
- bitField0_ |= 0x00000002;
+ public BattleRecordAvatar setLevel(final int value) {
+ bitField0_ |= 0x00000001;
level = value;
return this;
}
/**
- * optional uint32 slot = 13;
- * @return whether the slot field is set
+ * optional uint32 index = 14;
+ * @return whether the index field is set
*/
- public boolean hasSlot() {
+ public boolean hasIndex() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 index = 14;
+ * @return this
+ */
+ public BattleRecordAvatar clearIndex() {
+ bitField0_ &= ~0x00000002;
+ index = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 index = 14;
+ * @return the index
+ */
+ public int getIndex() {
+ return index;
+ }
+
+ /**
+ * optional uint32 index = 14;
+ * @param value the index to set
+ * @return this
+ */
+ public BattleRecordAvatar setIndex(final int value) {
+ bitField0_ |= 0x00000002;
+ index = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 id = 15;
+ * @return whether the id field is set
+ */
+ public boolean hasId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
- * optional uint32 slot = 13;
+ * optional uint32 id = 15;
* @return this
*/
- public RogueRecordAvatar clearSlot() {
+ public BattleRecordAvatar clearId() {
bitField0_ &= ~0x00000004;
- slot = 0;
+ id = 0;
return this;
}
/**
- * optional uint32 slot = 13;
- * @return the slot
+ * optional uint32 id = 15;
+ * @return the id
*/
- public int getSlot() {
- return slot;
+ public int getId() {
+ return id;
}
/**
- * optional uint32 slot = 13;
- * @param value the slot to set
+ * optional uint32 id = 15;
+ * @param value the id to set
* @return this
*/
- public RogueRecordAvatar setSlot(final int value) {
+ public BattleRecordAvatar setId(final int value) {
bitField0_ |= 0x00000004;
- slot = value;
+ id = value;
return this;
}
/**
- * optional .AvatarType avatar_type = 11;
+ * optional .AvatarType avatar_type = 1;
* @return whether the avatarType field is set
*/
public boolean hasAvatarType() {
@@ -168,17 +168,17 @@ public final class RogueRecordAvatarOuterClass {
}
/**
- * optional .AvatarType avatar_type = 11;
+ * optional .AvatarType avatar_type = 1;
* @return this
*/
- public RogueRecordAvatar clearAvatarType() {
+ public BattleRecordAvatar clearAvatarType() {
bitField0_ &= ~0x00000008;
avatarType = 0;
return this;
}
/**
- * optional .AvatarType avatar_type = 11;
+ * optional .AvatarType avatar_type = 1;
* @return the avatarType
*/
public AvatarTypeOuterClass.AvatarType getAvatarType() {
@@ -187,7 +187,7 @@ public final class RogueRecordAvatarOuterClass {
/**
* Gets the value of the internal enum store. The result is
- * equivalent to {@link RogueRecordAvatar#getAvatarType()}.getNumber().
+ * equivalent to {@link BattleRecordAvatar#getAvatarType()}.getNumber().
*
* @return numeric wire representation
*/
@@ -199,55 +199,55 @@ public final class RogueRecordAvatarOuterClass {
* Sets the value of the internal enum store. This does not
* do any validity checks, so be sure to use appropriate value
* constants from {@link AvatarTypeOuterClass.AvatarType}. Setting an invalid value
- * can cause {@link RogueRecordAvatar#getAvatarType()} to return null
+ * can cause {@link BattleRecordAvatar#getAvatarType()} to return null
*
* @param value the numeric wire value to set
* @return this
*/
- public RogueRecordAvatar setAvatarTypeValue(final int value) {
+ public BattleRecordAvatar setAvatarTypeValue(final int value) {
bitField0_ |= 0x00000008;
avatarType = value;
return this;
}
/**
- * optional .AvatarType avatar_type = 11;
+ * optional .AvatarType avatar_type = 1;
* @param value the avatarType to set
* @return this
*/
- public RogueRecordAvatar setAvatarType(final AvatarTypeOuterClass.AvatarType value) {
+ public BattleRecordAvatar setAvatarType(final AvatarTypeOuterClass.AvatarType value) {
bitField0_ |= 0x00000008;
avatarType = value.getNumber();
return this;
}
@Override
- public RogueRecordAvatar copyFrom(final RogueRecordAvatar other) {
+ public BattleRecordAvatar copyFrom(final BattleRecordAvatar other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- id = other.id;
level = other.level;
- slot = other.slot;
+ index = other.index;
+ id = other.id;
avatarType = other.avatarType;
}
return this;
}
@Override
- public RogueRecordAvatar mergeFrom(final RogueRecordAvatar other) {
+ public BattleRecordAvatar mergeFrom(final BattleRecordAvatar other) {
if (other.isEmpty()) {
return this;
}
cachedSize = -1;
- if (other.hasId()) {
- setId(other.id);
- }
if (other.hasLevel()) {
setLevel(other.level);
}
- if (other.hasSlot()) {
- setSlot(other.slot);
+ if (other.hasIndex()) {
+ setIndex(other.index);
+ }
+ if (other.hasId()) {
+ setId(other.id);
}
if (other.hasAvatarType()) {
setAvatarTypeValue(other.avatarType);
@@ -256,21 +256,21 @@ public final class RogueRecordAvatarOuterClass {
}
@Override
- public RogueRecordAvatar clear() {
+ public BattleRecordAvatar clear() {
if (isEmpty()) {
return this;
}
cachedSize = -1;
bitField0_ = 0;
- id = 0;
level = 0;
- slot = 0;
+ index = 0;
+ id = 0;
avatarType = 0;
return this;
}
@Override
- public RogueRecordAvatar clearQuick() {
+ public BattleRecordAvatar clearQuick() {
if (isEmpty()) {
return this;
}
@@ -284,33 +284,33 @@ public final class RogueRecordAvatarOuterClass {
if (o == this) {
return true;
}
- if (!(o instanceof RogueRecordAvatar)) {
+ if (!(o instanceof BattleRecordAvatar)) {
return false;
}
- RogueRecordAvatar other = (RogueRecordAvatar) o;
+ BattleRecordAvatar other = (BattleRecordAvatar) o;
return bitField0_ == other.bitField0_
- && (!hasId() || id == other.id)
&& (!hasLevel() || level == other.level)
- && (!hasSlot() || slot == other.slot)
+ && (!hasIndex() || index == other.index)
+ && (!hasId() || id == other.id)
&& (!hasAvatarType() || avatarType == other.avatarType);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(id);
- }
- if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 32);
output.writeUInt32NoTag(level);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 112);
+ output.writeUInt32NoTag(index);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(slot);
+ output.writeRawByte((byte) 120);
+ output.writeUInt32NoTag(id);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 88);
+ output.writeRawByte((byte) 8);
output.writeEnumNoTag(avatarType);
}
}
@@ -319,13 +319,13 @@ public final class RogueRecordAvatarOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(id);
- }
- if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(index);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(slot);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(id);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeEnumSizeNoTag(avatarType);
@@ -335,39 +335,39 @@ public final class RogueRecordAvatarOuterClass {
@Override
@SuppressWarnings("fallthrough")
- public RogueRecordAvatar mergeFrom(final ProtoSource input) throws IOException {
+ public BattleRecordAvatar mergeFrom(final ProtoSource input) throws IOException {
// Enabled Fall-Through Optimization (QuickBuffers)
int tag = input.readTag();
while (true) {
switch (tag) {
- case 8: {
- // id
- id = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 32) {
- break;
- }
- }
case 32: {
// level
level = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 112) {
+ break;
+ }
+ }
+ case 112: {
+ // index
+ index = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
- if (tag != 104) {
+ if (tag != 120) {
break;
}
}
- case 104: {
- // slot
- slot = input.readUInt32();
+ case 120: {
+ // id
+ id = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
- if (tag != 88) {
+ if (tag != 8) {
break;
}
}
- case 88: {
+ case 8: {
// avatarType
final int value = input.readInt32();
if (AvatarTypeOuterClass.AvatarType.forNumber(value) != null) {
@@ -397,13 +397,13 @@ public final class RogueRecordAvatarOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.id, id);
- }
- if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.level, level);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.index, index);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.slot, slot);
+ output.writeUInt32(FieldNames.id, id);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeEnum(FieldNames.avatarType, avatarType, AvatarTypeOuterClass.AvatarType.converter());
@@ -412,16 +412,16 @@ public final class RogueRecordAvatarOuterClass {
}
@Override
- public RogueRecordAvatar mergeFrom(final JsonSource input) throws IOException {
+ public BattleRecordAvatar mergeFrom(final JsonSource input) throws IOException {
if (!input.beginObject()) {
return this;
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 3355: {
- if (input.isAtField(FieldNames.id)) {
+ case 102865796: {
+ if (input.isAtField(FieldNames.level)) {
if (!input.trySkipNullValue()) {
- id = input.readUInt32();
+ level = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -429,10 +429,10 @@ public final class RogueRecordAvatarOuterClass {
}
break;
}
- case 102865796: {
- if (input.isAtField(FieldNames.level)) {
+ case 100346066: {
+ if (input.isAtField(FieldNames.index)) {
if (!input.trySkipNullValue()) {
- level = input.readUInt32();
+ index = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -440,10 +440,10 @@ public final class RogueRecordAvatarOuterClass {
}
break;
}
- case 3533310: {
- if (input.isAtField(FieldNames.slot)) {
+ case 3355: {
+ if (input.isAtField(FieldNames.id)) {
if (!input.trySkipNullValue()) {
- slot = input.readUInt32();
+ id = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -479,8 +479,8 @@ public final class RogueRecordAvatarOuterClass {
}
@Override
- public RogueRecordAvatar clone() {
- return new RogueRecordAvatar().copyFrom(this);
+ public BattleRecordAvatar clone() {
+ return new BattleRecordAvatar().copyFrom(this);
}
@Override
@@ -488,32 +488,32 @@ public final class RogueRecordAvatarOuterClass {
return ((bitField0_) == 0);
}
- public static RogueRecordAvatar parseFrom(final byte[] data) throws
+ public static BattleRecordAvatar parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new RogueRecordAvatar(), data).checkInitialized();
+ return ProtoMessage.mergeFrom(new BattleRecordAvatar(), data).checkInitialized();
}
- public static RogueRecordAvatar parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new RogueRecordAvatar(), input).checkInitialized();
+ public static BattleRecordAvatar parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecordAvatar(), input).checkInitialized();
}
- public static RogueRecordAvatar parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new RogueRecordAvatar(), input).checkInitialized();
+ public static BattleRecordAvatar parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecordAvatar(), input).checkInitialized();
}
/**
- * @return factory for creating RogueRecordAvatar messages
+ * @return factory for creating BattleRecordAvatar messages
*/
- public static MessageFactoryrepeated .BattleRecordAvatar avatar_list = 7;
+ */
+ private final RepeatedMessagerepeated .BattleRecordAvatar avatar_list = 7;
+ * @return whether the avatarList field is set
+ */
+ public boolean hasAvatarList() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * repeated .BattleRecordAvatar avatar_list = 7;
+ * @return this
+ */
+ public BattleRecordAvatars clearAvatarList() {
+ bitField0_ &= ~0x00000001;
+ avatarList.clear();
+ return this;
+ }
+
+ /**
+ * repeated .BattleRecordAvatar avatar_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.
+ *
+ * Use {@link #getMutableAvatarList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedMessagerepeated .BattleRecordAvatar avatar_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
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedMessagerepeated .BattleRecordAvatar avatar_list = 7;
+ * @param value the avatarList to add
+ * @return this
+ */
+ public BattleRecordAvatars addAvatarList(
+ final BattleRecordAvatarOuterClass.BattleRecordAvatar value) {
+ bitField0_ |= 0x00000001;
+ avatarList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated .BattleRecordAvatar avatar_list = 7;
+ * @param values the avatarList to add
+ * @return this
+ */
+ public BattleRecordAvatars addAllAvatarList(
+ final BattleRecordAvatarOuterClass.BattleRecordAvatar... values) {
+ bitField0_ |= 0x00000001;
+ avatarList.addAll(values);
+ return this;
+ }
+
+ @Override
+ public BattleRecordAvatars copyFrom(final BattleRecordAvatars other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ avatarList.copyFrom(other.avatarList);
+ }
+ return this;
+ }
+
+ @Override
+ public BattleRecordAvatars mergeFrom(final BattleRecordAvatars other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasAvatarList()) {
+ getMutableAvatarList().addAll(other.avatarList);
+ }
+ return this;
+ }
+
+ @Override
+ public BattleRecordAvatars clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ avatarList.clear();
+ return this;
+ }
+
+ @Override
+ public BattleRecordAvatars clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ avatarList.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof BattleRecordAvatars)) {
+ return false;
+ }
+ BattleRecordAvatars other = (BattleRecordAvatars) o;
+ return bitField0_ == other.bitField0_
+ && (!hasAvatarList() || avatarList.equals(other.avatarList));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ for (int i = 0; i < avatarList.length(); i++) {
+ output.writeRawByte((byte) 58);
+ output.writeMessageNoTag(avatarList.get(i));
+ }
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += (1 * avatarList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(avatarList);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public BattleRecordAvatars mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 58: {
+ // avatarList
+ tag = input.readRepeatedMessage(avatarList, tag);
+ bitField0_ |= 0x00000001;
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRepeatedMessage(FieldNames.avatarList, avatarList);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public BattleRecordAvatars mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case -403402345:
+ case 397055940: {
+ if (input.isAtField(FieldNames.avatarList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedMessage(avatarList);
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public BattleRecordAvatars clone() {
+ return new BattleRecordAvatars().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static BattleRecordAvatars parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new BattleRecordAvatars(), data).checkInitialized();
+ }
+
+ public static BattleRecordAvatars parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecordAvatars(), input).checkInitialized();
+ }
+
+ public static BattleRecordAvatars parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecordAvatars(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating BattleRecordAvatars messages
+ */
+ public static MessageFactoryoptional uint32 record_id = 3;
+ */
+ private int recordId;
+
+ /**
+ * optional .BattleRecordType2.RecordType2 record = 7;
+ */
+ private final RecordType2 record = RecordType2.newInstance();
+
+ private BattleRecordType2() {
+ }
+
+ /**
+ * @return a new empty instance of {@code BattleRecordType2}
+ */
+ public static BattleRecordType2 newInstance() {
+ return new BattleRecordType2();
+ }
+
+ /**
+ * optional uint32 record_id = 3;
+ * @return whether the recordId field is set
+ */
+ public boolean hasRecordId() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 record_id = 3;
+ * @return this
+ */
+ public BattleRecordType2 clearRecordId() {
+ bitField0_ &= ~0x00000001;
+ recordId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 record_id = 3;
+ * @return the recordId
+ */
+ public int getRecordId() {
+ return recordId;
+ }
+
+ /**
+ * optional uint32 record_id = 3;
+ * @param value the recordId to set
+ * @return this
+ */
+ public BattleRecordType2 setRecordId(final int value) {
+ bitField0_ |= 0x00000001;
+ recordId = value;
+ return this;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordType2 record = 7;
+ * @return whether the record field is set
+ */
+ public boolean hasRecord() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordType2 record = 7;
+ * @return this
+ */
+ public BattleRecordType2 clearRecord() {
+ bitField0_ &= ~0x00000002;
+ record.clear();
+ return this;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordType2 record = 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.
+ *
+ * Use {@link #getMutableRecord()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RecordType2 getRecord() {
+ return record;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordType2 record = 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
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RecordType2 getMutableRecord() {
+ bitField0_ |= 0x00000002;
+ return record;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordType2 record = 7;
+ * @param value the record to set
+ * @return this
+ */
+ public BattleRecordType2 setRecord(final RecordType2 value) {
+ bitField0_ |= 0x00000002;
+ record.copyFrom(value);
+ return this;
+ }
+
+ @Override
+ public BattleRecordType2 copyFrom(final BattleRecordType2 other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ recordId = other.recordId;
+ record.copyFrom(other.record);
+ }
+ return this;
+ }
+
+ @Override
+ public BattleRecordType2 mergeFrom(final BattleRecordType2 other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasRecordId()) {
+ setRecordId(other.recordId);
+ }
+ if (other.hasRecord()) {
+ getMutableRecord().mergeFrom(other.record);
+ }
+ return this;
+ }
+
+ @Override
+ public BattleRecordType2 clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ recordId = 0;
+ record.clear();
+ return this;
+ }
+
+ @Override
+ public BattleRecordType2 clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ record.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof BattleRecordType2)) {
+ return false;
+ }
+ BattleRecordType2 other = (BattleRecordType2) o;
+ return bitField0_ == other.bitField0_
+ && (!hasRecordId() || recordId == other.recordId)
+ && (!hasRecord() || record.equals(other.record));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 24);
+ output.writeUInt32NoTag(recordId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 58);
+ output.writeMessageNoTag(record);
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(recordId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(record);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public BattleRecordType2 mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 24: {
+ // recordId
+ recordId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 58) {
+ break;
+ }
+ }
+ case 58: {
+ // record
+ input.readMessage(record);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.recordId, recordId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeMessage(FieldNames.record, record);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public BattleRecordType2 mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case -799234740:
+ case 993548233: {
+ if (input.isAtField(FieldNames.recordId)) {
+ if (!input.trySkipNullValue()) {
+ recordId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -934908847: {
+ if (input.isAtField(FieldNames.record)) {
+ if (!input.trySkipNullValue()) {
+ input.readMessage(record);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public BattleRecordType2 clone() {
+ return new BattleRecordType2().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static BattleRecordType2 parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new BattleRecordType2(), data).checkInitialized();
+ }
+
+ public static BattleRecordType2 parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecordType2(), input).checkInitialized();
+ }
+
+ public static BattleRecordType2 parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new BattleRecordType2(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating BattleRecordType2 messages
+ */
+ public static MessageFactoryoptional uint32 level = 1;
+ */
+ private int level;
+
+ /**
+ * optional uint32 slot = 3;
+ */
+ private int slot;
+
+ /**
+ * optional uint32 id = 5;
+ */
+ private int id;
+
+ /**
+ * optional .AvatarType avatar_type = 2;
+ */
+ private int avatarType;
+
+ private RecordDisplayAvatar() {
+ }
+
+ /**
+ * @return a new empty instance of {@code RecordDisplayAvatar}
+ */
+ public static RecordDisplayAvatar newInstance() {
+ return new RecordDisplayAvatar();
+ }
+
+ /**
+ * optional uint32 level = 1;
+ * @return whether the level field is set
+ */
+ public boolean hasLevel() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 level = 1;
+ * @return this
+ */
+ public RecordDisplayAvatar clearLevel() {
+ bitField0_ &= ~0x00000001;
+ level = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 level = 1;
+ * @return the level
+ */
+ public int getLevel() {
+ return level;
+ }
+
+ /**
+ * optional uint32 level = 1;
+ * @param value the level to set
+ * @return this
+ */
+ public RecordDisplayAvatar setLevel(final int value) {
+ bitField0_ |= 0x00000001;
+ level = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 slot = 3;
+ * @return whether the slot field is set
+ */
+ public boolean hasSlot() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 slot = 3;
+ * @return this
+ */
+ public RecordDisplayAvatar clearSlot() {
+ bitField0_ &= ~0x00000002;
+ slot = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 slot = 3;
+ * @return the slot
+ */
+ public int getSlot() {
+ return slot;
+ }
+
+ /**
+ * optional uint32 slot = 3;
+ * @param value the slot to set
+ * @return this
+ */
+ public RecordDisplayAvatar setSlot(final int value) {
+ bitField0_ |= 0x00000002;
+ slot = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 id = 5;
+ * @return whether the id field is set
+ */
+ public boolean hasId() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 id = 5;
+ * @return this
+ */
+ public RecordDisplayAvatar clearId() {
+ bitField0_ &= ~0x00000004;
+ id = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 id = 5;
+ * @return the id
+ */
+ public int getId() {
+ return id;
+ }
+
+ /**
+ * optional uint32 id = 5;
+ * @param value the id to set
+ * @return this
+ */
+ public RecordDisplayAvatar setId(final int value) {
+ bitField0_ |= 0x00000004;
+ id = value;
+ return this;
+ }
+
+ /**
+ * optional .AvatarType avatar_type = 2;
+ * @return whether the avatarType field is set
+ */
+ public boolean hasAvatarType() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional .AvatarType avatar_type = 2;
+ * @return this
+ */
+ public RecordDisplayAvatar clearAvatarType() {
+ bitField0_ &= ~0x00000008;
+ avatarType = 0;
+ return this;
+ }
+
+ /**
+ * optional .AvatarType avatar_type = 2;
+ * @return the avatarType
+ */
+ public AvatarTypeOuterClass.AvatarType getAvatarType() {
+ return AvatarTypeOuterClass.AvatarType.forNumber(avatarType);
+ }
+
+ /**
+ * Gets the value of the internal enum store. The result is
+ * equivalent to {@link RecordDisplayAvatar#getAvatarType()}.getNumber().
+ *
+ * @return numeric wire representation
+ */
+ public int getAvatarTypeValue() {
+ return avatarType;
+ }
+
+ /**
+ * Sets the value of the internal enum store. This does not
+ * do any validity checks, so be sure to use appropriate value
+ * constants from {@link AvatarTypeOuterClass.AvatarType}. Setting an invalid value
+ * can cause {@link RecordDisplayAvatar#getAvatarType()} to return null
+ *
+ * @param value the numeric wire value to set
+ * @return this
+ */
+ public RecordDisplayAvatar setAvatarTypeValue(final int value) {
+ bitField0_ |= 0x00000008;
+ avatarType = value;
+ return this;
+ }
+
+ /**
+ * optional .AvatarType avatar_type = 2;
+ * @param value the avatarType to set
+ * @return this
+ */
+ public RecordDisplayAvatar setAvatarType(final AvatarTypeOuterClass.AvatarType value) {
+ bitField0_ |= 0x00000008;
+ avatarType = value.getNumber();
+ return this;
+ }
+
+ @Override
+ public RecordDisplayAvatar copyFrom(final RecordDisplayAvatar other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ level = other.level;
+ slot = other.slot;
+ id = other.id;
+ avatarType = other.avatarType;
+ }
+ return this;
+ }
+
+ @Override
+ public RecordDisplayAvatar mergeFrom(final RecordDisplayAvatar other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasLevel()) {
+ setLevel(other.level);
+ }
+ if (other.hasSlot()) {
+ setSlot(other.slot);
+ }
+ if (other.hasId()) {
+ setId(other.id);
+ }
+ if (other.hasAvatarType()) {
+ setAvatarTypeValue(other.avatarType);
+ }
+ return this;
+ }
+
+ @Override
+ public RecordDisplayAvatar clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ level = 0;
+ slot = 0;
+ id = 0;
+ avatarType = 0;
+ return this;
+ }
+
+ @Override
+ public RecordDisplayAvatar clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof RecordDisplayAvatar)) {
+ return false;
+ }
+ RecordDisplayAvatar other = (RecordDisplayAvatar) o;
+ return bitField0_ == other.bitField0_
+ && (!hasLevel() || level == other.level)
+ && (!hasSlot() || slot == other.slot)
+ && (!hasId() || id == other.id)
+ && (!hasAvatarType() || avatarType == other.avatarType);
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 8);
+ output.writeUInt32NoTag(level);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 24);
+ output.writeUInt32NoTag(slot);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 40);
+ output.writeUInt32NoTag(id);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 16);
+ output.writeEnumNoTag(avatarType);
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(slot);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(id);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += 1 + ProtoSink.computeEnumSizeNoTag(avatarType);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public RecordDisplayAvatar mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 8: {
+ // level
+ level = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 24) {
+ break;
+ }
+ }
+ case 24: {
+ // slot
+ slot = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 40) {
+ break;
+ }
+ }
+ case 40: {
+ // id
+ id = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 16) {
+ break;
+ }
+ }
+ case 16: {
+ // avatarType
+ final int value = input.readInt32();
+ if (AvatarTypeOuterClass.AvatarType.forNumber(value) != null) {
+ avatarType = value;
+ bitField0_ |= 0x00000008;
+ }
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.level, level);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.slot, slot);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeUInt32(FieldNames.id, id);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeEnum(FieldNames.avatarType, avatarType, AvatarTypeOuterClass.AvatarType.converter());
+ }
+ output.endObject();
+ }
+
+ @Override
+ public RecordDisplayAvatar mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 102865796: {
+ if (input.isAtField(FieldNames.level)) {
+ if (!input.trySkipNullValue()) {
+ level = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 3533310: {
+ if (input.isAtField(FieldNames.slot)) {
+ if (!input.trySkipNullValue()) {
+ slot = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 3355: {
+ if (input.isAtField(FieldNames.id)) {
+ if (!input.trySkipNullValue()) {
+ id = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -403148749:
+ case 397309536: {
+ if (input.isAtField(FieldNames.avatarType)) {
+ if (!input.trySkipNullValue()) {
+ final AvatarTypeOuterClass.AvatarType value = input.readEnum(AvatarTypeOuterClass.AvatarType.converter());
+ if (value != null) {
+ avatarType = value.getNumber();
+ bitField0_ |= 0x00000008;
+ } else {
+ input.skipUnknownEnumValue();
+ }
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public RecordDisplayAvatar clone() {
+ return new RecordDisplayAvatar().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static RecordDisplayAvatar parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new RecordDisplayAvatar(), data).checkInitialized();
+ }
+
+ public static RecordDisplayAvatar parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new RecordDisplayAvatar(), input).checkInitialized();
+ }
+
+ public static RecordDisplayAvatar parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new RecordDisplayAvatar(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating RecordDisplayAvatar messages
+ */
+ public static MessageFactory+ * repeated RogueBuff buff_list = 14; + *+ * + *
repeated uint32 unk_repeated = 8;
+ */
+ private final RepeatedInt unkRepeated = RepeatedInt.newEmptyInstance();
+
+ /**
+ * repeated .BattleRecordType2.RecordDisplayAvatar avatar_list = 5;
+ */
+ private final RepeatedMessage+ * repeated RogueBuff buff_list = 14; + *+ * + *
repeated uint32 unk_repeated = 8;
+ * @return whether the unkRepeated field is set
+ */
+ public boolean hasUnkRepeated() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * + * repeated RogueBuff buff_list = 14; + *+ * + *
repeated uint32 unk_repeated = 8;
+ * @return this
+ */
+ public RecordDisplayInfo clearUnkRepeated() {
+ bitField0_ &= ~0x00000001;
+ unkRepeated.clear();
+ return this;
+ }
+
+ /**
+ * + * repeated RogueBuff buff_list = 14; + *+ * + *
repeated uint32 unk_repeated = 8;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableUnkRepeated()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getUnkRepeated() {
+ return unkRepeated;
+ }
+
+ /**
+ * + * repeated RogueBuff buff_list = 14; + *+ * + *
repeated uint32 unk_repeated = 8;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableUnkRepeated() {
+ bitField0_ |= 0x00000001;
+ return unkRepeated;
+ }
+
+ /**
+ * + * repeated RogueBuff buff_list = 14; + *+ * + *
repeated uint32 unk_repeated = 8;
+ * @param value the unkRepeated to add
+ * @return this
+ */
+ public RecordDisplayInfo addUnkRepeated(final int value) {
+ bitField0_ |= 0x00000001;
+ unkRepeated.add(value);
+ return this;
+ }
+
+ /**
+ * + * repeated RogueBuff buff_list = 14; + *+ * + *
repeated uint32 unk_repeated = 8;
+ * @param values the unkRepeated to add
+ * @return this
+ */
+ public RecordDisplayInfo addAllUnkRepeated(final int... values) {
+ bitField0_ |= 0x00000001;
+ unkRepeated.addAll(values);
+ return this;
+ }
+
+ /**
+ * repeated .BattleRecordType2.RecordDisplayAvatar avatar_list = 5;
+ * @return whether the avatarList field is set
+ */
+ public boolean hasAvatarList() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * repeated .BattleRecordType2.RecordDisplayAvatar avatar_list = 5;
+ * @return this
+ */
+ public RecordDisplayInfo clearAvatarList() {
+ bitField0_ &= ~0x00000002;
+ avatarList.clear();
+ return this;
+ }
+
+ /**
+ * repeated .BattleRecordType2.RecordDisplayAvatar avatar_list = 5;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableAvatarList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedMessagerepeated .BattleRecordType2.RecordDisplayAvatar avatar_list = 5;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedMessagerepeated .BattleRecordType2.RecordDisplayAvatar avatar_list = 5;
+ * @param value the avatarList to add
+ * @return this
+ */
+ public RecordDisplayInfo addAvatarList(final RecordDisplayAvatar value) {
+ bitField0_ |= 0x00000002;
+ avatarList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated .BattleRecordType2.RecordDisplayAvatar avatar_list = 5;
+ * @param values the avatarList to add
+ * @return this
+ */
+ public RecordDisplayInfo addAllAvatarList(final RecordDisplayAvatar... values) {
+ bitField0_ |= 0x00000002;
+ avatarList.addAll(values);
+ return this;
+ }
+
+ @Override
+ public RecordDisplayInfo copyFrom(final RecordDisplayInfo other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ unkRepeated.copyFrom(other.unkRepeated);
+ avatarList.copyFrom(other.avatarList);
+ }
+ return this;
+ }
+
+ @Override
+ public RecordDisplayInfo mergeFrom(final RecordDisplayInfo other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasUnkRepeated()) {
+ getMutableUnkRepeated().addAll(other.unkRepeated);
+ }
+ if (other.hasAvatarList()) {
+ getMutableAvatarList().addAll(other.avatarList);
+ }
+ return this;
+ }
+
+ @Override
+ public RecordDisplayInfo clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ unkRepeated.clear();
+ avatarList.clear();
+ return this;
+ }
+
+ @Override
+ public RecordDisplayInfo clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ unkRepeated.clear();
+ avatarList.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof RecordDisplayInfo)) {
+ return false;
+ }
+ RecordDisplayInfo other = (RecordDisplayInfo) o;
+ return bitField0_ == other.bitField0_
+ && (!hasUnkRepeated() || unkRepeated.equals(other.unkRepeated))
+ && (!hasAvatarList() || avatarList.equals(other.avatarList));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ for (int i = 0; i < unkRepeated.length(); i++) {
+ output.writeRawByte((byte) 64);
+ output.writeUInt32NoTag(unkRepeated.array()[i]);
+ }
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ for (int i = 0; i < avatarList.length(); i++) {
+ output.writeRawByte((byte) 42);
+ output.writeMessageNoTag(avatarList.get(i));
+ }
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += (1 * unkRepeated.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(unkRepeated);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += (1 * avatarList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(avatarList);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public RecordDisplayInfo mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 66: {
+ // unkRepeated [packed=true]
+ input.readPackedUInt32(unkRepeated, tag);
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 42) {
+ break;
+ }
+ }
+ case 42: {
+ // avatarList
+ tag = input.readRepeatedMessage(avatarList, tag);
+ bitField0_ |= 0x00000002;
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ case 64: {
+ // unkRepeated [packed=false]
+ tag = input.readRepeatedUInt32(unkRepeated, tag);
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRepeatedUInt32(FieldNames.unkRepeated, unkRepeated);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRepeatedMessage(FieldNames.avatarList, avatarList);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public RecordDisplayInfo mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case -427796852:
+ case -2071716825: {
+ if (input.isAtField(FieldNames.unkRepeated)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(unkRepeated);
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -403402345:
+ case 397055940: {
+ if (input.isAtField(FieldNames.avatarList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedMessage(avatarList);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public RecordDisplayInfo clone() {
+ return new RecordDisplayInfo().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static RecordDisplayInfo parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new RecordDisplayInfo(), data).checkInitialized();
+ }
+
+ public static RecordDisplayInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new RecordDisplayInfo(), input).checkInitialized();
+ }
+
+ public static RecordDisplayInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new RecordDisplayInfo(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating RecordDisplayInfo messages
+ */
+ public static MessageFactoryoptional uint32 score = 9;
+ */
+ private int score;
+
+ /**
+ * optional uint32 int2 = 1131;
+ */
+ private int int2;
+
+ /**
+ * optional uint32 int1 = 1911;
+ */
+ private int int1;
+
+ /**
+ * optional bool is_win = 4;
+ */
+ private boolean isWin;
+
+ /**
+ * optional .BattleRecordType2.RecordDisplayInfo display_info = 5;
+ */
+ private final RecordDisplayInfo displayInfo = RecordDisplayInfo.newInstance();
+
+ private RecordType2() {
+ }
+
+ /**
+ * @return a new empty instance of {@code RecordType2}
+ */
+ public static RecordType2 newInstance() {
+ return new RecordType2();
+ }
+
+ /**
+ * optional uint32 score = 9;
+ * @return whether the score field is set
+ */
+ public boolean hasScore() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 score = 9;
+ * @return this
+ */
+ public RecordType2 clearScore() {
+ bitField0_ &= ~0x00000001;
+ score = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 score = 9;
+ * @return the score
+ */
+ public int getScore() {
+ return score;
+ }
+
+ /**
+ * optional uint32 score = 9;
+ * @param value the score to set
+ * @return this
+ */
+ public RecordType2 setScore(final int value) {
+ bitField0_ |= 0x00000001;
+ score = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 int2 = 1131;
+ * @return whether the int2 field is set
+ */
+ public boolean hasInt2() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 int2 = 1131;
+ * @return this
+ */
+ public RecordType2 clearInt2() {
+ bitField0_ &= ~0x00000002;
+ int2 = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 int2 = 1131;
+ * @return the int2
+ */
+ public int getInt2() {
+ return int2;
+ }
+
+ /**
+ * optional uint32 int2 = 1131;
+ * @param value the int2 to set
+ * @return this
+ */
+ public RecordType2 setInt2(final int value) {
+ bitField0_ |= 0x00000002;
+ int2 = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 int1 = 1911;
+ * @return whether the int1 field is set
+ */
+ public boolean hasInt1() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 int1 = 1911;
+ * @return this
+ */
+ public RecordType2 clearInt1() {
+ bitField0_ &= ~0x00000004;
+ int1 = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 int1 = 1911;
+ * @return the int1
+ */
+ public int getInt1() {
+ return int1;
+ }
+
+ /**
+ * optional uint32 int1 = 1911;
+ * @param value the int1 to set
+ * @return this
+ */
+ public RecordType2 setInt1(final int value) {
+ bitField0_ |= 0x00000004;
+ int1 = value;
+ return this;
+ }
+
+ /**
+ * optional bool is_win = 4;
+ * @return whether the isWin field is set
+ */
+ public boolean hasIsWin() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional bool is_win = 4;
+ * @return this
+ */
+ public RecordType2 clearIsWin() {
+ bitField0_ &= ~0x00000008;
+ isWin = false;
+ return this;
+ }
+
+ /**
+ * optional bool is_win = 4;
+ * @return the isWin
+ */
+ public boolean getIsWin() {
+ return isWin;
+ }
+
+ /**
+ * optional bool is_win = 4;
+ * @param value the isWin to set
+ * @return this
+ */
+ public RecordType2 setIsWin(final boolean value) {
+ bitField0_ |= 0x00000008;
+ isWin = value;
+ return this;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordDisplayInfo display_info = 5;
+ * @return whether the displayInfo field is set
+ */
+ public boolean hasDisplayInfo() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordDisplayInfo display_info = 5;
+ * @return this
+ */
+ public RecordType2 clearDisplayInfo() {
+ bitField0_ &= ~0x00000010;
+ displayInfo.clear();
+ return this;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordDisplayInfo display_info = 5;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableDisplayInfo()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RecordDisplayInfo getDisplayInfo() {
+ return displayInfo;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordDisplayInfo display_info = 5;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RecordDisplayInfo getMutableDisplayInfo() {
+ bitField0_ |= 0x00000010;
+ return displayInfo;
+ }
+
+ /**
+ * optional .BattleRecordType2.RecordDisplayInfo display_info = 5;
+ * @param value the displayInfo to set
+ * @return this
+ */
+ public RecordType2 setDisplayInfo(final RecordDisplayInfo value) {
+ bitField0_ |= 0x00000010;
+ displayInfo.copyFrom(value);
+ return this;
+ }
+
+ @Override
+ public RecordType2 copyFrom(final RecordType2 other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ score = other.score;
+ int2 = other.int2;
+ int1 = other.int1;
+ isWin = other.isWin;
+ displayInfo.copyFrom(other.displayInfo);
+ }
+ return this;
+ }
+
+ @Override
+ public RecordType2 mergeFrom(final RecordType2 other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasScore()) {
+ setScore(other.score);
+ }
+ if (other.hasInt2()) {
+ setInt2(other.int2);
+ }
+ if (other.hasInt1()) {
+ setInt1(other.int1);
+ }
+ if (other.hasIsWin()) {
+ setIsWin(other.isWin);
+ }
+ if (other.hasDisplayInfo()) {
+ getMutableDisplayInfo().mergeFrom(other.displayInfo);
+ }
+ return this;
+ }
+
+ @Override
+ public RecordType2 clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ score = 0;
+ int2 = 0;
+ int1 = 0;
+ isWin = false;
+ displayInfo.clear();
+ return this;
+ }
+
+ @Override
+ public RecordType2 clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ displayInfo.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof RecordType2)) {
+ return false;
+ }
+ RecordType2 other = (RecordType2) o;
+ return bitField0_ == other.bitField0_
+ && (!hasScore() || score == other.score)
+ && (!hasInt2() || int2 == other.int2)
+ && (!hasInt1() || int1 == other.int1)
+ && (!hasIsWin() || isWin == other.isWin)
+ && (!hasDisplayInfo() || displayInfo.equals(other.displayInfo));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 72);
+ output.writeUInt32NoTag(score);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawLittleEndian16((short) 18136);
+ output.writeUInt32NoTag(int2);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawLittleEndian16((short) 30648);
+ output.writeUInt32NoTag(int1);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 32);
+ output.writeBoolNoTag(isWin);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeRawByte((byte) 42);
+ output.writeMessageNoTag(displayInfo);
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 2 + ProtoSink.computeUInt32SizeNoTag(int2);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += 2 + ProtoSink.computeUInt32SizeNoTag(int1);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += 2;
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(displayInfo);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public RecordType2 mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 72: {
+ // score
+ score = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 9048) {
+ break;
+ }
+ }
+ case 9048: {
+ // int2
+ int2 = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 15288) {
+ break;
+ }
+ }
+ case 15288: {
+ // int1
+ int1 = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 32) {
+ break;
+ }
+ }
+ case 32: {
+ // isWin
+ isWin = input.readBool();
+ bitField0_ |= 0x00000008;
+ tag = input.readTag();
+ if (tag != 42) {
+ break;
+ }
+ }
+ case 42: {
+ // displayInfo
+ input.readMessage(displayInfo);
+ bitField0_ |= 0x00000010;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.score, score);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.int2, int2);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeUInt32(FieldNames.int1, int1);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeBool(FieldNames.isWin, isWin);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeMessage(FieldNames.displayInfo, displayInfo);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public RecordType2 mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 109264530: {
+ if (input.isAtField(FieldNames.score)) {
+ if (!input.trySkipNullValue()) {
+ score = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 3237411: {
+ if (input.isAtField(FieldNames.int2)) {
+ if (!input.trySkipNullValue()) {
+ int2 = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 3237410: {
+ if (input.isAtField(FieldNames.int1)) {
+ if (!input.trySkipNullValue()) {
+ int1 = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 100482642:
+ case -1179753657: {
+ if (input.isAtField(FieldNames.isWin)) {
+ if (!input.trySkipNullValue()) {
+ isWin = input.readBool();
+ bitField0_ |= 0x00000008;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1714012304:
+ case 1614949899: {
+ if (input.isAtField(FieldNames.displayInfo)) {
+ if (!input.trySkipNullValue()) {
+ input.readMessage(displayInfo);
+ bitField0_ |= 0x00000010;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public RecordType2 clone() {
+ return new RecordType2().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static RecordType2 parseFrom(final byte[] data) throws InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new RecordType2(), data).checkInitialized();
+ }
+
+ public static RecordType2 parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new RecordType2(), input).checkInitialized();
+ }
+
+ public static RecordType2 parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new RecordType2(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating RecordType2 messages
+ */
+ public static MessageFactoryBIG_DATA_RECOMMEND_TYPE_NONE = 0;
+ */
+ BIG_DATA_RECOMMEND_TYPE_NONE("BIG_DATA_RECOMMEND_TYPE_NONE", 0),
+
+ /**
+ * BIG_DATA_RECOMMEND_TYPE_EQUIPMENT = 1;
+ */
+ BIG_DATA_RECOMMEND_TYPE_EQUIPMENT("BIG_DATA_RECOMMEND_TYPE_EQUIPMENT", 1),
+
+ /**
+ * BIG_DATA_RECOMMEND_TYPE_RELIC_SUIT = 2;
+ */
+ BIG_DATA_RECOMMEND_TYPE_RELIC_SUIT("BIG_DATA_RECOMMEND_TYPE_RELIC_SUIT", 2),
+
+ /**
+ * BIG_DATA_RECOMMEND_TYPE_RELIC_AVATAR = 3;
+ */
+ BIG_DATA_RECOMMEND_TYPE_RELIC_AVATAR("BIG_DATA_RECOMMEND_TYPE_RELIC_AVATAR", 3),
+
+ /**
+ * BIG_DATA_RECOMMEND_TYPE_AVATAR_RELIC = 4;
+ */
+ BIG_DATA_RECOMMEND_TYPE_AVATAR_RELIC("BIG_DATA_RECOMMEND_TYPE_AVATAR_RELIC", 4);
+
+ /**
+ * BIG_DATA_RECOMMEND_TYPE_NONE = 0;
+ */
+ public static final int BIG_DATA_RECOMMEND_TYPE_NONE_VALUE = 0;
+
+ /**
+ * BIG_DATA_RECOMMEND_TYPE_EQUIPMENT = 1;
+ */
+ public static final int BIG_DATA_RECOMMEND_TYPE_EQUIPMENT_VALUE = 1;
+
+ /**
+ * BIG_DATA_RECOMMEND_TYPE_RELIC_SUIT = 2;
+ */
+ public static final int BIG_DATA_RECOMMEND_TYPE_RELIC_SUIT_VALUE = 2;
+
+ /**
+ * BIG_DATA_RECOMMEND_TYPE_RELIC_AVATAR = 3;
+ */
+ public static final int BIG_DATA_RECOMMEND_TYPE_RELIC_AVATAR_VALUE = 3;
+
+ /**
+ * BIG_DATA_RECOMMEND_TYPE_AVATAR_RELIC = 4;
+ */
+ public static final int BIG_DATA_RECOMMEND_TYPE_AVATAR_RELIC_VALUE = 4;
+
+ private final String name;
+
+ private final int number;
+
+ private BigDataRecommendType(String name, int number) {
+ this.name = name;
+ this.number = number;
+ }
+
+ /**
+ * @return the string representation of enum entry
+ */
+ @Override
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @return the numeric wire value of this enum entry
+ */
+ @Override
+ public int getNumber() {
+ return number;
+ }
+
+ /**
+ * @return a converter that maps between this enum's numeric and text representations
+ */
+ public static ProtoEnum.EnumConverteroptional string signature = 13;
+ * optional .HeadIconFrameInfo head_icon_frame_info = 7;
+ */
+ private final HeadIconFrameInfoOuterClass.HeadIconFrameInfo headIconFrameInfo = HeadIconFrameInfoOuterClass.HeadIconFrameInfo.newInstance();
+
+ /**
+ * optional string signature = 1;
*/
private final Utf8String signature = Utf8String.newEmptyInstance();
/**
- * repeated .HeadIcon unlocked_head_icon_list = 14;
+ * repeated uint32 unlocked_head_icon_frame_id_list = 15;
+ */
+ private final RepeatedInt unlockedHeadIconFrameIdList = RepeatedInt.newEmptyInstance();
+
+ /**
+ * repeated .HeadIcon unlocked_head_icon_list = 3;
*/
private final RepeatedMessageoptional string signature = 13;
- * @return whether the signature field is set
+ * optional .HeadIconFrameInfo head_icon_frame_info = 7;
+ * @return whether the headIconFrameInfo field is set
*/
- public boolean hasSignature() {
+ public boolean hasHeadIconFrameInfo() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional string signature = 13;
+ * optional .HeadIconFrameInfo head_icon_frame_info = 7;
+ * @return this
+ */
+ public BoardDataSync clearHeadIconFrameInfo() {
+ bitField0_ &= ~0x00000001;
+ headIconFrameInfo.clear();
+ return this;
+ }
+
+ /**
+ * optional .HeadIconFrameInfo head_icon_frame_info = 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.
+ *
+ * Use {@link #getMutableHeadIconFrameInfo()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public HeadIconFrameInfoOuterClass.HeadIconFrameInfo getHeadIconFrameInfo() {
+ return headIconFrameInfo;
+ }
+
+ /**
+ * optional .HeadIconFrameInfo head_icon_frame_info = 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
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public HeadIconFrameInfoOuterClass.HeadIconFrameInfo getMutableHeadIconFrameInfo() {
+ bitField0_ |= 0x00000001;
+ return headIconFrameInfo;
+ }
+
+ /**
+ * optional .HeadIconFrameInfo head_icon_frame_info = 7;
+ * @param value the headIconFrameInfo to set
+ * @return this
+ */
+ public BoardDataSync setHeadIconFrameInfo(
+ final HeadIconFrameInfoOuterClass.HeadIconFrameInfo value) {
+ bitField0_ |= 0x00000001;
+ headIconFrameInfo.copyFrom(value);
+ return this;
+ }
+
+ /**
+ * optional string signature = 1;
+ * @return whether the signature field is set
+ */
+ public boolean hasSignature() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional string signature = 1;
* @return this
*/
public BoardDataSync clearSignature() {
- bitField0_ &= ~0x00000001;
+ bitField0_ &= ~0x00000002;
signature.clear();
return this;
}
/**
- * optional string signature = 13;
+ * optional string signature = 1;
* @return the signature
*/
public String getSignature() {
@@ -67,7 +136,7 @@ public final class BoardDataSyncOuterClass {
}
/**
- * optional string signature = 13;
+ * optional string signature = 1;
* @return internal {@code Utf8String} representation of signature for reading
*/
public Utf8String getSignatureBytes() {
@@ -75,56 +144,124 @@ public final class BoardDataSyncOuterClass {
}
/**
- * optional string signature = 13;
+ * optional string signature = 1;
* @return internal {@code Utf8String} representation of signature for modifications
*/
public Utf8String getMutableSignatureBytes() {
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
return this.signature;
}
/**
- * optional string signature = 13;
+ * optional string signature = 1;
* @param value the signature to set
* @return this
*/
public BoardDataSync setSignature(final CharSequence value) {
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
signature.copyFrom(value);
return this;
}
/**
- * optional string signature = 13;
+ * optional string signature = 1;
* @param value the signature to set
* @return this
*/
public BoardDataSync setSignature(final Utf8String value) {
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
signature.copyFrom(value);
return this;
}
/**
- * repeated .HeadIcon unlocked_head_icon_list = 14;
- * @return whether the unlockedHeadIconList field is set
+ * repeated uint32 unlocked_head_icon_frame_id_list = 15;
+ * @return whether the unlockedHeadIconFrameIdList field is set
*/
- public boolean hasUnlockedHeadIconList() {
- return (bitField0_ & 0x00000002) != 0;
+ public boolean hasUnlockedHeadIconFrameIdList() {
+ return (bitField0_ & 0x00000004) != 0;
}
/**
- * repeated .HeadIcon unlocked_head_icon_list = 14;
+ * repeated uint32 unlocked_head_icon_frame_id_list = 15;
+ * @return this
+ */
+ public BoardDataSync clearUnlockedHeadIconFrameIdList() {
+ bitField0_ &= ~0x00000004;
+ unlockedHeadIconFrameIdList.clear();
+ return this;
+ }
+
+ /**
+ * repeated uint32 unlocked_head_icon_frame_id_list = 15;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableUnlockedHeadIconFrameIdList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getUnlockedHeadIconFrameIdList() {
+ return unlockedHeadIconFrameIdList;
+ }
+
+ /**
+ * repeated uint32 unlocked_head_icon_frame_id_list = 15;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableUnlockedHeadIconFrameIdList() {
+ bitField0_ |= 0x00000004;
+ return unlockedHeadIconFrameIdList;
+ }
+
+ /**
+ * repeated uint32 unlocked_head_icon_frame_id_list = 15;
+ * @param value the unlockedHeadIconFrameIdList to add
+ * @return this
+ */
+ public BoardDataSync addUnlockedHeadIconFrameIdList(final int value) {
+ bitField0_ |= 0x00000004;
+ unlockedHeadIconFrameIdList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 unlocked_head_icon_frame_id_list = 15;
+ * @param values the unlockedHeadIconFrameIdList to add
+ * @return this
+ */
+ public BoardDataSync addAllUnlockedHeadIconFrameIdList(final int... values) {
+ bitField0_ |= 0x00000004;
+ unlockedHeadIconFrameIdList.addAll(values);
+ return this;
+ }
+
+ /**
+ * repeated .HeadIcon unlocked_head_icon_list = 3;
+ * @return whether the unlockedHeadIconList field is set
+ */
+ public boolean hasUnlockedHeadIconList() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * repeated .HeadIcon unlocked_head_icon_list = 3;
* @return this
*/
public BoardDataSync clearUnlockedHeadIconList() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000008;
unlockedHeadIconList.clear();
return this;
}
/**
- * repeated .HeadIcon unlocked_head_icon_list = 14;
+ * repeated .HeadIcon unlocked_head_icon_list = 3;
*
* 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.
@@ -138,7 +275,7 @@ public final class BoardDataSyncOuterClass {
}
/**
- * repeated .HeadIcon unlocked_head_icon_list = 14;
+ * repeated .HeadIcon unlocked_head_icon_list = 3;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -147,28 +284,28 @@ public final class BoardDataSyncOuterClass {
* @return internal storage object for modifications
*/
public RepeatedMessagerepeated .HeadIcon unlocked_head_icon_list = 14;
+ * repeated .HeadIcon unlocked_head_icon_list = 3;
* @param value the unlockedHeadIconList to add
* @return this
*/
public BoardDataSync addUnlockedHeadIconList(final HeadIconOuterClass.HeadIcon value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000008;
unlockedHeadIconList.add(value);
return this;
}
/**
- * repeated .HeadIcon unlocked_head_icon_list = 14;
+ * repeated .HeadIcon unlocked_head_icon_list = 3;
* @param values the unlockedHeadIconList to add
* @return this
*/
public BoardDataSync addAllUnlockedHeadIconList(final HeadIconOuterClass.HeadIcon... values) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000008;
unlockedHeadIconList.addAll(values);
return this;
}
@@ -178,7 +315,9 @@ public final class BoardDataSyncOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
+ headIconFrameInfo.copyFrom(other.headIconFrameInfo);
signature.copyFrom(other.signature);
+ unlockedHeadIconFrameIdList.copyFrom(other.unlockedHeadIconFrameIdList);
unlockedHeadIconList.copyFrom(other.unlockedHeadIconList);
}
return this;
@@ -190,9 +329,15 @@ public final class BoardDataSyncOuterClass {
return this;
}
cachedSize = -1;
+ if (other.hasHeadIconFrameInfo()) {
+ getMutableHeadIconFrameInfo().mergeFrom(other.headIconFrameInfo);
+ }
if (other.hasSignature()) {
getMutableSignatureBytes().copyFrom(other.signature);
}
+ if (other.hasUnlockedHeadIconFrameIdList()) {
+ getMutableUnlockedHeadIconFrameIdList().addAll(other.unlockedHeadIconFrameIdList);
+ }
if (other.hasUnlockedHeadIconList()) {
getMutableUnlockedHeadIconList().addAll(other.unlockedHeadIconList);
}
@@ -206,7 +351,9 @@ public final class BoardDataSyncOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
+ headIconFrameInfo.clear();
signature.clear();
+ unlockedHeadIconFrameIdList.clear();
unlockedHeadIconList.clear();
return this;
}
@@ -218,7 +365,9 @@ public final class BoardDataSyncOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
+ headIconFrameInfo.clearQuick();
signature.clear();
+ unlockedHeadIconFrameIdList.clear();
unlockedHeadIconList.clearQuick();
return this;
}
@@ -233,19 +382,31 @@ public final class BoardDataSyncOuterClass {
}
BoardDataSync other = (BoardDataSync) o;
return bitField0_ == other.bitField0_
+ && (!hasHeadIconFrameInfo() || headIconFrameInfo.equals(other.headIconFrameInfo))
&& (!hasSignature() || signature.equals(other.signature))
+ && (!hasUnlockedHeadIconFrameIdList() || unlockedHeadIconFrameIdList.equals(other.unlockedHeadIconFrameIdList))
&& (!hasUnlockedHeadIconList() || unlockedHeadIconList.equals(other.unlockedHeadIconList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 106);
- output.writeStringNoTag(signature);
+ output.writeRawByte((byte) 58);
+ output.writeMessageNoTag(headIconFrameInfo);
}
if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 10);
+ output.writeStringNoTag(signature);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ for (int i = 0; i < unlockedHeadIconFrameIdList.length(); i++) {
+ output.writeRawByte((byte) 120);
+ output.writeUInt32NoTag(unlockedHeadIconFrameIdList.array()[i]);
+ }
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
for (int i = 0; i < unlockedHeadIconList.length(); i++) {
- output.writeRawByte((byte) 114);
+ output.writeRawByte((byte) 26);
output.writeMessageNoTag(unlockedHeadIconList.get(i));
}
}
@@ -255,9 +416,15 @@ public final class BoardDataSyncOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeStringSizeNoTag(signature);
+ size += 1 + ProtoSink.computeMessageSizeNoTag(headIconFrameInfo);
}
if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeStringSizeNoTag(signature);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += (1 * unlockedHeadIconFrameIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(unlockedHeadIconFrameIdList);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
size += (1 * unlockedHeadIconList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(unlockedHeadIconList);
}
return size;
@@ -270,19 +437,37 @@ public final class BoardDataSyncOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 106: {
- // signature
- input.readString(signature);
+ case 58: {
+ // headIconFrameInfo
+ input.readMessage(headIconFrameInfo);
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 114) {
+ if (tag != 10) {
break;
}
}
- case 114: {
+ case 10: {
+ // signature
+ input.readString(signature);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 122) {
+ break;
+ }
+ }
+ case 122: {
+ // unlockedHeadIconFrameIdList [packed=true]
+ input.readPackedUInt32(unlockedHeadIconFrameIdList, tag);
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 26) {
+ break;
+ }
+ }
+ case 26: {
// unlockedHeadIconList
tag = input.readRepeatedMessage(unlockedHeadIconList, tag);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000008;
if (tag != 0) {
break;
}
@@ -297,6 +482,12 @@ public final class BoardDataSyncOuterClass {
tag = input.readTag();
break;
}
+ case 120: {
+ // unlockedHeadIconFrameIdList [packed=false]
+ tag = input.readRepeatedUInt32(unlockedHeadIconFrameIdList, tag);
+ bitField0_ |= 0x00000004;
+ break;
+ }
}
}
}
@@ -305,9 +496,15 @@ public final class BoardDataSyncOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeString(FieldNames.signature, signature);
+ output.writeMessage(FieldNames.headIconFrameInfo, headIconFrameInfo);
}
if ((bitField0_ & 0x00000002) != 0) {
+ output.writeString(FieldNames.signature, signature);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRepeatedUInt32(FieldNames.unlockedHeadIconFrameIdList, unlockedHeadIconFrameIdList);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
output.writeRepeatedMessage(FieldNames.unlockedHeadIconList, unlockedHeadIconList);
}
output.endObject();
@@ -320,11 +517,35 @@ public final class BoardDataSyncOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
+ case 638045506:
+ case 240940903: {
+ if (input.isAtField(FieldNames.headIconFrameInfo)) {
+ if (!input.trySkipNullValue()) {
+ input.readMessage(headIconFrameInfo);
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
case 1073584312: {
if (input.isAtField(FieldNames.signature)) {
if (!input.trySkipNullValue()) {
input.readString(signature);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1921266698:
+ case -1922067827: {
+ if (input.isAtField(FieldNames.unlockedHeadIconFrameIdList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(unlockedHeadIconFrameIdList);
+ bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
@@ -336,7 +557,7 @@ public final class BoardDataSyncOuterClass {
if (input.isAtField(FieldNames.unlockedHeadIconList)) {
if (!input.trySkipNullValue()) {
input.readRepeatedMessage(unlockedHeadIconList);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000008;
}
} else {
input.skipUnknownField();
@@ -395,8 +616,12 @@ public final class BoardDataSyncOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
+ static final FieldName headIconFrameInfo = FieldName.forField("headIconFrameInfo", "head_icon_frame_info");
+
static final FieldName signature = FieldName.forField("signature");
+ static final FieldName unlockedHeadIconFrameIdList = FieldName.forField("unlockedHeadIconFrameIdList", "unlocked_head_icon_frame_id_list");
+
static final FieldName unlockedHeadIconList = FieldName.forField("unlockedHeadIconList", "unlocked_head_icon_list");
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/BuffInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/BuffInfoOuterClass.java
index 1c6dcb2..033c95e 100644
--- a/src/generated/main/emu/lunarcore/proto/BuffInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/BuffInfoOuterClass.java
@@ -22,37 +22,37 @@ public final class BuffInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint64 add_time_ms = 11;
+ * optional uint64 add_time_ms = 6;
*/
private long addTimeMs;
/**
- * optional float life_time = 15;
+ * optional float life_time = 14;
*/
private float lifeTime;
/**
- * optional uint32 base_avatar_id = 3;
- */
- private int baseAvatarId;
-
- /**
- * optional uint32 count = 5;
+ * optional uint32 count = 2;
*/
private int count;
+ /**
+ * optional uint32 buff_id = 4;
+ */
+ private int buffId;
+
/**
* optional uint32 level = 9;
*/
private int level;
/**
- * optional uint32 buff_id = 13;
+ * optional uint32 base_avatar_id = 15;
*/
- private int buffId;
+ private int baseAvatarId;
/**
- * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;
+ * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 10;
*/
private final RepeatedMessageoptional uint64 add_time_ms = 11;
+ * optional uint64 add_time_ms = 6;
* @return whether the addTimeMs field is set
*/
public boolean hasAddTimeMs() {
@@ -75,7 +75,7 @@ public final class BuffInfoOuterClass {
}
/**
- * optional uint64 add_time_ms = 11;
+ * optional uint64 add_time_ms = 6;
* @return this
*/
public BuffInfo clearAddTimeMs() {
@@ -85,7 +85,7 @@ public final class BuffInfoOuterClass {
}
/**
- * optional uint64 add_time_ms = 11;
+ * optional uint64 add_time_ms = 6;
* @return the addTimeMs
*/
public long getAddTimeMs() {
@@ -93,7 +93,7 @@ public final class BuffInfoOuterClass {
}
/**
- * optional uint64 add_time_ms = 11;
+ * optional uint64 add_time_ms = 6;
* @param value the addTimeMs to set
* @return this
*/
@@ -104,7 +104,7 @@ public final class BuffInfoOuterClass {
}
/**
- * optional float life_time = 15;
+ * optional float life_time = 14;
* @return whether the lifeTime field is set
*/
public boolean hasLifeTime() {
@@ -112,7 +112,7 @@ public final class BuffInfoOuterClass {
}
/**
- * optional float life_time = 15;
+ * optional float life_time = 14;
* @return this
*/
public BuffInfo clearLifeTime() {
@@ -122,7 +122,7 @@ public final class BuffInfoOuterClass {
}
/**
- * optional float life_time = 15;
+ * optional float life_time = 14;
* @return the lifeTime
*/
public float getLifeTime() {
@@ -130,7 +130,7 @@ public final class BuffInfoOuterClass {
}
/**
- * optional float life_time = 15;
+ * optional float life_time = 14;
* @param value the lifeTime to set
* @return this
*/
@@ -141,62 +141,25 @@ public final class BuffInfoOuterClass {
}
/**
- * optional uint32 base_avatar_id = 3;
- * @return whether the baseAvatarId field is set
+ * optional uint32 count = 2;
+ * @return whether the count field is set
*/
- public boolean hasBaseAvatarId() {
+ public boolean hasCount() {
return (bitField0_ & 0x00000004) != 0;
}
/**
- * optional uint32 base_avatar_id = 3;
- * @return this
- */
- public BuffInfo clearBaseAvatarId() {
- bitField0_ &= ~0x00000004;
- baseAvatarId = 0;
- return this;
- }
-
- /**
- * optional uint32 base_avatar_id = 3;
- * @return the baseAvatarId
- */
- public int getBaseAvatarId() {
- return baseAvatarId;
- }
-
- /**
- * optional uint32 base_avatar_id = 3;
- * @param value the baseAvatarId to set
- * @return this
- */
- public BuffInfo setBaseAvatarId(final int value) {
- bitField0_ |= 0x00000004;
- baseAvatarId = value;
- return this;
- }
-
- /**
- * optional uint32 count = 5;
- * @return whether the count field is set
- */
- public boolean hasCount() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional uint32 count = 5;
+ * optional uint32 count = 2;
* @return this
*/
public BuffInfo clearCount() {
- bitField0_ &= ~0x00000008;
+ bitField0_ &= ~0x00000004;
count = 0;
return this;
}
/**
- * optional uint32 count = 5;
+ * optional uint32 count = 2;
* @return the count
*/
public int getCount() {
@@ -204,16 +167,53 @@ public final class BuffInfoOuterClass {
}
/**
- * optional uint32 count = 5;
+ * optional uint32 count = 2;
* @param value the count to set
* @return this
*/
public BuffInfo setCount(final int value) {
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000004;
count = value;
return this;
}
+ /**
+ * optional uint32 buff_id = 4;
+ * @return whether the buffId field is set
+ */
+ public boolean hasBuffId() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional uint32 buff_id = 4;
+ * @return this
+ */
+ public BuffInfo clearBuffId() {
+ bitField0_ &= ~0x00000008;
+ buffId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 buff_id = 4;
+ * @return the buffId
+ */
+ public int getBuffId() {
+ return buffId;
+ }
+
+ /**
+ * optional uint32 buff_id = 4;
+ * @param value the buffId to set
+ * @return this
+ */
+ public BuffInfo setBuffId(final int value) {
+ bitField0_ |= 0x00000008;
+ buffId = value;
+ return this;
+ }
+
/**
* optional uint32 level = 9;
* @return whether the level field is set
@@ -252,44 +252,44 @@ public final class BuffInfoOuterClass {
}
/**
- * optional uint32 buff_id = 13;
- * @return whether the buffId field is set
+ * optional uint32 base_avatar_id = 15;
+ * @return whether the baseAvatarId field is set
*/
- public boolean hasBuffId() {
+ public boolean hasBaseAvatarId() {
return (bitField0_ & 0x00000020) != 0;
}
/**
- * optional uint32 buff_id = 13;
+ * optional uint32 base_avatar_id = 15;
* @return this
*/
- public BuffInfo clearBuffId() {
+ public BuffInfo clearBaseAvatarId() {
bitField0_ &= ~0x00000020;
- buffId = 0;
+ baseAvatarId = 0;
return this;
}
/**
- * optional uint32 buff_id = 13;
- * @return the buffId
+ * optional uint32 base_avatar_id = 15;
+ * @return the baseAvatarId
*/
- public int getBuffId() {
- return buffId;
+ public int getBaseAvatarId() {
+ return baseAvatarId;
}
/**
- * optional uint32 buff_id = 13;
- * @param value the buffId to set
+ * optional uint32 base_avatar_id = 15;
+ * @param value the baseAvatarId to set
* @return this
*/
- public BuffInfo setBuffId(final int value) {
+ public BuffInfo setBaseAvatarId(final int value) {
bitField0_ |= 0x00000020;
- buffId = value;
+ baseAvatarId = value;
return this;
}
/**
- * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;
+ * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 10;
* @return whether the dynamicValues field is set
*/
public boolean hasDynamicValues() {
@@ -297,7 +297,7 @@ public final class BuffInfoOuterClass {
}
/**
- * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;
+ * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 10;
* @return this
*/
public BuffInfo clearDynamicValues() {
@@ -307,7 +307,7 @@ public final class BuffInfoOuterClass {
}
/**
- * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;
+ * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 10;
*
* 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.
@@ -321,7 +321,7 @@ public final class BuffInfoOuterClass {
}
/**
- * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;
+ * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 10;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -335,7 +335,7 @@ public final class BuffInfoOuterClass {
}
/**
- * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;
+ * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 10;
* @param value the dynamicValues to add
* @return this
*/
@@ -346,7 +346,7 @@ public final class BuffInfoOuterClass {
}
/**
- * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 1;
+ * repeated .BuffInfo.DynamicValuesEntry dynamic_values = 10;
* @param values the dynamicValues to add
* @return this
*/
@@ -363,10 +363,10 @@ public final class BuffInfoOuterClass {
bitField0_ = other.bitField0_;
addTimeMs = other.addTimeMs;
lifeTime = other.lifeTime;
- baseAvatarId = other.baseAvatarId;
count = other.count;
- level = other.level;
buffId = other.buffId;
+ level = other.level;
+ baseAvatarId = other.baseAvatarId;
dynamicValues.copyFrom(other.dynamicValues);
}
return this;
@@ -384,17 +384,17 @@ public final class BuffInfoOuterClass {
if (other.hasLifeTime()) {
setLifeTime(other.lifeTime);
}
- if (other.hasBaseAvatarId()) {
- setBaseAvatarId(other.baseAvatarId);
- }
if (other.hasCount()) {
setCount(other.count);
}
+ if (other.hasBuffId()) {
+ setBuffId(other.buffId);
+ }
if (other.hasLevel()) {
setLevel(other.level);
}
- if (other.hasBuffId()) {
- setBuffId(other.buffId);
+ if (other.hasBaseAvatarId()) {
+ setBaseAvatarId(other.baseAvatarId);
}
if (other.hasDynamicValues()) {
getMutableDynamicValues().addAll(other.dynamicValues);
@@ -411,10 +411,10 @@ public final class BuffInfoOuterClass {
bitField0_ = 0;
addTimeMs = 0L;
lifeTime = 0F;
- baseAvatarId = 0;
count = 0;
- level = 0;
buffId = 0;
+ level = 0;
+ baseAvatarId = 0;
dynamicValues.clear();
return this;
}
@@ -442,42 +442,42 @@ public final class BuffInfoOuterClass {
return bitField0_ == other.bitField0_
&& (!hasAddTimeMs() || addTimeMs == other.addTimeMs)
&& (!hasLifeTime() || ProtoUtil.isEqual(lifeTime, other.lifeTime))
- && (!hasBaseAvatarId() || baseAvatarId == other.baseAvatarId)
&& (!hasCount() || count == other.count)
- && (!hasLevel() || level == other.level)
&& (!hasBuffId() || buffId == other.buffId)
+ && (!hasLevel() || level == other.level)
+ && (!hasBaseAvatarId() || baseAvatarId == other.baseAvatarId)
&& (!hasDynamicValues() || dynamicValues.equals(other.dynamicValues));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 88);
+ output.writeRawByte((byte) 48);
output.writeUInt64NoTag(addTimeMs);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 125);
+ output.writeRawByte((byte) 117);
output.writeFloatNoTag(lifeTime);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(baseAvatarId);
+ output.writeRawByte((byte) 16);
+ output.writeUInt32NoTag(count);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 40);
- output.writeUInt32NoTag(count);
+ output.writeRawByte((byte) 32);
+ output.writeUInt32NoTag(buffId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeRawByte((byte) 72);
output.writeUInt32NoTag(level);
}
if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(buffId);
+ output.writeRawByte((byte) 120);
+ output.writeUInt32NoTag(baseAvatarId);
}
if ((bitField0_ & 0x00000040) != 0) {
for (int i = 0; i < dynamicValues.length(); i++) {
- output.writeRawByte((byte) 10);
+ output.writeRawByte((byte) 82);
output.writeMessageNoTag(dynamicValues.get(i));
}
}
@@ -493,16 +493,16 @@ public final class BuffInfoOuterClass {
size += 5;
}
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(baseAvatarId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
}
if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
}
if ((bitField0_ & 0x00000020) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(baseAvatarId);
}
if ((bitField0_ & 0x00000040) != 0) {
size += (1 * dynamicValues.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(dynamicValues);
@@ -517,36 +517,36 @@ public final class BuffInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 88: {
+ case 48: {
// addTimeMs
addTimeMs = input.readUInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 125) {
+ if (tag != 117) {
break;
}
}
- case 125: {
+ case 117: {
// lifeTime
lifeTime = input.readFloat();
bitField0_ |= 0x00000002;
tag = input.readTag();
- if (tag != 24) {
+ if (tag != 16) {
break;
}
}
- case 24: {
- // baseAvatarId
- baseAvatarId = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 40) {
- break;
- }
- }
- case 40: {
+ case 16: {
// count
count = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 32) {
+ break;
+ }
+ }
+ case 32: {
+ // buffId
+ buffId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 72) {
@@ -558,20 +558,20 @@ public final class BuffInfoOuterClass {
level = input.readUInt32();
bitField0_ |= 0x00000010;
tag = input.readTag();
- if (tag != 104) {
+ if (tag != 120) {
break;
}
}
- case 104: {
- // buffId
- buffId = input.readUInt32();
+ case 120: {
+ // baseAvatarId
+ baseAvatarId = input.readUInt32();
bitField0_ |= 0x00000020;
tag = input.readTag();
- if (tag != 10) {
+ if (tag != 82) {
break;
}
}
- case 10: {
+ case 82: {
// dynamicValues
tag = input.readRepeatedMessage(dynamicValues, tag);
bitField0_ |= 0x00000040;
@@ -603,16 +603,16 @@ public final class BuffInfoOuterClass {
output.writeFloat(FieldNames.lifeTime, lifeTime);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.baseAvatarId, baseAvatarId);
+ output.writeUInt32(FieldNames.count, count);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt32(FieldNames.count, count);
+ output.writeUInt32(FieldNames.buffId, buffId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeUInt32(FieldNames.level, level);
}
if ((bitField0_ & 0x00000020) != 0) {
- output.writeUInt32(FieldNames.buffId, buffId);
+ output.writeUInt32(FieldNames.baseAvatarId, baseAvatarId);
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeRepeatedMessage(FieldNames.dynamicValues, dynamicValues);
@@ -651,11 +651,10 @@ public final class BuffInfoOuterClass {
}
break;
}
- case 118022725:
- case -1756826157: {
- if (input.isAtField(FieldNames.baseAvatarId)) {
+ case 94851343: {
+ if (input.isAtField(FieldNames.count)) {
if (!input.trySkipNullValue()) {
- baseAvatarId = input.readUInt32();
+ count = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -663,10 +662,11 @@ public final class BuffInfoOuterClass {
}
break;
}
- case 94851343: {
- if (input.isAtField(FieldNames.count)) {
+ case -1378119474:
+ case 227990663: {
+ if (input.isAtField(FieldNames.buffId)) {
if (!input.trySkipNullValue()) {
- count = input.readUInt32();
+ buffId = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -685,11 +685,11 @@ public final class BuffInfoOuterClass {
}
break;
}
- case -1378119474:
- case 227990663: {
- if (input.isAtField(FieldNames.buffId)) {
+ case 118022725:
+ case -1756826157: {
+ if (input.isAtField(FieldNames.baseAvatarId)) {
if (!input.trySkipNullValue()) {
- buffId = input.readUInt32();
+ baseAvatarId = input.readUInt32();
bitField0_ |= 0x00000020;
}
} else {
@@ -1119,13 +1119,13 @@ public final class BuffInfoOuterClass {
static final FieldName lifeTime = FieldName.forField("lifeTime", "life_time");
- static final FieldName baseAvatarId = FieldName.forField("baseAvatarId", "base_avatar_id");
-
static final FieldName count = FieldName.forField("count");
+ static final FieldName buffId = FieldName.forField("buffId", "buff_id");
+
static final FieldName level = FieldName.forField("level");
- static final FieldName buffId = FieldName.forField("buffId", "buff_id");
+ static final FieldName baseAvatarId = FieldName.forField("baseAvatarId", "base_avatar_id");
static final FieldName dynamicValues = FieldName.forField("dynamicValues", "dynamic_values");
}
diff --git a/src/generated/main/emu/lunarcore/proto/BuyGoodsCsReqOuterClass.java b/src/generated/main/emu/lunarcore/proto/BuyGoodsCsReqOuterClass.java
index 2b50612..f31cf6b 100644
--- a/src/generated/main/emu/lunarcore/proto/BuyGoodsCsReqOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/BuyGoodsCsReqOuterClass.java
@@ -19,25 +19,30 @@ public final class BuyGoodsCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 goods_id = 3;
+ * optional uint32 goods_id = 5;
*/
private int goodsId;
/**
- * optional uint32 shop_id = 8;
+ * optional uint32 server_entity_id = 6;
*/
- private int shopId;
+ private int serverEntityId;
/**
- * optional uint32 goods_num = 13;
+ * optional uint32 goods_num = 8;
*/
private int goodsNum;
/**
- * optional uint32 item_id = 15;
+ * optional uint32 item_id = 13;
*/
private int itemId;
+ /**
+ * optional uint32 shop_id = 15;
+ */
+ private int shopId;
+
private BuyGoodsCsReq() {
}
@@ -49,7 +54,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 goods_id = 3;
+ * optional uint32 goods_id = 5;
* @return whether the goodsId field is set
*/
public boolean hasGoodsId() {
@@ -57,7 +62,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 goods_id = 3;
+ * optional uint32 goods_id = 5;
* @return this
*/
public BuyGoodsCsReq clearGoodsId() {
@@ -67,7 +72,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 goods_id = 3;
+ * optional uint32 goods_id = 5;
* @return the goodsId
*/
public int getGoodsId() {
@@ -75,7 +80,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 goods_id = 3;
+ * optional uint32 goods_id = 5;
* @param value the goodsId to set
* @return this
*/
@@ -86,44 +91,44 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 shop_id = 8;
- * @return whether the shopId field is set
+ * optional uint32 server_entity_id = 6;
+ * @return whether the serverEntityId field is set
*/
- public boolean hasShopId() {
+ public boolean hasServerEntityId() {
return (bitField0_ & 0x00000002) != 0;
}
/**
- * optional uint32 shop_id = 8;
+ * optional uint32 server_entity_id = 6;
* @return this
*/
- public BuyGoodsCsReq clearShopId() {
+ public BuyGoodsCsReq clearServerEntityId() {
bitField0_ &= ~0x00000002;
- shopId = 0;
+ serverEntityId = 0;
return this;
}
/**
- * optional uint32 shop_id = 8;
- * @return the shopId
+ * optional uint32 server_entity_id = 6;
+ * @return the serverEntityId
*/
- public int getShopId() {
- return shopId;
+ public int getServerEntityId() {
+ return serverEntityId;
}
/**
- * optional uint32 shop_id = 8;
- * @param value the shopId to set
+ * optional uint32 server_entity_id = 6;
+ * @param value the serverEntityId to set
* @return this
*/
- public BuyGoodsCsReq setShopId(final int value) {
+ public BuyGoodsCsReq setServerEntityId(final int value) {
bitField0_ |= 0x00000002;
- shopId = value;
+ serverEntityId = value;
return this;
}
/**
- * optional uint32 goods_num = 13;
+ * optional uint32 goods_num = 8;
* @return whether the goodsNum field is set
*/
public boolean hasGoodsNum() {
@@ -131,7 +136,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 goods_num = 13;
+ * optional uint32 goods_num = 8;
* @return this
*/
public BuyGoodsCsReq clearGoodsNum() {
@@ -141,7 +146,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 goods_num = 13;
+ * optional uint32 goods_num = 8;
* @return the goodsNum
*/
public int getGoodsNum() {
@@ -149,7 +154,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 goods_num = 13;
+ * optional uint32 goods_num = 8;
* @param value the goodsNum to set
* @return this
*/
@@ -160,7 +165,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 item_id = 15;
+ * optional uint32 item_id = 13;
* @return whether the itemId field is set
*/
public boolean hasItemId() {
@@ -168,7 +173,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 item_id = 15;
+ * optional uint32 item_id = 13;
* @return this
*/
public BuyGoodsCsReq clearItemId() {
@@ -178,7 +183,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 item_id = 15;
+ * optional uint32 item_id = 13;
* @return the itemId
*/
public int getItemId() {
@@ -186,7 +191,7 @@ public final class BuyGoodsCsReqOuterClass {
}
/**
- * optional uint32 item_id = 15;
+ * optional uint32 item_id = 13;
* @param value the itemId to set
* @return this
*/
@@ -196,15 +201,53 @@ public final class BuyGoodsCsReqOuterClass {
return this;
}
+ /**
+ * optional uint32 shop_id = 15;
+ * @return whether the shopId field is set
+ */
+ public boolean hasShopId() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * optional uint32 shop_id = 15;
+ * @return this
+ */
+ public BuyGoodsCsReq clearShopId() {
+ bitField0_ &= ~0x00000010;
+ shopId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 shop_id = 15;
+ * @return the shopId
+ */
+ public int getShopId() {
+ return shopId;
+ }
+
+ /**
+ * optional uint32 shop_id = 15;
+ * @param value the shopId to set
+ * @return this
+ */
+ public BuyGoodsCsReq setShopId(final int value) {
+ bitField0_ |= 0x00000010;
+ shopId = value;
+ return this;
+ }
+
@Override
public BuyGoodsCsReq copyFrom(final BuyGoodsCsReq other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
goodsId = other.goodsId;
- shopId = other.shopId;
+ serverEntityId = other.serverEntityId;
goodsNum = other.goodsNum;
itemId = other.itemId;
+ shopId = other.shopId;
}
return this;
}
@@ -218,8 +261,8 @@ public final class BuyGoodsCsReqOuterClass {
if (other.hasGoodsId()) {
setGoodsId(other.goodsId);
}
- if (other.hasShopId()) {
- setShopId(other.shopId);
+ if (other.hasServerEntityId()) {
+ setServerEntityId(other.serverEntityId);
}
if (other.hasGoodsNum()) {
setGoodsNum(other.goodsNum);
@@ -227,6 +270,9 @@ public final class BuyGoodsCsReqOuterClass {
if (other.hasItemId()) {
setItemId(other.itemId);
}
+ if (other.hasShopId()) {
+ setShopId(other.shopId);
+ }
return this;
}
@@ -238,9 +284,10 @@ public final class BuyGoodsCsReqOuterClass {
cachedSize = -1;
bitField0_ = 0;
goodsId = 0;
- shopId = 0;
+ serverEntityId = 0;
goodsNum = 0;
itemId = 0;
+ shopId = 0;
return this;
}
@@ -265,29 +312,34 @@ public final class BuyGoodsCsReqOuterClass {
BuyGoodsCsReq other = (BuyGoodsCsReq) o;
return bitField0_ == other.bitField0_
&& (!hasGoodsId() || goodsId == other.goodsId)
- && (!hasShopId() || shopId == other.shopId)
+ && (!hasServerEntityId() || serverEntityId == other.serverEntityId)
&& (!hasGoodsNum() || goodsNum == other.goodsNum)
- && (!hasItemId() || itemId == other.itemId);
+ && (!hasItemId() || itemId == other.itemId)
+ && (!hasShopId() || shopId == other.shopId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 24);
+ output.writeRawByte((byte) 40);
output.writeUInt32NoTag(goodsId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt32NoTag(shopId);
+ output.writeRawByte((byte) 48);
+ output.writeUInt32NoTag(serverEntityId);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 104);
+ output.writeRawByte((byte) 64);
output.writeUInt32NoTag(goodsNum);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 120);
+ output.writeRawByte((byte) 104);
output.writeUInt32NoTag(itemId);
}
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeRawByte((byte) 120);
+ output.writeUInt32NoTag(shopId);
+ }
}
@Override
@@ -297,7 +349,7 @@ public final class BuyGoodsCsReqOuterClass {
size += 1 + ProtoSink.computeUInt32SizeNoTag(goodsId);
}
if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(shopId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(serverEntityId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(goodsNum);
@@ -305,6 +357,9 @@ public final class BuyGoodsCsReqOuterClass {
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(itemId);
}
+ if ((bitField0_ & 0x00000010) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(shopId);
+ }
return size;
}
@@ -315,37 +370,46 @@ public final class BuyGoodsCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 24: {
+ case 40: {
// goodsId
goodsId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
+ if (tag != 48) {
+ break;
+ }
+ }
+ case 48: {
+ // serverEntityId
+ serverEntityId = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
if (tag != 64) {
break;
}
}
case 64: {
- // shopId
- shopId = input.readUInt32();
- bitField0_ |= 0x00000002;
+ // goodsNum
+ goodsNum = input.readUInt32();
+ bitField0_ |= 0x00000004;
tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
- // goodsNum
- goodsNum = input.readUInt32();
- bitField0_ |= 0x00000004;
+ // itemId
+ itemId = input.readUInt32();
+ bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 120) {
break;
}
}
case 120: {
- // itemId
- itemId = input.readUInt32();
- bitField0_ |= 0x00000008;
+ // shopId
+ shopId = input.readUInt32();
+ bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 0) {
break;
@@ -372,7 +436,7 @@ public final class BuyGoodsCsReqOuterClass {
output.writeUInt32(FieldNames.goodsId, goodsId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.shopId, shopId);
+ output.writeUInt32(FieldNames.serverEntityId, serverEntityId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.goodsNum, goodsNum);
@@ -380,6 +444,9 @@ public final class BuyGoodsCsReqOuterClass {
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.itemId, itemId);
}
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeUInt32(FieldNames.shopId, shopId);
+ }
output.endObject();
}
@@ -402,11 +469,11 @@ public final class BuyGoodsCsReqOuterClass {
}
break;
}
- case -903151951:
- case 2067081988: {
- if (input.isAtField(FieldNames.shopId)) {
+ case -1931796287:
+ case 525013243: {
+ if (input.isAtField(FieldNames.serverEntityId)) {
if (!input.trySkipNullValue()) {
- shopId = input.readUInt32();
+ serverEntityId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -438,6 +505,18 @@ public final class BuyGoodsCsReqOuterClass {
}
break;
}
+ case -903151951:
+ case 2067081988: {
+ if (input.isAtField(FieldNames.shopId)) {
+ if (!input.trySkipNullValue()) {
+ shopId = input.readUInt32();
+ bitField0_ |= 0x00000010;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
default: {
input.skipUnknownField();
break;
@@ -492,11 +571,13 @@ public final class BuyGoodsCsReqOuterClass {
static class FieldNames {
static final FieldName goodsId = FieldName.forField("goodsId", "goods_id");
- static final FieldName shopId = FieldName.forField("shopId", "shop_id");
+ static final FieldName serverEntityId = FieldName.forField("serverEntityId", "server_entity_id");
static final FieldName goodsNum = FieldName.forField("goodsNum", "goods_num");
static final FieldName itemId = FieldName.forField("itemId", "item_id");
+
+ static final FieldName shopId = FieldName.forField("shopId", "shop_id");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/BuyGoodsScRspOuterClass.java b/src/generated/main/emu/lunarcore/proto/BuyGoodsScRspOuterClass.java
index 96486d0..037d32f 100644
--- a/src/generated/main/emu/lunarcore/proto/BuyGoodsScRspOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/BuyGoodsScRspOuterClass.java
@@ -19,22 +19,22 @@ public final class BuyGoodsScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 retcode = 1;
- */
- private int retcode;
-
- /**
- * optional uint32 goods_buy_times = 10;
- */
- private int goodsBuyTimes;
-
- /**
- * optional uint32 goods_id = 13;
+ * optional uint32 goods_id = 3;
*/
private int goodsId;
/**
- * optional uint32 shop_id = 15;
+ * optional uint32 goods_buy_times = 4;
+ */
+ private int goodsBuyTimes;
+
+ /**
+ * optional uint32 retcode = 7;
+ */
+ private int retcode;
+
+ /**
+ * optional uint32 shop_id = 11;
*/
private int shopId;
@@ -54,44 +54,44 @@ public final class BuyGoodsScRspOuterClass {
}
/**
- * optional uint32 retcode = 1;
- * @return whether the retcode field is set
+ * optional uint32 goods_id = 3;
+ * @return whether the goodsId field is set
*/
- public boolean hasRetcode() {
+ public boolean hasGoodsId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 retcode = 1;
+ * optional uint32 goods_id = 3;
* @return this
*/
- public BuyGoodsScRsp clearRetcode() {
+ public BuyGoodsScRsp clearGoodsId() {
bitField0_ &= ~0x00000001;
- retcode = 0;
+ goodsId = 0;
return this;
}
/**
- * optional uint32 retcode = 1;
- * @return the retcode
+ * optional uint32 goods_id = 3;
+ * @return the goodsId
*/
- public int getRetcode() {
- return retcode;
+ public int getGoodsId() {
+ return goodsId;
}
/**
- * optional uint32 retcode = 1;
- * @param value the retcode to set
+ * optional uint32 goods_id = 3;
+ * @param value the goodsId to set
* @return this
*/
- public BuyGoodsScRsp setRetcode(final int value) {
+ public BuyGoodsScRsp setGoodsId(final int value) {
bitField0_ |= 0x00000001;
- retcode = value;
+ goodsId = value;
return this;
}
/**
- * optional uint32 goods_buy_times = 10;
+ * optional uint32 goods_buy_times = 4;
* @return whether the goodsBuyTimes field is set
*/
public boolean hasGoodsBuyTimes() {
@@ -99,7 +99,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
- * optional uint32 goods_buy_times = 10;
+ * optional uint32 goods_buy_times = 4;
* @return this
*/
public BuyGoodsScRsp clearGoodsBuyTimes() {
@@ -109,7 +109,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
- * optional uint32 goods_buy_times = 10;
+ * optional uint32 goods_buy_times = 4;
* @return the goodsBuyTimes
*/
public int getGoodsBuyTimes() {
@@ -117,7 +117,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
- * optional uint32 goods_buy_times = 10;
+ * optional uint32 goods_buy_times = 4;
* @param value the goodsBuyTimes to set
* @return this
*/
@@ -128,44 +128,44 @@ public final class BuyGoodsScRspOuterClass {
}
/**
- * optional uint32 goods_id = 13;
- * @return whether the goodsId field is set
+ * optional uint32 retcode = 7;
+ * @return whether the retcode field is set
*/
- public boolean hasGoodsId() {
+ public boolean hasRetcode() {
return (bitField0_ & 0x00000004) != 0;
}
/**
- * optional uint32 goods_id = 13;
+ * optional uint32 retcode = 7;
* @return this
*/
- public BuyGoodsScRsp clearGoodsId() {
+ public BuyGoodsScRsp clearRetcode() {
bitField0_ &= ~0x00000004;
- goodsId = 0;
+ retcode = 0;
return this;
}
/**
- * optional uint32 goods_id = 13;
- * @return the goodsId
+ * optional uint32 retcode = 7;
+ * @return the retcode
*/
- public int getGoodsId() {
- return goodsId;
+ public int getRetcode() {
+ return retcode;
}
/**
- * optional uint32 goods_id = 13;
- * @param value the goodsId to set
+ * optional uint32 retcode = 7;
+ * @param value the retcode to set
* @return this
*/
- public BuyGoodsScRsp setGoodsId(final int value) {
+ public BuyGoodsScRsp setRetcode(final int value) {
bitField0_ |= 0x00000004;
- goodsId = value;
+ retcode = value;
return this;
}
/**
- * optional uint32 shop_id = 15;
+ * optional uint32 shop_id = 11;
* @return whether the shopId field is set
*/
public boolean hasShopId() {
@@ -173,7 +173,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
- * optional uint32 shop_id = 15;
+ * optional uint32 shop_id = 11;
* @return this
*/
public BuyGoodsScRsp clearShopId() {
@@ -183,7 +183,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
- * optional uint32 shop_id = 15;
+ * optional uint32 shop_id = 11;
* @return the shopId
*/
public int getShopId() {
@@ -191,7 +191,7 @@ public final class BuyGoodsScRspOuterClass {
}
/**
- * optional uint32 shop_id = 15;
+ * optional uint32 shop_id = 11;
* @param value the shopId to set
* @return this
*/
@@ -263,9 +263,9 @@ public final class BuyGoodsScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- retcode = other.retcode;
- goodsBuyTimes = other.goodsBuyTimes;
goodsId = other.goodsId;
+ goodsBuyTimes = other.goodsBuyTimes;
+ retcode = other.retcode;
shopId = other.shopId;
returnItemList.copyFrom(other.returnItemList);
}
@@ -278,14 +278,14 @@ public final class BuyGoodsScRspOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasRetcode()) {
- setRetcode(other.retcode);
+ if (other.hasGoodsId()) {
+ setGoodsId(other.goodsId);
}
if (other.hasGoodsBuyTimes()) {
setGoodsBuyTimes(other.goodsBuyTimes);
}
- if (other.hasGoodsId()) {
- setGoodsId(other.goodsId);
+ if (other.hasRetcode()) {
+ setRetcode(other.retcode);
}
if (other.hasShopId()) {
setShopId(other.shopId);
@@ -303,9 +303,9 @@ public final class BuyGoodsScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- retcode = 0;
- goodsBuyTimes = 0;
goodsId = 0;
+ goodsBuyTimes = 0;
+ retcode = 0;
shopId = 0;
returnItemList.clear();
return this;
@@ -332,9 +332,9 @@ public final class BuyGoodsScRspOuterClass {
}
BuyGoodsScRsp other = (BuyGoodsScRsp) o;
return bitField0_ == other.bitField0_
- && (!hasRetcode() || retcode == other.retcode)
- && (!hasGoodsBuyTimes() || goodsBuyTimes == other.goodsBuyTimes)
&& (!hasGoodsId() || goodsId == other.goodsId)
+ && (!hasGoodsBuyTimes() || goodsBuyTimes == other.goodsBuyTimes)
+ && (!hasRetcode() || retcode == other.retcode)
&& (!hasShopId() || shopId == other.shopId)
&& (!hasReturnItemList() || returnItemList.equals(other.returnItemList));
}
@@ -342,19 +342,19 @@ public final class BuyGoodsScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(retcode);
+ output.writeRawByte((byte) 24);
+ output.writeUInt32NoTag(goodsId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 80);
+ output.writeRawByte((byte) 32);
output.writeUInt32NoTag(goodsBuyTimes);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(goodsId);
+ output.writeRawByte((byte) 56);
+ output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 120);
+ output.writeRawByte((byte) 88);
output.writeUInt32NoTag(shopId);
}
if ((bitField0_ & 0x00000010) != 0) {
@@ -367,13 +367,13 @@ public final class BuyGoodsScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(goodsId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(goodsBuyTimes);
}
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(goodsId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(shopId);
@@ -391,34 +391,34 @@ public final class BuyGoodsScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 8: {
- // retcode
- retcode = input.readUInt32();
+ case 24: {
+ // goodsId
+ goodsId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 80) {
+ if (tag != 32) {
break;
}
}
- case 80: {
+ case 32: {
// goodsBuyTimes
goodsBuyTimes = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
- if (tag != 104) {
+ if (tag != 56) {
break;
}
}
- case 104: {
- // goodsId
- goodsId = input.readUInt32();
+ case 56: {
+ // retcode
+ retcode = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
- if (tag != 120) {
+ if (tag != 88) {
break;
}
}
- case 120: {
+ case 88: {
// shopId
shopId = input.readUInt32();
bitField0_ |= 0x00000008;
@@ -454,13 +454,13 @@ public final class BuyGoodsScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.retcode, retcode);
+ output.writeUInt32(FieldNames.goodsId, goodsId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.goodsBuyTimes, goodsBuyTimes);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.goodsId, goodsId);
+ output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.shopId, shopId);
@@ -478,10 +478,11 @@ public final class BuyGoodsScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 1097936398: {
- if (input.isAtField(FieldNames.retcode)) {
+ case 207037201:
+ case 2123207332: {
+ if (input.isAtField(FieldNames.goodsId)) {
if (!input.trySkipNullValue()) {
- retcode = input.readUInt32();
+ goodsId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -501,11 +502,10 @@ public final class BuyGoodsScRspOuterClass {
}
break;
}
- case 207037201:
- case 2123207332: {
- if (input.isAtField(FieldNames.goodsId)) {
+ case 1097936398: {
+ if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
- goodsId = input.readUInt32();
+ retcode = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -589,11 +589,11 @@ public final class BuyGoodsScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName retcode = FieldName.forField("retcode");
+ static final FieldName goodsId = FieldName.forField("goodsId", "goods_id");
static final FieldName goodsBuyTimes = FieldName.forField("goodsBuyTimes", "goods_buy_times");
- static final FieldName goodsId = FieldName.forField("goodsId", "goods_id");
+ static final FieldName retcode = FieldName.forField("retcode");
static final FieldName shopId = FieldName.forField("shopId", "shop_id");
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeBossBuffInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeBossBuffInfoOuterClass.java
index 5a9f574..5f1a915 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeBossBuffInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeBossBuffInfoOuterClass.java
@@ -20,7 +20,7 @@ public final class ChallengeBossBuffInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
- * repeated uint32 buff_list = 10;
+ * repeated uint32 buff_list = 13;
*/
private final RepeatedInt buffList = RepeatedInt.newEmptyInstance();
@@ -35,7 +35,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 10;
+ * repeated uint32 buff_list = 13;
* @return whether the buffList field is set
*/
public boolean hasBuffList() {
@@ -43,7 +43,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 10;
+ * repeated uint32 buff_list = 13;
* @return this
*/
public ChallengeBossBuffInfo clearBuffList() {
@@ -53,7 +53,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 10;
+ * repeated uint32 buff_list = 13;
*
* 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.
@@ -67,7 +67,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 10;
+ * repeated uint32 buff_list = 13;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -81,7 +81,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 10;
+ * repeated uint32 buff_list = 13;
* @param value the buffList to add
* @return this
*/
@@ -92,7 +92,7 @@ public final class ChallengeBossBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 10;
+ * repeated uint32 buff_list = 13;
* @param values the buffList to add
* @return this
*/
@@ -163,7 +163,7 @@ public final class ChallengeBossBuffInfoOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < buffList.length(); i++) {
- output.writeRawByte((byte) 80);
+ output.writeRawByte((byte) 104);
output.writeUInt32NoTag(buffList.array()[i]);
}
}
@@ -185,7 +185,7 @@ public final class ChallengeBossBuffInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 82: {
+ case 106: {
// buffList [packed=true]
input.readPackedUInt32(buffList, tag);
bitField0_ |= 0x00000001;
@@ -204,7 +204,7 @@ public final class ChallengeBossBuffInfoOuterClass {
tag = input.readTag();
break;
}
- case 80: {
+ case 104: {
// buffList [packed=false]
tag = input.readRepeatedUInt32(buffList, tag);
bitField0_ |= 0x00000001;
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeBossInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeBossInfoOuterClass.java
index 541b9d4..8776e54 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeBossInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeBossInfoOuterClass.java
@@ -14,56 +14,35 @@ import us.hebi.quickbuf.RepeatedInt;
public final class ChallengeBossInfoOuterClass {
/**
- * - * TODO: verify nodes and lineups - *- * * Protobuf type {@code ChallengeBossInfo} */ public static final class ChallengeBossInfo extends ProtoMessage
- * map- * - *PKADBAODMOL = 6; - *
optional bool ACGHCDLBCGD = 13;
- */
- private boolean aCGHCDLBCGD;
-
- /**
- * optional .ChallengeBossSingleNodeInfo first_node = 1;
+ * optional .ChallengeBossSingleNodeInfo first_node = 2;
*/
private final ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo firstNode = ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo.newInstance();
/**
- * optional .ChallengeBossSingleNodeInfo second_node = 15;
+ * optional .ChallengeBossSingleNodeInfo second_node = 11;
*/
private final ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo secondNode = ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo.newInstance();
/**
- * repeated uint32 lineup1 = 3;
+ * repeated uint32 first_half_lineup = 6;
*/
- private final RepeatedInt lineup1 = RepeatedInt.newEmptyInstance();
+ private final RepeatedInt firstHalfLineup = RepeatedInt.newEmptyInstance();
/**
- * - * map- * - *NIDHAKJENJJ = 11; - *
repeated uint32 lineup2 = 12;
+ * repeated uint32 second_half_lineup = 13;
*/
- private final RepeatedInt lineup2 = RepeatedInt.newEmptyInstance();
+ private final RepeatedInt secondHalfLineup = RepeatedInt.newEmptyInstance();
private ChallengeBossInfo() {
}
/**
- * - * TODO: verify nodes and lineups - *- * * @return a new empty instance of {@code ChallengeBossInfo} */ public static ChallengeBossInfo newInstance() { @@ -71,78 +50,25 @@ public final class ChallengeBossInfoOuterClass { } /** - *
- * map- * - *PKADBAODMOL = 6; - *
optional bool ACGHCDLBCGD = 13;
- * @return whether the aCGHCDLBCGD field is set
+ * optional .ChallengeBossSingleNodeInfo first_node = 2;
+ * @return whether the firstNode field is set
*/
- public boolean hasACGHCDLBCGD() {
+ public boolean hasFirstNode() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * - * map- * - *PKADBAODMOL = 6; - *
optional bool ACGHCDLBCGD = 13;
- * @return this
- */
- public ChallengeBossInfo clearACGHCDLBCGD() {
- bitField0_ &= ~0x00000001;
- aCGHCDLBCGD = false;
- return this;
- }
-
- /**
- * - * map- * - *PKADBAODMOL = 6; - *
optional bool ACGHCDLBCGD = 13;
- * @return the aCGHCDLBCGD
- */
- public boolean getACGHCDLBCGD() {
- return aCGHCDLBCGD;
- }
-
- /**
- * - * map- * - *PKADBAODMOL = 6; - *
optional bool ACGHCDLBCGD = 13;
- * @param value the aCGHCDLBCGD to set
- * @return this
- */
- public ChallengeBossInfo setACGHCDLBCGD(final boolean value) {
- bitField0_ |= 0x00000001;
- aCGHCDLBCGD = value;
- return this;
- }
-
- /**
- * optional .ChallengeBossSingleNodeInfo first_node = 1;
- * @return whether the firstNode field is set
- */
- public boolean hasFirstNode() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional .ChallengeBossSingleNodeInfo first_node = 1;
+ * optional .ChallengeBossSingleNodeInfo first_node = 2;
* @return this
*/
public ChallengeBossInfo clearFirstNode() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000001;
firstNode.clear();
return this;
}
/**
- * optional .ChallengeBossSingleNodeInfo first_node = 1;
+ * optional .ChallengeBossSingleNodeInfo first_node = 2;
*
* 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.
@@ -156,7 +82,7 @@ public final class ChallengeBossInfoOuterClass {
}
/**
- * optional .ChallengeBossSingleNodeInfo first_node = 1;
+ * optional .ChallengeBossSingleNodeInfo first_node = 2;
*
* 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,42 +91,42 @@ public final class ChallengeBossInfoOuterClass {
* @return internal storage object for modifications
*/
public ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo getMutableFirstNode() {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
return firstNode;
}
/**
- * optional .ChallengeBossSingleNodeInfo first_node = 1;
+ * optional .ChallengeBossSingleNodeInfo first_node = 2;
* @param value the firstNode to set
* @return this
*/
public ChallengeBossInfo setFirstNode(
final ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
firstNode.copyFrom(value);
return this;
}
/**
- * optional .ChallengeBossSingleNodeInfo second_node = 15;
+ * optional .ChallengeBossSingleNodeInfo second_node = 11;
* @return whether the secondNode field is set
*/
public boolean hasSecondNode() {
- return (bitField0_ & 0x00000004) != 0;
+ return (bitField0_ & 0x00000002) != 0;
}
/**
- * optional .ChallengeBossSingleNodeInfo second_node = 15;
+ * optional .ChallengeBossSingleNodeInfo second_node = 11;
* @return this
*/
public ChallengeBossInfo clearSecondNode() {
- bitField0_ &= ~0x00000004;
+ bitField0_ &= ~0x00000002;
secondNode.clear();
return this;
}
/**
- * optional .ChallengeBossSingleNodeInfo second_node = 15;
+ * optional .ChallengeBossSingleNodeInfo second_node = 11;
*
* 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.
@@ -214,7 +140,7 @@ public final class ChallengeBossInfoOuterClass {
}
/**
- * optional .ChallengeBossSingleNodeInfo second_node = 15;
+ * optional .ChallengeBossSingleNodeInfo second_node = 11;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -224,56 +150,124 @@ public final class ChallengeBossInfoOuterClass {
*/
public ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo getMutableSecondNode(
) {
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
return secondNode;
}
/**
- * optional .ChallengeBossSingleNodeInfo second_node = 15;
+ * optional .ChallengeBossSingleNodeInfo second_node = 11;
* @param value the secondNode to set
* @return this
*/
public ChallengeBossInfo setSecondNode(
final ChallengeBossSingleNodeInfoOuterClass.ChallengeBossSingleNodeInfo value) {
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
secondNode.copyFrom(value);
return this;
}
/**
- * repeated uint32 lineup1 = 3;
- * @return whether the lineup1 field is set
+ * repeated uint32 first_half_lineup = 6;
+ * @return whether the firstHalfLineup field is set
*/
- public boolean hasLineup1() {
+ public boolean hasFirstHalfLineup() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * repeated uint32 first_half_lineup = 6;
+ * @return this
+ */
+ public ChallengeBossInfo clearFirstHalfLineup() {
+ bitField0_ &= ~0x00000004;
+ firstHalfLineup.clear();
+ return this;
+ }
+
+ /**
+ * repeated uint32 first_half_lineup = 6;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableFirstHalfLineup()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getFirstHalfLineup() {
+ return firstHalfLineup;
+ }
+
+ /**
+ * repeated uint32 first_half_lineup = 6;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableFirstHalfLineup() {
+ bitField0_ |= 0x00000004;
+ return firstHalfLineup;
+ }
+
+ /**
+ * repeated uint32 first_half_lineup = 6;
+ * @param value the firstHalfLineup to add
+ * @return this
+ */
+ public ChallengeBossInfo addFirstHalfLineup(final int value) {
+ bitField0_ |= 0x00000004;
+ firstHalfLineup.add(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 first_half_lineup = 6;
+ * @param values the firstHalfLineup to add
+ * @return this
+ */
+ public ChallengeBossInfo addAllFirstHalfLineup(final int... values) {
+ bitField0_ |= 0x00000004;
+ firstHalfLineup.addAll(values);
+ return this;
+ }
+
+ /**
+ * repeated uint32 second_half_lineup = 13;
+ * @return whether the secondHalfLineup field is set
+ */
+ public boolean hasSecondHalfLineup() {
return (bitField0_ & 0x00000008) != 0;
}
/**
- * repeated uint32 lineup1 = 3;
+ * repeated uint32 second_half_lineup = 13;
* @return this
*/
- public ChallengeBossInfo clearLineup1() {
+ public ChallengeBossInfo clearSecondHalfLineup() {
bitField0_ &= ~0x00000008;
- lineup1.clear();
+ secondHalfLineup.clear();
return this;
}
/**
- * repeated uint32 lineup1 = 3;
+ * repeated uint32 second_half_lineup = 13;
*
* 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.
*
- * Use {@link #getMutableLineup1()} if you want to modify it.
+ * Use {@link #getMutableSecondHalfLineup()} if you want to modify it.
*
* @return internal storage object for reading
*/
- public RepeatedInt getLineup1() {
- return lineup1;
+ public RepeatedInt getSecondHalfLineup() {
+ return secondHalfLineup;
}
/**
- * repeated uint32 lineup1 = 3;
+ * repeated uint32 second_half_lineup = 13;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -281,122 +275,30 @@ public final class ChallengeBossInfoOuterClass {
*
* @return internal storage object for modifications
*/
- public RepeatedInt getMutableLineup1() {
+ public RepeatedInt getMutableSecondHalfLineup() {
bitField0_ |= 0x00000008;
- return lineup1;
+ return secondHalfLineup;
}
/**
- * repeated uint32 lineup1 = 3;
- * @param value the lineup1 to add
+ * repeated uint32 second_half_lineup = 13;
+ * @param value the secondHalfLineup to add
* @return this
*/
- public ChallengeBossInfo addLineup1(final int value) {
+ public ChallengeBossInfo addSecondHalfLineup(final int value) {
bitField0_ |= 0x00000008;
- lineup1.add(value);
+ secondHalfLineup.add(value);
return this;
}
/**
- * repeated uint32 lineup1 = 3;
- * @param values the lineup1 to add
+ * repeated uint32 second_half_lineup = 13;
+ * @param values the secondHalfLineup to add
* @return this
*/
- public ChallengeBossInfo addAllLineup1(final int... values) {
+ public ChallengeBossInfo addAllSecondHalfLineup(final int... values) {
bitField0_ |= 0x00000008;
- lineup1.addAll(values);
- return this;
- }
-
- /**
- * - * map- * - *NIDHAKJENJJ = 11; - *
repeated uint32 lineup2 = 12;
- * @return whether the lineup2 field is set
- */
- public boolean hasLineup2() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * - * map- * - *NIDHAKJENJJ = 11; - *
repeated uint32 lineup2 = 12;
- * @return this
- */
- public ChallengeBossInfo clearLineup2() {
- bitField0_ &= ~0x00000010;
- lineup2.clear();
- return this;
- }
-
- /**
- * - * map- * - *NIDHAKJENJJ = 11; - *
repeated uint32 lineup2 = 12;
- *
- * 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.
- *
- * Use {@link #getMutableLineup2()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getLineup2() {
- return lineup2;
- }
-
- /**
- * - * map- * - *NIDHAKJENJJ = 11; - *
repeated uint32 lineup2 = 12;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableLineup2() {
- bitField0_ |= 0x00000010;
- return lineup2;
- }
-
- /**
- * - * map- * - *NIDHAKJENJJ = 11; - *
repeated uint32 lineup2 = 12;
- * @param value the lineup2 to add
- * @return this
- */
- public ChallengeBossInfo addLineup2(final int value) {
- bitField0_ |= 0x00000010;
- lineup2.add(value);
- return this;
- }
-
- /**
- * - * map- * - *NIDHAKJENJJ = 11; - *
repeated uint32 lineup2 = 12;
- * @param values the lineup2 to add
- * @return this
- */
- public ChallengeBossInfo addAllLineup2(final int... values) {
- bitField0_ |= 0x00000010;
- lineup2.addAll(values);
+ secondHalfLineup.addAll(values);
return this;
}
@@ -405,11 +307,10 @@ public final class ChallengeBossInfoOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- aCGHCDLBCGD = other.aCGHCDLBCGD;
firstNode.copyFrom(other.firstNode);
secondNode.copyFrom(other.secondNode);
- lineup1.copyFrom(other.lineup1);
- lineup2.copyFrom(other.lineup2);
+ firstHalfLineup.copyFrom(other.firstHalfLineup);
+ secondHalfLineup.copyFrom(other.secondHalfLineup);
}
return this;
}
@@ -420,20 +321,17 @@ public final class ChallengeBossInfoOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasACGHCDLBCGD()) {
- setACGHCDLBCGD(other.aCGHCDLBCGD);
- }
if (other.hasFirstNode()) {
getMutableFirstNode().mergeFrom(other.firstNode);
}
if (other.hasSecondNode()) {
getMutableSecondNode().mergeFrom(other.secondNode);
}
- if (other.hasLineup1()) {
- getMutableLineup1().addAll(other.lineup1);
+ if (other.hasFirstHalfLineup()) {
+ getMutableFirstHalfLineup().addAll(other.firstHalfLineup);
}
- if (other.hasLineup2()) {
- getMutableLineup2().addAll(other.lineup2);
+ if (other.hasSecondHalfLineup()) {
+ getMutableSecondHalfLineup().addAll(other.secondHalfLineup);
}
return this;
}
@@ -445,11 +343,10 @@ public final class ChallengeBossInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- aCGHCDLBCGD = false;
firstNode.clear();
secondNode.clear();
- lineup1.clear();
- lineup2.clear();
+ firstHalfLineup.clear();
+ secondHalfLineup.clear();
return this;
}
@@ -462,8 +359,8 @@ public final class ChallengeBossInfoOuterClass {
bitField0_ = 0;
firstNode.clearQuick();
secondNode.clearQuick();
- lineup1.clear();
- lineup2.clear();
+ firstHalfLineup.clear();
+ secondHalfLineup.clear();
return this;
}
@@ -477,37 +374,32 @@ public final class ChallengeBossInfoOuterClass {
}
ChallengeBossInfo other = (ChallengeBossInfo) o;
return bitField0_ == other.bitField0_
- && (!hasACGHCDLBCGD() || aCGHCDLBCGD == other.aCGHCDLBCGD)
&& (!hasFirstNode() || firstNode.equals(other.firstNode))
&& (!hasSecondNode() || secondNode.equals(other.secondNode))
- && (!hasLineup1() || lineup1.equals(other.lineup1))
- && (!hasLineup2() || lineup2.equals(other.lineup2));
+ && (!hasFirstHalfLineup() || firstHalfLineup.equals(other.firstHalfLineup))
+ && (!hasSecondHalfLineup() || secondHalfLineup.equals(other.secondHalfLineup));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 104);
- output.writeBoolNoTag(aCGHCDLBCGD);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 10);
+ output.writeRawByte((byte) 18);
output.writeMessageNoTag(firstNode);
}
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 122);
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 90);
output.writeMessageNoTag(secondNode);
}
- if ((bitField0_ & 0x00000008) != 0) {
- for (int i = 0; i < lineup1.length(); i++) {
- output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(lineup1.array()[i]);
+ if ((bitField0_ & 0x00000004) != 0) {
+ for (int i = 0; i < firstHalfLineup.length(); i++) {
+ output.writeRawByte((byte) 48);
+ output.writeUInt32NoTag(firstHalfLineup.array()[i]);
}
}
- if ((bitField0_ & 0x00000010) != 0) {
- for (int i = 0; i < lineup2.length(); i++) {
- output.writeRawByte((byte) 96);
- output.writeUInt32NoTag(lineup2.array()[i]);
+ if ((bitField0_ & 0x00000008) != 0) {
+ for (int i = 0; i < secondHalfLineup.length(); i++) {
+ output.writeRawByte((byte) 104);
+ output.writeUInt32NoTag(secondHalfLineup.array()[i]);
}
}
}
@@ -516,19 +408,16 @@ public final class ChallengeBossInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(firstNode);
}
- if ((bitField0_ & 0x00000004) != 0) {
+ if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(secondNode);
}
- if ((bitField0_ & 0x00000008) != 0) {
- size += (1 * lineup1.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(lineup1);
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += (1 * firstHalfLineup.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(firstHalfLineup);
}
- if ((bitField0_ & 0x00000010) != 0) {
- size += (1 * lineup2.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(lineup2);
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += (1 * secondHalfLineup.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(secondHalfLineup);
}
return size;
}
@@ -540,47 +429,38 @@ public final class ChallengeBossInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 104: {
- // aCGHCDLBCGD
- aCGHCDLBCGD = input.readBool();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 10) {
- break;
- }
- }
- case 10: {
+ case 18: {
// firstNode
input.readMessage(firstNode);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 122) {
+ if (tag != 90) {
break;
}
}
- case 122: {
+ case 90: {
// secondNode
input.readMessage(secondNode);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 50) {
+ break;
+ }
+ }
+ case 50: {
+ // firstHalfLineup [packed=true]
+ input.readPackedUInt32(firstHalfLineup, tag);
bitField0_ |= 0x00000004;
tag = input.readTag();
- if (tag != 26) {
+ if (tag != 106) {
break;
}
}
- case 26: {
- // lineup1 [packed=true]
- input.readPackedUInt32(lineup1, tag);
+ case 106: {
+ // secondHalfLineup [packed=true]
+ input.readPackedUInt32(secondHalfLineup, tag);
bitField0_ |= 0x00000008;
tag = input.readTag();
- if (tag != 98) {
- break;
- }
- }
- case 98: {
- // lineup2 [packed=true]
- input.readPackedUInt32(lineup2, tag);
- bitField0_ |= 0x00000010;
- tag = input.readTag();
if (tag != 0) {
break;
}
@@ -595,16 +475,16 @@ public final class ChallengeBossInfoOuterClass {
tag = input.readTag();
break;
}
- case 24: {
- // lineup1 [packed=false]
- tag = input.readRepeatedUInt32(lineup1, tag);
- bitField0_ |= 0x00000008;
+ case 48: {
+ // firstHalfLineup [packed=false]
+ tag = input.readRepeatedUInt32(firstHalfLineup, tag);
+ bitField0_ |= 0x00000004;
break;
}
- case 96: {
- // lineup2 [packed=false]
- tag = input.readRepeatedUInt32(lineup2, tag);
- bitField0_ |= 0x00000010;
+ case 104: {
+ // secondHalfLineup [packed=false]
+ tag = input.readRepeatedUInt32(secondHalfLineup, tag);
+ bitField0_ |= 0x00000008;
break;
}
}
@@ -615,19 +495,16 @@ public final class ChallengeBossInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeBool(FieldNames.aCGHCDLBCGD, aCGHCDLBCGD);
- }
- if ((bitField0_ & 0x00000002) != 0) {
output.writeMessage(FieldNames.firstNode, firstNode);
}
- if ((bitField0_ & 0x00000004) != 0) {
+ if ((bitField0_ & 0x00000002) != 0) {
output.writeMessage(FieldNames.secondNode, secondNode);
}
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRepeatedUInt32(FieldNames.lineup1, lineup1);
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRepeatedUInt32(FieldNames.firstHalfLineup, firstHalfLineup);
}
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRepeatedUInt32(FieldNames.lineup2, lineup2);
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRepeatedUInt32(FieldNames.secondHalfLineup, secondHalfLineup);
}
output.endObject();
}
@@ -639,23 +516,12 @@ public final class ChallengeBossInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 1681027462: {
- if (input.isAtField(FieldNames.aCGHCDLBCGD)) {
- if (!input.trySkipNullValue()) {
- aCGHCDLBCGD = input.readBool();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
case 132848850:
case -160972239: {
if (input.isAtField(FieldNames.firstNode)) {
if (!input.trySkipNullValue()) {
input.readMessage(firstNode);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
} else {
input.skipUnknownField();
@@ -667,6 +533,18 @@ public final class ChallengeBossInfoOuterClass {
if (input.isAtField(FieldNames.secondNode)) {
if (!input.trySkipNullValue()) {
input.readMessage(secondNode);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -450421134:
+ case 1848535052: {
+ if (input.isAtField(FieldNames.firstHalfLineup)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(firstHalfLineup);
bitField0_ |= 0x00000004;
}
} else {
@@ -674,10 +552,11 @@ public final class ChallengeBossInfoOuterClass {
}
break;
}
- case 176922754: {
- if (input.isAtField(FieldNames.lineup1)) {
+ case 1414736694:
+ case -1031121968: {
+ if (input.isAtField(FieldNames.secondHalfLineup)) {
if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(lineup1);
+ input.readRepeatedUInt32(secondHalfLineup);
bitField0_ |= 0x00000008;
}
} else {
@@ -685,17 +564,6 @@ public final class ChallengeBossInfoOuterClass {
}
break;
}
- case 176922755: {
- if (input.isAtField(FieldNames.lineup2)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(lineup2);
- bitField0_ |= 0x00000010;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
default: {
input.skipUnknownField();
break;
@@ -749,15 +617,13 @@ public final class ChallengeBossInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName aCGHCDLBCGD = FieldName.forField("ACGHCDLBCGD");
-
static final FieldName firstNode = FieldName.forField("firstNode", "first_node");
static final FieldName secondNode = FieldName.forField("secondNode", "second_node");
- static final FieldName lineup1 = FieldName.forField("lineup1");
+ static final FieldName firstHalfLineup = FieldName.forField("firstHalfLineup", "first_half_lineup");
- static final FieldName lineup2 = FieldName.forField("lineup2");
+ static final FieldName secondHalfLineup = FieldName.forField("secondHalfLineup", "second_half_lineup");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeBossPhaseSettleNotifyOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeBossPhaseSettleNotifyOuterClass.java
index 22f4489..b86a18a 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeBossPhaseSettleNotifyOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeBossPhaseSettleNotifyOuterClass.java
@@ -19,55 +19,63 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
public static final class ChallengeBossPhaseSettleNotify extends ProtoMessageoptional uint32 score_two = 2;
- */
- private int scoreTwo;
-
/**
* optional uint32 challenge_score = 3;
*/
private int challengeScore;
/**
- * optional uint32 stars = 4;
+ * optional uint32 DBDDGFJGGGB = 4;
*/
- private int stars;
+ private int dBDDGFJGGGB;
/**
- * optional uint32 COKFJJOLMDI = 12;
- */
- private int cOKFJJOLMDI;
-
- /**
- * optional uint32 challenge_id = 13;
+ * optional uint32 challenge_id = 6;
*/
private int challengeId;
/**
- * optional uint32 phase = 14;
+ * optional uint32 stars = 9;
+ */
+ private int stars;
+
+ /**
+ * optional uint32 phase = 12;
*/
private int phase;
/**
+ * optional uint32 score_two = 14;
+ */
+ private int scoreTwo;
+
+ /**
+ * + * is_reward + *+ * *
optional bool unkbool1 = 7;
*/
private boolean unkbool1;
/**
- * optional bool is_win = 11;
+ * optional bool is_win = 10;
*/
private boolean isWin;
/**
- * optional bool unkbool2 = 15;
+ * + * is_remaining_action + *+ * + *
optional bool unkbool2 = 13;
*/
private boolean unkbool2;
/**
- * repeated .BattleTarget BIPEPADLEIA = 1;
+ * repeated .BattleTarget HJAALLNAFOO = 8;
*/
- private final RepeatedMessageoptional uint32 score_two = 2;
- * @return whether the scoreTwo field is set
- */
- public boolean hasScoreTwo() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 score_two = 2;
- * @return this
- */
- public ChallengeBossPhaseSettleNotify clearScoreTwo() {
- bitField0_ &= ~0x00000001;
- scoreTwo = 0;
- return this;
- }
-
- /**
- * optional uint32 score_two = 2;
- * @return the scoreTwo
- */
- public int getScoreTwo() {
- return scoreTwo;
- }
-
- /**
- * optional uint32 score_two = 2;
- * @param value the scoreTwo to set
- * @return this
- */
- public ChallengeBossPhaseSettleNotify setScoreTwo(final int value) {
- bitField0_ |= 0x00000001;
- scoreTwo = value;
- return this;
- }
-
/**
* optional uint32 challenge_score = 3;
* @return whether the challengeScore field is set
*/
public boolean hasChallengeScore() {
- return (bitField0_ & 0x00000002) != 0;
+ return (bitField0_ & 0x00000001) != 0;
}
/**
@@ -129,7 +100,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
* @return this
*/
public ChallengeBossPhaseSettleNotify clearChallengeScore() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000001;
challengeScore = 0;
return this;
}
@@ -148,105 +119,68 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
* @return this
*/
public ChallengeBossPhaseSettleNotify setChallengeScore(final int value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
challengeScore = value;
return this;
}
/**
- * optional uint32 stars = 4;
- * @return whether the stars field is set
+ * optional uint32 DBDDGFJGGGB = 4;
+ * @return whether the dBDDGFJGGGB field is set
*/
- public boolean hasStars() {
+ public boolean hasDBDDGFJGGGB() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 DBDDGFJGGGB = 4;
+ * @return this
+ */
+ public ChallengeBossPhaseSettleNotify clearDBDDGFJGGGB() {
+ bitField0_ &= ~0x00000002;
+ dBDDGFJGGGB = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 DBDDGFJGGGB = 4;
+ * @return the dBDDGFJGGGB
+ */
+ public int getDBDDGFJGGGB() {
+ return dBDDGFJGGGB;
+ }
+
+ /**
+ * optional uint32 DBDDGFJGGGB = 4;
+ * @param value the dBDDGFJGGGB to set
+ * @return this
+ */
+ public ChallengeBossPhaseSettleNotify setDBDDGFJGGGB(final int value) {
+ bitField0_ |= 0x00000002;
+ dBDDGFJGGGB = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 challenge_id = 6;
+ * @return whether the challengeId field is set
+ */
+ public boolean hasChallengeId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
- * optional uint32 stars = 4;
- * @return this
- */
- public ChallengeBossPhaseSettleNotify clearStars() {
- bitField0_ &= ~0x00000004;
- stars = 0;
- return this;
- }
-
- /**
- * optional uint32 stars = 4;
- * @return the stars
- */
- public int getStars() {
- return stars;
- }
-
- /**
- * optional uint32 stars = 4;
- * @param value the stars to set
- * @return this
- */
- public ChallengeBossPhaseSettleNotify setStars(final int value) {
- bitField0_ |= 0x00000004;
- stars = value;
- return this;
- }
-
- /**
- * optional uint32 COKFJJOLMDI = 12;
- * @return whether the cOKFJJOLMDI field is set
- */
- public boolean hasCOKFJJOLMDI() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional uint32 COKFJJOLMDI = 12;
- * @return this
- */
- public ChallengeBossPhaseSettleNotify clearCOKFJJOLMDI() {
- bitField0_ &= ~0x00000008;
- cOKFJJOLMDI = 0;
- return this;
- }
-
- /**
- * optional uint32 COKFJJOLMDI = 12;
- * @return the cOKFJJOLMDI
- */
- public int getCOKFJJOLMDI() {
- return cOKFJJOLMDI;
- }
-
- /**
- * optional uint32 COKFJJOLMDI = 12;
- * @param value the cOKFJJOLMDI to set
- * @return this
- */
- public ChallengeBossPhaseSettleNotify setCOKFJJOLMDI(final int value) {
- bitField0_ |= 0x00000008;
- cOKFJJOLMDI = value;
- return this;
- }
-
- /**
- * optional uint32 challenge_id = 13;
- * @return whether the challengeId field is set
- */
- public boolean hasChallengeId() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * optional uint32 challenge_id = 13;
+ * optional uint32 challenge_id = 6;
* @return this
*/
public ChallengeBossPhaseSettleNotify clearChallengeId() {
- bitField0_ &= ~0x00000010;
+ bitField0_ &= ~0x00000004;
challengeId = 0;
return this;
}
/**
- * optional uint32 challenge_id = 13;
+ * optional uint32 challenge_id = 6;
* @return the challengeId
*/
public int getChallengeId() {
@@ -254,36 +188,73 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional uint32 challenge_id = 13;
+ * optional uint32 challenge_id = 6;
* @param value the challengeId to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setChallengeId(final int value) {
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000004;
challengeId = value;
return this;
}
/**
- * optional uint32 phase = 14;
- * @return whether the phase field is set
+ * optional uint32 stars = 9;
+ * @return whether the stars field is set
*/
- public boolean hasPhase() {
- return (bitField0_ & 0x00000020) != 0;
+ public boolean hasStars() {
+ return (bitField0_ & 0x00000008) != 0;
}
/**
- * optional uint32 phase = 14;
+ * optional uint32 stars = 9;
+ * @return this
+ */
+ public ChallengeBossPhaseSettleNotify clearStars() {
+ bitField0_ &= ~0x00000008;
+ stars = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 stars = 9;
+ * @return the stars
+ */
+ public int getStars() {
+ return stars;
+ }
+
+ /**
+ * optional uint32 stars = 9;
+ * @param value the stars to set
+ * @return this
+ */
+ public ChallengeBossPhaseSettleNotify setStars(final int value) {
+ bitField0_ |= 0x00000008;
+ stars = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 phase = 12;
+ * @return whether the phase field is set
+ */
+ public boolean hasPhase() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * optional uint32 phase = 12;
* @return this
*/
public ChallengeBossPhaseSettleNotify clearPhase() {
- bitField0_ &= ~0x00000020;
+ bitField0_ &= ~0x00000010;
phase = 0;
return this;
}
/**
- * optional uint32 phase = 14;
+ * optional uint32 phase = 12;
* @return the phase
*/
public int getPhase() {
@@ -291,17 +262,58 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional uint32 phase = 14;
+ * optional uint32 phase = 12;
* @param value the phase to set
* @return this
*/
public ChallengeBossPhaseSettleNotify setPhase(final int value) {
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000010;
phase = value;
return this;
}
/**
+ * optional uint32 score_two = 14;
+ * @return whether the scoreTwo field is set
+ */
+ public boolean hasScoreTwo() {
+ return (bitField0_ & 0x00000020) != 0;
+ }
+
+ /**
+ * optional uint32 score_two = 14;
+ * @return this
+ */
+ public ChallengeBossPhaseSettleNotify clearScoreTwo() {
+ bitField0_ &= ~0x00000020;
+ scoreTwo = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 score_two = 14;
+ * @return the scoreTwo
+ */
+ public int getScoreTwo() {
+ return scoreTwo;
+ }
+
+ /**
+ * optional uint32 score_two = 14;
+ * @param value the scoreTwo to set
+ * @return this
+ */
+ public ChallengeBossPhaseSettleNotify setScoreTwo(final int value) {
+ bitField0_ |= 0x00000020;
+ scoreTwo = value;
+ return this;
+ }
+
+ /**
+ * + * is_reward + *+ * *
optional bool unkbool1 = 7;
* @return whether the unkbool1 field is set
*/
@@ -310,6 +322,10 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
+ * + * is_reward + *+ * *
optional bool unkbool1 = 7;
* @return this
*/
@@ -320,6 +336,10 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
+ * + * is_reward + *+ * *
optional bool unkbool1 = 7;
* @return the unkbool1
*/
@@ -328,6 +348,10 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
+ * + * is_reward + *+ * *
optional bool unkbool1 = 7;
* @param value the unkbool1 to set
* @return this
@@ -339,7 +363,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional bool is_win = 11;
+ * optional bool is_win = 10;
* @return whether the isWin field is set
*/
public boolean hasIsWin() {
@@ -347,7 +371,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional bool is_win = 11;
+ * optional bool is_win = 10;
* @return this
*/
public ChallengeBossPhaseSettleNotify clearIsWin() {
@@ -357,7 +381,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional bool is_win = 11;
+ * optional bool is_win = 10;
* @return the isWin
*/
public boolean getIsWin() {
@@ -365,7 +389,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional bool is_win = 11;
+ * optional bool is_win = 10;
* @param value the isWin to set
* @return this
*/
@@ -376,7 +400,11 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional bool unkbool2 = 15;
+ * + * is_remaining_action + *+ * + *
optional bool unkbool2 = 13;
* @return whether the unkbool2 field is set
*/
public boolean hasUnkbool2() {
@@ -384,7 +412,11 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional bool unkbool2 = 15;
+ * + * is_remaining_action + *+ * + *
optional bool unkbool2 = 13;
* @return this
*/
public ChallengeBossPhaseSettleNotify clearUnkbool2() {
@@ -394,7 +426,11 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional bool unkbool2 = 15;
+ * + * is_remaining_action + *+ * + *
optional bool unkbool2 = 13;
* @return the unkbool2
*/
public boolean getUnkbool2() {
@@ -402,7 +438,11 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * optional bool unkbool2 = 15;
+ * + * is_remaining_action + *+ * + *
optional bool unkbool2 = 13;
* @param value the unkbool2 to set
* @return this
*/
@@ -413,39 +453,39 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
/**
- * repeated .BattleTarget BIPEPADLEIA = 1;
- * @return whether the bIPEPADLEIA field is set
+ * repeated .BattleTarget HJAALLNAFOO = 8;
+ * @return whether the hJAALLNAFOO field is set
*/
- public boolean hasBIPEPADLEIA() {
+ public boolean hasHJAALLNAFOO() {
return (bitField0_ & 0x00000200) != 0;
}
/**
- * repeated .BattleTarget BIPEPADLEIA = 1;
+ * repeated .BattleTarget HJAALLNAFOO = 8;
* @return this
*/
- public ChallengeBossPhaseSettleNotify clearBIPEPADLEIA() {
+ public ChallengeBossPhaseSettleNotify clearHJAALLNAFOO() {
bitField0_ &= ~0x00000200;
- bIPEPADLEIA.clear();
+ hJAALLNAFOO.clear();
return this;
}
/**
- * repeated .BattleTarget BIPEPADLEIA = 1;
+ * repeated .BattleTarget HJAALLNAFOO = 8;
*
* 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.
*
- * Use {@link #getMutableBIPEPADLEIA()} if you want to modify it.
+ * Use {@link #getMutableHJAALLNAFOO()} if you want to modify it.
*
* @return internal storage object for reading
*/
- public RepeatedMessagerepeated .BattleTarget BIPEPADLEIA = 1;
+ * repeated .BattleTarget HJAALLNAFOO = 8;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -453,32 +493,32 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
*
* @return internal storage object for modifications
*/
- public RepeatedMessagerepeated .BattleTarget BIPEPADLEIA = 1;
- * @param value the bIPEPADLEIA to add
+ * repeated .BattleTarget HJAALLNAFOO = 8;
+ * @param value the hJAALLNAFOO to add
* @return this
*/
- public ChallengeBossPhaseSettleNotify addBIPEPADLEIA(
+ public ChallengeBossPhaseSettleNotify addHJAALLNAFOO(
final BattleTargetOuterClass.BattleTarget value) {
bitField0_ |= 0x00000200;
- bIPEPADLEIA.add(value);
+ hJAALLNAFOO.add(value);
return this;
}
/**
- * repeated .BattleTarget BIPEPADLEIA = 1;
- * @param values the bIPEPADLEIA to add
+ * repeated .BattleTarget HJAALLNAFOO = 8;
+ * @param values the hJAALLNAFOO to add
* @return this
*/
- public ChallengeBossPhaseSettleNotify addAllBIPEPADLEIA(
+ public ChallengeBossPhaseSettleNotify addAllHJAALLNAFOO(
final BattleTargetOuterClass.BattleTarget... values) {
bitField0_ |= 0x00000200;
- bIPEPADLEIA.addAll(values);
+ hJAALLNAFOO.addAll(values);
return this;
}
@@ -487,16 +527,16 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- scoreTwo = other.scoreTwo;
challengeScore = other.challengeScore;
- stars = other.stars;
- cOKFJJOLMDI = other.cOKFJJOLMDI;
+ dBDDGFJGGGB = other.dBDDGFJGGGB;
challengeId = other.challengeId;
+ stars = other.stars;
phase = other.phase;
+ scoreTwo = other.scoreTwo;
unkbool1 = other.unkbool1;
isWin = other.isWin;
unkbool2 = other.unkbool2;
- bIPEPADLEIA.copyFrom(other.bIPEPADLEIA);
+ hJAALLNAFOO.copyFrom(other.hJAALLNAFOO);
}
return this;
}
@@ -507,24 +547,24 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasScoreTwo()) {
- setScoreTwo(other.scoreTwo);
- }
if (other.hasChallengeScore()) {
setChallengeScore(other.challengeScore);
}
- if (other.hasStars()) {
- setStars(other.stars);
- }
- if (other.hasCOKFJJOLMDI()) {
- setCOKFJJOLMDI(other.cOKFJJOLMDI);
+ if (other.hasDBDDGFJGGGB()) {
+ setDBDDGFJGGGB(other.dBDDGFJGGGB);
}
if (other.hasChallengeId()) {
setChallengeId(other.challengeId);
}
+ if (other.hasStars()) {
+ setStars(other.stars);
+ }
if (other.hasPhase()) {
setPhase(other.phase);
}
+ if (other.hasScoreTwo()) {
+ setScoreTwo(other.scoreTwo);
+ }
if (other.hasUnkbool1()) {
setUnkbool1(other.unkbool1);
}
@@ -534,8 +574,8 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
if (other.hasUnkbool2()) {
setUnkbool2(other.unkbool2);
}
- if (other.hasBIPEPADLEIA()) {
- getMutableBIPEPADLEIA().addAll(other.bIPEPADLEIA);
+ if (other.hasHJAALLNAFOO()) {
+ getMutableHJAALLNAFOO().addAll(other.hJAALLNAFOO);
}
return this;
}
@@ -547,16 +587,16 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- scoreTwo = 0;
challengeScore = 0;
- stars = 0;
- cOKFJJOLMDI = 0;
+ dBDDGFJGGGB = 0;
challengeId = 0;
+ stars = 0;
phase = 0;
+ scoreTwo = 0;
unkbool1 = false;
isWin = false;
unkbool2 = false;
- bIPEPADLEIA.clear();
+ hJAALLNAFOO.clear();
return this;
}
@@ -567,7 +607,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- bIPEPADLEIA.clearQuick();
+ hJAALLNAFOO.clearQuick();
return this;
}
@@ -581,60 +621,60 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
ChallengeBossPhaseSettleNotify other = (ChallengeBossPhaseSettleNotify) o;
return bitField0_ == other.bitField0_
- && (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasChallengeScore() || challengeScore == other.challengeScore)
- && (!hasStars() || stars == other.stars)
- && (!hasCOKFJJOLMDI() || cOKFJJOLMDI == other.cOKFJJOLMDI)
+ && (!hasDBDDGFJGGGB() || dBDDGFJGGGB == other.dBDDGFJGGGB)
&& (!hasChallengeId() || challengeId == other.challengeId)
+ && (!hasStars() || stars == other.stars)
&& (!hasPhase() || phase == other.phase)
+ && (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasUnkbool1() || unkbool1 == other.unkbool1)
&& (!hasIsWin() || isWin == other.isWin)
&& (!hasUnkbool2() || unkbool2 == other.unkbool2)
- && (!hasBIPEPADLEIA() || bIPEPADLEIA.equals(other.bIPEPADLEIA));
+ && (!hasHJAALLNAFOO() || hJAALLNAFOO.equals(other.hJAALLNAFOO));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(scoreTwo);
- }
- if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 24);
output.writeUInt32NoTag(challengeScore);
}
- if ((bitField0_ & 0x00000004) != 0) {
+ if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 32);
- output.writeUInt32NoTag(stars);
+ output.writeUInt32NoTag(dBDDGFJGGGB);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 48);
+ output.writeUInt32NoTag(challengeId);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 96);
- output.writeUInt32NoTag(cOKFJJOLMDI);
+ output.writeRawByte((byte) 72);
+ output.writeUInt32NoTag(stars);
}
if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(challengeId);
+ output.writeRawByte((byte) 96);
+ output.writeUInt32NoTag(phase);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRawByte((byte) 112);
- output.writeUInt32NoTag(phase);
+ output.writeUInt32NoTag(scoreTwo);
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeRawByte((byte) 56);
output.writeBoolNoTag(unkbool1);
}
if ((bitField0_ & 0x00000080) != 0) {
- output.writeRawByte((byte) 88);
+ output.writeRawByte((byte) 80);
output.writeBoolNoTag(isWin);
}
if ((bitField0_ & 0x00000100) != 0) {
- output.writeRawByte((byte) 120);
+ output.writeRawByte((byte) 104);
output.writeBoolNoTag(unkbool2);
}
if ((bitField0_ & 0x00000200) != 0) {
- for (int i = 0; i < bIPEPADLEIA.length(); i++) {
- output.writeRawByte((byte) 10);
- output.writeMessageNoTag(bIPEPADLEIA.get(i));
+ for (int i = 0; i < hJAALLNAFOO.length(); i++) {
+ output.writeRawByte((byte) 66);
+ output.writeMessageNoTag(hJAALLNAFOO.get(i));
}
}
}
@@ -643,23 +683,23 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
- }
- if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeScore);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(dBDDGFJGGGB);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(cOKFJJOLMDI);
- }
- if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
}
- if ((bitField0_ & 0x00000020) != 0) {
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(phase);
}
+ if ((bitField0_ & 0x00000020) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
+ }
if ((bitField0_ & 0x00000040) != 0) {
size += 2;
}
@@ -670,7 +710,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
size += 2;
}
if ((bitField0_ & 0x00000200) != 0) {
- size += (1 * bIPEPADLEIA.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(bIPEPADLEIA);
+ size += (1 * hJAALLNAFOO.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(hJAALLNAFOO);
}
return size;
}
@@ -682,45 +722,45 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 16: {
- // scoreTwo
- scoreTwo = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 24) {
- break;
- }
- }
case 24: {
// challengeScore
challengeScore = input.readUInt32();
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 32) {
break;
}
}
case 32: {
+ // dBDDGFJGGGB
+ dBDDGFJGGGB = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 48) {
+ break;
+ }
+ }
+ case 48: {
+ // challengeId
+ challengeId = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 72) {
+ break;
+ }
+ }
+ case 72: {
// stars
stars = input.readUInt32();
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000008;
tag = input.readTag();
if (tag != 96) {
break;
}
}
case 96: {
- // cOKFJJOLMDI
- cOKFJJOLMDI = input.readUInt32();
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 104) {
- break;
- }
- }
- case 104: {
- // challengeId
- challengeId = input.readUInt32();
+ // phase
+ phase = input.readUInt32();
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 112) {
@@ -728,8 +768,8 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
}
case 112: {
- // phase
- phase = input.readUInt32();
+ // scoreTwo
+ scoreTwo = input.readUInt32();
bitField0_ |= 0x00000020;
tag = input.readTag();
if (tag != 56) {
@@ -741,31 +781,31 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
unkbool1 = input.readBool();
bitField0_ |= 0x00000040;
tag = input.readTag();
- if (tag != 88) {
+ if (tag != 80) {
break;
}
}
- case 88: {
+ case 80: {
// isWin
isWin = input.readBool();
bitField0_ |= 0x00000080;
tag = input.readTag();
- if (tag != 120) {
+ if (tag != 104) {
break;
}
}
- case 120: {
+ case 104: {
// unkbool2
unkbool2 = input.readBool();
bitField0_ |= 0x00000100;
tag = input.readTag();
- if (tag != 10) {
+ if (tag != 66) {
break;
}
}
- case 10: {
- // bIPEPADLEIA
- tag = input.readRepeatedMessage(bIPEPADLEIA, tag);
+ case 66: {
+ // hJAALLNAFOO
+ tag = input.readRepeatedMessage(hJAALLNAFOO, tag);
bitField0_ |= 0x00000200;
if (tag != 0) {
break;
@@ -789,23 +829,23 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
- }
- if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.challengeScore, challengeScore);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.dBDDGFJGGGB, dBDDGFJGGGB);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.stars, stars);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt32(FieldNames.cOKFJJOLMDI, cOKFJJOLMDI);
- }
- if ((bitField0_ & 0x00000010) != 0) {
output.writeUInt32(FieldNames.challengeId, challengeId);
}
- if ((bitField0_ & 0x00000020) != 0) {
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeUInt32(FieldNames.stars, stars);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
output.writeUInt32(FieldNames.phase, phase);
}
+ if ((bitField0_ & 0x00000020) != 0) {
+ output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
+ }
if ((bitField0_ & 0x00000040) != 0) {
output.writeBool(FieldNames.unkbool1, unkbool1);
}
@@ -816,7 +856,7 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
output.writeBool(FieldNames.unkbool2, unkbool2);
}
if ((bitField0_ & 0x00000200) != 0) {
- output.writeRepeatedMessage(FieldNames.bIPEPADLEIA, bIPEPADLEIA);
+ output.writeRepeatedMessage(FieldNames.hJAALLNAFOO, hJAALLNAFOO);
}
output.endObject();
}
@@ -828,11 +868,11 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case -485512614:
- case 2129303327: {
- if (input.isAtField(FieldNames.scoreTwo)) {
+ case 591599599:
+ case 1517684662: {
+ if (input.isAtField(FieldNames.challengeScore)) {
if (!input.trySkipNullValue()) {
- scoreTwo = input.readUInt32();
+ challengeScore = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -840,11 +880,10 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
break;
}
- case 591599599:
- case 1517684662: {
- if (input.isAtField(FieldNames.challengeScore)) {
+ case -1456612280: {
+ if (input.isAtField(FieldNames.dBDDGFJGGGB)) {
if (!input.trySkipNullValue()) {
- challengeScore = input.readUInt32();
+ dBDDGFJGGGB = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -852,34 +891,23 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
break;
}
- case 109757537: {
- if (input.isAtField(FieldNames.stars)) {
- if (!input.trySkipNullValue()) {
- stars = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -9162578: {
- if (input.isAtField(FieldNames.cOKFJJOLMDI)) {
- if (!input.trySkipNullValue()) {
- cOKFJJOLMDI = input.readUInt32();
- bitField0_ |= 0x00000008;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
case -689112866:
case 112359031: {
if (input.isAtField(FieldNames.challengeId)) {
if (!input.trySkipNullValue()) {
challengeId = input.readUInt32();
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 109757537: {
+ if (input.isAtField(FieldNames.stars)) {
+ if (!input.trySkipNullValue()) {
+ stars = input.readUInt32();
+ bitField0_ |= 0x00000008;
}
} else {
input.skipUnknownField();
@@ -890,6 +918,18 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
if (input.isAtField(FieldNames.phase)) {
if (!input.trySkipNullValue()) {
phase = input.readUInt32();
+ bitField0_ |= 0x00000010;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -485512614:
+ case 2129303327: {
+ if (input.isAtField(FieldNames.scoreTwo)) {
+ if (!input.trySkipNullValue()) {
+ scoreTwo = input.readUInt32();
bitField0_ |= 0x00000020;
}
} else {
@@ -931,10 +971,10 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
}
break;
}
- case 1538947912: {
- if (input.isAtField(FieldNames.bIPEPADLEIA)) {
+ case -1114818127: {
+ if (input.isAtField(FieldNames.hJAALLNAFOO)) {
if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(bIPEPADLEIA);
+ input.readRepeatedMessage(hJAALLNAFOO);
bitField0_ |= 0x00000200;
}
} else {
@@ -997,25 +1037,25 @@ public final class ChallengeBossPhaseSettleNotifyOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
-
static final FieldName challengeScore = FieldName.forField("challengeScore", "challenge_score");
- static final FieldName stars = FieldName.forField("stars");
-
- static final FieldName cOKFJJOLMDI = FieldName.forField("COKFJJOLMDI");
+ static final FieldName dBDDGFJGGGB = FieldName.forField("DBDDGFJGGGB");
static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
+ static final FieldName stars = FieldName.forField("stars");
+
static final FieldName phase = FieldName.forField("phase");
+ static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
+
static final FieldName unkbool1 = FieldName.forField("unkbool1");
static final FieldName isWin = FieldName.forField("isWin", "is_win");
static final FieldName unkbool2 = FieldName.forField("unkbool2");
- static final FieldName bIPEPADLEIA = FieldName.forField("BIPEPADLEIA");
+ static final FieldName hJAALLNAFOO = FieldName.forField("HJAALLNAFOO");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeBossSingleNodeInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeBossSingleNodeInfoOuterClass.java
index 50502c4..9dedbc9 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeBossSingleNodeInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeBossSingleNodeInfoOuterClass.java
@@ -19,22 +19,22 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 buff_id = 3;
- */
- private int buffId;
-
- /**
- * optional uint32 max_score = 14;
+ * optional uint32 max_score = 3;
*/
private int maxScore;
/**
- * optional bool is_win = 12;
+ * optional uint32 buff_id = 8;
+ */
+ private int buffId;
+
+ /**
+ * optional bool is_win = 4;
*/
private boolean isWin;
/**
- * optional bool has_been_challenged = 13;
+ * optional bool has_been_challenged = 7;
*/
private boolean hasBeenChallenged;
@@ -49,62 +49,25 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
- * optional uint32 buff_id = 3;
- * @return whether the buffId field is set
+ * optional uint32 max_score = 3;
+ * @return whether the maxScore field is set
*/
- public boolean hasBuffId() {
+ public boolean hasMaxScore() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 buff_id = 3;
- * @return this
- */
- public ChallengeBossSingleNodeInfo clearBuffId() {
- bitField0_ &= ~0x00000001;
- buffId = 0;
- return this;
- }
-
- /**
- * optional uint32 buff_id = 3;
- * @return the buffId
- */
- public int getBuffId() {
- return buffId;
- }
-
- /**
- * optional uint32 buff_id = 3;
- * @param value the buffId to set
- * @return this
- */
- public ChallengeBossSingleNodeInfo setBuffId(final int value) {
- bitField0_ |= 0x00000001;
- buffId = value;
- return this;
- }
-
- /**
- * optional uint32 max_score = 14;
- * @return whether the maxScore field is set
- */
- public boolean hasMaxScore() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 max_score = 14;
+ * optional uint32 max_score = 3;
* @return this
*/
public ChallengeBossSingleNodeInfo clearMaxScore() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000001;
maxScore = 0;
return this;
}
/**
- * optional uint32 max_score = 14;
+ * optional uint32 max_score = 3;
* @return the maxScore
*/
public int getMaxScore() {
@@ -112,18 +75,55 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
- * optional uint32 max_score = 14;
+ * optional uint32 max_score = 3;
* @param value the maxScore to set
* @return this
*/
public ChallengeBossSingleNodeInfo setMaxScore(final int value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
maxScore = value;
return this;
}
/**
- * optional bool is_win = 12;
+ * optional uint32 buff_id = 8;
+ * @return whether the buffId field is set
+ */
+ public boolean hasBuffId() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 buff_id = 8;
+ * @return this
+ */
+ public ChallengeBossSingleNodeInfo clearBuffId() {
+ bitField0_ &= ~0x00000002;
+ buffId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 buff_id = 8;
+ * @return the buffId
+ */
+ public int getBuffId() {
+ return buffId;
+ }
+
+ /**
+ * optional uint32 buff_id = 8;
+ * @param value the buffId to set
+ * @return this
+ */
+ public ChallengeBossSingleNodeInfo setBuffId(final int value) {
+ bitField0_ |= 0x00000002;
+ buffId = value;
+ return this;
+ }
+
+ /**
+ * optional bool is_win = 4;
* @return whether the isWin field is set
*/
public boolean hasIsWin() {
@@ -131,7 +131,7 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
- * optional bool is_win = 12;
+ * optional bool is_win = 4;
* @return this
*/
public ChallengeBossSingleNodeInfo clearIsWin() {
@@ -141,7 +141,7 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
- * optional bool is_win = 12;
+ * optional bool is_win = 4;
* @return the isWin
*/
public boolean getIsWin() {
@@ -149,7 +149,7 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
- * optional bool is_win = 12;
+ * optional bool is_win = 4;
* @param value the isWin to set
* @return this
*/
@@ -160,7 +160,7 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
- * optional bool has_been_challenged = 13;
+ * optional bool has_been_challenged = 7;
* @return whether the hasBeenChallenged field is set
*/
public boolean hasHasBeenChallenged() {
@@ -168,7 +168,7 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
- * optional bool has_been_challenged = 13;
+ * optional bool has_been_challenged = 7;
* @return this
*/
public ChallengeBossSingleNodeInfo clearHasBeenChallenged() {
@@ -178,7 +178,7 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
- * optional bool has_been_challenged = 13;
+ * optional bool has_been_challenged = 7;
* @return the hasBeenChallenged
*/
public boolean getHasBeenChallenged() {
@@ -186,7 +186,7 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
/**
- * optional bool has_been_challenged = 13;
+ * optional bool has_been_challenged = 7;
* @param value the hasBeenChallenged to set
* @return this
*/
@@ -201,8 +201,8 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- buffId = other.buffId;
maxScore = other.maxScore;
+ buffId = other.buffId;
isWin = other.isWin;
hasBeenChallenged = other.hasBeenChallenged;
}
@@ -215,12 +215,12 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasBuffId()) {
- setBuffId(other.buffId);
- }
if (other.hasMaxScore()) {
setMaxScore(other.maxScore);
}
+ if (other.hasBuffId()) {
+ setBuffId(other.buffId);
+ }
if (other.hasIsWin()) {
setIsWin(other.isWin);
}
@@ -237,8 +237,8 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- buffId = 0;
maxScore = 0;
+ buffId = 0;
isWin = false;
hasBeenChallenged = false;
return this;
@@ -264,8 +264,8 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
ChallengeBossSingleNodeInfo other = (ChallengeBossSingleNodeInfo) o;
return bitField0_ == other.bitField0_
- && (!hasBuffId() || buffId == other.buffId)
&& (!hasMaxScore() || maxScore == other.maxScore)
+ && (!hasBuffId() || buffId == other.buffId)
&& (!hasIsWin() || isWin == other.isWin)
&& (!hasHasBeenChallenged() || hasBeenChallenged == other.hasBeenChallenged);
}
@@ -274,18 +274,18 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(buffId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 112);
output.writeUInt32NoTag(maxScore);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 64);
+ output.writeUInt32NoTag(buffId);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 96);
+ output.writeRawByte((byte) 32);
output.writeBoolNoTag(isWin);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 104);
+ output.writeRawByte((byte) 56);
output.writeBoolNoTag(hasBeenChallenged);
}
}
@@ -294,10 +294,10 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(maxScore);
}
if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(maxScore);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 2;
@@ -316,33 +316,33 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
while (true) {
switch (tag) {
case 24: {
- // buffId
- buffId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 112) {
- break;
- }
- }
- case 112: {
// maxScore
maxScore = input.readUInt32();
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 96) {
+ if (tag != 64) {
break;
}
}
- case 96: {
+ case 64: {
+ // buffId
+ buffId = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 32) {
+ break;
+ }
+ }
+ case 32: {
// isWin
isWin = input.readBool();
bitField0_ |= 0x00000004;
tag = input.readTag();
- if (tag != 104) {
+ if (tag != 56) {
break;
}
}
- case 104: {
+ case 56: {
// hasBeenChallenged
hasBeenChallenged = input.readBool();
bitField0_ |= 0x00000008;
@@ -369,10 +369,10 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.buffId, buffId);
+ output.writeUInt32(FieldNames.maxScore, maxScore);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.maxScore, maxScore);
+ output.writeUInt32(FieldNames.buffId, buffId);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeBool(FieldNames.isWin, isWin);
@@ -390,11 +390,11 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case -1378119474:
- case 227990663: {
- if (input.isAtField(FieldNames.buffId)) {
+ case 396519310:
+ case -234837001: {
+ if (input.isAtField(FieldNames.maxScore)) {
if (!input.trySkipNullValue()) {
- buffId = input.readUInt32();
+ maxScore = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -402,11 +402,11 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
}
break;
}
- case 396519310:
- case -234837001: {
- if (input.isAtField(FieldNames.maxScore)) {
+ case -1378119474:
+ case 227990663: {
+ if (input.isAtField(FieldNames.buffId)) {
if (!input.trySkipNullValue()) {
- maxScore = input.readUInt32();
+ buffId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -492,10 +492,10 @@ public final class ChallengeBossSingleNodeInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName buffId = FieldName.forField("buffId", "buff_id");
-
static final FieldName maxScore = FieldName.forField("maxScore", "max_score");
+ static final FieldName buffId = FieldName.forField("buffId", "buff_id");
+
static final FieldName isWin = FieldName.forField("isWin", "is_win");
static final FieldName hasBeenChallenged = FieldName.forField("hasBeenChallenged", "has_been_challenged");
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeExtInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeExtInfoOuterClass.java
index 5263290..f4343a5 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeExtInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeExtInfoOuterClass.java
@@ -19,7 +19,7 @@ public final class ChallengeExtInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional .ChallengeBossInfo boss_info = 4;
+ * optional .ChallengeBossInfo boss_info = 11;
*/
private final ChallengeBossInfoOuterClass.ChallengeBossInfo bossInfo = ChallengeBossInfoOuterClass.ChallengeBossInfo.newInstance();
@@ -33,19 +33,8 @@ public final class ChallengeExtInfoOuterClass {
return new ChallengeExtInfo();
}
- public boolean hasChallengeExt() {
- return (((bitField0_ & 0x00000001)) != 0);
- }
-
- public ChallengeExtInfo clearChallengeExt() {
- if (hasChallengeExt()) {
- clearBossInfo();
- }
- return this;
- }
-
/**
- * optional .ChallengeBossInfo boss_info = 4;
+ * optional .ChallengeBossInfo boss_info = 11;
* @return whether the bossInfo field is set
*/
public boolean hasBossInfo() {
@@ -53,7 +42,7 @@ public final class ChallengeExtInfoOuterClass {
}
/**
- * optional .ChallengeBossInfo boss_info = 4;
+ * optional .ChallengeBossInfo boss_info = 11;
* @return this
*/
public ChallengeExtInfo clearBossInfo() {
@@ -63,7 +52,7 @@ public final class ChallengeExtInfoOuterClass {
}
/**
- * optional .ChallengeBossInfo boss_info = 4;
+ * optional .ChallengeBossInfo boss_info = 11;
*
* 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.
@@ -77,7 +66,7 @@ public final class ChallengeExtInfoOuterClass {
}
/**
- * optional .ChallengeBossInfo boss_info = 4;
+ * optional .ChallengeBossInfo boss_info = 11;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -91,7 +80,7 @@ public final class ChallengeExtInfoOuterClass {
}
/**
- * optional .ChallengeBossInfo boss_info = 4;
+ * optional .ChallengeBossInfo boss_info = 11;
* @param value the bossInfo to set
* @return this
*/
@@ -161,7 +150,7 @@ public final class ChallengeExtInfoOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 34);
+ output.writeRawByte((byte) 90);
output.writeMessageNoTag(bossInfo);
}
}
@@ -182,7 +171,7 @@ public final class ChallengeExtInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 34: {
+ case 90: {
// bossInfo
input.readMessage(bossInfo);
bitField0_ |= 0x00000001;
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeInfoOuterClass.java
index 7b4c8b7..4ce916f 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeInfoOuterClass.java
@@ -19,37 +19,37 @@ public final class ChallengeInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 challenge_id = 4;
- */
- private int challengeId;
-
- /**
- * optional uint32 score_two = 5;
- */
- private int scoreTwo;
-
- /**
- * optional uint32 round_count = 13;
+ * optional uint32 round_count = 1;
*/
private int roundCount;
/**
- * optional uint32 score = 14;
+ * optional uint32 score = 5;
*/
private int score;
/**
- * optional .ChallengeStatus status = 1;
+ * optional uint32 challenge_id = 9;
*/
- private int status;
+ private int challengeId;
/**
- * optional .ExtraLineupType extra_lineup_type = 11;
+ * optional uint32 score_two = 13;
+ */
+ private int scoreTwo;
+
+ /**
+ * optional .ExtraLineupType extra_lineup_type = 4;
*/
private int extraLineupType;
/**
- * optional .ChallengeStoryInfo ext_info = 7;
+ * optional .ChallengeStatus status = 8;
+ */
+ private int status;
+
+ /**
+ * optional .ChallengeStoryInfo ext_info = 2;
*/
private final ChallengeStoryInfoOuterClass.ChallengeStoryInfo extInfo = ChallengeStoryInfoOuterClass.ChallengeStoryInfo.newInstance();
@@ -64,99 +64,25 @@ public final class ChallengeInfoOuterClass {
}
/**
- * optional uint32 challenge_id = 4;
- * @return whether the challengeId field is set
+ * optional uint32 round_count = 1;
+ * @return whether the roundCount field is set
*/
- public boolean hasChallengeId() {
+ public boolean hasRoundCount() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 challenge_id = 4;
- * @return this
- */
- public ChallengeInfo clearChallengeId() {
- bitField0_ &= ~0x00000001;
- challengeId = 0;
- return this;
- }
-
- /**
- * optional uint32 challenge_id = 4;
- * @return the challengeId
- */
- public int getChallengeId() {
- return challengeId;
- }
-
- /**
- * optional uint32 challenge_id = 4;
- * @param value the challengeId to set
- * @return this
- */
- public ChallengeInfo setChallengeId(final int value) {
- bitField0_ |= 0x00000001;
- challengeId = value;
- return this;
- }
-
- /**
- * optional uint32 score_two = 5;
- * @return whether the scoreTwo field is set
- */
- public boolean hasScoreTwo() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 score_two = 5;
- * @return this
- */
- public ChallengeInfo clearScoreTwo() {
- bitField0_ &= ~0x00000002;
- scoreTwo = 0;
- return this;
- }
-
- /**
- * optional uint32 score_two = 5;
- * @return the scoreTwo
- */
- public int getScoreTwo() {
- return scoreTwo;
- }
-
- /**
- * optional uint32 score_two = 5;
- * @param value the scoreTwo to set
- * @return this
- */
- public ChallengeInfo setScoreTwo(final int value) {
- bitField0_ |= 0x00000002;
- scoreTwo = value;
- return this;
- }
-
- /**
- * optional uint32 round_count = 13;
- * @return whether the roundCount field is set
- */
- public boolean hasRoundCount() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 round_count = 13;
+ * optional uint32 round_count = 1;
* @return this
*/
public ChallengeInfo clearRoundCount() {
- bitField0_ &= ~0x00000004;
+ bitField0_ &= ~0x00000001;
roundCount = 0;
return this;
}
/**
- * optional uint32 round_count = 13;
+ * optional uint32 round_count = 1;
* @return the roundCount
*/
public int getRoundCount() {
@@ -164,36 +90,36 @@ public final class ChallengeInfoOuterClass {
}
/**
- * optional uint32 round_count = 13;
+ * optional uint32 round_count = 1;
* @param value the roundCount to set
* @return this
*/
public ChallengeInfo setRoundCount(final int value) {
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
roundCount = value;
return this;
}
/**
- * optional uint32 score = 14;
+ * optional uint32 score = 5;
* @return whether the score field is set
*/
public boolean hasScore() {
- return (bitField0_ & 0x00000008) != 0;
+ return (bitField0_ & 0x00000002) != 0;
}
/**
- * optional uint32 score = 14;
+ * optional uint32 score = 5;
* @return this
*/
public ChallengeInfo clearScore() {
- bitField0_ &= ~0x00000008;
+ bitField0_ &= ~0x00000002;
score = 0;
return this;
}
/**
- * optional uint32 score = 14;
+ * optional uint32 score = 5;
* @return the score
*/
public int getScore() {
@@ -201,98 +127,110 @@ public final class ChallengeInfoOuterClass {
}
/**
- * optional uint32 score = 14;
+ * optional uint32 score = 5;
* @param value the score to set
* @return this
*/
public ChallengeInfo setScore(final int value) {
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000002;
score = value;
return this;
}
/**
- * optional .ChallengeStatus status = 1;
- * @return whether the status field is set
+ * optional uint32 challenge_id = 9;
+ * @return whether the challengeId field is set
*/
- public boolean hasStatus() {
+ public boolean hasChallengeId() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 challenge_id = 9;
+ * @return this
+ */
+ public ChallengeInfo clearChallengeId() {
+ bitField0_ &= ~0x00000004;
+ challengeId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 challenge_id = 9;
+ * @return the challengeId
+ */
+ public int getChallengeId() {
+ return challengeId;
+ }
+
+ /**
+ * optional uint32 challenge_id = 9;
+ * @param value the challengeId to set
+ * @return this
+ */
+ public ChallengeInfo setChallengeId(final int value) {
+ bitField0_ |= 0x00000004;
+ challengeId = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 score_two = 13;
+ * @return whether the scoreTwo field is set
+ */
+ public boolean hasScoreTwo() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional uint32 score_two = 13;
+ * @return this
+ */
+ public ChallengeInfo clearScoreTwo() {
+ bitField0_ &= ~0x00000008;
+ scoreTwo = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 score_two = 13;
+ * @return the scoreTwo
+ */
+ public int getScoreTwo() {
+ return scoreTwo;
+ }
+
+ /**
+ * optional uint32 score_two = 13;
+ * @param value the scoreTwo to set
+ * @return this
+ */
+ public ChallengeInfo setScoreTwo(final int value) {
+ bitField0_ |= 0x00000008;
+ scoreTwo = value;
+ return this;
+ }
+
+ /**
+ * optional .ExtraLineupType extra_lineup_type = 4;
+ * @return whether the extraLineupType field is set
+ */
+ public boolean hasExtraLineupType() {
return (bitField0_ & 0x00000010) != 0;
}
/**
- * optional .ChallengeStatus status = 1;
- * @return this
- */
- public ChallengeInfo clearStatus() {
- bitField0_ &= ~0x00000010;
- status = 0;
- return this;
- }
-
- /**
- * optional .ChallengeStatus status = 1;
- * @return the status
- */
- public ChallengeStatusOuterClass.ChallengeStatus getStatus() {
- return ChallengeStatusOuterClass.ChallengeStatus.forNumber(status);
- }
-
- /**
- * Gets the value of the internal enum store. The result is
- * equivalent to {@link ChallengeInfo#getStatus()}.getNumber().
- *
- * @return numeric wire representation
- */
- public int getStatusValue() {
- return status;
- }
-
- /**
- * Sets the value of the internal enum store. This does not
- * do any validity checks, so be sure to use appropriate value
- * constants from {@link ChallengeStatusOuterClass.ChallengeStatus}. Setting an invalid value
- * can cause {@link ChallengeInfo#getStatus()} to return null
- *
- * @param value the numeric wire value to set
- * @return this
- */
- public ChallengeInfo setStatusValue(final int value) {
- bitField0_ |= 0x00000010;
- status = value;
- return this;
- }
-
- /**
- * optional .ChallengeStatus status = 1;
- * @param value the status to set
- * @return this
- */
- public ChallengeInfo setStatus(final ChallengeStatusOuterClass.ChallengeStatus value) {
- bitField0_ |= 0x00000010;
- status = value.getNumber();
- return this;
- }
-
- /**
- * optional .ExtraLineupType extra_lineup_type = 11;
- * @return whether the extraLineupType field is set
- */
- public boolean hasExtraLineupType() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * optional .ExtraLineupType extra_lineup_type = 11;
+ * optional .ExtraLineupType extra_lineup_type = 4;
* @return this
*/
public ChallengeInfo clearExtraLineupType() {
- bitField0_ &= ~0x00000020;
+ bitField0_ &= ~0x00000010;
extraLineupType = 0;
return this;
}
/**
- * optional .ExtraLineupType extra_lineup_type = 11;
+ * optional .ExtraLineupType extra_lineup_type = 4;
* @return the extraLineupType
*/
public ExtraLineupTypeOuterClass.ExtraLineupType getExtraLineupType() {
@@ -319,24 +257,86 @@ public final class ChallengeInfoOuterClass {
* @return this
*/
public ChallengeInfo setExtraLineupTypeValue(final int value) {
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000010;
extraLineupType = value;
return this;
}
/**
- * optional .ExtraLineupType extra_lineup_type = 11;
+ * optional .ExtraLineupType extra_lineup_type = 4;
* @param value the extraLineupType to set
* @return this
*/
public ChallengeInfo setExtraLineupType(final ExtraLineupTypeOuterClass.ExtraLineupType value) {
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000010;
extraLineupType = value.getNumber();
return this;
}
/**
- * optional .ChallengeStoryInfo ext_info = 7;
+ * optional .ChallengeStatus status = 8;
+ * @return whether the status field is set
+ */
+ public boolean hasStatus() {
+ return (bitField0_ & 0x00000020) != 0;
+ }
+
+ /**
+ * optional .ChallengeStatus status = 8;
+ * @return this
+ */
+ public ChallengeInfo clearStatus() {
+ bitField0_ &= ~0x00000020;
+ status = 0;
+ return this;
+ }
+
+ /**
+ * optional .ChallengeStatus status = 8;
+ * @return the status
+ */
+ public ChallengeStatusOuterClass.ChallengeStatus getStatus() {
+ return ChallengeStatusOuterClass.ChallengeStatus.forNumber(status);
+ }
+
+ /**
+ * Gets the value of the internal enum store. The result is
+ * equivalent to {@link ChallengeInfo#getStatus()}.getNumber().
+ *
+ * @return numeric wire representation
+ */
+ public int getStatusValue() {
+ return status;
+ }
+
+ /**
+ * Sets the value of the internal enum store. This does not
+ * do any validity checks, so be sure to use appropriate value
+ * constants from {@link ChallengeStatusOuterClass.ChallengeStatus}. Setting an invalid value
+ * can cause {@link ChallengeInfo#getStatus()} to return null
+ *
+ * @param value the numeric wire value to set
+ * @return this
+ */
+ public ChallengeInfo setStatusValue(final int value) {
+ bitField0_ |= 0x00000020;
+ status = value;
+ return this;
+ }
+
+ /**
+ * optional .ChallengeStatus status = 8;
+ * @param value the status to set
+ * @return this
+ */
+ public ChallengeInfo setStatus(final ChallengeStatusOuterClass.ChallengeStatus value) {
+ bitField0_ |= 0x00000020;
+ status = value.getNumber();
+ return this;
+ }
+
+ /**
+ * optional .ChallengeStoryInfo ext_info = 2;
* @return whether the extInfo field is set
*/
public boolean hasExtInfo() {
@@ -344,7 +344,7 @@ public final class ChallengeInfoOuterClass {
}
/**
- * optional .ChallengeStoryInfo ext_info = 7;
+ * optional .ChallengeStoryInfo ext_info = 2;
* @return this
*/
public ChallengeInfo clearExtInfo() {
@@ -354,7 +354,7 @@ public final class ChallengeInfoOuterClass {
}
/**
- * optional .ChallengeStoryInfo ext_info = 7;
+ * optional .ChallengeStoryInfo ext_info = 2;
*
* 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.
@@ -368,7 +368,7 @@ public final class ChallengeInfoOuterClass {
}
/**
- * optional .ChallengeStoryInfo ext_info = 7;
+ * optional .ChallengeStoryInfo ext_info = 2;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -382,7 +382,7 @@ public final class ChallengeInfoOuterClass {
}
/**
- * optional .ChallengeStoryInfo ext_info = 7;
+ * optional .ChallengeStoryInfo ext_info = 2;
* @param value the extInfo to set
* @return this
*/
@@ -397,12 +397,12 @@ public final class ChallengeInfoOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- challengeId = other.challengeId;
- scoreTwo = other.scoreTwo;
roundCount = other.roundCount;
score = other.score;
- status = other.status;
+ challengeId = other.challengeId;
+ scoreTwo = other.scoreTwo;
extraLineupType = other.extraLineupType;
+ status = other.status;
extInfo.copyFrom(other.extInfo);
}
return this;
@@ -414,24 +414,24 @@ public final class ChallengeInfoOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasChallengeId()) {
- setChallengeId(other.challengeId);
- }
- if (other.hasScoreTwo()) {
- setScoreTwo(other.scoreTwo);
- }
if (other.hasRoundCount()) {
setRoundCount(other.roundCount);
}
if (other.hasScore()) {
setScore(other.score);
}
- if (other.hasStatus()) {
- setStatusValue(other.status);
+ if (other.hasChallengeId()) {
+ setChallengeId(other.challengeId);
+ }
+ if (other.hasScoreTwo()) {
+ setScoreTwo(other.scoreTwo);
}
if (other.hasExtraLineupType()) {
setExtraLineupTypeValue(other.extraLineupType);
}
+ if (other.hasStatus()) {
+ setStatusValue(other.status);
+ }
if (other.hasExtInfo()) {
getMutableExtInfo().mergeFrom(other.extInfo);
}
@@ -445,12 +445,12 @@ public final class ChallengeInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- challengeId = 0;
- scoreTwo = 0;
roundCount = 0;
score = 0;
- status = 0;
+ challengeId = 0;
+ scoreTwo = 0;
extraLineupType = 0;
+ status = 0;
extInfo.clear();
return this;
}
@@ -476,43 +476,43 @@ public final class ChallengeInfoOuterClass {
}
ChallengeInfo other = (ChallengeInfo) o;
return bitField0_ == other.bitField0_
- && (!hasChallengeId() || challengeId == other.challengeId)
- && (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasRoundCount() || roundCount == other.roundCount)
&& (!hasScore() || score == other.score)
- && (!hasStatus() || status == other.status)
+ && (!hasChallengeId() || challengeId == other.challengeId)
+ && (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasExtraLineupType() || extraLineupType == other.extraLineupType)
+ && (!hasStatus() || status == other.status)
&& (!hasExtInfo() || extInfo.equals(other.extInfo));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 32);
- output.writeUInt32NoTag(challengeId);
+ output.writeRawByte((byte) 8);
+ output.writeUInt32NoTag(roundCount);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 40);
- output.writeUInt32NoTag(scoreTwo);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(roundCount);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 112);
output.writeUInt32NoTag(score);
}
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 8);
- output.writeEnumNoTag(status);
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 72);
+ output.writeUInt32NoTag(challengeId);
}
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 88);
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 104);
+ output.writeUInt32NoTag(scoreTwo);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeRawByte((byte) 32);
output.writeEnumNoTag(extraLineupType);
}
+ if ((bitField0_ & 0x00000020) != 0) {
+ output.writeRawByte((byte) 64);
+ output.writeEnumNoTag(status);
+ }
if ((bitField0_ & 0x00000040) != 0) {
- output.writeRawByte((byte) 58);
+ output.writeRawByte((byte) 18);
output.writeMessageNoTag(extInfo);
}
}
@@ -521,22 +521,22 @@ public final class ChallengeInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
- }
- if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(roundCount);
}
- if ((bitField0_ & 0x00000008) != 0) {
+ if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
}
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
+ }
if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeEnumSizeNoTag(status);
+ size += 1 + ProtoSink.computeEnumSizeNoTag(extraLineupType);
}
if ((bitField0_ & 0x00000020) != 0) {
- size += 1 + ProtoSink.computeEnumSizeNoTag(extraLineupType);
+ size += 1 + ProtoSink.computeEnumSizeNoTag(status);
}
if ((bitField0_ & 0x00000040) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(extInfo);
@@ -551,9 +551,9 @@ public final class ChallengeInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 32: {
- // challengeId
- challengeId = input.readUInt32();
+ case 8: {
+ // roundCount
+ roundCount = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 40) {
@@ -561,57 +561,57 @@ public final class ChallengeInfoOuterClass {
}
}
case 40: {
- // scoreTwo
- scoreTwo = input.readUInt32();
+ // score
+ score = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
+ if (tag != 72) {
+ break;
+ }
+ }
+ case 72: {
+ // challengeId
+ challengeId = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
if (tag != 104) {
break;
}
}
case 104: {
- // roundCount
- roundCount = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 112) {
- break;
- }
- }
- case 112: {
- // score
- score = input.readUInt32();
+ // scoreTwo
+ scoreTwo = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
- if (tag != 8) {
+ if (tag != 32) {
break;
}
}
- case 8: {
- // status
- final int value = input.readInt32();
- if (ChallengeStatusOuterClass.ChallengeStatus.forNumber(value) != null) {
- status = value;
- bitField0_ |= 0x00000010;
- }
- tag = input.readTag();
- if (tag != 88) {
- break;
- }
- }
- case 88: {
+ case 32: {
// extraLineupType
final int value = input.readInt32();
if (ExtraLineupTypeOuterClass.ExtraLineupType.forNumber(value) != null) {
extraLineupType = value;
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000010;
}
tag = input.readTag();
- if (tag != 58) {
+ if (tag != 64) {
break;
}
}
- case 58: {
+ case 64: {
+ // status
+ final int value = input.readInt32();
+ if (ChallengeStatusOuterClass.ChallengeStatus.forNumber(value) != null) {
+ status = value;
+ bitField0_ |= 0x00000020;
+ }
+ tag = input.readTag();
+ if (tag != 18) {
+ break;
+ }
+ }
+ case 18: {
// extInfo
input.readMessage(extInfo);
bitField0_ |= 0x00000040;
@@ -638,22 +638,22 @@ public final class ChallengeInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.challengeId, challengeId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
- }
- if ((bitField0_ & 0x00000004) != 0) {
output.writeUInt32(FieldNames.roundCount, roundCount);
}
- if ((bitField0_ & 0x00000008) != 0) {
+ if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.score, score);
}
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeUInt32(FieldNames.challengeId, challengeId);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
+ }
if ((bitField0_ & 0x00000010) != 0) {
- output.writeEnum(FieldNames.status, status, ChallengeStatusOuterClass.ChallengeStatus.converter());
+ output.writeEnum(FieldNames.extraLineupType, extraLineupType, ExtraLineupTypeOuterClass.ExtraLineupType.converter());
}
if ((bitField0_ & 0x00000020) != 0) {
- output.writeEnum(FieldNames.extraLineupType, extraLineupType, ExtraLineupTypeOuterClass.ExtraLineupType.converter());
+ output.writeEnum(FieldNames.status, status, ChallengeStatusOuterClass.ChallengeStatus.converter());
}
if ((bitField0_ & 0x00000040) != 0) {
output.writeMessage(FieldNames.extInfo, extInfo);
@@ -668,12 +668,35 @@ public final class ChallengeInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
+ case -171935711:
+ case -244677858: {
+ if (input.isAtField(FieldNames.roundCount)) {
+ if (!input.trySkipNullValue()) {
+ roundCount = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 109264530: {
+ if (input.isAtField(FieldNames.score)) {
+ if (!input.trySkipNullValue()) {
+ score = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
case -689112866:
case 112359031: {
if (input.isAtField(FieldNames.challengeId)) {
if (!input.trySkipNullValue()) {
challengeId = input.readUInt32();
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000004;
}
} else {
input.skipUnknownField();
@@ -685,29 +708,6 @@ public final class ChallengeInfoOuterClass {
if (input.isAtField(FieldNames.scoreTwo)) {
if (!input.trySkipNullValue()) {
scoreTwo = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -171935711:
- case -244677858: {
- if (input.isAtField(FieldNames.roundCount)) {
- if (!input.trySkipNullValue()) {
- roundCount = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 109264530: {
- if (input.isAtField(FieldNames.score)) {
- if (!input.trySkipNullValue()) {
- score = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -715,22 +715,6 @@ public final class ChallengeInfoOuterClass {
}
break;
}
- case -892481550: {
- if (input.isAtField(FieldNames.status)) {
- if (!input.trySkipNullValue()) {
- final ChallengeStatusOuterClass.ChallengeStatus value = input.readEnum(ChallengeStatusOuterClass.ChallengeStatus.converter());
- if (value != null) {
- status = value.getNumber();
- bitField0_ |= 0x00000010;
- } else {
- input.skipUnknownEnumValue();
- }
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
case -468135527:
case -1144475077: {
if (input.isAtField(FieldNames.extraLineupType)) {
@@ -738,6 +722,22 @@ public final class ChallengeInfoOuterClass {
final ExtraLineupTypeOuterClass.ExtraLineupType value = input.readEnum(ExtraLineupTypeOuterClass.ExtraLineupType.converter());
if (value != null) {
extraLineupType = value.getNumber();
+ bitField0_ |= 0x00000010;
+ } else {
+ input.skipUnknownEnumValue();
+ }
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -892481550: {
+ if (input.isAtField(FieldNames.status)) {
+ if (!input.trySkipNullValue()) {
+ final ChallengeStatusOuterClass.ChallengeStatus value = input.readEnum(ChallengeStatusOuterClass.ChallengeStatus.converter());
+ if (value != null) {
+ status = value.getNumber();
bitField0_ |= 0x00000020;
} else {
input.skipUnknownEnumValue();
@@ -812,18 +812,18 @@ public final class ChallengeInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
-
- static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
-
static final FieldName roundCount = FieldName.forField("roundCount", "round_count");
static final FieldName score = FieldName.forField("score");
- static final FieldName status = FieldName.forField("status");
+ static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
+
+ static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
static final FieldName extraLineupType = FieldName.forField("extraLineupType", "extra_lineup_type");
+ static final FieldName status = FieldName.forField("status");
+
static final FieldName extInfo = FieldName.forField("extInfo", "ext_info");
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeLineupNotifyOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeLineupNotifyOuterClass.java
index 28b113f..0ef5c4e 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeLineupNotifyOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeLineupNotifyOuterClass.java
@@ -19,7 +19,7 @@ public final class ChallengeLineupNotifyOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional .ExtraLineupType extra_lineup_type = 2;
+ * optional .ExtraLineupType extra_lineup_type = 15;
*/
private int extraLineupType;
@@ -34,7 +34,7 @@ public final class ChallengeLineupNotifyOuterClass {
}
/**
- * optional .ExtraLineupType extra_lineup_type = 2;
+ * optional .ExtraLineupType extra_lineup_type = 15;
* @return whether the extraLineupType field is set
*/
public boolean hasExtraLineupType() {
@@ -42,7 +42,7 @@ public final class ChallengeLineupNotifyOuterClass {
}
/**
- * optional .ExtraLineupType extra_lineup_type = 2;
+ * optional .ExtraLineupType extra_lineup_type = 15;
* @return this
*/
public ChallengeLineupNotify clearExtraLineupType() {
@@ -52,7 +52,7 @@ public final class ChallengeLineupNotifyOuterClass {
}
/**
- * optional .ExtraLineupType extra_lineup_type = 2;
+ * optional .ExtraLineupType extra_lineup_type = 15;
* @return the extraLineupType
*/
public ExtraLineupTypeOuterClass.ExtraLineupType getExtraLineupType() {
@@ -85,7 +85,7 @@ public final class ChallengeLineupNotifyOuterClass {
}
/**
- * optional .ExtraLineupType extra_lineup_type = 2;
+ * optional .ExtraLineupType extra_lineup_type = 15;
* @param value the extraLineupType to set
* @return this
*/
@@ -155,7 +155,7 @@ public final class ChallengeLineupNotifyOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 16);
+ output.writeRawByte((byte) 120);
output.writeEnumNoTag(extraLineupType);
}
}
@@ -176,7 +176,7 @@ public final class ChallengeLineupNotifyOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 16: {
+ case 120: {
// extraLineupType
final int value = input.readInt32();
if (ExtraLineupTypeOuterClass.ExtraLineupType.forNumber(value) != null) {
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeOuterClass.java
index 865fd41..306a1ae 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeOuterClass.java
@@ -19,9 +19,9 @@ public final class ChallengeOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 stars = 1;
+ * optional uint32 score_two = 1;
*/
- private int stars;
+ private int scoreTwo;
/**
* optional uint32 taken_reward = 6;
@@ -29,17 +29,22 @@ public final class ChallengeOuterClass {
private int takenReward;
/**
- * optional uint32 score = 7;
+ * optional uint32 score = 8;
*/
private int score;
/**
- * optional uint32 challenge_id = 10;
+ * optional uint32 challenge_id = 9;
*/
private int challengeId;
/**
- * optional .ChallengeExtInfo ext_info = 5;
+ * optional uint32 stars = 14;
+ */
+ private int stars;
+
+ /**
+ * optional .ChallengeExtInfo ext_info = 10;
*/
private final ChallengeExtInfoOuterClass.ChallengeExtInfo extInfo = ChallengeExtInfoOuterClass.ChallengeExtInfo.newInstance();
@@ -54,39 +59,39 @@ public final class ChallengeOuterClass {
}
/**
- * optional uint32 stars = 1;
- * @return whether the stars field is set
+ * optional uint32 score_two = 1;
+ * @return whether the scoreTwo field is set
*/
- public boolean hasStars() {
+ public boolean hasScoreTwo() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 stars = 1;
+ * optional uint32 score_two = 1;
* @return this
*/
- public Challenge clearStars() {
+ public Challenge clearScoreTwo() {
bitField0_ &= ~0x00000001;
- stars = 0;
+ scoreTwo = 0;
return this;
}
/**
- * optional uint32 stars = 1;
- * @return the stars
+ * optional uint32 score_two = 1;
+ * @return the scoreTwo
*/
- public int getStars() {
- return stars;
+ public int getScoreTwo() {
+ return scoreTwo;
}
/**
- * optional uint32 stars = 1;
- * @param value the stars to set
+ * optional uint32 score_two = 1;
+ * @param value the scoreTwo to set
* @return this
*/
- public Challenge setStars(final int value) {
+ public Challenge setScoreTwo(final int value) {
bitField0_ |= 0x00000001;
- stars = value;
+ scoreTwo = value;
return this;
}
@@ -128,7 +133,7 @@ public final class ChallengeOuterClass {
}
/**
- * optional uint32 score = 7;
+ * optional uint32 score = 8;
* @return whether the score field is set
*/
public boolean hasScore() {
@@ -136,7 +141,7 @@ public final class ChallengeOuterClass {
}
/**
- * optional uint32 score = 7;
+ * optional uint32 score = 8;
* @return this
*/
public Challenge clearScore() {
@@ -146,7 +151,7 @@ public final class ChallengeOuterClass {
}
/**
- * optional uint32 score = 7;
+ * optional uint32 score = 8;
* @return the score
*/
public int getScore() {
@@ -154,7 +159,7 @@ public final class ChallengeOuterClass {
}
/**
- * optional uint32 score = 7;
+ * optional uint32 score = 8;
* @param value the score to set
* @return this
*/
@@ -165,7 +170,7 @@ public final class ChallengeOuterClass {
}
/**
- * optional uint32 challenge_id = 10;
+ * optional uint32 challenge_id = 9;
* @return whether the challengeId field is set
*/
public boolean hasChallengeId() {
@@ -173,7 +178,7 @@ public final class ChallengeOuterClass {
}
/**
- * optional uint32 challenge_id = 10;
+ * optional uint32 challenge_id = 9;
* @return this
*/
public Challenge clearChallengeId() {
@@ -183,7 +188,7 @@ public final class ChallengeOuterClass {
}
/**
- * optional uint32 challenge_id = 10;
+ * optional uint32 challenge_id = 9;
* @return the challengeId
*/
public int getChallengeId() {
@@ -191,7 +196,7 @@ public final class ChallengeOuterClass {
}
/**
- * optional uint32 challenge_id = 10;
+ * optional uint32 challenge_id = 9;
* @param value the challengeId to set
* @return this
*/
@@ -202,25 +207,62 @@ public final class ChallengeOuterClass {
}
/**
- * optional .ChallengeExtInfo ext_info = 5;
- * @return whether the extInfo field is set
+ * optional uint32 stars = 14;
+ * @return whether the stars field is set
*/
- public boolean hasExtInfo() {
+ public boolean hasStars() {
return (bitField0_ & 0x00000010) != 0;
}
/**
- * optional .ChallengeExtInfo ext_info = 5;
+ * optional uint32 stars = 14;
+ * @return this
+ */
+ public Challenge clearStars() {
+ bitField0_ &= ~0x00000010;
+ stars = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 stars = 14;
+ * @return the stars
+ */
+ public int getStars() {
+ return stars;
+ }
+
+ /**
+ * optional uint32 stars = 14;
+ * @param value the stars to set
+ * @return this
+ */
+ public Challenge setStars(final int value) {
+ bitField0_ |= 0x00000010;
+ stars = value;
+ return this;
+ }
+
+ /**
+ * optional .ChallengeExtInfo ext_info = 10;
+ * @return whether the extInfo field is set
+ */
+ public boolean hasExtInfo() {
+ return (bitField0_ & 0x00000020) != 0;
+ }
+
+ /**
+ * optional .ChallengeExtInfo ext_info = 10;
* @return this
*/
public Challenge clearExtInfo() {
- bitField0_ &= ~0x00000010;
+ bitField0_ &= ~0x00000020;
extInfo.clear();
return this;
}
/**
- * optional .ChallengeExtInfo ext_info = 5;
+ * optional .ChallengeExtInfo ext_info = 10;
*
* 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.
@@ -234,7 +276,7 @@ public final class ChallengeOuterClass {
}
/**
- * optional .ChallengeExtInfo ext_info = 5;
+ * optional .ChallengeExtInfo ext_info = 10;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -243,17 +285,17 @@ public final class ChallengeOuterClass {
* @return internal storage object for modifications
*/
public ChallengeExtInfoOuterClass.ChallengeExtInfo getMutableExtInfo() {
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
return extInfo;
}
/**
- * optional .ChallengeExtInfo ext_info = 5;
+ * optional .ChallengeExtInfo ext_info = 10;
* @param value the extInfo to set
* @return this
*/
public Challenge setExtInfo(final ChallengeExtInfoOuterClass.ChallengeExtInfo value) {
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
extInfo.copyFrom(value);
return this;
}
@@ -263,10 +305,11 @@ public final class ChallengeOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- stars = other.stars;
+ scoreTwo = other.scoreTwo;
takenReward = other.takenReward;
score = other.score;
challengeId = other.challengeId;
+ stars = other.stars;
extInfo.copyFrom(other.extInfo);
}
return this;
@@ -278,8 +321,8 @@ public final class ChallengeOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasStars()) {
- setStars(other.stars);
+ if (other.hasScoreTwo()) {
+ setScoreTwo(other.scoreTwo);
}
if (other.hasTakenReward()) {
setTakenReward(other.takenReward);
@@ -290,6 +333,9 @@ public final class ChallengeOuterClass {
if (other.hasChallengeId()) {
setChallengeId(other.challengeId);
}
+ if (other.hasStars()) {
+ setStars(other.stars);
+ }
if (other.hasExtInfo()) {
getMutableExtInfo().mergeFrom(other.extInfo);
}
@@ -303,10 +349,11 @@ public final class ChallengeOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- stars = 0;
+ scoreTwo = 0;
takenReward = 0;
score = 0;
challengeId = 0;
+ stars = 0;
extInfo.clear();
return this;
}
@@ -332,10 +379,11 @@ public final class ChallengeOuterClass {
}
Challenge other = (Challenge) o;
return bitField0_ == other.bitField0_
- && (!hasStars() || stars == other.stars)
+ && (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasTakenReward() || takenReward == other.takenReward)
&& (!hasScore() || score == other.score)
&& (!hasChallengeId() || challengeId == other.challengeId)
+ && (!hasStars() || stars == other.stars)
&& (!hasExtInfo() || extInfo.equals(other.extInfo));
}
@@ -343,22 +391,26 @@ public final class ChallengeOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(stars);
+ output.writeUInt32NoTag(scoreTwo);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeRawByte((byte) 48);
output.writeUInt32NoTag(takenReward);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 56);
+ output.writeRawByte((byte) 64);
output.writeUInt32NoTag(score);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 80);
+ output.writeRawByte((byte) 72);
output.writeUInt32NoTag(challengeId);
}
if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 42);
+ output.writeRawByte((byte) 112);
+ output.writeUInt32NoTag(stars);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ output.writeRawByte((byte) 82);
output.writeMessageNoTag(extInfo);
}
}
@@ -367,7 +419,7 @@ public final class ChallengeOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(takenReward);
@@ -379,6 +431,9 @@ public final class ChallengeOuterClass {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
}
if ((bitField0_ & 0x00000010) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(extInfo);
}
return size;
@@ -392,8 +447,8 @@ public final class ChallengeOuterClass {
while (true) {
switch (tag) {
case 8: {
- // stars
- stars = input.readUInt32();
+ // scoreTwo
+ scoreTwo = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 48) {
@@ -405,32 +460,41 @@ public final class ChallengeOuterClass {
takenReward = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
- if (tag != 56) {
+ if (tag != 64) {
break;
}
}
- case 56: {
+ case 64: {
// score
score = input.readUInt32();
bitField0_ |= 0x00000004;
tag = input.readTag();
- if (tag != 80) {
+ if (tag != 72) {
break;
}
}
- case 80: {
+ case 72: {
// challengeId
challengeId = input.readUInt32();
bitField0_ |= 0x00000008;
tag = input.readTag();
- if (tag != 42) {
+ if (tag != 112) {
break;
}
}
- case 42: {
+ case 112: {
+ // stars
+ stars = input.readUInt32();
+ bitField0_ |= 0x00000010;
+ tag = input.readTag();
+ if (tag != 82) {
+ break;
+ }
+ }
+ case 82: {
// extInfo
input.readMessage(extInfo);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
tag = input.readTag();
if (tag != 0) {
break;
@@ -454,7 +518,7 @@ public final class ChallengeOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.stars, stars);
+ output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.takenReward, takenReward);
@@ -466,6 +530,9 @@ public final class ChallengeOuterClass {
output.writeUInt32(FieldNames.challengeId, challengeId);
}
if ((bitField0_ & 0x00000010) != 0) {
+ output.writeUInt32(FieldNames.stars, stars);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
output.writeMessage(FieldNames.extInfo, extInfo);
}
output.endObject();
@@ -478,10 +545,11 @@ public final class ChallengeOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 109757537: {
- if (input.isAtField(FieldNames.stars)) {
+ case -485512614:
+ case 2129303327: {
+ if (input.isAtField(FieldNames.scoreTwo)) {
if (!input.trySkipNullValue()) {
- stars = input.readUInt32();
+ scoreTwo = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -524,12 +592,23 @@ public final class ChallengeOuterClass {
}
break;
}
+ case 109757537: {
+ if (input.isAtField(FieldNames.stars)) {
+ if (!input.trySkipNullValue()) {
+ stars = input.readUInt32();
+ bitField0_ |= 0x00000010;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
case -1306498449:
case -1826570228: {
if (input.isAtField(FieldNames.extInfo)) {
if (!input.trySkipNullValue()) {
input.readMessage(extInfo);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
}
} else {
input.skipUnknownField();
@@ -588,7 +667,7 @@ public final class ChallengeOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName stars = FieldName.forField("stars");
+ static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
static final FieldName takenReward = FieldName.forField("takenReward", "taken_reward");
@@ -596,6 +675,8 @@ public final class ChallengeOuterClass {
static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
+ static final FieldName stars = FieldName.forField("stars");
+
static final FieldName extInfo = FieldName.forField("extInfo", "ext_info");
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengePeakGroupDataUpdateScNotifyOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengePeakGroupDataUpdateScNotifyOuterClass.java
new file mode 100644
index 0000000..9485836
--- /dev/null
+++ b/src/generated/main/emu/lunarcore/proto/ChallengePeakGroupDataUpdateScNotifyOuterClass.java
@@ -0,0 +1,288 @@
+// Code generated by protocol buffer compiler. Do not edit!
+package emu.lunarcore.proto;
+
+import java.io.IOException;
+import us.hebi.quickbuf.FieldName;
+import us.hebi.quickbuf.InvalidProtocolBufferException;
+import us.hebi.quickbuf.JsonSink;
+import us.hebi.quickbuf.JsonSource;
+import us.hebi.quickbuf.MessageFactory;
+import us.hebi.quickbuf.ProtoMessage;
+import us.hebi.quickbuf.ProtoSink;
+import us.hebi.quickbuf.ProtoSource;
+
+public final class ChallengePeakGroupDataUpdateScNotifyOuterClass {
+ /**
+ * Protobuf type {@code ChallengePeakGroupDataUpdateScNotify}
+ */
+ public static final class ChallengePeakGroupDataUpdateScNotify extends ProtoMessageoptional .ChallengePeakGroupInfo challenge_peak_group = 2;
+ */
+ private final ChallengePeakGroupInfoOuterClass.ChallengePeakGroupInfo challengePeakGroup = ChallengePeakGroupInfoOuterClass.ChallengePeakGroupInfo.newInstance();
+
+ private ChallengePeakGroupDataUpdateScNotify() {
+ }
+
+ /**
+ * @return a new empty instance of {@code ChallengePeakGroupDataUpdateScNotify}
+ */
+ public static ChallengePeakGroupDataUpdateScNotify newInstance() {
+ return new ChallengePeakGroupDataUpdateScNotify();
+ }
+
+ /**
+ * optional .ChallengePeakGroupInfo challenge_peak_group = 2;
+ * @return whether the challengePeakGroup field is set
+ */
+ public boolean hasChallengePeakGroup() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional .ChallengePeakGroupInfo challenge_peak_group = 2;
+ * @return this
+ */
+ public ChallengePeakGroupDataUpdateScNotify clearChallengePeakGroup() {
+ bitField0_ &= ~0x00000001;
+ challengePeakGroup.clear();
+ return this;
+ }
+
+ /**
+ * optional .ChallengePeakGroupInfo challenge_peak_group = 2;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableChallengePeakGroup()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public ChallengePeakGroupInfoOuterClass.ChallengePeakGroupInfo getChallengePeakGroup() {
+ return challengePeakGroup;
+ }
+
+ /**
+ * optional .ChallengePeakGroupInfo challenge_peak_group = 2;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public ChallengePeakGroupInfoOuterClass.ChallengePeakGroupInfo getMutableChallengePeakGroup() {
+ bitField0_ |= 0x00000001;
+ return challengePeakGroup;
+ }
+
+ /**
+ * optional .ChallengePeakGroupInfo challenge_peak_group = 2;
+ * @param value the challengePeakGroup to set
+ * @return this
+ */
+ public ChallengePeakGroupDataUpdateScNotify setChallengePeakGroup(
+ final ChallengePeakGroupInfoOuterClass.ChallengePeakGroupInfo value) {
+ bitField0_ |= 0x00000001;
+ challengePeakGroup.copyFrom(value);
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupDataUpdateScNotify copyFrom(
+ final ChallengePeakGroupDataUpdateScNotify other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ challengePeakGroup.copyFrom(other.challengePeakGroup);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupDataUpdateScNotify mergeFrom(
+ final ChallengePeakGroupDataUpdateScNotify other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasChallengePeakGroup()) {
+ getMutableChallengePeakGroup().mergeFrom(other.challengePeakGroup);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupDataUpdateScNotify clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ challengePeakGroup.clear();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupDataUpdateScNotify clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ challengePeakGroup.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChallengePeakGroupDataUpdateScNotify)) {
+ return false;
+ }
+ ChallengePeakGroupDataUpdateScNotify other = (ChallengePeakGroupDataUpdateScNotify) o;
+ return bitField0_ == other.bitField0_
+ && (!hasChallengePeakGroup() || challengePeakGroup.equals(other.challengePeakGroup));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 18);
+ output.writeMessageNoTag(challengePeakGroup);
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(challengePeakGroup);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChallengePeakGroupDataUpdateScNotify mergeFrom(final ProtoSource input) throws
+ IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 18: {
+ // challengePeakGroup
+ input.readMessage(challengePeakGroup);
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeMessage(FieldNames.challengePeakGroup, challengePeakGroup);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public ChallengePeakGroupDataUpdateScNotify mergeFrom(final JsonSource input) throws
+ IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 1006775229:
+ case 243053691: {
+ if (input.isAtField(FieldNames.challengePeakGroup)) {
+ if (!input.trySkipNullValue()) {
+ input.readMessage(challengePeakGroup);
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupDataUpdateScNotify clone() {
+ return new ChallengePeakGroupDataUpdateScNotify().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static ChallengePeakGroupDataUpdateScNotify parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChallengePeakGroupDataUpdateScNotify(), data).checkInitialized();
+ }
+
+ public static ChallengePeakGroupDataUpdateScNotify parseFrom(final ProtoSource input) throws
+ IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakGroupDataUpdateScNotify(), input).checkInitialized();
+ }
+
+ public static ChallengePeakGroupDataUpdateScNotify parseFrom(final JsonSource input) throws
+ IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakGroupDataUpdateScNotify(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating ChallengePeakGroupDataUpdateScNotify messages
+ */
+ public static MessageFactory+ * IIDGPEJPBMA + *+ * + * Protobuf type {@code ChallengePeakGroupInfo} + */ + public static final class ChallengePeakGroupInfo extends ProtoMessage
optional uint32 challenge_peak_group_id = 2;
+ */
+ private int challengePeakGroupId;
+
+ /**
+ * + * KHBFACGBPEI BEHFPNPALEJ = 5; + * FCPEKKEEKFI PLJLPOHJHEE = 11; + *+ * + *
optional uint32 KEEKPJHCMFN = 3;
+ */
+ private int kEEKPJHCMFN;
+
+ /**
+ * optional uint32 KKAGEMJCIOC = 14;
+ */
+ private int kKAGEMJCIOC;
+
+ /**
+ * optional bool JPKKFEJLOJN = 10;
+ */
+ private boolean jPKKFEJLOJN;
+
+ /**
+ * + * JIMPKKHFLA KJNMLJJMKGO = 4; + *+ * + *
repeated uint32 GCCENBCIINL = 13;
+ */
+ private final RepeatedInt gCCENBCIINL = RepeatedInt.newEmptyInstance();
+
+ /**
+ * repeated .ChallengePeakLevelInfo challenge_peak_level_list = 6;
+ */
+ private final RepeatedMessage+ * IIDGPEJPBMA + *+ * + * @return a new empty instance of {@code ChallengePeakGroupInfo} + */ + public static ChallengePeakGroupInfo newInstance() { + return new ChallengePeakGroupInfo(); + } + + /** + *
optional uint32 challenge_peak_group_id = 2;
+ * @return whether the challengePeakGroupId field is set
+ */
+ public boolean hasChallengePeakGroupId() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 challenge_peak_group_id = 2;
+ * @return this
+ */
+ public ChallengePeakGroupInfo clearChallengePeakGroupId() {
+ bitField0_ &= ~0x00000001;
+ challengePeakGroupId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 challenge_peak_group_id = 2;
+ * @return the challengePeakGroupId
+ */
+ public int getChallengePeakGroupId() {
+ return challengePeakGroupId;
+ }
+
+ /**
+ * optional uint32 challenge_peak_group_id = 2;
+ * @param value the challengePeakGroupId to set
+ * @return this
+ */
+ public ChallengePeakGroupInfo setChallengePeakGroupId(final int value) {
+ bitField0_ |= 0x00000001;
+ challengePeakGroupId = value;
+ return this;
+ }
+
+ /**
+ * + * KHBFACGBPEI BEHFPNPALEJ = 5; + * FCPEKKEEKFI PLJLPOHJHEE = 11; + *+ * + *
optional uint32 KEEKPJHCMFN = 3;
+ * @return whether the kEEKPJHCMFN field is set
+ */
+ public boolean hasKEEKPJHCMFN() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * + * KHBFACGBPEI BEHFPNPALEJ = 5; + * FCPEKKEEKFI PLJLPOHJHEE = 11; + *+ * + *
optional uint32 KEEKPJHCMFN = 3;
+ * @return this
+ */
+ public ChallengePeakGroupInfo clearKEEKPJHCMFN() {
+ bitField0_ &= ~0x00000002;
+ kEEKPJHCMFN = 0;
+ return this;
+ }
+
+ /**
+ * + * KHBFACGBPEI BEHFPNPALEJ = 5; + * FCPEKKEEKFI PLJLPOHJHEE = 11; + *+ * + *
optional uint32 KEEKPJHCMFN = 3;
+ * @return the kEEKPJHCMFN
+ */
+ public int getKEEKPJHCMFN() {
+ return kEEKPJHCMFN;
+ }
+
+ /**
+ * + * KHBFACGBPEI BEHFPNPALEJ = 5; + * FCPEKKEEKFI PLJLPOHJHEE = 11; + *+ * + *
optional uint32 KEEKPJHCMFN = 3;
+ * @param value the kEEKPJHCMFN to set
+ * @return this
+ */
+ public ChallengePeakGroupInfo setKEEKPJHCMFN(final int value) {
+ bitField0_ |= 0x00000002;
+ kEEKPJHCMFN = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 KKAGEMJCIOC = 14;
+ * @return whether the kKAGEMJCIOC field is set
+ */
+ public boolean hasKKAGEMJCIOC() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 KKAGEMJCIOC = 14;
+ * @return this
+ */
+ public ChallengePeakGroupInfo clearKKAGEMJCIOC() {
+ bitField0_ &= ~0x00000004;
+ kKAGEMJCIOC = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 KKAGEMJCIOC = 14;
+ * @return the kKAGEMJCIOC
+ */
+ public int getKKAGEMJCIOC() {
+ return kKAGEMJCIOC;
+ }
+
+ /**
+ * optional uint32 KKAGEMJCIOC = 14;
+ * @param value the kKAGEMJCIOC to set
+ * @return this
+ */
+ public ChallengePeakGroupInfo setKKAGEMJCIOC(final int value) {
+ bitField0_ |= 0x00000004;
+ kKAGEMJCIOC = value;
+ return this;
+ }
+
+ /**
+ * optional bool JPKKFEJLOJN = 10;
+ * @return whether the jPKKFEJLOJN field is set
+ */
+ public boolean hasJPKKFEJLOJN() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional bool JPKKFEJLOJN = 10;
+ * @return this
+ */
+ public ChallengePeakGroupInfo clearJPKKFEJLOJN() {
+ bitField0_ &= ~0x00000008;
+ jPKKFEJLOJN = false;
+ return this;
+ }
+
+ /**
+ * optional bool JPKKFEJLOJN = 10;
+ * @return the jPKKFEJLOJN
+ */
+ public boolean getJPKKFEJLOJN() {
+ return jPKKFEJLOJN;
+ }
+
+ /**
+ * optional bool JPKKFEJLOJN = 10;
+ * @param value the jPKKFEJLOJN to set
+ * @return this
+ */
+ public ChallengePeakGroupInfo setJPKKFEJLOJN(final boolean value) {
+ bitField0_ |= 0x00000008;
+ jPKKFEJLOJN = value;
+ return this;
+ }
+
+ /**
+ * + * JIMPKKHFLA KJNMLJJMKGO = 4; + *+ * + *
repeated uint32 GCCENBCIINL = 13;
+ * @return whether the gCCENBCIINL field is set
+ */
+ public boolean hasGCCENBCIINL() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * + * JIMPKKHFLA KJNMLJJMKGO = 4; + *+ * + *
repeated uint32 GCCENBCIINL = 13;
+ * @return this
+ */
+ public ChallengePeakGroupInfo clearGCCENBCIINL() {
+ bitField0_ &= ~0x00000010;
+ gCCENBCIINL.clear();
+ return this;
+ }
+
+ /**
+ * + * JIMPKKHFLA KJNMLJJMKGO = 4; + *+ * + *
repeated uint32 GCCENBCIINL = 13;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableGCCENBCIINL()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getGCCENBCIINL() {
+ return gCCENBCIINL;
+ }
+
+ /**
+ * + * JIMPKKHFLA KJNMLJJMKGO = 4; + *+ * + *
repeated uint32 GCCENBCIINL = 13;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableGCCENBCIINL() {
+ bitField0_ |= 0x00000010;
+ return gCCENBCIINL;
+ }
+
+ /**
+ * + * JIMPKKHFLA KJNMLJJMKGO = 4; + *+ * + *
repeated uint32 GCCENBCIINL = 13;
+ * @param value the gCCENBCIINL to add
+ * @return this
+ */
+ public ChallengePeakGroupInfo addGCCENBCIINL(final int value) {
+ bitField0_ |= 0x00000010;
+ gCCENBCIINL.add(value);
+ return this;
+ }
+
+ /**
+ * + * JIMPKKHFLA KJNMLJJMKGO = 4; + *+ * + *
repeated uint32 GCCENBCIINL = 13;
+ * @param values the gCCENBCIINL to add
+ * @return this
+ */
+ public ChallengePeakGroupInfo addAllGCCENBCIINL(final int... values) {
+ bitField0_ |= 0x00000010;
+ gCCENBCIINL.addAll(values);
+ return this;
+ }
+
+ /**
+ * repeated .ChallengePeakLevelInfo challenge_peak_level_list = 6;
+ * @return whether the challengePeakLevelList field is set
+ */
+ public boolean hasChallengePeakLevelList() {
+ return (bitField0_ & 0x00000020) != 0;
+ }
+
+ /**
+ * repeated .ChallengePeakLevelInfo challenge_peak_level_list = 6;
+ * @return this
+ */
+ public ChallengePeakGroupInfo clearChallengePeakLevelList() {
+ bitField0_ &= ~0x00000020;
+ challengePeakLevelList.clear();
+ return this;
+ }
+
+ /**
+ * repeated .ChallengePeakLevelInfo challenge_peak_level_list = 6;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableChallengePeakLevelList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedMessagerepeated .ChallengePeakLevelInfo challenge_peak_level_list = 6;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedMessagerepeated .ChallengePeakLevelInfo challenge_peak_level_list = 6;
+ * @param value the challengePeakLevelList to add
+ * @return this
+ */
+ public ChallengePeakGroupInfo addChallengePeakLevelList(
+ final ChallengePeakLevelInfoOuterClass.ChallengePeakLevelInfo value) {
+ bitField0_ |= 0x00000020;
+ challengePeakLevelList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated .ChallengePeakLevelInfo challenge_peak_level_list = 6;
+ * @param values the challengePeakLevelList to add
+ * @return this
+ */
+ public ChallengePeakGroupInfo addAllChallengePeakLevelList(
+ final ChallengePeakLevelInfoOuterClass.ChallengePeakLevelInfo... values) {
+ bitField0_ |= 0x00000020;
+ challengePeakLevelList.addAll(values);
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupInfo copyFrom(final ChallengePeakGroupInfo other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ challengePeakGroupId = other.challengePeakGroupId;
+ kEEKPJHCMFN = other.kEEKPJHCMFN;
+ kKAGEMJCIOC = other.kKAGEMJCIOC;
+ jPKKFEJLOJN = other.jPKKFEJLOJN;
+ gCCENBCIINL.copyFrom(other.gCCENBCIINL);
+ challengePeakLevelList.copyFrom(other.challengePeakLevelList);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupInfo mergeFrom(final ChallengePeakGroupInfo other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasChallengePeakGroupId()) {
+ setChallengePeakGroupId(other.challengePeakGroupId);
+ }
+ if (other.hasKEEKPJHCMFN()) {
+ setKEEKPJHCMFN(other.kEEKPJHCMFN);
+ }
+ if (other.hasKKAGEMJCIOC()) {
+ setKKAGEMJCIOC(other.kKAGEMJCIOC);
+ }
+ if (other.hasJPKKFEJLOJN()) {
+ setJPKKFEJLOJN(other.jPKKFEJLOJN);
+ }
+ if (other.hasGCCENBCIINL()) {
+ getMutableGCCENBCIINL().addAll(other.gCCENBCIINL);
+ }
+ if (other.hasChallengePeakLevelList()) {
+ getMutableChallengePeakLevelList().addAll(other.challengePeakLevelList);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupInfo clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ challengePeakGroupId = 0;
+ kEEKPJHCMFN = 0;
+ kKAGEMJCIOC = 0;
+ jPKKFEJLOJN = false;
+ gCCENBCIINL.clear();
+ challengePeakLevelList.clear();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupInfo clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ gCCENBCIINL.clear();
+ challengePeakLevelList.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChallengePeakGroupInfo)) {
+ return false;
+ }
+ ChallengePeakGroupInfo other = (ChallengePeakGroupInfo) o;
+ return bitField0_ == other.bitField0_
+ && (!hasChallengePeakGroupId() || challengePeakGroupId == other.challengePeakGroupId)
+ && (!hasKEEKPJHCMFN() || kEEKPJHCMFN == other.kEEKPJHCMFN)
+ && (!hasKKAGEMJCIOC() || kKAGEMJCIOC == other.kKAGEMJCIOC)
+ && (!hasJPKKFEJLOJN() || jPKKFEJLOJN == other.jPKKFEJLOJN)
+ && (!hasGCCENBCIINL() || gCCENBCIINL.equals(other.gCCENBCIINL))
+ && (!hasChallengePeakLevelList() || challengePeakLevelList.equals(other.challengePeakLevelList));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 16);
+ output.writeUInt32NoTag(challengePeakGroupId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 24);
+ output.writeUInt32NoTag(kEEKPJHCMFN);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 112);
+ output.writeUInt32NoTag(kKAGEMJCIOC);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 80);
+ output.writeBoolNoTag(jPKKFEJLOJN);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ for (int i = 0; i < gCCENBCIINL.length(); i++) {
+ output.writeRawByte((byte) 104);
+ output.writeUInt32NoTag(gCCENBCIINL.array()[i]);
+ }
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ for (int i = 0; i < challengePeakLevelList.length(); i++) {
+ output.writeRawByte((byte) 50);
+ output.writeMessageNoTag(challengePeakLevelList.get(i));
+ }
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(challengePeakGroupId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(kEEKPJHCMFN);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(kKAGEMJCIOC);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += 2;
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ size += (1 * gCCENBCIINL.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(gCCENBCIINL);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ size += (1 * challengePeakLevelList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(challengePeakLevelList);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChallengePeakGroupInfo mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 16: {
+ // challengePeakGroupId
+ challengePeakGroupId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 24) {
+ break;
+ }
+ }
+ case 24: {
+ // kEEKPJHCMFN
+ kEEKPJHCMFN = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 112) {
+ break;
+ }
+ }
+ case 112: {
+ // kKAGEMJCIOC
+ kKAGEMJCIOC = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 80) {
+ break;
+ }
+ }
+ case 80: {
+ // jPKKFEJLOJN
+ jPKKFEJLOJN = input.readBool();
+ bitField0_ |= 0x00000008;
+ tag = input.readTag();
+ if (tag != 106) {
+ break;
+ }
+ }
+ case 106: {
+ // gCCENBCIINL [packed=true]
+ input.readPackedUInt32(gCCENBCIINL, tag);
+ bitField0_ |= 0x00000010;
+ tag = input.readTag();
+ if (tag != 50) {
+ break;
+ }
+ }
+ case 50: {
+ // challengePeakLevelList
+ tag = input.readRepeatedMessage(challengePeakLevelList, tag);
+ bitField0_ |= 0x00000020;
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ case 104: {
+ // gCCENBCIINL [packed=false]
+ tag = input.readRepeatedUInt32(gCCENBCIINL, tag);
+ bitField0_ |= 0x00000010;
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.challengePeakGroupId, challengePeakGroupId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.kEEKPJHCMFN, kEEKPJHCMFN);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeUInt32(FieldNames.kKAGEMJCIOC, kKAGEMJCIOC);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeBool(FieldNames.jPKKFEJLOJN, jPKKFEJLOJN);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeRepeatedUInt32(FieldNames.gCCENBCIINL, gCCENBCIINL);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ output.writeRepeatedMessage(FieldNames.challengePeakLevelList, challengePeakLevelList);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public ChallengePeakGroupInfo mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 1143355832:
+ case -502257825: {
+ if (input.isAtField(FieldNames.challengePeakGroupId)) {
+ if (!input.trySkipNullValue()) {
+ challengePeakGroupId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -427472448: {
+ if (input.isAtField(FieldNames.kEEKPJHCMFN)) {
+ if (!input.trySkipNullValue()) {
+ kEEKPJHCMFN = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1862115350: {
+ if (input.isAtField(FieldNames.kKAGEMJCIOC)) {
+ if (!input.trySkipNullValue()) {
+ kKAGEMJCIOC = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 821874700: {
+ if (input.isAtField(FieldNames.jPKKFEJLOJN)) {
+ if (!input.trySkipNullValue()) {
+ jPKKFEJLOJN = input.readBool();
+ bitField0_ |= 0x00000008;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -1697076113: {
+ if (input.isAtField(FieldNames.gCCENBCIINL)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(gCCENBCIINL);
+ bitField0_ |= 0x00000010;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -919812992:
+ case 1586233341: {
+ if (input.isAtField(FieldNames.challengePeakLevelList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedMessage(challengePeakLevelList);
+ bitField0_ |= 0x00000020;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakGroupInfo clone() {
+ return new ChallengePeakGroupInfo().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static ChallengePeakGroupInfo parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChallengePeakGroupInfo(), data).checkInitialized();
+ }
+
+ public static ChallengePeakGroupInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakGroupInfo(), input).checkInitialized();
+ }
+
+ public static ChallengePeakGroupInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakGroupInfo(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating ChallengePeakGroupInfo messages
+ */
+ public static MessageFactoryoptional uint32 challenge_peak_id = 3;
+ */
+ private int challengePeakId;
+
+ /**
+ * optional uint32 GGICFFIOOGP = 11;
+ */
+ private int gGICFFIOOGP;
+
+ /**
+ * + * repeated EEBPHJCNBFO FMFGOJHCCNL = 1; + *+ * + *
optional bool FGEGDFGKDNB = 7;
+ */
+ private boolean fGEGDFGKDNB;
+
+ /**
+ * + * repeated JJJNDMMGGKI FBLKPDNIJDD = 5; + *+ * + *
repeated uint32 NKGLPNJHEON = 6;
+ */
+ private final RepeatedInt nKGLPNJHEON = RepeatedInt.newEmptyInstance();
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ */
+ private final RepeatedInt challengeAvatarIdList = RepeatedInt.newEmptyInstance();
+
+ private ChallengePeakLevelInfo() {
+ }
+
+ /**
+ * @return a new empty instance of {@code ChallengePeakLevelInfo}
+ */
+ public static ChallengePeakLevelInfo newInstance() {
+ return new ChallengePeakLevelInfo();
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 3;
+ * @return whether the challengePeakId field is set
+ */
+ public boolean hasChallengePeakId() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 3;
+ * @return this
+ */
+ public ChallengePeakLevelInfo clearChallengePeakId() {
+ bitField0_ &= ~0x00000001;
+ challengePeakId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 3;
+ * @return the challengePeakId
+ */
+ public int getChallengePeakId() {
+ return challengePeakId;
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 3;
+ * @param value the challengePeakId to set
+ * @return this
+ */
+ public ChallengePeakLevelInfo setChallengePeakId(final int value) {
+ bitField0_ |= 0x00000001;
+ challengePeakId = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 GGICFFIOOGP = 11;
+ * @return whether the gGICFFIOOGP field is set
+ */
+ public boolean hasGGICFFIOOGP() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 GGICFFIOOGP = 11;
+ * @return this
+ */
+ public ChallengePeakLevelInfo clearGGICFFIOOGP() {
+ bitField0_ &= ~0x00000002;
+ gGICFFIOOGP = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 GGICFFIOOGP = 11;
+ * @return the gGICFFIOOGP
+ */
+ public int getGGICFFIOOGP() {
+ return gGICFFIOOGP;
+ }
+
+ /**
+ * optional uint32 GGICFFIOOGP = 11;
+ * @param value the gGICFFIOOGP to set
+ * @return this
+ */
+ public ChallengePeakLevelInfo setGGICFFIOOGP(final int value) {
+ bitField0_ |= 0x00000002;
+ gGICFFIOOGP = value;
+ return this;
+ }
+
+ /**
+ * + * repeated EEBPHJCNBFO FMFGOJHCCNL = 1; + *+ * + *
optional bool FGEGDFGKDNB = 7;
+ * @return whether the fGEGDFGKDNB field is set
+ */
+ public boolean hasFGEGDFGKDNB() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * + * repeated EEBPHJCNBFO FMFGOJHCCNL = 1; + *+ * + *
optional bool FGEGDFGKDNB = 7;
+ * @return this
+ */
+ public ChallengePeakLevelInfo clearFGEGDFGKDNB() {
+ bitField0_ &= ~0x00000004;
+ fGEGDFGKDNB = false;
+ return this;
+ }
+
+ /**
+ * + * repeated EEBPHJCNBFO FMFGOJHCCNL = 1; + *+ * + *
optional bool FGEGDFGKDNB = 7;
+ * @return the fGEGDFGKDNB
+ */
+ public boolean getFGEGDFGKDNB() {
+ return fGEGDFGKDNB;
+ }
+
+ /**
+ * + * repeated EEBPHJCNBFO FMFGOJHCCNL = 1; + *+ * + *
optional bool FGEGDFGKDNB = 7;
+ * @param value the fGEGDFGKDNB to set
+ * @return this
+ */
+ public ChallengePeakLevelInfo setFGEGDFGKDNB(final boolean value) {
+ bitField0_ |= 0x00000004;
+ fGEGDFGKDNB = value;
+ return this;
+ }
+
+ /**
+ * + * repeated JJJNDMMGGKI FBLKPDNIJDD = 5; + *+ * + *
repeated uint32 NKGLPNJHEON = 6;
+ * @return whether the nKGLPNJHEON field is set
+ */
+ public boolean hasNKGLPNJHEON() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * + * repeated JJJNDMMGGKI FBLKPDNIJDD = 5; + *+ * + *
repeated uint32 NKGLPNJHEON = 6;
+ * @return this
+ */
+ public ChallengePeakLevelInfo clearNKGLPNJHEON() {
+ bitField0_ &= ~0x00000008;
+ nKGLPNJHEON.clear();
+ return this;
+ }
+
+ /**
+ * + * repeated JJJNDMMGGKI FBLKPDNIJDD = 5; + *+ * + *
repeated uint32 NKGLPNJHEON = 6;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableNKGLPNJHEON()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getNKGLPNJHEON() {
+ return nKGLPNJHEON;
+ }
+
+ /**
+ * + * repeated JJJNDMMGGKI FBLKPDNIJDD = 5; + *+ * + *
repeated uint32 NKGLPNJHEON = 6;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableNKGLPNJHEON() {
+ bitField0_ |= 0x00000008;
+ return nKGLPNJHEON;
+ }
+
+ /**
+ * + * repeated JJJNDMMGGKI FBLKPDNIJDD = 5; + *+ * + *
repeated uint32 NKGLPNJHEON = 6;
+ * @param value the nKGLPNJHEON to add
+ * @return this
+ */
+ public ChallengePeakLevelInfo addNKGLPNJHEON(final int value) {
+ bitField0_ |= 0x00000008;
+ nKGLPNJHEON.add(value);
+ return this;
+ }
+
+ /**
+ * + * repeated JJJNDMMGGKI FBLKPDNIJDD = 5; + *+ * + *
repeated uint32 NKGLPNJHEON = 6;
+ * @param values the nKGLPNJHEON to add
+ * @return this
+ */
+ public ChallengePeakLevelInfo addAllNKGLPNJHEON(final int... values) {
+ bitField0_ |= 0x00000008;
+ nKGLPNJHEON.addAll(values);
+ return this;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ * @return whether the challengeAvatarIdList field is set
+ */
+ public boolean hasChallengeAvatarIdList() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ * @return this
+ */
+ public ChallengePeakLevelInfo clearChallengeAvatarIdList() {
+ bitField0_ &= ~0x00000010;
+ challengeAvatarIdList.clear();
+ return this;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableChallengeAvatarIdList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getChallengeAvatarIdList() {
+ return challengeAvatarIdList;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableChallengeAvatarIdList() {
+ bitField0_ |= 0x00000010;
+ return challengeAvatarIdList;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ * @param value the challengeAvatarIdList to add
+ * @return this
+ */
+ public ChallengePeakLevelInfo addChallengeAvatarIdList(final int value) {
+ bitField0_ |= 0x00000010;
+ challengeAvatarIdList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ * @param values the challengeAvatarIdList to add
+ * @return this
+ */
+ public ChallengePeakLevelInfo addAllChallengeAvatarIdList(final int... values) {
+ bitField0_ |= 0x00000010;
+ challengeAvatarIdList.addAll(values);
+ return this;
+ }
+
+ @Override
+ public ChallengePeakLevelInfo copyFrom(final ChallengePeakLevelInfo other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ challengePeakId = other.challengePeakId;
+ gGICFFIOOGP = other.gGICFFIOOGP;
+ fGEGDFGKDNB = other.fGEGDFGKDNB;
+ nKGLPNJHEON.copyFrom(other.nKGLPNJHEON);
+ challengeAvatarIdList.copyFrom(other.challengeAvatarIdList);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakLevelInfo mergeFrom(final ChallengePeakLevelInfo other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasChallengePeakId()) {
+ setChallengePeakId(other.challengePeakId);
+ }
+ if (other.hasGGICFFIOOGP()) {
+ setGGICFFIOOGP(other.gGICFFIOOGP);
+ }
+ if (other.hasFGEGDFGKDNB()) {
+ setFGEGDFGKDNB(other.fGEGDFGKDNB);
+ }
+ if (other.hasNKGLPNJHEON()) {
+ getMutableNKGLPNJHEON().addAll(other.nKGLPNJHEON);
+ }
+ if (other.hasChallengeAvatarIdList()) {
+ getMutableChallengeAvatarIdList().addAll(other.challengeAvatarIdList);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakLevelInfo clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ challengePeakId = 0;
+ gGICFFIOOGP = 0;
+ fGEGDFGKDNB = false;
+ nKGLPNJHEON.clear();
+ challengeAvatarIdList.clear();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakLevelInfo clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ nKGLPNJHEON.clear();
+ challengeAvatarIdList.clear();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChallengePeakLevelInfo)) {
+ return false;
+ }
+ ChallengePeakLevelInfo other = (ChallengePeakLevelInfo) o;
+ return bitField0_ == other.bitField0_
+ && (!hasChallengePeakId() || challengePeakId == other.challengePeakId)
+ && (!hasGGICFFIOOGP() || gGICFFIOOGP == other.gGICFFIOOGP)
+ && (!hasFGEGDFGKDNB() || fGEGDFGKDNB == other.fGEGDFGKDNB)
+ && (!hasNKGLPNJHEON() || nKGLPNJHEON.equals(other.nKGLPNJHEON))
+ && (!hasChallengeAvatarIdList() || challengeAvatarIdList.equals(other.challengeAvatarIdList));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 24);
+ output.writeUInt32NoTag(challengePeakId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 88);
+ output.writeUInt32NoTag(gGICFFIOOGP);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 56);
+ output.writeBoolNoTag(fGEGDFGKDNB);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ for (int i = 0; i < nKGLPNJHEON.length(); i++) {
+ output.writeRawByte((byte) 48);
+ output.writeUInt32NoTag(nKGLPNJHEON.array()[i]);
+ }
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ for (int i = 0; i < challengeAvatarIdList.length(); i++) {
+ output.writeRawByte((byte) 96);
+ output.writeUInt32NoTag(challengeAvatarIdList.array()[i]);
+ }
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(challengePeakId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(gGICFFIOOGP);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += 2;
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += (1 * nKGLPNJHEON.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(nKGLPNJHEON);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ size += (1 * challengeAvatarIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(challengeAvatarIdList);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChallengePeakLevelInfo mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 24: {
+ // challengePeakId
+ challengePeakId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 88) {
+ break;
+ }
+ }
+ case 88: {
+ // gGICFFIOOGP
+ gGICFFIOOGP = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 56) {
+ break;
+ }
+ }
+ case 56: {
+ // fGEGDFGKDNB
+ fGEGDFGKDNB = input.readBool();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 50) {
+ break;
+ }
+ }
+ case 50: {
+ // nKGLPNJHEON [packed=true]
+ input.readPackedUInt32(nKGLPNJHEON, tag);
+ bitField0_ |= 0x00000008;
+ tag = input.readTag();
+ if (tag != 98) {
+ break;
+ }
+ }
+ case 98: {
+ // challengeAvatarIdList [packed=true]
+ input.readPackedUInt32(challengeAvatarIdList, tag);
+ bitField0_ |= 0x00000010;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ case 48: {
+ // nKGLPNJHEON [packed=false]
+ tag = input.readRepeatedUInt32(nKGLPNJHEON, tag);
+ bitField0_ |= 0x00000008;
+ break;
+ }
+ case 96: {
+ // challengeAvatarIdList [packed=false]
+ tag = input.readRepeatedUInt32(challengeAvatarIdList, tag);
+ bitField0_ |= 0x00000010;
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.challengePeakId, challengePeakId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.gGICFFIOOGP, gGICFFIOOGP);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeBool(FieldNames.fGEGDFGKDNB, fGEGDFGKDNB);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRepeatedUInt32(FieldNames.nKGLPNJHEON, nKGLPNJHEON);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeRepeatedUInt32(FieldNames.challengeAvatarIdList, challengeAvatarIdList);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public ChallengePeakLevelInfo mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 1075253405:
+ case -117346145: {
+ if (input.isAtField(FieldNames.challengePeakId)) {
+ if (!input.trySkipNullValue()) {
+ challengePeakId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1976538776: {
+ if (input.isAtField(FieldNames.gGICFFIOOGP)) {
+ if (!input.trySkipNullValue()) {
+ gGICFFIOOGP = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -982303793: {
+ if (input.isAtField(FieldNames.fGEGDFGKDNB)) {
+ if (!input.trySkipNullValue()) {
+ fGEGDFGKDNB = input.readBool();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -163066362: {
+ if (input.isAtField(FieldNames.nKGLPNJHEON)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(nKGLPNJHEON);
+ bitField0_ |= 0x00000008;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 836175637:
+ case 1831834552: {
+ if (input.isAtField(FieldNames.challengeAvatarIdList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(challengeAvatarIdList);
+ bitField0_ |= 0x00000010;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakLevelInfo clone() {
+ return new ChallengePeakLevelInfo().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static ChallengePeakLevelInfo parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChallengePeakLevelInfo(), data).checkInitialized();
+ }
+
+ public static ChallengePeakLevelInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakLevelInfo(), input).checkInitialized();
+ }
+
+ public static ChallengePeakLevelInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakLevelInfo(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating ChallengePeakLevelInfo messages
+ */
+ public static MessageFactoryoptional uint32 challenge_peak_id = 3;
+ */
+ private int challengePeakId;
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ */
+ private final RepeatedInt challengeAvatarIdList = RepeatedInt.newEmptyInstance();
+
+ private ChallengePeakMobLineupInfo() {
+ }
+
+ /**
+ * @return a new empty instance of {@code ChallengePeakMobLineupInfo}
+ */
+ public static ChallengePeakMobLineupInfo newInstance() {
+ return new ChallengePeakMobLineupInfo();
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 3;
+ * @return whether the challengePeakId field is set
+ */
+ public boolean hasChallengePeakId() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 3;
+ * @return this
+ */
+ public ChallengePeakMobLineupInfo clearChallengePeakId() {
+ bitField0_ &= ~0x00000001;
+ challengePeakId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 3;
+ * @return the challengePeakId
+ */
+ public int getChallengePeakId() {
+ return challengePeakId;
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 3;
+ * @param value the challengePeakId to set
+ * @return this
+ */
+ public ChallengePeakMobLineupInfo setChallengePeakId(final int value) {
+ bitField0_ |= 0x00000001;
+ challengePeakId = value;
+ return this;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ * @return whether the challengeAvatarIdList field is set
+ */
+ public boolean hasChallengeAvatarIdList() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ * @return this
+ */
+ public ChallengePeakMobLineupInfo clearChallengeAvatarIdList() {
+ bitField0_ &= ~0x00000002;
+ challengeAvatarIdList.clear();
+ return this;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableChallengeAvatarIdList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getChallengeAvatarIdList() {
+ return challengeAvatarIdList;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableChallengeAvatarIdList() {
+ bitField0_ |= 0x00000002;
+ return challengeAvatarIdList;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ * @param value the challengeAvatarIdList to add
+ * @return this
+ */
+ public ChallengePeakMobLineupInfo addChallengeAvatarIdList(final int value) {
+ bitField0_ |= 0x00000002;
+ challengeAvatarIdList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 challenge_avatar_id_list = 12;
+ * @param values the challengeAvatarIdList to add
+ * @return this
+ */
+ public ChallengePeakMobLineupInfo addAllChallengeAvatarIdList(final int... values) {
+ bitField0_ |= 0x00000002;
+ challengeAvatarIdList.addAll(values);
+ return this;
+ }
+
+ @Override
+ public ChallengePeakMobLineupInfo copyFrom(final ChallengePeakMobLineupInfo other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ challengePeakId = other.challengePeakId;
+ challengeAvatarIdList.copyFrom(other.challengeAvatarIdList);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakMobLineupInfo mergeFrom(final ChallengePeakMobLineupInfo other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasChallengePeakId()) {
+ setChallengePeakId(other.challengePeakId);
+ }
+ if (other.hasChallengeAvatarIdList()) {
+ getMutableChallengeAvatarIdList().addAll(other.challengeAvatarIdList);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakMobLineupInfo clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ challengePeakId = 0;
+ challengeAvatarIdList.clear();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakMobLineupInfo clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ challengeAvatarIdList.clear();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChallengePeakMobLineupInfo)) {
+ return false;
+ }
+ ChallengePeakMobLineupInfo other = (ChallengePeakMobLineupInfo) o;
+ return bitField0_ == other.bitField0_
+ && (!hasChallengePeakId() || challengePeakId == other.challengePeakId)
+ && (!hasChallengeAvatarIdList() || challengeAvatarIdList.equals(other.challengeAvatarIdList));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 24);
+ output.writeUInt32NoTag(challengePeakId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ for (int i = 0; i < challengeAvatarIdList.length(); i++) {
+ output.writeRawByte((byte) 96);
+ output.writeUInt32NoTag(challengeAvatarIdList.array()[i]);
+ }
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(challengePeakId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += (1 * challengeAvatarIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(challengeAvatarIdList);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChallengePeakMobLineupInfo mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 24: {
+ // challengePeakId
+ challengePeakId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 98) {
+ break;
+ }
+ }
+ case 98: {
+ // challengeAvatarIdList [packed=true]
+ input.readPackedUInt32(challengeAvatarIdList, tag);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ case 96: {
+ // challengeAvatarIdList [packed=false]
+ tag = input.readRepeatedUInt32(challengeAvatarIdList, tag);
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.challengePeakId, challengePeakId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRepeatedUInt32(FieldNames.challengeAvatarIdList, challengeAvatarIdList);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public ChallengePeakMobLineupInfo mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 1075253405:
+ case -117346145: {
+ if (input.isAtField(FieldNames.challengePeakId)) {
+ if (!input.trySkipNullValue()) {
+ challengePeakId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 836175637:
+ case 1831834552: {
+ if (input.isAtField(FieldNames.challengeAvatarIdList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(challengeAvatarIdList);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakMobLineupInfo clone() {
+ return new ChallengePeakMobLineupInfo().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static ChallengePeakMobLineupInfo parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChallengePeakMobLineupInfo(), data).checkInitialized();
+ }
+
+ public static ChallengePeakMobLineupInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakMobLineupInfo(), input).checkInitialized();
+ }
+
+ public static ChallengePeakMobLineupInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakMobLineupInfo(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating ChallengePeakMobLineupInfo messages
+ */
+ public static MessageFactoryoptional uint32 challenge_peak_id = 6;
+ */
+ private int challengePeakId;
+
+ /**
+ * optional uint32 LBGCPOKPKBB = 7;
+ */
+ private int lBGCPOKPKBB;
+
+ /**
+ * optional uint32 GGICFFIOOGP = 10;
+ */
+ private int gGICFFIOOGP;
+
+ /**
+ * optional bool LBOJBLCKAJF = 2;
+ */
+ private boolean lBOJBLCKAJF;
+
+ /**
+ * optional bool KJFCNFOGCHP = 3;
+ */
+ private boolean kJFCNFOGCHP;
+
+ /**
+ * optional bool GEKPDLJNOHA = 8;
+ */
+ private boolean gEKPDLJNOHA;
+
+ /**
+ * optional bool CMGKJJKNCNB = 11;
+ */
+ private boolean cMGKJJKNCNB;
+
+ /**
+ * optional bool is_win = 13;
+ */
+ private boolean isWin;
+
+ /**
+ * optional bool IIJODHANFDC = 15;
+ */
+ private boolean iIJODHANFDC;
+
+ /**
+ * repeated uint32 NKGLPNJHEON = 5;
+ */
+ private final RepeatedInt nKGLPNJHEON = RepeatedInt.newEmptyInstance();
+
+ private ChallengePeakSettleScNotify() {
+ }
+
+ /**
+ * @return a new empty instance of {@code ChallengePeakSettleScNotify}
+ */
+ public static ChallengePeakSettleScNotify newInstance() {
+ return new ChallengePeakSettleScNotify();
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 6;
+ * @return whether the challengePeakId field is set
+ */
+ public boolean hasChallengePeakId() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 6;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearChallengePeakId() {
+ bitField0_ &= ~0x00000001;
+ challengePeakId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 6;
+ * @return the challengePeakId
+ */
+ public int getChallengePeakId() {
+ return challengePeakId;
+ }
+
+ /**
+ * optional uint32 challenge_peak_id = 6;
+ * @param value the challengePeakId to set
+ * @return this
+ */
+ public ChallengePeakSettleScNotify setChallengePeakId(final int value) {
+ bitField0_ |= 0x00000001;
+ challengePeakId = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 LBGCPOKPKBB = 7;
+ * @return whether the lBGCPOKPKBB field is set
+ */
+ public boolean hasLBGCPOKPKBB() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 LBGCPOKPKBB = 7;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearLBGCPOKPKBB() {
+ bitField0_ &= ~0x00000002;
+ lBGCPOKPKBB = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 LBGCPOKPKBB = 7;
+ * @return the lBGCPOKPKBB
+ */
+ public int getLBGCPOKPKBB() {
+ return lBGCPOKPKBB;
+ }
+
+ /**
+ * optional uint32 LBGCPOKPKBB = 7;
+ * @param value the lBGCPOKPKBB to set
+ * @return this
+ */
+ public ChallengePeakSettleScNotify setLBGCPOKPKBB(final int value) {
+ bitField0_ |= 0x00000002;
+ lBGCPOKPKBB = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 GGICFFIOOGP = 10;
+ * @return whether the gGICFFIOOGP field is set
+ */
+ public boolean hasGGICFFIOOGP() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 GGICFFIOOGP = 10;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearGGICFFIOOGP() {
+ bitField0_ &= ~0x00000004;
+ gGICFFIOOGP = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 GGICFFIOOGP = 10;
+ * @return the gGICFFIOOGP
+ */
+ public int getGGICFFIOOGP() {
+ return gGICFFIOOGP;
+ }
+
+ /**
+ * optional uint32 GGICFFIOOGP = 10;
+ * @param value the gGICFFIOOGP to set
+ * @return this
+ */
+ public ChallengePeakSettleScNotify setGGICFFIOOGP(final int value) {
+ bitField0_ |= 0x00000004;
+ gGICFFIOOGP = value;
+ return this;
+ }
+
+ /**
+ * optional bool LBOJBLCKAJF = 2;
+ * @return whether the lBOJBLCKAJF field is set
+ */
+ public boolean hasLBOJBLCKAJF() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional bool LBOJBLCKAJF = 2;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearLBOJBLCKAJF() {
+ bitField0_ &= ~0x00000008;
+ lBOJBLCKAJF = false;
+ return this;
+ }
+
+ /**
+ * optional bool LBOJBLCKAJF = 2;
+ * @return the lBOJBLCKAJF
+ */
+ public boolean getLBOJBLCKAJF() {
+ return lBOJBLCKAJF;
+ }
+
+ /**
+ * optional bool LBOJBLCKAJF = 2;
+ * @param value the lBOJBLCKAJF to set
+ * @return this
+ */
+ public ChallengePeakSettleScNotify setLBOJBLCKAJF(final boolean value) {
+ bitField0_ |= 0x00000008;
+ lBOJBLCKAJF = value;
+ return this;
+ }
+
+ /**
+ * optional bool KJFCNFOGCHP = 3;
+ * @return whether the kJFCNFOGCHP field is set
+ */
+ public boolean hasKJFCNFOGCHP() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * optional bool KJFCNFOGCHP = 3;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearKJFCNFOGCHP() {
+ bitField0_ &= ~0x00000010;
+ kJFCNFOGCHP = false;
+ return this;
+ }
+
+ /**
+ * optional bool KJFCNFOGCHP = 3;
+ * @return the kJFCNFOGCHP
+ */
+ public boolean getKJFCNFOGCHP() {
+ return kJFCNFOGCHP;
+ }
+
+ /**
+ * optional bool KJFCNFOGCHP = 3;
+ * @param value the kJFCNFOGCHP to set
+ * @return this
+ */
+ public ChallengePeakSettleScNotify setKJFCNFOGCHP(final boolean value) {
+ bitField0_ |= 0x00000010;
+ kJFCNFOGCHP = value;
+ return this;
+ }
+
+ /**
+ * optional bool GEKPDLJNOHA = 8;
+ * @return whether the gEKPDLJNOHA field is set
+ */
+ public boolean hasGEKPDLJNOHA() {
+ return (bitField0_ & 0x00000020) != 0;
+ }
+
+ /**
+ * optional bool GEKPDLJNOHA = 8;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearGEKPDLJNOHA() {
+ bitField0_ &= ~0x00000020;
+ gEKPDLJNOHA = false;
+ return this;
+ }
+
+ /**
+ * optional bool GEKPDLJNOHA = 8;
+ * @return the gEKPDLJNOHA
+ */
+ public boolean getGEKPDLJNOHA() {
+ return gEKPDLJNOHA;
+ }
+
+ /**
+ * optional bool GEKPDLJNOHA = 8;
+ * @param value the gEKPDLJNOHA to set
+ * @return this
+ */
+ public ChallengePeakSettleScNotify setGEKPDLJNOHA(final boolean value) {
+ bitField0_ |= 0x00000020;
+ gEKPDLJNOHA = value;
+ return this;
+ }
+
+ /**
+ * optional bool CMGKJJKNCNB = 11;
+ * @return whether the cMGKJJKNCNB field is set
+ */
+ public boolean hasCMGKJJKNCNB() {
+ return (bitField0_ & 0x00000040) != 0;
+ }
+
+ /**
+ * optional bool CMGKJJKNCNB = 11;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearCMGKJJKNCNB() {
+ bitField0_ &= ~0x00000040;
+ cMGKJJKNCNB = false;
+ return this;
+ }
+
+ /**
+ * optional bool CMGKJJKNCNB = 11;
+ * @return the cMGKJJKNCNB
+ */
+ public boolean getCMGKJJKNCNB() {
+ return cMGKJJKNCNB;
+ }
+
+ /**
+ * optional bool CMGKJJKNCNB = 11;
+ * @param value the cMGKJJKNCNB to set
+ * @return this
+ */
+ public ChallengePeakSettleScNotify setCMGKJJKNCNB(final boolean value) {
+ bitField0_ |= 0x00000040;
+ cMGKJJKNCNB = value;
+ return this;
+ }
+
+ /**
+ * optional bool is_win = 13;
+ * @return whether the isWin field is set
+ */
+ public boolean hasIsWin() {
+ return (bitField0_ & 0x00000080) != 0;
+ }
+
+ /**
+ * optional bool is_win = 13;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearIsWin() {
+ bitField0_ &= ~0x00000080;
+ isWin = false;
+ return this;
+ }
+
+ /**
+ * optional bool is_win = 13;
+ * @return the isWin
+ */
+ public boolean getIsWin() {
+ return isWin;
+ }
+
+ /**
+ * optional bool is_win = 13;
+ * @param value the isWin to set
+ * @return this
+ */
+ public ChallengePeakSettleScNotify setIsWin(final boolean value) {
+ bitField0_ |= 0x00000080;
+ isWin = value;
+ return this;
+ }
+
+ /**
+ * optional bool IIJODHANFDC = 15;
+ * @return whether the iIJODHANFDC field is set
+ */
+ public boolean hasIIJODHANFDC() {
+ return (bitField0_ & 0x00000100) != 0;
+ }
+
+ /**
+ * optional bool IIJODHANFDC = 15;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearIIJODHANFDC() {
+ bitField0_ &= ~0x00000100;
+ iIJODHANFDC = false;
+ return this;
+ }
+
+ /**
+ * optional bool IIJODHANFDC = 15;
+ * @return the iIJODHANFDC
+ */
+ public boolean getIIJODHANFDC() {
+ return iIJODHANFDC;
+ }
+
+ /**
+ * optional bool IIJODHANFDC = 15;
+ * @param value the iIJODHANFDC to set
+ * @return this
+ */
+ public ChallengePeakSettleScNotify setIIJODHANFDC(final boolean value) {
+ bitField0_ |= 0x00000100;
+ iIJODHANFDC = value;
+ return this;
+ }
+
+ /**
+ * repeated uint32 NKGLPNJHEON = 5;
+ * @return whether the nKGLPNJHEON field is set
+ */
+ public boolean hasNKGLPNJHEON() {
+ return (bitField0_ & 0x00000200) != 0;
+ }
+
+ /**
+ * repeated uint32 NKGLPNJHEON = 5;
+ * @return this
+ */
+ public ChallengePeakSettleScNotify clearNKGLPNJHEON() {
+ bitField0_ &= ~0x00000200;
+ nKGLPNJHEON.clear();
+ return this;
+ }
+
+ /**
+ * repeated uint32 NKGLPNJHEON = 5;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableNKGLPNJHEON()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getNKGLPNJHEON() {
+ return nKGLPNJHEON;
+ }
+
+ /**
+ * repeated uint32 NKGLPNJHEON = 5;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableNKGLPNJHEON() {
+ bitField0_ |= 0x00000200;
+ return nKGLPNJHEON;
+ }
+
+ /**
+ * repeated uint32 NKGLPNJHEON = 5;
+ * @param value the nKGLPNJHEON to add
+ * @return this
+ */
+ public ChallengePeakSettleScNotify addNKGLPNJHEON(final int value) {
+ bitField0_ |= 0x00000200;
+ nKGLPNJHEON.add(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 NKGLPNJHEON = 5;
+ * @param values the nKGLPNJHEON to add
+ * @return this
+ */
+ public ChallengePeakSettleScNotify addAllNKGLPNJHEON(final int... values) {
+ bitField0_ |= 0x00000200;
+ nKGLPNJHEON.addAll(values);
+ return this;
+ }
+
+ @Override
+ public ChallengePeakSettleScNotify copyFrom(final ChallengePeakSettleScNotify other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ challengePeakId = other.challengePeakId;
+ lBGCPOKPKBB = other.lBGCPOKPKBB;
+ gGICFFIOOGP = other.gGICFFIOOGP;
+ lBOJBLCKAJF = other.lBOJBLCKAJF;
+ kJFCNFOGCHP = other.kJFCNFOGCHP;
+ gEKPDLJNOHA = other.gEKPDLJNOHA;
+ cMGKJJKNCNB = other.cMGKJJKNCNB;
+ isWin = other.isWin;
+ iIJODHANFDC = other.iIJODHANFDC;
+ nKGLPNJHEON.copyFrom(other.nKGLPNJHEON);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakSettleScNotify mergeFrom(final ChallengePeakSettleScNotify other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasChallengePeakId()) {
+ setChallengePeakId(other.challengePeakId);
+ }
+ if (other.hasLBGCPOKPKBB()) {
+ setLBGCPOKPKBB(other.lBGCPOKPKBB);
+ }
+ if (other.hasGGICFFIOOGP()) {
+ setGGICFFIOOGP(other.gGICFFIOOGP);
+ }
+ if (other.hasLBOJBLCKAJF()) {
+ setLBOJBLCKAJF(other.lBOJBLCKAJF);
+ }
+ if (other.hasKJFCNFOGCHP()) {
+ setKJFCNFOGCHP(other.kJFCNFOGCHP);
+ }
+ if (other.hasGEKPDLJNOHA()) {
+ setGEKPDLJNOHA(other.gEKPDLJNOHA);
+ }
+ if (other.hasCMGKJJKNCNB()) {
+ setCMGKJJKNCNB(other.cMGKJJKNCNB);
+ }
+ if (other.hasIsWin()) {
+ setIsWin(other.isWin);
+ }
+ if (other.hasIIJODHANFDC()) {
+ setIIJODHANFDC(other.iIJODHANFDC);
+ }
+ if (other.hasNKGLPNJHEON()) {
+ getMutableNKGLPNJHEON().addAll(other.nKGLPNJHEON);
+ }
+ return this;
+ }
+
+ @Override
+ public ChallengePeakSettleScNotify clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ challengePeakId = 0;
+ lBGCPOKPKBB = 0;
+ gGICFFIOOGP = 0;
+ lBOJBLCKAJF = false;
+ kJFCNFOGCHP = false;
+ gEKPDLJNOHA = false;
+ cMGKJJKNCNB = false;
+ isWin = false;
+ iIJODHANFDC = false;
+ nKGLPNJHEON.clear();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakSettleScNotify clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ nKGLPNJHEON.clear();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChallengePeakSettleScNotify)) {
+ return false;
+ }
+ ChallengePeakSettleScNotify other = (ChallengePeakSettleScNotify) o;
+ return bitField0_ == other.bitField0_
+ && (!hasChallengePeakId() || challengePeakId == other.challengePeakId)
+ && (!hasLBGCPOKPKBB() || lBGCPOKPKBB == other.lBGCPOKPKBB)
+ && (!hasGGICFFIOOGP() || gGICFFIOOGP == other.gGICFFIOOGP)
+ && (!hasLBOJBLCKAJF() || lBOJBLCKAJF == other.lBOJBLCKAJF)
+ && (!hasKJFCNFOGCHP() || kJFCNFOGCHP == other.kJFCNFOGCHP)
+ && (!hasGEKPDLJNOHA() || gEKPDLJNOHA == other.gEKPDLJNOHA)
+ && (!hasCMGKJJKNCNB() || cMGKJJKNCNB == other.cMGKJJKNCNB)
+ && (!hasIsWin() || isWin == other.isWin)
+ && (!hasIIJODHANFDC() || iIJODHANFDC == other.iIJODHANFDC)
+ && (!hasNKGLPNJHEON() || nKGLPNJHEON.equals(other.nKGLPNJHEON));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 48);
+ output.writeUInt32NoTag(challengePeakId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 56);
+ output.writeUInt32NoTag(lBGCPOKPKBB);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 80);
+ output.writeUInt32NoTag(gGICFFIOOGP);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 16);
+ output.writeBoolNoTag(lBOJBLCKAJF);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeRawByte((byte) 24);
+ output.writeBoolNoTag(kJFCNFOGCHP);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ output.writeRawByte((byte) 64);
+ output.writeBoolNoTag(gEKPDLJNOHA);
+ }
+ if ((bitField0_ & 0x00000040) != 0) {
+ output.writeRawByte((byte) 88);
+ output.writeBoolNoTag(cMGKJJKNCNB);
+ }
+ if ((bitField0_ & 0x00000080) != 0) {
+ output.writeRawByte((byte) 104);
+ output.writeBoolNoTag(isWin);
+ }
+ if ((bitField0_ & 0x00000100) != 0) {
+ output.writeRawByte((byte) 120);
+ output.writeBoolNoTag(iIJODHANFDC);
+ }
+ if ((bitField0_ & 0x00000200) != 0) {
+ for (int i = 0; i < nKGLPNJHEON.length(); i++) {
+ output.writeRawByte((byte) 40);
+ output.writeUInt32NoTag(nKGLPNJHEON.array()[i]);
+ }
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(challengePeakId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(lBGCPOKPKBB);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(gGICFFIOOGP);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += 2;
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ size += 2;
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ size += 2;
+ }
+ if ((bitField0_ & 0x00000040) != 0) {
+ size += 2;
+ }
+ if ((bitField0_ & 0x00000080) != 0) {
+ size += 2;
+ }
+ if ((bitField0_ & 0x00000100) != 0) {
+ size += 2;
+ }
+ if ((bitField0_ & 0x00000200) != 0) {
+ size += (1 * nKGLPNJHEON.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(nKGLPNJHEON);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChallengePeakSettleScNotify mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 48: {
+ // challengePeakId
+ challengePeakId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 56) {
+ break;
+ }
+ }
+ case 56: {
+ // lBGCPOKPKBB
+ lBGCPOKPKBB = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 80) {
+ break;
+ }
+ }
+ case 80: {
+ // gGICFFIOOGP
+ gGICFFIOOGP = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 16) {
+ break;
+ }
+ }
+ case 16: {
+ // lBOJBLCKAJF
+ lBOJBLCKAJF = input.readBool();
+ bitField0_ |= 0x00000008;
+ tag = input.readTag();
+ if (tag != 24) {
+ break;
+ }
+ }
+ case 24: {
+ // kJFCNFOGCHP
+ kJFCNFOGCHP = input.readBool();
+ bitField0_ |= 0x00000010;
+ tag = input.readTag();
+ if (tag != 64) {
+ break;
+ }
+ }
+ case 64: {
+ // gEKPDLJNOHA
+ gEKPDLJNOHA = input.readBool();
+ bitField0_ |= 0x00000020;
+ tag = input.readTag();
+ if (tag != 88) {
+ break;
+ }
+ }
+ case 88: {
+ // cMGKJJKNCNB
+ cMGKJJKNCNB = input.readBool();
+ bitField0_ |= 0x00000040;
+ tag = input.readTag();
+ if (tag != 104) {
+ break;
+ }
+ }
+ case 104: {
+ // isWin
+ isWin = input.readBool();
+ bitField0_ |= 0x00000080;
+ tag = input.readTag();
+ if (tag != 120) {
+ break;
+ }
+ }
+ case 120: {
+ // iIJODHANFDC
+ iIJODHANFDC = input.readBool();
+ bitField0_ |= 0x00000100;
+ tag = input.readTag();
+ if (tag != 42) {
+ break;
+ }
+ }
+ case 42: {
+ // nKGLPNJHEON [packed=true]
+ input.readPackedUInt32(nKGLPNJHEON, tag);
+ bitField0_ |= 0x00000200;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ case 40: {
+ // nKGLPNJHEON [packed=false]
+ tag = input.readRepeatedUInt32(nKGLPNJHEON, tag);
+ bitField0_ |= 0x00000200;
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.challengePeakId, challengePeakId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.lBGCPOKPKBB, lBGCPOKPKBB);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeUInt32(FieldNames.gGICFFIOOGP, gGICFFIOOGP);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeBool(FieldNames.lBOJBLCKAJF, lBOJBLCKAJF);
+ }
+ if ((bitField0_ & 0x00000010) != 0) {
+ output.writeBool(FieldNames.kJFCNFOGCHP, kJFCNFOGCHP);
+ }
+ if ((bitField0_ & 0x00000020) != 0) {
+ output.writeBool(FieldNames.gEKPDLJNOHA, gEKPDLJNOHA);
+ }
+ if ((bitField0_ & 0x00000040) != 0) {
+ output.writeBool(FieldNames.cMGKJJKNCNB, cMGKJJKNCNB);
+ }
+ if ((bitField0_ & 0x00000080) != 0) {
+ output.writeBool(FieldNames.isWin, isWin);
+ }
+ if ((bitField0_ & 0x00000100) != 0) {
+ output.writeBool(FieldNames.iIJODHANFDC, iIJODHANFDC);
+ }
+ if ((bitField0_ & 0x00000200) != 0) {
+ output.writeRepeatedUInt32(FieldNames.nKGLPNJHEON, nKGLPNJHEON);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public ChallengePeakSettleScNotify mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 1075253405:
+ case -117346145: {
+ if (input.isAtField(FieldNames.challengePeakId)) {
+ if (!input.trySkipNullValue()) {
+ challengePeakId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -1866104171: {
+ if (input.isAtField(FieldNames.lBGCPOKPKBB)) {
+ if (!input.trySkipNullValue()) {
+ lBGCPOKPKBB = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1976538776: {
+ if (input.isAtField(FieldNames.gGICFFIOOGP)) {
+ if (!input.trySkipNullValue()) {
+ gGICFFIOOGP = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 535316186: {
+ if (input.isAtField(FieldNames.lBOJBLCKAJF)) {
+ if (!input.trySkipNullValue()) {
+ lBOJBLCKAJF = input.readBool();
+ bitField0_ |= 0x00000008;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -1863057633: {
+ if (input.isAtField(FieldNames.kJFCNFOGCHP)) {
+ if (!input.trySkipNullValue()) {
+ kJFCNFOGCHP = input.readBool();
+ bitField0_ |= 0x00000010;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -1665983975: {
+ if (input.isAtField(FieldNames.gEKPDLJNOHA)) {
+ if (!input.trySkipNullValue()) {
+ gEKPDLJNOHA = input.readBool();
+ bitField0_ |= 0x00000020;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -855779034: {
+ if (input.isAtField(FieldNames.cMGKJJKNCNB)) {
+ if (!input.trySkipNullValue()) {
+ cMGKJJKNCNB = input.readBool();
+ bitField0_ |= 0x00000040;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 100482642:
+ case -1179753657: {
+ if (input.isAtField(FieldNames.isWin)) {
+ if (!input.trySkipNullValue()) {
+ isWin = input.readBool();
+ bitField0_ |= 0x00000080;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -1809166353: {
+ if (input.isAtField(FieldNames.iIJODHANFDC)) {
+ if (!input.trySkipNullValue()) {
+ iIJODHANFDC = input.readBool();
+ bitField0_ |= 0x00000100;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -163066362: {
+ if (input.isAtField(FieldNames.nKGLPNJHEON)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(nKGLPNJHEON);
+ bitField0_ |= 0x00000200;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public ChallengePeakSettleScNotify clone() {
+ return new ChallengePeakSettleScNotify().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static ChallengePeakSettleScNotify parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChallengePeakSettleScNotify(), data).checkInitialized();
+ }
+
+ public static ChallengePeakSettleScNotify parseFrom(final ProtoSource input) throws
+ IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakSettleScNotify(), input).checkInitialized();
+ }
+
+ public static ChallengePeakSettleScNotify parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChallengePeakSettleScNotify(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating ChallengePeakSettleScNotify messages
+ */
+ public static MessageFactoryoptional uint64 taken_challenge_reward = 3;
+ * optional uint64 taken_challenge_reward = 14;
*/
private long takenChallengeReward;
/**
- * optional uint32 group_id = 1;
+ * optional uint32 group_id = 3;
*/
private int groupId;
@@ -39,7 +39,7 @@ public final class ChallengeRewardOuterClass {
}
/**
- * optional uint64 taken_challenge_reward = 3;
+ * optional uint64 taken_challenge_reward = 14;
* @return whether the takenChallengeReward field is set
*/
public boolean hasTakenChallengeReward() {
@@ -47,7 +47,7 @@ public final class ChallengeRewardOuterClass {
}
/**
- * optional uint64 taken_challenge_reward = 3;
+ * optional uint64 taken_challenge_reward = 14;
* @return this
*/
public ChallengeReward clearTakenChallengeReward() {
@@ -57,7 +57,7 @@ public final class ChallengeRewardOuterClass {
}
/**
- * optional uint64 taken_challenge_reward = 3;
+ * optional uint64 taken_challenge_reward = 14;
* @return the takenChallengeReward
*/
public long getTakenChallengeReward() {
@@ -65,7 +65,7 @@ public final class ChallengeRewardOuterClass {
}
/**
- * optional uint64 taken_challenge_reward = 3;
+ * optional uint64 taken_challenge_reward = 14;
* @param value the takenChallengeReward to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ChallengeRewardOuterClass {
}
/**
- * optional uint32 group_id = 1;
+ * optional uint32 group_id = 3;
* @return whether the groupId field is set
*/
public boolean hasGroupId() {
@@ -84,7 +84,7 @@ public final class ChallengeRewardOuterClass {
}
/**
- * optional uint32 group_id = 1;
+ * optional uint32 group_id = 3;
* @return this
*/
public ChallengeReward clearGroupId() {
@@ -94,7 +94,7 @@ public final class ChallengeRewardOuterClass {
}
/**
- * optional uint32 group_id = 1;
+ * optional uint32 group_id = 3;
* @return the groupId
*/
public int getGroupId() {
@@ -102,7 +102,7 @@ public final class ChallengeRewardOuterClass {
}
/**
- * optional uint32 group_id = 1;
+ * optional uint32 group_id = 3;
* @param value the groupId to set
* @return this
*/
@@ -177,11 +177,11 @@ public final class ChallengeRewardOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 24);
+ output.writeRawByte((byte) 112);
output.writeUInt64NoTag(takenChallengeReward);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 8);
+ output.writeRawByte((byte) 24);
output.writeUInt32NoTag(groupId);
}
}
@@ -205,16 +205,16 @@ public final class ChallengeRewardOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 24: {
+ case 112: {
// takenChallengeReward
takenChallengeReward = input.readUInt64();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 8) {
+ if (tag != 24) {
break;
}
}
- case 8: {
+ case 24: {
// groupId
groupId = input.readUInt32();
bitField0_ |= 0x00000002;
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeSettleNotifyOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeSettleNotifyOuterClass.java
index 4ef1dbd..48e0c56 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeSettleNotifyOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeSettleNotifyOuterClass.java
@@ -10,6 +10,7 @@ import us.hebi.quickbuf.MessageFactory;
import us.hebi.quickbuf.ProtoMessage;
import us.hebi.quickbuf.ProtoSink;
import us.hebi.quickbuf.ProtoSource;
+import us.hebi.quickbuf.RepeatedInt;
public final class ChallengeSettleNotifyOuterClass {
/**
@@ -19,34 +20,44 @@ public final class ChallengeSettleNotifyOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 challenge_score = 1;
- */
- private int challengeScore;
-
- /**
- * optional uint32 challenge_id = 5;
+ * optional uint32 challenge_id = 1;
*/
private int challengeId;
/**
- * optional uint32 score_two = 12;
- */
- private int scoreTwo;
-
- /**
- * optional uint32 stars = 14;
+ * optional uint32 stars = 4;
*/
private int stars;
/**
- * optional bool is_win = 4;
+ * optional uint32 challenge_score = 14;
+ */
+ private int challengeScore;
+
+ /**
+ * optional uint32 score_two = 15;
+ */
+ private int scoreTwo;
+
+ /**
+ * optional bool is_win = 12;
*/
private boolean isWin;
/**
- * optional .ItemList reward = 10;
+ * optional .ItemList reward_list = 10;
*/
- private final ItemListOuterClass.ItemList reward = ItemListOuterClass.ItemList.newInstance();
+ private final ItemListOuterClass.ItemList rewardList = ItemListOuterClass.ItemList.newInstance();
+
+ /**
+ * optional .ChallengeInfo challenge_info = 11;
+ */
+ private final ChallengeInfoOuterClass.ChallengeInfo challengeInfo = ChallengeInfoOuterClass.ChallengeInfo.newInstance();
+
+ /**
+ * repeated uint32 challenge_id_list = 9;
+ */
+ private final RepeatedInt challengeIdList = RepeatedInt.newEmptyInstance();
private ChallengeSettleNotify() {
}
@@ -59,62 +70,25 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
- * optional uint32 challenge_score = 1;
- * @return whether the challengeScore field is set
+ * optional uint32 challenge_id = 1;
+ * @return whether the challengeId field is set
*/
- public boolean hasChallengeScore() {
+ public boolean hasChallengeId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 challenge_score = 1;
- * @return this
- */
- public ChallengeSettleNotify clearChallengeScore() {
- bitField0_ &= ~0x00000001;
- challengeScore = 0;
- return this;
- }
-
- /**
- * optional uint32 challenge_score = 1;
- * @return the challengeScore
- */
- public int getChallengeScore() {
- return challengeScore;
- }
-
- /**
- * optional uint32 challenge_score = 1;
- * @param value the challengeScore to set
- * @return this
- */
- public ChallengeSettleNotify setChallengeScore(final int value) {
- bitField0_ |= 0x00000001;
- challengeScore = value;
- return this;
- }
-
- /**
- * optional uint32 challenge_id = 5;
- * @return whether the challengeId field is set
- */
- public boolean hasChallengeId() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 challenge_id = 5;
+ * optional uint32 challenge_id = 1;
* @return this
*/
public ChallengeSettleNotify clearChallengeId() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000001;
challengeId = 0;
return this;
}
/**
- * optional uint32 challenge_id = 5;
+ * optional uint32 challenge_id = 1;
* @return the challengeId
*/
public int getChallengeId() {
@@ -122,73 +96,36 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
- * optional uint32 challenge_id = 5;
+ * optional uint32 challenge_id = 1;
* @param value the challengeId to set
* @return this
*/
public ChallengeSettleNotify setChallengeId(final int value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
challengeId = value;
return this;
}
/**
- * optional uint32 score_two = 12;
- * @return whether the scoreTwo field is set
- */
- public boolean hasScoreTwo() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 score_two = 12;
- * @return this
- */
- public ChallengeSettleNotify clearScoreTwo() {
- bitField0_ &= ~0x00000004;
- scoreTwo = 0;
- return this;
- }
-
- /**
- * optional uint32 score_two = 12;
- * @return the scoreTwo
- */
- public int getScoreTwo() {
- return scoreTwo;
- }
-
- /**
- * optional uint32 score_two = 12;
- * @param value the scoreTwo to set
- * @return this
- */
- public ChallengeSettleNotify setScoreTwo(final int value) {
- bitField0_ |= 0x00000004;
- scoreTwo = value;
- return this;
- }
-
- /**
- * optional uint32 stars = 14;
+ * optional uint32 stars = 4;
* @return whether the stars field is set
*/
public boolean hasStars() {
- return (bitField0_ & 0x00000008) != 0;
+ return (bitField0_ & 0x00000002) != 0;
}
/**
- * optional uint32 stars = 14;
+ * optional uint32 stars = 4;
* @return this
*/
public ChallengeSettleNotify clearStars() {
- bitField0_ &= ~0x00000008;
+ bitField0_ &= ~0x00000002;
stars = 0;
return this;
}
/**
- * optional uint32 stars = 14;
+ * optional uint32 stars = 4;
* @return the stars
*/
public int getStars() {
@@ -196,18 +133,92 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
- * optional uint32 stars = 14;
+ * optional uint32 stars = 4;
* @param value the stars to set
* @return this
*/
public ChallengeSettleNotify setStars(final int value) {
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000002;
stars = value;
return this;
}
/**
- * optional bool is_win = 4;
+ * optional uint32 challenge_score = 14;
+ * @return whether the challengeScore field is set
+ */
+ public boolean hasChallengeScore() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 challenge_score = 14;
+ * @return this
+ */
+ public ChallengeSettleNotify clearChallengeScore() {
+ bitField0_ &= ~0x00000004;
+ challengeScore = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 challenge_score = 14;
+ * @return the challengeScore
+ */
+ public int getChallengeScore() {
+ return challengeScore;
+ }
+
+ /**
+ * optional uint32 challenge_score = 14;
+ * @param value the challengeScore to set
+ * @return this
+ */
+ public ChallengeSettleNotify setChallengeScore(final int value) {
+ bitField0_ |= 0x00000004;
+ challengeScore = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 score_two = 15;
+ * @return whether the scoreTwo field is set
+ */
+ public boolean hasScoreTwo() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional uint32 score_two = 15;
+ * @return this
+ */
+ public ChallengeSettleNotify clearScoreTwo() {
+ bitField0_ &= ~0x00000008;
+ scoreTwo = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 score_two = 15;
+ * @return the scoreTwo
+ */
+ public int getScoreTwo() {
+ return scoreTwo;
+ }
+
+ /**
+ * optional uint32 score_two = 15;
+ * @param value the scoreTwo to set
+ * @return this
+ */
+ public ChallengeSettleNotify setScoreTwo(final int value) {
+ bitField0_ |= 0x00000008;
+ scoreTwo = value;
+ return this;
+ }
+
+ /**
+ * optional bool is_win = 12;
* @return whether the isWin field is set
*/
public boolean hasIsWin() {
@@ -215,7 +226,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
- * optional bool is_win = 4;
+ * optional bool is_win = 12;
* @return this
*/
public ChallengeSettleNotify clearIsWin() {
@@ -225,7 +236,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
- * optional bool is_win = 4;
+ * optional bool is_win = 12;
* @return the isWin
*/
public boolean getIsWin() {
@@ -233,7 +244,7 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
- * optional bool is_win = 4;
+ * optional bool is_win = 12;
* @param value the isWin to set
* @return this
*/
@@ -244,39 +255,39 @@ public final class ChallengeSettleNotifyOuterClass {
}
/**
- * optional .ItemList reward = 10;
- * @return whether the reward field is set
+ * optional .ItemList reward_list = 10;
+ * @return whether the rewardList field is set
*/
- public boolean hasReward() {
+ public boolean hasRewardList() {
return (bitField0_ & 0x00000020) != 0;
}
/**
- * optional .ItemList reward = 10;
+ * optional .ItemList reward_list = 10;
* @return this
*/
- public ChallengeSettleNotify clearReward() {
+ public ChallengeSettleNotify clearRewardList() {
bitField0_ &= ~0x00000020;
- reward.clear();
+ rewardList.clear();
return this;
}
/**
- * optional .ItemList reward = 10;
+ * optional .ItemList reward_list = 10;
*
* 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.
*
- * Use {@link #getMutableReward()} if you want to modify it.
+ * Use {@link #getMutableRewardList()} if you want to modify it.
*
* @return internal storage object for reading
*/
- public ItemListOuterClass.ItemList getReward() {
- return reward;
+ public ItemListOuterClass.ItemList getRewardList() {
+ return rewardList;
}
/**
- * optional .ItemList reward = 10;
+ * optional .ItemList reward_list = 10;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -284,19 +295,145 @@ public final class ChallengeSettleNotifyOuterClass {
*
* @return internal storage object for modifications
*/
- public ItemListOuterClass.ItemList getMutableReward() {
+ public ItemListOuterClass.ItemList getMutableRewardList() {
bitField0_ |= 0x00000020;
- return reward;
+ return rewardList;
}
/**
- * optional .ItemList reward = 10;
- * @param value the reward to set
+ * optional .ItemList reward_list = 10;
+ * @param value the rewardList to set
* @return this
*/
- public ChallengeSettleNotify setReward(final ItemListOuterClass.ItemList value) {
+ public ChallengeSettleNotify setRewardList(final ItemListOuterClass.ItemList value) {
bitField0_ |= 0x00000020;
- reward.copyFrom(value);
+ rewardList.copyFrom(value);
+ return this;
+ }
+
+ /**
+ * optional .ChallengeInfo challenge_info = 11;
+ * @return whether the challengeInfo field is set
+ */
+ public boolean hasChallengeInfo() {
+ return (bitField0_ & 0x00000040) != 0;
+ }
+
+ /**
+ * optional .ChallengeInfo challenge_info = 11;
+ * @return this
+ */
+ public ChallengeSettleNotify clearChallengeInfo() {
+ bitField0_ &= ~0x00000040;
+ challengeInfo.clear();
+ return this;
+ }
+
+ /**
+ * optional .ChallengeInfo challenge_info = 11;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableChallengeInfo()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public ChallengeInfoOuterClass.ChallengeInfo getChallengeInfo() {
+ return challengeInfo;
+ }
+
+ /**
+ * optional .ChallengeInfo challenge_info = 11;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public ChallengeInfoOuterClass.ChallengeInfo getMutableChallengeInfo() {
+ bitField0_ |= 0x00000040;
+ return challengeInfo;
+ }
+
+ /**
+ * optional .ChallengeInfo challenge_info = 11;
+ * @param value the challengeInfo to set
+ * @return this
+ */
+ public ChallengeSettleNotify setChallengeInfo(
+ final ChallengeInfoOuterClass.ChallengeInfo value) {
+ bitField0_ |= 0x00000040;
+ challengeInfo.copyFrom(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 challenge_id_list = 9;
+ * @return whether the challengeIdList field is set
+ */
+ public boolean hasChallengeIdList() {
+ return (bitField0_ & 0x00000080) != 0;
+ }
+
+ /**
+ * repeated uint32 challenge_id_list = 9;
+ * @return this
+ */
+ public ChallengeSettleNotify clearChallengeIdList() {
+ bitField0_ &= ~0x00000080;
+ challengeIdList.clear();
+ return this;
+ }
+
+ /**
+ * repeated uint32 challenge_id_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.
+ *
+ * Use {@link #getMutableChallengeIdList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedInt getChallengeIdList() {
+ return challengeIdList;
+ }
+
+ /**
+ * repeated uint32 challenge_id_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
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedInt getMutableChallengeIdList() {
+ bitField0_ |= 0x00000080;
+ return challengeIdList;
+ }
+
+ /**
+ * repeated uint32 challenge_id_list = 9;
+ * @param value the challengeIdList to add
+ * @return this
+ */
+ public ChallengeSettleNotify addChallengeIdList(final int value) {
+ bitField0_ |= 0x00000080;
+ challengeIdList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 challenge_id_list = 9;
+ * @param values the challengeIdList to add
+ * @return this
+ */
+ public ChallengeSettleNotify addAllChallengeIdList(final int... values) {
+ bitField0_ |= 0x00000080;
+ challengeIdList.addAll(values);
return this;
}
@@ -305,12 +442,14 @@ public final class ChallengeSettleNotifyOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- challengeScore = other.challengeScore;
challengeId = other.challengeId;
- scoreTwo = other.scoreTwo;
stars = other.stars;
+ challengeScore = other.challengeScore;
+ scoreTwo = other.scoreTwo;
isWin = other.isWin;
- reward.copyFrom(other.reward);
+ rewardList.copyFrom(other.rewardList);
+ challengeInfo.copyFrom(other.challengeInfo);
+ challengeIdList.copyFrom(other.challengeIdList);
}
return this;
}
@@ -321,23 +460,29 @@ public final class ChallengeSettleNotifyOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasChallengeScore()) {
- setChallengeScore(other.challengeScore);
- }
if (other.hasChallengeId()) {
setChallengeId(other.challengeId);
}
- if (other.hasScoreTwo()) {
- setScoreTwo(other.scoreTwo);
- }
if (other.hasStars()) {
setStars(other.stars);
}
+ if (other.hasChallengeScore()) {
+ setChallengeScore(other.challengeScore);
+ }
+ if (other.hasScoreTwo()) {
+ setScoreTwo(other.scoreTwo);
+ }
if (other.hasIsWin()) {
setIsWin(other.isWin);
}
- if (other.hasReward()) {
- getMutableReward().mergeFrom(other.reward);
+ if (other.hasRewardList()) {
+ getMutableRewardList().mergeFrom(other.rewardList);
+ }
+ if (other.hasChallengeInfo()) {
+ getMutableChallengeInfo().mergeFrom(other.challengeInfo);
+ }
+ if (other.hasChallengeIdList()) {
+ getMutableChallengeIdList().addAll(other.challengeIdList);
}
return this;
}
@@ -349,12 +494,14 @@ public final class ChallengeSettleNotifyOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- challengeScore = 0;
challengeId = 0;
- scoreTwo = 0;
stars = 0;
+ challengeScore = 0;
+ scoreTwo = 0;
isWin = false;
- reward.clear();
+ rewardList.clear();
+ challengeInfo.clear();
+ challengeIdList.clear();
return this;
}
@@ -365,7 +512,9 @@ public final class ChallengeSettleNotifyOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- reward.clearQuick();
+ rewardList.clearQuick();
+ challengeInfo.clearQuick();
+ challengeIdList.clear();
return this;
}
@@ -379,39 +528,51 @@ public final class ChallengeSettleNotifyOuterClass {
}
ChallengeSettleNotify other = (ChallengeSettleNotify) o;
return bitField0_ == other.bitField0_
- && (!hasChallengeScore() || challengeScore == other.challengeScore)
&& (!hasChallengeId() || challengeId == other.challengeId)
- && (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasStars() || stars == other.stars)
+ && (!hasChallengeScore() || challengeScore == other.challengeScore)
+ && (!hasScoreTwo() || scoreTwo == other.scoreTwo)
&& (!hasIsWin() || isWin == other.isWin)
- && (!hasReward() || reward.equals(other.reward));
+ && (!hasRewardList() || rewardList.equals(other.rewardList))
+ && (!hasChallengeInfo() || challengeInfo.equals(other.challengeInfo))
+ && (!hasChallengeIdList() || challengeIdList.equals(other.challengeIdList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(challengeScore);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 40);
output.writeUInt32NoTag(challengeId);
}
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 96);
- output.writeUInt32NoTag(scoreTwo);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 112);
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 32);
output.writeUInt32NoTag(stars);
}
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 112);
+ output.writeUInt32NoTag(challengeScore);
+ }
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 120);
+ output.writeUInt32NoTag(scoreTwo);
+ }
if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 32);
+ output.writeRawByte((byte) 96);
output.writeBoolNoTag(isWin);
}
if ((bitField0_ & 0x00000020) != 0) {
output.writeRawByte((byte) 82);
- output.writeMessageNoTag(reward);
+ output.writeMessageNoTag(rewardList);
+ }
+ if ((bitField0_ & 0x00000040) != 0) {
+ output.writeRawByte((byte) 90);
+ output.writeMessageNoTag(challengeInfo);
+ }
+ if ((bitField0_ & 0x00000080) != 0) {
+ for (int i = 0; i < challengeIdList.length(); i++) {
+ output.writeRawByte((byte) 72);
+ output.writeUInt32NoTag(challengeIdList.array()[i]);
+ }
}
}
@@ -419,22 +580,28 @@ public final class ChallengeSettleNotifyOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeScore);
- }
- if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeScore);
}
if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 2;
}
if ((bitField0_ & 0x00000020) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(reward);
+ size += 1 + ProtoSink.computeMessageSizeNoTag(rewardList);
+ }
+ if ((bitField0_ & 0x00000040) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(challengeInfo);
+ }
+ if ((bitField0_ & 0x00000080) != 0) {
+ size += (1 * challengeIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(challengeIdList);
}
return size;
}
@@ -447,42 +614,42 @@ public final class ChallengeSettleNotifyOuterClass {
while (true) {
switch (tag) {
case 8: {
- // challengeScore
- challengeScore = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 40) {
- break;
- }
- }
- case 40: {
// challengeId
challengeId = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 96) {
- break;
- }
- }
- case 96: {
- // scoreTwo
- scoreTwo = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 112) {
- break;
- }
- }
- case 112: {
- // stars
- stars = input.readUInt32();
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 32) {
break;
}
}
case 32: {
+ // stars
+ stars = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 112) {
+ break;
+ }
+ }
+ case 112: {
+ // challengeScore
+ challengeScore = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 120) {
+ break;
+ }
+ }
+ case 120: {
+ // scoreTwo
+ scoreTwo = input.readUInt32();
+ bitField0_ |= 0x00000008;
+ tag = input.readTag();
+ if (tag != 96) {
+ break;
+ }
+ }
+ case 96: {
// isWin
isWin = input.readBool();
bitField0_ |= 0x00000010;
@@ -492,10 +659,28 @@ public final class ChallengeSettleNotifyOuterClass {
}
}
case 82: {
- // reward
- input.readMessage(reward);
+ // rewardList
+ input.readMessage(rewardList);
bitField0_ |= 0x00000020;
tag = input.readTag();
+ if (tag != 90) {
+ break;
+ }
+ }
+ case 90: {
+ // challengeInfo
+ input.readMessage(challengeInfo);
+ bitField0_ |= 0x00000040;
+ tag = input.readTag();
+ if (tag != 74) {
+ break;
+ }
+ }
+ case 74: {
+ // challengeIdList [packed=true]
+ input.readPackedUInt32(challengeIdList, tag);
+ bitField0_ |= 0x00000080;
+ tag = input.readTag();
if (tag != 0) {
break;
}
@@ -510,6 +695,12 @@ public final class ChallengeSettleNotifyOuterClass {
tag = input.readTag();
break;
}
+ case 72: {
+ // challengeIdList [packed=false]
+ tag = input.readRepeatedUInt32(challengeIdList, tag);
+ bitField0_ |= 0x00000080;
+ break;
+ }
}
}
}
@@ -518,22 +709,28 @@ public final class ChallengeSettleNotifyOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.challengeScore, challengeScore);
- }
- if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.challengeId, challengeId);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeUInt32(FieldNames.stars, stars);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
+ output.writeUInt32(FieldNames.challengeScore, challengeScore);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt32(FieldNames.stars, stars);
+ output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeBool(FieldNames.isWin, isWin);
}
if ((bitField0_ & 0x00000020) != 0) {
- output.writeMessage(FieldNames.reward, reward);
+ output.writeMessage(FieldNames.rewardList, rewardList);
+ }
+ if ((bitField0_ & 0x00000040) != 0) {
+ output.writeMessage(FieldNames.challengeInfo, challengeInfo);
+ }
+ if ((bitField0_ & 0x00000080) != 0) {
+ output.writeRepeatedUInt32(FieldNames.challengeIdList, challengeIdList);
}
output.endObject();
}
@@ -545,11 +742,11 @@ public final class ChallengeSettleNotifyOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 591599599:
- case 1517684662: {
- if (input.isAtField(FieldNames.challengeScore)) {
+ case -689112866:
+ case 112359031: {
+ if (input.isAtField(FieldNames.challengeId)) {
if (!input.trySkipNullValue()) {
- challengeScore = input.readUInt32();
+ challengeId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -557,11 +754,10 @@ public final class ChallengeSettleNotifyOuterClass {
}
break;
}
- case -689112866:
- case 112359031: {
- if (input.isAtField(FieldNames.challengeId)) {
+ case 109757537: {
+ if (input.isAtField(FieldNames.stars)) {
if (!input.trySkipNullValue()) {
- challengeId = input.readUInt32();
+ stars = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -569,22 +765,23 @@ public final class ChallengeSettleNotifyOuterClass {
}
break;
}
+ case 591599599:
+ case 1517684662: {
+ if (input.isAtField(FieldNames.challengeScore)) {
+ if (!input.trySkipNullValue()) {
+ challengeScore = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
case -485512614:
case 2129303327: {
if (input.isAtField(FieldNames.scoreTwo)) {
if (!input.trySkipNullValue()) {
scoreTwo = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 109757537: {
- if (input.isAtField(FieldNames.stars)) {
- if (!input.trySkipNullValue()) {
- stars = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -604,10 +801,11 @@ public final class ChallengeSettleNotifyOuterClass {
}
break;
}
- case -934326481: {
- if (input.isAtField(FieldNames.reward)) {
+ case 1690977389:
+ case 898318254: {
+ if (input.isAtField(FieldNames.rewardList)) {
if (!input.trySkipNullValue()) {
- input.readMessage(reward);
+ input.readMessage(rewardList);
bitField0_ |= 0x00000020;
}
} else {
@@ -615,6 +813,30 @@ public final class ChallengeSettleNotifyOuterClass {
}
break;
}
+ case -812487759:
+ case 602859274: {
+ if (input.isAtField(FieldNames.challengeInfo)) {
+ if (!input.trySkipNullValue()) {
+ input.readMessage(challengeInfo);
+ bitField0_ |= 0x00000040;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 873299612:
+ case -2065341082: {
+ if (input.isAtField(FieldNames.challengeIdList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedUInt32(challengeIdList);
+ bitField0_ |= 0x00000080;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
default: {
input.skipUnknownField();
break;
@@ -668,17 +890,21 @@ public final class ChallengeSettleNotifyOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName challengeScore = FieldName.forField("challengeScore", "challenge_score");
-
static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");
- static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
-
static final FieldName stars = FieldName.forField("stars");
+ static final FieldName challengeScore = FieldName.forField("challengeScore", "challenge_score");
+
+ static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");
+
static final FieldName isWin = FieldName.forField("isWin", "is_win");
- static final FieldName reward = FieldName.forField("reward");
+ static final FieldName rewardList = FieldName.forField("rewardList", "reward_list");
+
+ static final FieldName challengeInfo = FieldName.forField("challengeInfo", "challenge_info");
+
+ static final FieldName challengeIdList = FieldName.forField("challengeIdList", "challenge_id_list");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeStoryBuffInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeStoryBuffInfoOuterClass.java
index 50a25e8..9fa0c38 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeStoryBuffInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeStoryBuffInfoOuterClass.java
@@ -20,7 +20,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
- * repeated uint32 buff_list = 1;
+ * repeated uint32 buff_list = 15;
*/
private final RepeatedInt buffList = RepeatedInt.newEmptyInstance();
@@ -35,7 +35,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 1;
+ * repeated uint32 buff_list = 15;
* @return whether the buffList field is set
*/
public boolean hasBuffList() {
@@ -43,7 +43,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 1;
+ * repeated uint32 buff_list = 15;
* @return this
*/
public ChallengeStoryBuffInfo clearBuffList() {
@@ -53,7 +53,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 1;
+ * repeated uint32 buff_list = 15;
*
* 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.
@@ -67,7 +67,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 1;
+ * repeated uint32 buff_list = 15;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -81,7 +81,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 1;
+ * repeated uint32 buff_list = 15;
* @param value the buffList to add
* @return this
*/
@@ -92,7 +92,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
}
/**
- * repeated uint32 buff_list = 1;
+ * repeated uint32 buff_list = 15;
* @param values the buffList to add
* @return this
*/
@@ -163,7 +163,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
for (int i = 0; i < buffList.length(); i++) {
- output.writeRawByte((byte) 8);
+ output.writeRawByte((byte) 120);
output.writeUInt32NoTag(buffList.array()[i]);
}
}
@@ -185,7 +185,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 10: {
+ case 122: {
// buffList [packed=true]
input.readPackedUInt32(buffList, tag);
bitField0_ |= 0x00000001;
@@ -204,7 +204,7 @@ public final class ChallengeStoryBuffInfoOuterClass {
tag = input.readTag();
break;
}
- case 8: {
+ case 120: {
// buffList [packed=false]
tag = input.readRepeatedUInt32(buffList, tag);
bitField0_ |= 0x00000001;
diff --git a/src/generated/main/emu/lunarcore/proto/ChallengeStoryInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChallengeStoryInfoOuterClass.java
index 51ba499..fcf224b 100644
--- a/src/generated/main/emu/lunarcore/proto/ChallengeStoryInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChallengeStoryInfoOuterClass.java
@@ -1,3 +1,4 @@
+// Code generated by protocol buffer compiler. Do not edit!
package emu.lunarcore.proto;
import java.io.IOException;
@@ -11,257 +12,406 @@ import us.hebi.quickbuf.ProtoSink;
import us.hebi.quickbuf.ProtoSource;
public final class ChallengeStoryInfoOuterClass {
+ /**
+ * Protobuf type {@code ChallengeStoryInfo}
+ */
public static final class ChallengeStoryInfo extends ProtoMessageoptional .ChallengeBossBuffInfo cur_boss_buffs = 2;
+ */
private final ChallengeBossBuffInfoOuterClass.ChallengeBossBuffInfo curBossBuffs = ChallengeBossBuffInfoOuterClass.ChallengeBossBuffInfo.newInstance();
-
+
+ /**
+ * optional .ChallengeStoryBuffInfo cur_story_buffs = 6;
+ */
private final ChallengeStoryBuffInfoOuterClass.ChallengeStoryBuffInfo curStoryBuffs = ChallengeStoryBuffInfoOuterClass.ChallengeStoryBuffInfo.newInstance();
-
+
+ private ChallengeStoryInfo() {
+ }
+
+ /**
+ * @return a new empty instance of {@code ChallengeStoryInfo}
+ */
public static ChallengeStoryInfo newInstance() {
return new ChallengeStoryInfo();
}
-
+
+ public boolean hasStoryInfo() {
+ return (((bitField0_ & 0x00000003)) != 0);
+ }
+
+ public ChallengeStoryInfo clearStoryInfo() {
+ if (hasStoryInfo()) {
+ clearCurBossBuffs();
+ clearCurStoryBuffs();
+ }
+ return this;
+ }
+
+ private void clearStoryInfoOtherCurBossBuffs() {
+ if ((((bitField0_ & 0x00000002)) != 0)) {
+ clearCurStoryBuffs();
+ }
+ }
+
+ private void clearStoryInfoOtherCurStoryBuffs() {
+ if ((((bitField0_ & 0x00000001)) != 0)) {
+ clearCurBossBuffs();
+ }
+ }
+
+ /**
+ * optional .ChallengeBossBuffInfo cur_boss_buffs = 2;
+ * @return whether the curBossBuffs field is set
+ */
public boolean hasCurBossBuffs() {
- return ((this.bitField0_ & 0x1) != 0);
+ return (bitField0_ & 0x00000001) != 0;
}
-
+
+ /**
+ * optional .ChallengeBossBuffInfo cur_boss_buffs = 2;
+ * @return this
+ */
public ChallengeStoryInfo clearCurBossBuffs() {
- this.bitField0_ &= 0xFFFFFFFE;
- this.curBossBuffs.clear();
+ bitField0_ &= ~0x00000001;
+ curBossBuffs.clear();
return this;
}
-
+
+ /**
+ * optional .ChallengeBossBuffInfo cur_boss_buffs = 2;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableCurBossBuffs()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
public ChallengeBossBuffInfoOuterClass.ChallengeBossBuffInfo getCurBossBuffs() {
- return this.curBossBuffs;
+ return curBossBuffs;
}
-
+
+ /**
+ * optional .ChallengeBossBuffInfo cur_boss_buffs = 2;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
public ChallengeBossBuffInfoOuterClass.ChallengeBossBuffInfo getMutableCurBossBuffs() {
- this.bitField0_ |= 0x1;
- return this.curBossBuffs;
+ clearStoryInfoOtherCurBossBuffs();
+ bitField0_ |= 0x00000001;
+ return curBossBuffs;
}
-
- public ChallengeStoryInfo setCurBossBuffs(ChallengeBossBuffInfoOuterClass.ChallengeBossBuffInfo value) {
- this.bitField0_ |= 0x1;
- this.curBossBuffs.copyFrom(value);
+
+ /**
+ * optional .ChallengeBossBuffInfo cur_boss_buffs = 2;
+ * @param value the curBossBuffs to set
+ * @return this
+ */
+ public ChallengeStoryInfo setCurBossBuffs(
+ final ChallengeBossBuffInfoOuterClass.ChallengeBossBuffInfo value) {
+ clearStoryInfoOtherCurBossBuffs();
+ bitField0_ |= 0x00000001;
+ curBossBuffs.copyFrom(value);
return this;
}
-
+
+ /**
+ * optional .ChallengeStoryBuffInfo cur_story_buffs = 6;
+ * @return whether the curStoryBuffs field is set
+ */
public boolean hasCurStoryBuffs() {
- return ((this.bitField0_ & 0x2) != 0);
+ return (bitField0_ & 0x00000002) != 0;
}
-
+
+ /**
+ * optional .ChallengeStoryBuffInfo cur_story_buffs = 6;
+ * @return this
+ */
public ChallengeStoryInfo clearCurStoryBuffs() {
- this.bitField0_ &= 0xFFFFFFFD;
- this.curStoryBuffs.clear();
+ bitField0_ &= ~0x00000002;
+ curStoryBuffs.clear();
return this;
}
-
+
+ /**
+ * optional .ChallengeStoryBuffInfo cur_story_buffs = 6;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableCurStoryBuffs()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
public ChallengeStoryBuffInfoOuterClass.ChallengeStoryBuffInfo getCurStoryBuffs() {
- return this.curStoryBuffs;
+ return curStoryBuffs;
}
-
+
+ /**
+ * optional .ChallengeStoryBuffInfo cur_story_buffs = 6;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
public ChallengeStoryBuffInfoOuterClass.ChallengeStoryBuffInfo getMutableCurStoryBuffs() {
- this.bitField0_ |= 0x2;
- return this.curStoryBuffs;
+ clearStoryInfoOtherCurStoryBuffs();
+ bitField0_ |= 0x00000002;
+ return curStoryBuffs;
}
-
- public ChallengeStoryInfo setCurStoryBuffs(ChallengeStoryBuffInfoOuterClass.ChallengeStoryBuffInfo value) {
- this.bitField0_ |= 0x2;
- this.curStoryBuffs.copyFrom(value);
+
+ /**
+ * optional .ChallengeStoryBuffInfo cur_story_buffs = 6;
+ * @param value the curStoryBuffs to set
+ * @return this
+ */
+ public ChallengeStoryInfo setCurStoryBuffs(
+ final ChallengeStoryBuffInfoOuterClass.ChallengeStoryBuffInfo value) {
+ clearStoryInfoOtherCurStoryBuffs();
+ bitField0_ |= 0x00000002;
+ curStoryBuffs.copyFrom(value);
return this;
}
-
- public ChallengeStoryInfo copyFrom(ChallengeStoryInfo other) {
- this.cachedSize = other.cachedSize;
- if ((this.bitField0_ | other.bitField0_) != 0) {
- this.bitField0_ = other.bitField0_;
- this.curBossBuffs.copyFrom(other.curBossBuffs);
- this.curStoryBuffs.copyFrom(other.curStoryBuffs);
- }
+
+ @Override
+ public ChallengeStoryInfo copyFrom(final ChallengeStoryInfo other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ curBossBuffs.copyFrom(other.curBossBuffs);
+ curStoryBuffs.copyFrom(other.curStoryBuffs);
+ }
return this;
}
-
- public ChallengeStoryInfo mergeFrom(ChallengeStoryInfo other) {
- if (other.isEmpty())
- return this;
- this.cachedSize = -1;
- if (other.hasCurBossBuffs())
- getMutableCurBossBuffs().mergeFrom(other.curBossBuffs);
- if (other.hasCurStoryBuffs())
- getMutableCurStoryBuffs().mergeFrom(other.curStoryBuffs);
+
+ @Override
+ public ChallengeStoryInfo mergeFrom(final ChallengeStoryInfo other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasCurBossBuffs()) {
+ getMutableCurBossBuffs().mergeFrom(other.curBossBuffs);
+ }
+ if (other.hasCurStoryBuffs()) {
+ getMutableCurStoryBuffs().mergeFrom(other.curStoryBuffs);
+ }
return this;
}
-
+
+ @Override
public ChallengeStoryInfo clear() {
- if (isEmpty())
- return this;
- this.cachedSize = -1;
- this.bitField0_ = 0;
- this.curBossBuffs.clear();
- this.curStoryBuffs.clear();
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ curBossBuffs.clear();
+ curStoryBuffs.clear();
return this;
}
-
+
+ @Override
public ChallengeStoryInfo clearQuick() {
- if (isEmpty())
- return this;
- this.cachedSize = -1;
- this.bitField0_ = 0;
- this.curBossBuffs.clearQuick();
- this.curStoryBuffs.clearQuick();
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ curBossBuffs.clearQuick();
+ curStoryBuffs.clearQuick();
return this;
}
-
+
+ @Override
public boolean equals(Object o) {
- if (o == this)
- return true;
- if (!(o instanceof ChallengeStoryInfo))
- return false;
- ChallengeStoryInfo other = (ChallengeStoryInfo)o;
- return (this.bitField0_ == other.bitField0_ && (
- !hasCurBossBuffs() || this.curBossBuffs.equals(other.curBossBuffs)) && (
- !hasCurStoryBuffs() || this.curStoryBuffs.equals(other.curStoryBuffs)));
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChallengeStoryInfo)) {
+ return false;
+ }
+ ChallengeStoryInfo other = (ChallengeStoryInfo) o;
+ return bitField0_ == other.bitField0_
+ && (!hasCurBossBuffs() || curBossBuffs.equals(other.curBossBuffs))
+ && (!hasCurStoryBuffs() || curStoryBuffs.equals(other.curStoryBuffs));
}
-
- public void writeTo(ProtoSink output) throws IOException {
- if ((this.bitField0_ & 0x1) != 0) {
- output.writeRawByte((byte)66);
- output.writeMessageNoTag(this.curBossBuffs);
- }
- if ((this.bitField0_ & 0x2) != 0) {
- output.writeRawByte((byte)74);
- output.writeMessageNoTag(this.curStoryBuffs);
- }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 18);
+ output.writeMessageNoTag(curBossBuffs);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 50);
+ output.writeMessageNoTag(curStoryBuffs);
+ }
}
-
+
+ @Override
protected int computeSerializedSize() {
int size = 0;
- if ((this.bitField0_ & 0x1) != 0)
- size += 1 + ProtoSink.computeMessageSizeNoTag(this.curBossBuffs);
- if ((this.bitField0_ & 0x2) != 0)
- size += 1 + ProtoSink.computeMessageSizeNoTag(this.curStoryBuffs);
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(curBossBuffs);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(curStoryBuffs);
+ }
return size;
}
-
- public ChallengeStoryInfo mergeFrom(ProtoSource input) throws IOException {
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChallengeStoryInfo mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
int tag = input.readTag();
while (true) {
switch (tag) {
- case 66:
- input.readMessage(this.curBossBuffs);
- this.bitField0_ |= 0x1;
+ case 18: {
+ // curBossBuffs
+ clearStoryInfoOtherCurBossBuffs();
+ input.readMessage(curBossBuffs);
+ bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 74)
- continue;
- case 74:
- input.readMessage(this.curStoryBuffs);
- this.bitField0_ |= 0x2;
+ if (tag != 50) {
+ break;
+ }
+ }
+ case 50: {
+ // curStoryBuffs
+ clearStoryInfoOtherCurStoryBuffs();
+ input.readMessage(curStoryBuffs);
+ bitField0_ |= 0x00000002;
tag = input.readTag();
- if (tag != 0)
- continue;
- case 0:
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
return this;
- }
- if (!input.skipField(tag))
- return this;
- tag = input.readTag();
- }
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
}
-
- public void writeTo(JsonSink output) throws IOException {
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
- if ((this.bitField0_ & 0x1) != 0)
- output.writeMessage(FieldNames.curBossBuffs, this.curBossBuffs);
- if ((this.bitField0_ & 0x2) != 0)
- output.writeMessage(FieldNames.curStoryBuffs, this.curStoryBuffs);
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeMessage(FieldNames.curBossBuffs, curBossBuffs);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeMessage(FieldNames.curStoryBuffs, curStoryBuffs);
+ }
output.endObject();
}
-
- public ChallengeStoryInfo mergeFrom(JsonSource input) throws IOException {
- if (!input.beginObject())
- return this;
+
+ @Override
+ public ChallengeStoryInfo mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
case -1632186189:
- case -340377971:
+ case -340377971: {
if (input.isAtField(FieldNames.curBossBuffs)) {
if (!input.trySkipNullValue()) {
- input.readMessage(this.curBossBuffs);
- this.bitField0_ |= 0x1;
- }
- continue;
- }
- input.skipUnknownField();
- continue;
- case -738440393:
+ clearStoryInfoOtherCurBossBuffs();
+ input.readMessage(curBossBuffs);
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
case -587091733:
+ case -738440393: {
if (input.isAtField(FieldNames.curStoryBuffs)) {
if (!input.trySkipNullValue()) {
- input.readMessage(this.curStoryBuffs);
- this.bitField0_ |= 0x2;
- }
- continue;
- }
+ clearStoryInfoOtherCurStoryBuffs();
+ input.readMessage(curStoryBuffs);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
input.skipUnknownField();
- continue;
- }
- input.skipUnknownField();
- }
+ break;
+ }
+ }
+ }
input.endObject();
return this;
}
-
+
+ @Override
public ChallengeStoryInfo clone() {
- return (new ChallengeStoryInfo()).copyFrom(this);
+ return new ChallengeStoryInfo().copyFrom(this);
}
-
+
+ @Override
public boolean isEmpty() {
- return (this.bitField0_ == 0);
+ return ((bitField0_) == 0);
}
-
- public static ChallengeStoryInfo parseFrom(byte[] data) throws InvalidProtocolBufferException {
- return (ChallengeStoryInfo)((ChallengeStoryInfo)ProtoMessage.mergeFrom(new ChallengeStoryInfo(), data)).checkInitialized();
+
+ public static ChallengeStoryInfo parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChallengeStoryInfo(), data).checkInitialized();
}
-
- public static ChallengeStoryInfo parseFrom(ProtoSource input) throws IOException {
- return (ChallengeStoryInfo)((ChallengeStoryInfo)ProtoMessage.mergeFrom(new ChallengeStoryInfo(), input)).checkInitialized();
+
+ public static ChallengeStoryInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChallengeStoryInfo(), input).checkInitialized();
}
-
- public static ChallengeStoryInfo parseFrom(JsonSource input) throws IOException {
- return (ChallengeStoryInfo)((ChallengeStoryInfo)ProtoMessage.mergeFrom(new ChallengeStoryInfo(), input)).checkInitialized();
+
+ public static ChallengeStoryInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChallengeStoryInfo(), input).checkInitialized();
}
-
+
+ /**
+ * @return factory for creating ChallengeStoryInfo messages
+ */
public static MessageFactoryoptional uint32 slot = 8;
+ * optional uint32 slot = 3;
*/
private int slot;
@@ -34,7 +34,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
}
/**
- * optional uint32 slot = 8;
+ * optional uint32 slot = 3;
* @return whether the slot field is set
*/
public boolean hasSlot() {
@@ -42,7 +42,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
}
/**
- * optional uint32 slot = 8;
+ * optional uint32 slot = 3;
* @return this
*/
public ChangeLineupLeaderCsReq clearSlot() {
@@ -52,7 +52,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
}
/**
- * optional uint32 slot = 8;
+ * optional uint32 slot = 3;
* @return the slot
*/
public int getSlot() {
@@ -60,7 +60,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
}
/**
- * optional uint32 slot = 8;
+ * optional uint32 slot = 3;
* @param value the slot to set
* @return this
*/
@@ -129,7 +129,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 64);
+ output.writeRawByte((byte) 24);
output.writeUInt32NoTag(slot);
}
}
@@ -150,7 +150,7 @@ public final class ChangeLineupLeaderCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 64: {
+ case 24: {
// slot
slot = input.readUInt32();
bitField0_ |= 0x00000001;
diff --git a/src/generated/main/emu/lunarcore/proto/ChangeLineupLeaderScRspOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChangeLineupLeaderScRspOuterClass.java
index c32aaaa..62e4ec8 100644
--- a/src/generated/main/emu/lunarcore/proto/ChangeLineupLeaderScRspOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ChangeLineupLeaderScRspOuterClass.java
@@ -19,12 +19,12 @@ public final class ChangeLineupLeaderScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 slot = 8;
+ * optional uint32 slot = 13;
*/
private int slot;
/**
- * optional uint32 retcode = 11;
+ * optional uint32 retcode = 14;
*/
private int retcode;
@@ -39,7 +39,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
- * optional uint32 slot = 8;
+ * optional uint32 slot = 13;
* @return whether the slot field is set
*/
public boolean hasSlot() {
@@ -47,7 +47,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
- * optional uint32 slot = 8;
+ * optional uint32 slot = 13;
* @return this
*/
public ChangeLineupLeaderScRsp clearSlot() {
@@ -57,7 +57,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
- * optional uint32 slot = 8;
+ * optional uint32 slot = 13;
* @return the slot
*/
public int getSlot() {
@@ -65,7 +65,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
- * optional uint32 slot = 8;
+ * optional uint32 slot = 13;
* @param value the slot to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
- * optional uint32 retcode = 11;
+ * optional uint32 retcode = 14;
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -84,7 +84,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
- * optional uint32 retcode = 11;
+ * optional uint32 retcode = 14;
* @return this
*/
public ChangeLineupLeaderScRsp clearRetcode() {
@@ -94,7 +94,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
- * optional uint32 retcode = 11;
+ * optional uint32 retcode = 14;
* @return the retcode
*/
public int getRetcode() {
@@ -102,7 +102,7 @@ public final class ChangeLineupLeaderScRspOuterClass {
}
/**
- * optional uint32 retcode = 11;
+ * optional uint32 retcode = 14;
* @param value the retcode to set
* @return this
*/
@@ -177,11 +177,11 @@ public final class ChangeLineupLeaderScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 64);
+ output.writeRawByte((byte) 104);
output.writeUInt32NoTag(slot);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 88);
+ output.writeRawByte((byte) 112);
output.writeUInt32NoTag(retcode);
}
}
@@ -205,16 +205,16 @@ public final class ChangeLineupLeaderScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 64: {
+ case 104: {
// slot
slot = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 88) {
+ if (tag != 112) {
break;
}
}
- case 88: {
+ case 112: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
diff --git a/src/generated/main/emu/lunarcore/proto/ChangePropTimelineInfoCsReqOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChangePropTimelineInfoCsReqOuterClass.java
new file mode 100644
index 0000000..3af0a02
--- /dev/null
+++ b/src/generated/main/emu/lunarcore/proto/ChangePropTimelineInfoCsReqOuterClass.java
@@ -0,0 +1,364 @@
+// Code generated by protocol buffer compiler. Do not edit!
+package emu.lunarcore.proto;
+
+import java.io.IOException;
+import us.hebi.quickbuf.FieldName;
+import us.hebi.quickbuf.InvalidProtocolBufferException;
+import us.hebi.quickbuf.JsonSink;
+import us.hebi.quickbuf.JsonSource;
+import us.hebi.quickbuf.MessageFactory;
+import us.hebi.quickbuf.ProtoMessage;
+import us.hebi.quickbuf.ProtoSink;
+import us.hebi.quickbuf.ProtoSource;
+
+public final class ChangePropTimelineInfoCsReqOuterClass {
+ /**
+ * Protobuf type {@code ChangePropTimelineInfoCsReq}
+ */
+ public static final class ChangePropTimelineInfoCsReq extends ProtoMessageoptional uint32 prop_entity_id = 3;
+ */
+ private int propEntityId;
+
+ /**
+ * optional .PropTimelineInfo prop_timeline_info = 11;
+ */
+ private final PropTimelineInfoOuterClass.PropTimelineInfo propTimelineInfo = PropTimelineInfoOuterClass.PropTimelineInfo.newInstance();
+
+ private ChangePropTimelineInfoCsReq() {
+ }
+
+ /**
+ * @return a new empty instance of {@code ChangePropTimelineInfoCsReq}
+ */
+ public static ChangePropTimelineInfoCsReq newInstance() {
+ return new ChangePropTimelineInfoCsReq();
+ }
+
+ /**
+ * optional uint32 prop_entity_id = 3;
+ * @return whether the propEntityId field is set
+ */
+ public boolean hasPropEntityId() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 prop_entity_id = 3;
+ * @return this
+ */
+ public ChangePropTimelineInfoCsReq clearPropEntityId() {
+ bitField0_ &= ~0x00000001;
+ propEntityId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 prop_entity_id = 3;
+ * @return the propEntityId
+ */
+ public int getPropEntityId() {
+ return propEntityId;
+ }
+
+ /**
+ * optional uint32 prop_entity_id = 3;
+ * @param value the propEntityId to set
+ * @return this
+ */
+ public ChangePropTimelineInfoCsReq setPropEntityId(final int value) {
+ bitField0_ |= 0x00000001;
+ propEntityId = value;
+ return this;
+ }
+
+ /**
+ * optional .PropTimelineInfo prop_timeline_info = 11;
+ * @return whether the propTimelineInfo field is set
+ */
+ public boolean hasPropTimelineInfo() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional .PropTimelineInfo prop_timeline_info = 11;
+ * @return this
+ */
+ public ChangePropTimelineInfoCsReq clearPropTimelineInfo() {
+ bitField0_ &= ~0x00000002;
+ propTimelineInfo.clear();
+ return this;
+ }
+
+ /**
+ * optional .PropTimelineInfo prop_timeline_info = 11;
+ *
+ * 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.
+ *
+ * Use {@link #getMutablePropTimelineInfo()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public PropTimelineInfoOuterClass.PropTimelineInfo getPropTimelineInfo() {
+ return propTimelineInfo;
+ }
+
+ /**
+ * optional .PropTimelineInfo prop_timeline_info = 11;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public PropTimelineInfoOuterClass.PropTimelineInfo getMutablePropTimelineInfo() {
+ bitField0_ |= 0x00000002;
+ return propTimelineInfo;
+ }
+
+ /**
+ * optional .PropTimelineInfo prop_timeline_info = 11;
+ * @param value the propTimelineInfo to set
+ * @return this
+ */
+ public ChangePropTimelineInfoCsReq setPropTimelineInfo(
+ final PropTimelineInfoOuterClass.PropTimelineInfo value) {
+ bitField0_ |= 0x00000002;
+ propTimelineInfo.copyFrom(value);
+ return this;
+ }
+
+ @Override
+ public ChangePropTimelineInfoCsReq copyFrom(final ChangePropTimelineInfoCsReq other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ propEntityId = other.propEntityId;
+ propTimelineInfo.copyFrom(other.propTimelineInfo);
+ }
+ return this;
+ }
+
+ @Override
+ public ChangePropTimelineInfoCsReq mergeFrom(final ChangePropTimelineInfoCsReq other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasPropEntityId()) {
+ setPropEntityId(other.propEntityId);
+ }
+ if (other.hasPropTimelineInfo()) {
+ getMutablePropTimelineInfo().mergeFrom(other.propTimelineInfo);
+ }
+ return this;
+ }
+
+ @Override
+ public ChangePropTimelineInfoCsReq clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ propEntityId = 0;
+ propTimelineInfo.clear();
+ return this;
+ }
+
+ @Override
+ public ChangePropTimelineInfoCsReq clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ propTimelineInfo.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChangePropTimelineInfoCsReq)) {
+ return false;
+ }
+ ChangePropTimelineInfoCsReq other = (ChangePropTimelineInfoCsReq) o;
+ return bitField0_ == other.bitField0_
+ && (!hasPropEntityId() || propEntityId == other.propEntityId)
+ && (!hasPropTimelineInfo() || propTimelineInfo.equals(other.propTimelineInfo));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 24);
+ output.writeUInt32NoTag(propEntityId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 90);
+ output.writeMessageNoTag(propTimelineInfo);
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(propEntityId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(propTimelineInfo);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChangePropTimelineInfoCsReq mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 24: {
+ // propEntityId
+ propEntityId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 90) {
+ break;
+ }
+ }
+ case 90: {
+ // propTimelineInfo
+ input.readMessage(propTimelineInfo);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.propEntityId, propEntityId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeMessage(FieldNames.propTimelineInfo, propTimelineInfo);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public ChangePropTimelineInfoCsReq mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case -68717343:
+ case -57484005: {
+ if (input.isAtField(FieldNames.propEntityId)) {
+ if (!input.trySkipNullValue()) {
+ propEntityId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1563729810:
+ case 1904612880: {
+ if (input.isAtField(FieldNames.propTimelineInfo)) {
+ if (!input.trySkipNullValue()) {
+ input.readMessage(propTimelineInfo);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public ChangePropTimelineInfoCsReq clone() {
+ return new ChangePropTimelineInfoCsReq().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static ChangePropTimelineInfoCsReq parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChangePropTimelineInfoCsReq(), data).checkInitialized();
+ }
+
+ public static ChangePropTimelineInfoCsReq parseFrom(final ProtoSource input) throws
+ IOException {
+ return ProtoMessage.mergeFrom(new ChangePropTimelineInfoCsReq(), input).checkInitialized();
+ }
+
+ public static ChangePropTimelineInfoCsReq parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChangePropTimelineInfoCsReq(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating ChangePropTimelineInfoCsReq messages
+ */
+ public static MessageFactoryoptional uint32 event_unique_id = 3;
+ * optional uint32 prop_entity_id = 3;
*/
- private int eventUniqueId;
+ private int propEntityId;
/**
- * optional uint32 retcode = 13;
+ * optional uint32 retcode = 12;
*/
private int retcode;
- private FinishRogueCommonDialogueScRsp() {
+ private ChangePropTimelineInfoScRsp() {
}
/**
- * @return a new empty instance of {@code FinishRogueCommonDialogueScRsp}
+ * @return a new empty instance of {@code ChangePropTimelineInfoScRsp}
*/
- public static FinishRogueCommonDialogueScRsp newInstance() {
- return new FinishRogueCommonDialogueScRsp();
+ public static ChangePropTimelineInfoScRsp newInstance() {
+ return new ChangePropTimelineInfoScRsp();
}
/**
- * optional uint32 event_unique_id = 3;
- * @return whether the eventUniqueId field is set
+ * optional uint32 prop_entity_id = 3;
+ * @return whether the propEntityId field is set
*/
- public boolean hasEventUniqueId() {
+ public boolean hasPropEntityId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 event_unique_id = 3;
+ * optional uint32 prop_entity_id = 3;
* @return this
*/
- public FinishRogueCommonDialogueScRsp clearEventUniqueId() {
+ public ChangePropTimelineInfoScRsp clearPropEntityId() {
bitField0_ &= ~0x00000001;
- eventUniqueId = 0;
+ propEntityId = 0;
return this;
}
/**
- * optional uint32 event_unique_id = 3;
- * @return the eventUniqueId
+ * optional uint32 prop_entity_id = 3;
+ * @return the propEntityId
*/
- public int getEventUniqueId() {
- return eventUniqueId;
+ public int getPropEntityId() {
+ return propEntityId;
}
/**
- * optional uint32 event_unique_id = 3;
- * @param value the eventUniqueId to set
+ * optional uint32 prop_entity_id = 3;
+ * @param value the propEntityId to set
* @return this
*/
- public FinishRogueCommonDialogueScRsp setEventUniqueId(final int value) {
+ public ChangePropTimelineInfoScRsp setPropEntityId(final int value) {
bitField0_ |= 0x00000001;
- eventUniqueId = value;
+ propEntityId = value;
return this;
}
/**
- * optional uint32 retcode = 13;
+ * optional uint32 retcode = 12;
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -84,17 +84,17 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
}
/**
- * optional uint32 retcode = 13;
+ * optional uint32 retcode = 12;
* @return this
*/
- public FinishRogueCommonDialogueScRsp clearRetcode() {
+ public ChangePropTimelineInfoScRsp clearRetcode() {
bitField0_ &= ~0x00000002;
retcode = 0;
return this;
}
/**
- * optional uint32 retcode = 13;
+ * optional uint32 retcode = 12;
* @return the retcode
*/
public int getRetcode() {
@@ -102,35 +102,35 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
}
/**
- * optional uint32 retcode = 13;
+ * optional uint32 retcode = 12;
* @param value the retcode to set
* @return this
*/
- public FinishRogueCommonDialogueScRsp setRetcode(final int value) {
+ public ChangePropTimelineInfoScRsp setRetcode(final int value) {
bitField0_ |= 0x00000002;
retcode = value;
return this;
}
@Override
- public FinishRogueCommonDialogueScRsp copyFrom(final FinishRogueCommonDialogueScRsp other) {
+ public ChangePropTimelineInfoScRsp copyFrom(final ChangePropTimelineInfoScRsp other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- eventUniqueId = other.eventUniqueId;
+ propEntityId = other.propEntityId;
retcode = other.retcode;
}
return this;
}
@Override
- public FinishRogueCommonDialogueScRsp mergeFrom(final FinishRogueCommonDialogueScRsp other) {
+ public ChangePropTimelineInfoScRsp mergeFrom(final ChangePropTimelineInfoScRsp other) {
if (other.isEmpty()) {
return this;
}
cachedSize = -1;
- if (other.hasEventUniqueId()) {
- setEventUniqueId(other.eventUniqueId);
+ if (other.hasPropEntityId()) {
+ setPropEntityId(other.propEntityId);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
@@ -139,19 +139,19 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
}
@Override
- public FinishRogueCommonDialogueScRsp clear() {
+ public ChangePropTimelineInfoScRsp clear() {
if (isEmpty()) {
return this;
}
cachedSize = -1;
bitField0_ = 0;
- eventUniqueId = 0;
+ propEntityId = 0;
retcode = 0;
return this;
}
@Override
- public FinishRogueCommonDialogueScRsp clearQuick() {
+ public ChangePropTimelineInfoScRsp clearQuick() {
if (isEmpty()) {
return this;
}
@@ -165,12 +165,12 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
if (o == this) {
return true;
}
- if (!(o instanceof FinishRogueCommonDialogueScRsp)) {
+ if (!(o instanceof ChangePropTimelineInfoScRsp)) {
return false;
}
- FinishRogueCommonDialogueScRsp other = (FinishRogueCommonDialogueScRsp) o;
+ ChangePropTimelineInfoScRsp other = (ChangePropTimelineInfoScRsp) o;
return bitField0_ == other.bitField0_
- && (!hasEventUniqueId() || eventUniqueId == other.eventUniqueId)
+ && (!hasPropEntityId() || propEntityId == other.propEntityId)
&& (!hasRetcode() || retcode == other.retcode);
}
@@ -178,10 +178,10 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(eventUniqueId);
+ output.writeUInt32NoTag(propEntityId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 104);
+ output.writeRawByte((byte) 96);
output.writeUInt32NoTag(retcode);
}
}
@@ -190,7 +190,7 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(eventUniqueId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(propEntityId);
}
if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
@@ -200,21 +200,21 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
@Override
@SuppressWarnings("fallthrough")
- public FinishRogueCommonDialogueScRsp mergeFrom(final ProtoSource input) throws IOException {
+ public ChangePropTimelineInfoScRsp mergeFrom(final ProtoSource input) throws IOException {
// Enabled Fall-Through Optimization (QuickBuffers)
int tag = input.readTag();
while (true) {
switch (tag) {
case 24: {
- // eventUniqueId
- eventUniqueId = input.readUInt32();
+ // propEntityId
+ propEntityId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 104) {
+ if (tag != 96) {
break;
}
}
- case 104: {
+ case 96: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000002;
@@ -241,7 +241,7 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.eventUniqueId, eventUniqueId);
+ output.writeUInt32(FieldNames.propEntityId, propEntityId);
}
if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
@@ -250,17 +250,17 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
}
@Override
- public FinishRogueCommonDialogueScRsp mergeFrom(final JsonSource input) throws IOException {
+ public ChangePropTimelineInfoScRsp mergeFrom(final JsonSource input) throws IOException {
if (!input.beginObject()) {
return this;
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 2091680134:
- case -157385500: {
- if (input.isAtField(FieldNames.eventUniqueId)) {
+ case -68717343:
+ case -57484005: {
+ if (input.isAtField(FieldNames.propEntityId)) {
if (!input.trySkipNullValue()) {
- eventUniqueId = input.readUInt32();
+ propEntityId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -290,8 +290,8 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
}
@Override
- public FinishRogueCommonDialogueScRsp clone() {
- return new FinishRogueCommonDialogueScRsp().copyFrom(this);
+ public ChangePropTimelineInfoScRsp clone() {
+ return new ChangePropTimelineInfoScRsp().copyFrom(this);
}
@Override
@@ -299,34 +299,33 @@ public final class FinishRogueCommonDialogueScRspOuterClass {
return ((bitField0_) == 0);
}
- public static FinishRogueCommonDialogueScRsp parseFrom(final byte[] data) throws
+ public static ChangePropTimelineInfoScRsp parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new FinishRogueCommonDialogueScRsp(), data).checkInitialized();
+ return ProtoMessage.mergeFrom(new ChangePropTimelineInfoScRsp(), data).checkInitialized();
}
- public static FinishRogueCommonDialogueScRsp parseFrom(final ProtoSource input) throws
+ public static ChangePropTimelineInfoScRsp parseFrom(final ProtoSource input) throws
IOException {
- return ProtoMessage.mergeFrom(new FinishRogueCommonDialogueScRsp(), input).checkInitialized();
+ return ProtoMessage.mergeFrom(new ChangePropTimelineInfoScRsp(), input).checkInitialized();
}
- public static FinishRogueCommonDialogueScRsp parseFrom(final JsonSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new FinishRogueCommonDialogueScRsp(), input).checkInitialized();
+ public static ChangePropTimelineInfoScRsp parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChangePropTimelineInfoScRsp(), input).checkInitialized();
}
/**
- * @return factory for creating FinishRogueCommonDialogueScRsp messages
+ * @return factory for creating ChangePropTimelineInfoScRsp messages
*/
- public static MessageFactoryoptional uint32 group_id = 4;
- */
- private int groupId;
-
- /**
- * optional uint32 unk_int = 9;
+ * optional uint32 unk_int = 5;
*/
private int unkInt;
+ /**
+ * optional uint32 group_id = 6;
+ */
+ private int groupId;
+
private ChargerInfo() {
}
@@ -39,62 +39,25 @@ public final class ChargerInfoOuterClass {
}
/**
- * optional uint32 group_id = 4;
- * @return whether the groupId field is set
+ * optional uint32 unk_int = 5;
+ * @return whether the unkInt field is set
*/
- public boolean hasGroupId() {
+ public boolean hasUnkInt() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 group_id = 4;
- * @return this
- */
- public ChargerInfo clearGroupId() {
- bitField0_ &= ~0x00000001;
- groupId = 0;
- return this;
- }
-
- /**
- * optional uint32 group_id = 4;
- * @return the groupId
- */
- public int getGroupId() {
- return groupId;
- }
-
- /**
- * optional uint32 group_id = 4;
- * @param value the groupId to set
- * @return this
- */
- public ChargerInfo setGroupId(final int value) {
- bitField0_ |= 0x00000001;
- groupId = value;
- return this;
- }
-
- /**
- * optional uint32 unk_int = 9;
- * @return whether the unkInt field is set
- */
- public boolean hasUnkInt() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 unk_int = 9;
+ * optional uint32 unk_int = 5;
* @return this
*/
public ChargerInfo clearUnkInt() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000001;
unkInt = 0;
return this;
}
/**
- * optional uint32 unk_int = 9;
+ * optional uint32 unk_int = 5;
* @return the unkInt
*/
public int getUnkInt() {
@@ -102,23 +65,60 @@ public final class ChargerInfoOuterClass {
}
/**
- * optional uint32 unk_int = 9;
+ * optional uint32 unk_int = 5;
* @param value the unkInt to set
* @return this
*/
public ChargerInfo setUnkInt(final int value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
unkInt = value;
return this;
}
+ /**
+ * optional uint32 group_id = 6;
+ * @return whether the groupId field is set
+ */
+ public boolean hasGroupId() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 group_id = 6;
+ * @return this
+ */
+ public ChargerInfo clearGroupId() {
+ bitField0_ &= ~0x00000002;
+ groupId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 group_id = 6;
+ * @return the groupId
+ */
+ public int getGroupId() {
+ return groupId;
+ }
+
+ /**
+ * optional uint32 group_id = 6;
+ * @param value the groupId to set
+ * @return this
+ */
+ public ChargerInfo setGroupId(final int value) {
+ bitField0_ |= 0x00000002;
+ groupId = value;
+ return this;
+ }
+
@Override
public ChargerInfo copyFrom(final ChargerInfo other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- groupId = other.groupId;
unkInt = other.unkInt;
+ groupId = other.groupId;
}
return this;
}
@@ -129,12 +129,12 @@ public final class ChargerInfoOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasGroupId()) {
- setGroupId(other.groupId);
- }
if (other.hasUnkInt()) {
setUnkInt(other.unkInt);
}
+ if (other.hasGroupId()) {
+ setGroupId(other.groupId);
+ }
return this;
}
@@ -145,8 +145,8 @@ public final class ChargerInfoOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- groupId = 0;
unkInt = 0;
+ groupId = 0;
return this;
}
@@ -170,19 +170,19 @@ public final class ChargerInfoOuterClass {
}
ChargerInfo other = (ChargerInfo) o;
return bitField0_ == other.bitField0_
- && (!hasGroupId() || groupId == other.groupId)
- && (!hasUnkInt() || unkInt == other.unkInt);
+ && (!hasUnkInt() || unkInt == other.unkInt)
+ && (!hasGroupId() || groupId == other.groupId);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 32);
- output.writeUInt32NoTag(groupId);
+ output.writeRawByte((byte) 40);
+ output.writeUInt32NoTag(unkInt);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 72);
- output.writeUInt32NoTag(unkInt);
+ output.writeRawByte((byte) 48);
+ output.writeUInt32NoTag(groupId);
}
}
@@ -190,10 +190,10 @@ public final class ChargerInfoOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(groupId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(unkInt);
}
if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(unkInt);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(groupId);
}
return size;
}
@@ -205,18 +205,18 @@ public final class ChargerInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 32: {
- // groupId
- groupId = input.readUInt32();
+ case 40: {
+ // unkInt
+ unkInt = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 72) {
+ if (tag != 48) {
break;
}
}
- case 72: {
- // unkInt
- unkInt = input.readUInt32();
+ case 48: {
+ // groupId
+ groupId = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
if (tag != 0) {
@@ -241,10 +241,10 @@ public final class ChargerInfoOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.groupId, groupId);
+ output.writeUInt32(FieldNames.unkInt, unkInt);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.unkInt, unkInt);
+ output.writeUInt32(FieldNames.groupId, groupId);
}
output.endObject();
}
@@ -256,11 +256,11 @@ public final class ChargerInfoOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 293428218:
- case 506361563: {
- if (input.isAtField(FieldNames.groupId)) {
+ case -840508003:
+ case -285293790: {
+ if (input.isAtField(FieldNames.unkInt)) {
if (!input.trySkipNullValue()) {
- groupId = input.readUInt32();
+ unkInt = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -268,11 +268,11 @@ public final class ChargerInfoOuterClass {
}
break;
}
- case -840508003:
- case -285293790: {
- if (input.isAtField(FieldNames.unkInt)) {
+ case 293428218:
+ case 506361563: {
+ if (input.isAtField(FieldNames.groupId)) {
if (!input.trySkipNullValue()) {
- unkInt = input.readUInt32();
+ groupId = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -332,9 +332,9 @@ public final class ChargerInfoOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName groupId = FieldName.forField("groupId", "group_id");
-
static final FieldName unkInt = FieldName.forField("unkInt", "unk_int");
+
+ static final FieldName groupId = FieldName.forField("groupId", "group_id");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ChatContentInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ChatContentInfoOuterClass.java
new file mode 100644
index 0000000..167ba8a
--- /dev/null
+++ b/src/generated/main/emu/lunarcore/proto/ChatContentInfoOuterClass.java
@@ -0,0 +1,395 @@
+// Code generated by protocol buffer compiler. Do not edit!
+package emu.lunarcore.proto;
+
+import java.io.IOException;
+import us.hebi.quickbuf.FieldName;
+import us.hebi.quickbuf.InvalidProtocolBufferException;
+import us.hebi.quickbuf.JsonSink;
+import us.hebi.quickbuf.JsonSource;
+import us.hebi.quickbuf.MessageFactory;
+import us.hebi.quickbuf.ProtoMessage;
+import us.hebi.quickbuf.ProtoSink;
+import us.hebi.quickbuf.ProtoSource;
+
+public final class ChatContentInfoOuterClass {
+ /**
+ * Protobuf type {@code ChatContentInfo}
+ */
+ public static final class ChatContentInfo extends ProtoMessageoptional .MsgType msg_type = 1;
+ */
+ private int msgType;
+
+ /**
+ * optional .ChatMsgInfo chat_msg = 2;
+ */
+ private final ChatMsgInfoOuterClass.ChatMsgInfo chatMsg = ChatMsgInfoOuterClass.ChatMsgInfo.newInstance();
+
+ private ChatContentInfo() {
+ }
+
+ /**
+ * @return a new empty instance of {@code ChatContentInfo}
+ */
+ public static ChatContentInfo newInstance() {
+ return new ChatContentInfo();
+ }
+
+ /**
+ * optional .MsgType msg_type = 1;
+ * @return whether the msgType field is set
+ */
+ public boolean hasMsgType() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional .MsgType msg_type = 1;
+ * @return this
+ */
+ public ChatContentInfo clearMsgType() {
+ bitField0_ &= ~0x00000001;
+ msgType = 0;
+ return this;
+ }
+
+ /**
+ * optional .MsgType msg_type = 1;
+ * @return the msgType
+ */
+ public MsgTypeOuterClass.MsgType getMsgType() {
+ return MsgTypeOuterClass.MsgType.forNumber(msgType);
+ }
+
+ /**
+ * Gets the value of the internal enum store. The result is
+ * equivalent to {@link ChatContentInfo#getMsgType()}.getNumber().
+ *
+ * @return numeric wire representation
+ */
+ public int getMsgTypeValue() {
+ return msgType;
+ }
+
+ /**
+ * Sets the value of the internal enum store. This does not
+ * do any validity checks, so be sure to use appropriate value
+ * constants from {@link MsgTypeOuterClass.MsgType}. Setting an invalid value
+ * can cause {@link ChatContentInfo#getMsgType()} to return null
+ *
+ * @param value the numeric wire value to set
+ * @return this
+ */
+ public ChatContentInfo setMsgTypeValue(final int value) {
+ bitField0_ |= 0x00000001;
+ msgType = value;
+ return this;
+ }
+
+ /**
+ * optional .MsgType msg_type = 1;
+ * @param value the msgType to set
+ * @return this
+ */
+ public ChatContentInfo setMsgType(final MsgTypeOuterClass.MsgType value) {
+ bitField0_ |= 0x00000001;
+ msgType = value.getNumber();
+ return this;
+ }
+
+ /**
+ * optional .ChatMsgInfo chat_msg = 2;
+ * @return whether the chatMsg field is set
+ */
+ public boolean hasChatMsg() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional .ChatMsgInfo chat_msg = 2;
+ * @return this
+ */
+ public ChatContentInfo clearChatMsg() {
+ bitField0_ &= ~0x00000002;
+ chatMsg.clear();
+ return this;
+ }
+
+ /**
+ * optional .ChatMsgInfo chat_msg = 2;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableChatMsg()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public ChatMsgInfoOuterClass.ChatMsgInfo getChatMsg() {
+ return chatMsg;
+ }
+
+ /**
+ * optional .ChatMsgInfo chat_msg = 2;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public ChatMsgInfoOuterClass.ChatMsgInfo getMutableChatMsg() {
+ bitField0_ |= 0x00000002;
+ return chatMsg;
+ }
+
+ /**
+ * optional .ChatMsgInfo chat_msg = 2;
+ * @param value the chatMsg to set
+ * @return this
+ */
+ public ChatContentInfo setChatMsg(final ChatMsgInfoOuterClass.ChatMsgInfo value) {
+ bitField0_ |= 0x00000002;
+ chatMsg.copyFrom(value);
+ return this;
+ }
+
+ @Override
+ public ChatContentInfo copyFrom(final ChatContentInfo other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ msgType = other.msgType;
+ chatMsg.copyFrom(other.chatMsg);
+ }
+ return this;
+ }
+
+ @Override
+ public ChatContentInfo mergeFrom(final ChatContentInfo other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasMsgType()) {
+ setMsgTypeValue(other.msgType);
+ }
+ if (other.hasChatMsg()) {
+ getMutableChatMsg().mergeFrom(other.chatMsg);
+ }
+ return this;
+ }
+
+ @Override
+ public ChatContentInfo clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ msgType = 0;
+ chatMsg.clear();
+ return this;
+ }
+
+ @Override
+ public ChatContentInfo clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ chatMsg.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChatContentInfo)) {
+ return false;
+ }
+ ChatContentInfo other = (ChatContentInfo) o;
+ return bitField0_ == other.bitField0_
+ && (!hasMsgType() || msgType == other.msgType)
+ && (!hasChatMsg() || chatMsg.equals(other.chatMsg));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 8);
+ output.writeEnumNoTag(msgType);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 18);
+ output.writeMessageNoTag(chatMsg);
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeEnumSizeNoTag(msgType);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(chatMsg);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChatContentInfo mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 8: {
+ // msgType
+ final int value = input.readInt32();
+ if (MsgTypeOuterClass.MsgType.forNumber(value) != null) {
+ msgType = value;
+ bitField0_ |= 0x00000001;
+ }
+ tag = input.readTag();
+ if (tag != 18) {
+ break;
+ }
+ }
+ case 18: {
+ // chatMsg
+ input.readMessage(chatMsg);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeEnum(FieldNames.msgType, msgType, MsgTypeOuterClass.MsgType.converter());
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeMessage(FieldNames.chatMsg, chatMsg);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public ChatContentInfo mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 1343750747:
+ case -1283380936: {
+ if (input.isAtField(FieldNames.msgType)) {
+ if (!input.trySkipNullValue()) {
+ final MsgTypeOuterClass.MsgType value = input.readEnum(MsgTypeOuterClass.MsgType.converter());
+ if (value != null) {
+ msgType = value.getNumber();
+ bitField0_ |= 0x00000001;
+ } else {
+ input.skipUnknownEnumValue();
+ }
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 739097865:
+ case 1437728282: {
+ if (input.isAtField(FieldNames.chatMsg)) {
+ if (!input.trySkipNullValue()) {
+ input.readMessage(chatMsg);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public ChatContentInfo clone() {
+ return new ChatContentInfo().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static ChatContentInfo parseFrom(final byte[] data) throws
+ InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChatContentInfo(), data).checkInitialized();
+ }
+
+ public static ChatContentInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChatContentInfo(), input).checkInitialized();
+ }
+
+ public static ChatContentInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChatContentInfo(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating ChatContentInfo messages
+ */
+ public static MessageFactoryoptional uint32 value = 6;
+ * optional uint32 uid = 11;
*/
- private int value_;
+ private int uid;
- private ChessRogueNousValue() {
+ private ChatHeaderInfo() {
}
/**
- * @return a new empty instance of {@code ChessRogueNousValue}
+ * @return a new empty instance of {@code ChatHeaderInfo}
*/
- public static ChessRogueNousValue newInstance() {
- return new ChessRogueNousValue();
+ public static ChatHeaderInfo newInstance() {
+ return new ChatHeaderInfo();
}
/**
- * optional uint32 value = 6;
- * @return whether the value_ field is set
+ * optional uint32 uid = 11;
+ * @return whether the uid field is set
*/
- public boolean hasValue() {
+ public boolean hasUid() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 value = 6;
+ * optional uint32 uid = 11;
* @return this
*/
- public ChessRogueNousValue clearValue() {
+ public ChatHeaderInfo clearUid() {
bitField0_ &= ~0x00000001;
- value_ = 0;
+ uid = 0;
return this;
}
/**
- * optional uint32 value = 6;
- * @return the value_
+ * optional uint32 uid = 11;
+ * @return the uid
*/
- public int getValue() {
- return value_;
+ public int getUid() {
+ return uid;
}
/**
- * optional uint32 value = 6;
- * @param value the value_ to set
+ * optional uint32 uid = 11;
+ * @param value the uid to set
* @return this
*/
- public ChessRogueNousValue setValue(final int value) {
+ public ChatHeaderInfo setUid(final int value) {
bitField0_ |= 0x00000001;
- value_ = value;
+ uid = value;
return this;
}
@Override
- public ChessRogueNousValue copyFrom(final ChessRogueNousValue other) {
+ public ChatHeaderInfo copyFrom(final ChatHeaderInfo other) {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- value_ = other.value_;
+ uid = other.uid;
}
return this;
}
@Override
- public ChessRogueNousValue mergeFrom(final ChessRogueNousValue other) {
+ public ChatHeaderInfo mergeFrom(final ChatHeaderInfo other) {
if (other.isEmpty()) {
return this;
}
cachedSize = -1;
- if (other.hasValue()) {
- setValue(other.value_);
+ if (other.hasUid()) {
+ setUid(other.uid);
}
return this;
}
@Override
- public ChessRogueNousValue clear() {
+ public ChatHeaderInfo clear() {
if (isEmpty()) {
return this;
}
cachedSize = -1;
bitField0_ = 0;
- value_ = 0;
+ uid = 0;
return this;
}
@Override
- public ChessRogueNousValue clearQuick() {
+ public ChatHeaderInfo clearQuick() {
if (isEmpty()) {
return this;
}
@@ -118,19 +118,19 @@ public final class ChessRogueNousValueOuterClass {
if (o == this) {
return true;
}
- if (!(o instanceof ChessRogueNousValue)) {
+ if (!(o instanceof ChatHeaderInfo)) {
return false;
}
- ChessRogueNousValue other = (ChessRogueNousValue) o;
+ ChatHeaderInfo other = (ChatHeaderInfo) o;
return bitField0_ == other.bitField0_
- && (!hasValue() || value_ == other.value_);
+ && (!hasUid() || uid == other.uid);
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 48);
- output.writeUInt32NoTag(value_);
+ output.writeRawByte((byte) 88);
+ output.writeUInt32NoTag(uid);
}
}
@@ -138,21 +138,21 @@ public final class ChessRogueNousValueOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(value_);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(uid);
}
return size;
}
@Override
@SuppressWarnings("fallthrough")
- public ChessRogueNousValue mergeFrom(final ProtoSource input) throws IOException {
+ public ChatHeaderInfo mergeFrom(final ProtoSource input) throws IOException {
// Enabled Fall-Through Optimization (QuickBuffers)
int tag = input.readTag();
while (true) {
switch (tag) {
- case 48: {
- // value_
- value_ = input.readUInt32();
+ case 88: {
+ // uid
+ uid = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
if (tag != 0) {
@@ -177,22 +177,22 @@ public final class ChessRogueNousValueOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.value_, value_);
+ output.writeUInt32(FieldNames.uid, uid);
}
output.endObject();
}
@Override
- public ChessRogueNousValue mergeFrom(final JsonSource input) throws IOException {
+ public ChatHeaderInfo mergeFrom(final JsonSource input) throws IOException {
if (!input.beginObject()) {
return this;
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 111972721: {
- if (input.isAtField(FieldNames.value_)) {
+ case 115792: {
+ if (input.isAtField(FieldNames.uid)) {
if (!input.trySkipNullValue()) {
- value_ = input.readUInt32();
+ uid = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -211,8 +211,8 @@ public final class ChessRogueNousValueOuterClass {
}
@Override
- public ChessRogueNousValue clone() {
- return new ChessRogueNousValue().copyFrom(this);
+ public ChatHeaderInfo clone() {
+ return new ChatHeaderInfo().copyFrom(this);
}
@Override
@@ -220,32 +220,32 @@ public final class ChessRogueNousValueOuterClass {
return ((bitField0_) == 0);
}
- public static ChessRogueNousValue parseFrom(final byte[] data) throws
+ public static ChatHeaderInfo parseFrom(final byte[] data) throws
InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueNousValue(), data).checkInitialized();
+ return ProtoMessage.mergeFrom(new ChatHeaderInfo(), data).checkInitialized();
}
- public static ChessRogueNousValue parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousValue(), input).checkInitialized();
+ public static ChatHeaderInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChatHeaderInfo(), input).checkInitialized();
}
- public static ChessRogueNousValue parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousValue(), input).checkInitialized();
+ public static ChatHeaderInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChatHeaderInfo(), input).checkInitialized();
}
/**
- * @return factory for creating ChessRogueNousValue messages
+ * @return factory for creating ChatHeaderInfo messages
*/
- public static MessageFactoryoptional uint64 sent_time = 4;
+ */
+ private long sentTime;
+
+ /**
+ * optional .ChatHeaderInfo chat_header = 8;
+ */
+ private final ChatHeaderInfoOuterClass.ChatHeaderInfo chatHeader = ChatHeaderInfoOuterClass.ChatHeaderInfo.newInstance();
+
+ /**
+ * repeated .ChatContentInfo chat_content_list = 9;
+ */
+ private final RepeatedMessageoptional uint64 sent_time = 4;
+ * @return whether the sentTime field is set
+ */
+ public boolean hasSentTime() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint64 sent_time = 4;
+ * @return this
+ */
+ public ChatInfo clearSentTime() {
+ bitField0_ &= ~0x00000001;
+ sentTime = 0L;
+ return this;
+ }
+
+ /**
+ * optional uint64 sent_time = 4;
+ * @return the sentTime
+ */
+ public long getSentTime() {
+ return sentTime;
+ }
+
+ /**
+ * optional uint64 sent_time = 4;
+ * @param value the sentTime to set
+ * @return this
+ */
+ public ChatInfo setSentTime(final long value) {
+ bitField0_ |= 0x00000001;
+ sentTime = value;
+ return this;
+ }
+
+ /**
+ * optional .ChatHeaderInfo chat_header = 8;
+ * @return whether the chatHeader field is set
+ */
+ public boolean hasChatHeader() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional .ChatHeaderInfo chat_header = 8;
+ * @return this
+ */
+ public ChatInfo clearChatHeader() {
+ bitField0_ &= ~0x00000002;
+ chatHeader.clear();
+ return this;
+ }
+
+ /**
+ * optional .ChatHeaderInfo chat_header = 8;
+ *
+ * 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.
+ *
+ * Use {@link #getMutableChatHeader()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public ChatHeaderInfoOuterClass.ChatHeaderInfo getChatHeader() {
+ return chatHeader;
+ }
+
+ /**
+ * optional .ChatHeaderInfo chat_header = 8;
+ *
+ * This method returns the internal storage object and sets the corresponding
+ * has state. The returned object will become part of this message and its
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public ChatHeaderInfoOuterClass.ChatHeaderInfo getMutableChatHeader() {
+ bitField0_ |= 0x00000002;
+ return chatHeader;
+ }
+
+ /**
+ * optional .ChatHeaderInfo chat_header = 8;
+ * @param value the chatHeader to set
+ * @return this
+ */
+ public ChatInfo setChatHeader(final ChatHeaderInfoOuterClass.ChatHeaderInfo value) {
+ bitField0_ |= 0x00000002;
+ chatHeader.copyFrom(value);
+ return this;
+ }
+
+ /**
+ * repeated .ChatContentInfo chat_content_list = 9;
+ * @return whether the chatContentList field is set
+ */
+ public boolean hasChatContentList() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * repeated .ChatContentInfo chat_content_list = 9;
+ * @return this
+ */
+ public ChatInfo clearChatContentList() {
+ bitField0_ &= ~0x00000004;
+ chatContentList.clear();
+ return this;
+ }
+
+ /**
+ * repeated .ChatContentInfo chat_content_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.
+ *
+ * Use {@link #getMutableChatContentList()} if you want to modify it.
+ *
+ * @return internal storage object for reading
+ */
+ public RepeatedMessagerepeated .ChatContentInfo chat_content_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
+ * contents may be modified as long as the has state is not cleared.
+ *
+ * @return internal storage object for modifications
+ */
+ public RepeatedMessagerepeated .ChatContentInfo chat_content_list = 9;
+ * @param value the chatContentList to add
+ * @return this
+ */
+ public ChatInfo addChatContentList(final ChatContentInfoOuterClass.ChatContentInfo value) {
+ bitField0_ |= 0x00000004;
+ chatContentList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated .ChatContentInfo chat_content_list = 9;
+ * @param values the chatContentList to add
+ * @return this
+ */
+ public ChatInfo addAllChatContentList(
+ final ChatContentInfoOuterClass.ChatContentInfo... values) {
+ bitField0_ |= 0x00000004;
+ chatContentList.addAll(values);
+ return this;
+ }
+
+ @Override
+ public ChatInfo copyFrom(final ChatInfo other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ sentTime = other.sentTime;
+ chatHeader.copyFrom(other.chatHeader);
+ chatContentList.copyFrom(other.chatContentList);
+ }
+ return this;
+ }
+
+ @Override
+ public ChatInfo mergeFrom(final ChatInfo other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasSentTime()) {
+ setSentTime(other.sentTime);
+ }
+ if (other.hasChatHeader()) {
+ getMutableChatHeader().mergeFrom(other.chatHeader);
+ }
+ if (other.hasChatContentList()) {
+ getMutableChatContentList().addAll(other.chatContentList);
+ }
+ return this;
+ }
+
+ @Override
+ public ChatInfo clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ sentTime = 0L;
+ chatHeader.clear();
+ chatContentList.clear();
+ return this;
+ }
+
+ @Override
+ public ChatInfo clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ chatHeader.clearQuick();
+ chatContentList.clearQuick();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChatInfo)) {
+ return false;
+ }
+ ChatInfo other = (ChatInfo) o;
+ return bitField0_ == other.bitField0_
+ && (!hasSentTime() || sentTime == other.sentTime)
+ && (!hasChatHeader() || chatHeader.equals(other.chatHeader))
+ && (!hasChatContentList() || chatContentList.equals(other.chatContentList));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawByte((byte) 32);
+ output.writeUInt64NoTag(sentTime);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 66);
+ output.writeMessageNoTag(chatHeader);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ for (int i = 0; i < chatContentList.length(); i++) {
+ output.writeRawByte((byte) 74);
+ output.writeMessageNoTag(chatContentList.get(i));
+ }
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 1 + ProtoSink.computeUInt64SizeNoTag(sentTime);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeMessageSizeNoTag(chatHeader);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += (1 * chatContentList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(chatContentList);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChatInfo mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 32: {
+ // sentTime
+ sentTime = input.readUInt64();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 66) {
+ break;
+ }
+ }
+ case 66: {
+ // chatHeader
+ input.readMessage(chatHeader);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 74) {
+ break;
+ }
+ }
+ case 74: {
+ // chatContentList
+ tag = input.readRepeatedMessage(chatContentList, tag);
+ bitField0_ |= 0x00000004;
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt64(FieldNames.sentTime, sentTime);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeMessage(FieldNames.chatHeader, chatHeader);
+ }
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRepeatedMessage(FieldNames.chatContentList, chatContentList);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public ChatInfo mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case 1262226053:
+ case 484784916: {
+ if (input.isAtField(FieldNames.sentTime)) {
+ if (!input.trySkipNullValue()) {
+ sentTime = input.readUInt64();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -1988984827:
+ case 1793218900: {
+ if (input.isAtField(FieldNames.chatHeader)) {
+ if (!input.trySkipNullValue()) {
+ input.readMessage(chatHeader);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -1437826497:
+ case -305783253: {
+ if (input.isAtField(FieldNames.chatContentList)) {
+ if (!input.trySkipNullValue()) {
+ input.readRepeatedMessage(chatContentList);
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public ChatInfo clone() {
+ return new ChatInfo().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static ChatInfo parseFrom(final byte[] data) throws InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChatInfo(), data).checkInitialized();
+ }
+
+ public static ChatInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChatInfo(), input).checkInitialized();
+ }
+
+ public static ChatInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChatInfo(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating ChatInfo messages
+ */
+ public static MessageFactoryoptional uint32 emote_id = 104;
+ */
+ private int emoteId;
+
+ /**
+ * optional string chat_text = 103;
+ */
+ private final Utf8String chatText = Utf8String.newEmptyInstance();
+
+ private ChatMsgInfo() {
+ }
+
+ /**
+ * @return a new empty instance of {@code ChatMsgInfo}
+ */
+ public static ChatMsgInfo newInstance() {
+ return new ChatMsgInfo();
+ }
+
+ /**
+ * optional uint32 emote_id = 104;
+ * @return whether the emoteId field is set
+ */
+ public boolean hasEmoteId() {
+ return (bitField0_ & 0x00000001) != 0;
+ }
+
+ /**
+ * optional uint32 emote_id = 104;
+ * @return this
+ */
+ public ChatMsgInfo clearEmoteId() {
+ bitField0_ &= ~0x00000001;
+ emoteId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 emote_id = 104;
+ * @return the emoteId
+ */
+ public int getEmoteId() {
+ return emoteId;
+ }
+
+ /**
+ * optional uint32 emote_id = 104;
+ * @param value the emoteId to set
+ * @return this
+ */
+ public ChatMsgInfo setEmoteId(final int value) {
+ bitField0_ |= 0x00000001;
+ emoteId = value;
+ return this;
+ }
+
+ /**
+ * optional string chat_text = 103;
+ * @return whether the chatText field is set
+ */
+ public boolean hasChatText() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional string chat_text = 103;
+ * @return this
+ */
+ public ChatMsgInfo clearChatText() {
+ bitField0_ &= ~0x00000002;
+ chatText.clear();
+ return this;
+ }
+
+ /**
+ * optional string chat_text = 103;
+ * @return the chatText
+ */
+ public String getChatText() {
+ return chatText.getString();
+ }
+
+ /**
+ * optional string chat_text = 103;
+ * @return internal {@code Utf8String} representation of chatText for reading
+ */
+ public Utf8String getChatTextBytes() {
+ return this.chatText;
+ }
+
+ /**
+ * optional string chat_text = 103;
+ * @return internal {@code Utf8String} representation of chatText for modifications
+ */
+ public Utf8String getMutableChatTextBytes() {
+ bitField0_ |= 0x00000002;
+ return this.chatText;
+ }
+
+ /**
+ * optional string chat_text = 103;
+ * @param value the chatText to set
+ * @return this
+ */
+ public ChatMsgInfo setChatText(final CharSequence value) {
+ bitField0_ |= 0x00000002;
+ chatText.copyFrom(value);
+ return this;
+ }
+
+ /**
+ * optional string chat_text = 103;
+ * @param value the chatText to set
+ * @return this
+ */
+ public ChatMsgInfo setChatText(final Utf8String value) {
+ bitField0_ |= 0x00000002;
+ chatText.copyFrom(value);
+ return this;
+ }
+
+ @Override
+ public ChatMsgInfo copyFrom(final ChatMsgInfo other) {
+ cachedSize = other.cachedSize;
+ if ((bitField0_ | other.bitField0_) != 0) {
+ bitField0_ = other.bitField0_;
+ emoteId = other.emoteId;
+ chatText.copyFrom(other.chatText);
+ }
+ return this;
+ }
+
+ @Override
+ public ChatMsgInfo mergeFrom(final ChatMsgInfo other) {
+ if (other.isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ if (other.hasEmoteId()) {
+ setEmoteId(other.emoteId);
+ }
+ if (other.hasChatText()) {
+ getMutableChatTextBytes().copyFrom(other.chatText);
+ }
+ return this;
+ }
+
+ @Override
+ public ChatMsgInfo clear() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ emoteId = 0;
+ chatText.clear();
+ return this;
+ }
+
+ @Override
+ public ChatMsgInfo clearQuick() {
+ if (isEmpty()) {
+ return this;
+ }
+ cachedSize = -1;
+ bitField0_ = 0;
+ chatText.clear();
+ return this;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (!(o instanceof ChatMsgInfo)) {
+ return false;
+ }
+ ChatMsgInfo other = (ChatMsgInfo) o;
+ return bitField0_ == other.bitField0_
+ && (!hasEmoteId() || emoteId == other.emoteId)
+ && (!hasChatText() || chatText.equals(other.chatText));
+ }
+
+ @Override
+ public void writeTo(final ProtoSink output) throws IOException {
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeRawLittleEndian16((short) 1728);
+ output.writeUInt32NoTag(emoteId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawLittleEndian16((short) 1722);
+ output.writeStringNoTag(chatText);
+ }
+ }
+
+ @Override
+ protected int computeSerializedSize() {
+ int size = 0;
+ if ((bitField0_ & 0x00000001) != 0) {
+ size += 2 + ProtoSink.computeUInt32SizeNoTag(emoteId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 2 + ProtoSink.computeStringSizeNoTag(chatText);
+ }
+ return size;
+ }
+
+ @Override
+ @SuppressWarnings("fallthrough")
+ public ChatMsgInfo mergeFrom(final ProtoSource input) throws IOException {
+ // Enabled Fall-Through Optimization (QuickBuffers)
+ int tag = input.readTag();
+ while (true) {
+ switch (tag) {
+ case 832: {
+ // emoteId
+ emoteId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 826) {
+ break;
+ }
+ }
+ case 826: {
+ // chatText
+ input.readString(chatText);
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 0) {
+ break;
+ }
+ }
+ case 0: {
+ return this;
+ }
+ default: {
+ if (!input.skipField(tag)) {
+ return this;
+ }
+ tag = input.readTag();
+ break;
+ }
+ }
+ }
+ }
+
+ @Override
+ public void writeTo(final JsonSink output) throws IOException {
+ output.beginObject();
+ if ((bitField0_ & 0x00000001) != 0) {
+ output.writeUInt32(FieldNames.emoteId, emoteId);
+ }
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeString(FieldNames.chatText, chatText);
+ }
+ output.endObject();
+ }
+
+ @Override
+ public ChatMsgInfo mergeFrom(final JsonSource input) throws IOException {
+ if (!input.beginObject()) {
+ return this;
+ }
+ while (!input.isAtEnd()) {
+ switch (input.readFieldHash()) {
+ case -1624765261:
+ case 1171905858: {
+ if (input.isAtField(FieldNames.emoteId)) {
+ if (!input.trySkipNullValue()) {
+ emoteId = input.readUInt32();
+ bitField0_ |= 0x00000001;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case 1437393061:
+ case 1620099508: {
+ if (input.isAtField(FieldNames.chatText)) {
+ if (!input.trySkipNullValue()) {
+ input.readString(chatText);
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ default: {
+ input.skipUnknownField();
+ break;
+ }
+ }
+ }
+ input.endObject();
+ return this;
+ }
+
+ @Override
+ public ChatMsgInfo clone() {
+ return new ChatMsgInfo().copyFrom(this);
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return ((bitField0_) == 0);
+ }
+
+ public static ChatMsgInfo parseFrom(final byte[] data) throws InvalidProtocolBufferException {
+ return ProtoMessage.mergeFrom(new ChatMsgInfo(), data).checkInitialized();
+ }
+
+ public static ChatMsgInfo parseFrom(final ProtoSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChatMsgInfo(), input).checkInitialized();
+ }
+
+ public static ChatMsgInfo parseFrom(final JsonSource input) throws IOException {
+ return ProtoMessage.mergeFrom(new ChatMsgInfo(), input).checkInitialized();
+ }
+
+ /**
+ * @return factory for creating ChatMsgInfo messages
+ */
+ public static MessageFactoryoptional uint64 sent_time = 12;
- */
- private long sentTime;
-
- /**
- * optional uint32 sender_uid = 2;
- */
- private int senderUid;
-
- /**
- * optional uint32 emote = 3;
- */
- private int emote;
-
- /**
- * optional .MsgType msg_type = 10;
- */
- private int msgType;
-
- /**
- * optional string text = 11;
- */
- private final Utf8String text = Utf8String.newEmptyInstance();
-
- private Chat() {
- }
-
- /**
- * @return a new empty instance of {@code Chat}
- */
- public static Chat newInstance() {
- return new Chat();
- }
-
- /**
- * optional uint64 sent_time = 12;
- * @return whether the sentTime field is set
- */
- public boolean hasSentTime() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint64 sent_time = 12;
- * @return this
- */
- public Chat clearSentTime() {
- bitField0_ &= ~0x00000001;
- sentTime = 0L;
- return this;
- }
-
- /**
- * optional uint64 sent_time = 12;
- * @return the sentTime
- */
- public long getSentTime() {
- return sentTime;
- }
-
- /**
- * optional uint64 sent_time = 12;
- * @param value the sentTime to set
- * @return this
- */
- public Chat setSentTime(final long value) {
- bitField0_ |= 0x00000001;
- sentTime = value;
- return this;
- }
-
- /**
- * optional uint32 sender_uid = 2;
- * @return whether the senderUid field is set
- */
- public boolean hasSenderUid() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 sender_uid = 2;
- * @return this
- */
- public Chat clearSenderUid() {
- bitField0_ &= ~0x00000002;
- senderUid = 0;
- return this;
- }
-
- /**
- * optional uint32 sender_uid = 2;
- * @return the senderUid
- */
- public int getSenderUid() {
- return senderUid;
- }
-
- /**
- * optional uint32 sender_uid = 2;
- * @param value the senderUid to set
- * @return this
- */
- public Chat setSenderUid(final int value) {
- bitField0_ |= 0x00000002;
- senderUid = value;
- return this;
- }
-
- /**
- * optional uint32 emote = 3;
- * @return whether the emote field is set
- */
- public boolean hasEmote() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 emote = 3;
- * @return this
- */
- public Chat clearEmote() {
- bitField0_ &= ~0x00000004;
- emote = 0;
- return this;
- }
-
- /**
- * optional uint32 emote = 3;
- * @return the emote
- */
- public int getEmote() {
- return emote;
- }
-
- /**
- * optional uint32 emote = 3;
- * @param value the emote to set
- * @return this
- */
- public Chat setEmote(final int value) {
- bitField0_ |= 0x00000004;
- emote = value;
- return this;
- }
-
- /**
- * optional .MsgType msg_type = 10;
- * @return whether the msgType field is set
- */
- public boolean hasMsgType() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional .MsgType msg_type = 10;
- * @return this
- */
- public Chat clearMsgType() {
- bitField0_ &= ~0x00000008;
- msgType = 0;
- return this;
- }
-
- /**
- * optional .MsgType msg_type = 10;
- * @return the msgType
- */
- public MsgTypeOuterClass.MsgType getMsgType() {
- return MsgTypeOuterClass.MsgType.forNumber(msgType);
- }
-
- /**
- * Gets the value of the internal enum store. The result is
- * equivalent to {@link Chat#getMsgType()}.getNumber().
- *
- * @return numeric wire representation
- */
- public int getMsgTypeValue() {
- return msgType;
- }
-
- /**
- * Sets the value of the internal enum store. This does not
- * do any validity checks, so be sure to use appropriate value
- * constants from {@link MsgTypeOuterClass.MsgType}. Setting an invalid value
- * can cause {@link Chat#getMsgType()} to return null
- *
- * @param value the numeric wire value to set
- * @return this
- */
- public Chat setMsgTypeValue(final int value) {
- bitField0_ |= 0x00000008;
- msgType = value;
- return this;
- }
-
- /**
- * optional .MsgType msg_type = 10;
- * @param value the msgType to set
- * @return this
- */
- public Chat setMsgType(final MsgTypeOuterClass.MsgType value) {
- bitField0_ |= 0x00000008;
- msgType = value.getNumber();
- return this;
- }
-
- /**
- * optional string text = 11;
- * @return whether the text field is set
- */
- public boolean hasText() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * optional string text = 11;
- * @return this
- */
- public Chat clearText() {
- bitField0_ &= ~0x00000010;
- text.clear();
- return this;
- }
-
- /**
- * optional string text = 11;
- * @return the text
- */
- public String getText() {
- return text.getString();
- }
-
- /**
- * optional string text = 11;
- * @return internal {@code Utf8String} representation of text for reading
- */
- public Utf8String getTextBytes() {
- return this.text;
- }
-
- /**
- * optional string text = 11;
- * @return internal {@code Utf8String} representation of text for modifications
- */
- public Utf8String getMutableTextBytes() {
- bitField0_ |= 0x00000010;
- return this.text;
- }
-
- /**
- * optional string text = 11;
- * @param value the text to set
- * @return this
- */
- public Chat setText(final CharSequence value) {
- bitField0_ |= 0x00000010;
- text.copyFrom(value);
- return this;
- }
-
- /**
- * optional string text = 11;
- * @param value the text to set
- * @return this
- */
- public Chat setText(final Utf8String value) {
- bitField0_ |= 0x00000010;
- text.copyFrom(value);
- return this;
- }
-
- @Override
- public Chat copyFrom(final Chat other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- sentTime = other.sentTime;
- senderUid = other.senderUid;
- emote = other.emote;
- msgType = other.msgType;
- text.copyFrom(other.text);
- }
- return this;
- }
-
- @Override
- public Chat mergeFrom(final Chat other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasSentTime()) {
- setSentTime(other.sentTime);
- }
- if (other.hasSenderUid()) {
- setSenderUid(other.senderUid);
- }
- if (other.hasEmote()) {
- setEmote(other.emote);
- }
- if (other.hasMsgType()) {
- setMsgTypeValue(other.msgType);
- }
- if (other.hasText()) {
- getMutableTextBytes().copyFrom(other.text);
- }
- return this;
- }
-
- @Override
- public Chat clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- sentTime = 0L;
- senderUid = 0;
- emote = 0;
- msgType = 0;
- text.clear();
- return this;
- }
-
- @Override
- public Chat clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- text.clear();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof Chat)) {
- return false;
- }
- Chat other = (Chat) o;
- return bitField0_ == other.bitField0_
- && (!hasSentTime() || sentTime == other.sentTime)
- && (!hasSenderUid() || senderUid == other.senderUid)
- && (!hasEmote() || emote == other.emote)
- && (!hasMsgType() || msgType == other.msgType)
- && (!hasText() || text.equals(other.text));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 96);
- output.writeUInt64NoTag(sentTime);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(senderUid);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(emote);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 80);
- output.writeEnumNoTag(msgType);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 90);
- output.writeStringNoTag(text);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt64SizeNoTag(sentTime);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(senderUid);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(emote);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeEnumSizeNoTag(msgType);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeStringSizeNoTag(text);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public Chat mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 96: {
- // sentTime
- sentTime = input.readUInt64();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 16) {
- break;
- }
- }
- case 16: {
- // senderUid
- senderUid = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 24) {
- break;
- }
- }
- case 24: {
- // emote
- emote = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 80) {
- break;
- }
- }
- case 80: {
- // msgType
- final int value = input.readInt32();
- if (MsgTypeOuterClass.MsgType.forNumber(value) != null) {
- msgType = value;
- bitField0_ |= 0x00000008;
- }
- tag = input.readTag();
- if (tag != 90) {
- break;
- }
- }
- case 90: {
- // text
- input.readString(text);
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt64(FieldNames.sentTime, sentTime);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.senderUid, senderUid);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.emote, emote);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeEnum(FieldNames.msgType, msgType, MsgTypeOuterClass.MsgType.converter());
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeString(FieldNames.text, text);
- }
- output.endObject();
- }
-
- @Override
- public Chat mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 1262226053:
- case 484784916: {
- if (input.isAtField(FieldNames.sentTime)) {
- if (!input.trySkipNullValue()) {
- sentTime = input.readUInt64();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 32180699:
- case 997911366: {
- if (input.isAtField(FieldNames.senderUid)) {
- if (!input.trySkipNullValue()) {
- senderUid = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 96633208: {
- if (input.isAtField(FieldNames.emote)) {
- if (!input.trySkipNullValue()) {
- emote = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1343750747:
- case -1283380936: {
- if (input.isAtField(FieldNames.msgType)) {
- if (!input.trySkipNullValue()) {
- final MsgTypeOuterClass.MsgType value = input.readEnum(MsgTypeOuterClass.MsgType.converter());
- if (value != null) {
- msgType = value.getNumber();
- bitField0_ |= 0x00000008;
- } else {
- input.skipUnknownEnumValue();
- }
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 3556653: {
- if (input.isAtField(FieldNames.text)) {
- if (!input.trySkipNullValue()) {
- input.readString(text);
- bitField0_ |= 0x00000010;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public Chat clone() {
- return new Chat().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static Chat parseFrom(final byte[] data) throws InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new Chat(), data).checkInitialized();
- }
-
- public static Chat parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new Chat(), input).checkInitialized();
- }
-
- public static Chat parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new Chat(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating Chat messages
- */
- public static MessageFactoryoptional .RogueAvatarReviveCost revive_cost = 3;
- */
- private final RogueAvatarReviveCostOuterClass.RogueAvatarReviveCost reviveCost = RogueAvatarReviveCostOuterClass.RogueAvatarReviveCost.newInstance();
-
- /**
- * repeated .ChessRogueAvatar chess_rogue_avatar = 5;
- */
- private final RepeatedMessageoptional .RogueAvatarReviveCost revive_cost = 3;
- * @return whether the reviveCost field is set
- */
- public boolean hasReviveCost() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional .RogueAvatarReviveCost revive_cost = 3;
- * @return this
- */
- public ChessRogueAvatarInfo clearReviveCost() {
- bitField0_ &= ~0x00000001;
- reviveCost.clear();
- return this;
- }
-
- /**
- * optional .RogueAvatarReviveCost revive_cost = 3;
- *
- * 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.
- *
- * Use {@link #getMutableReviveCost()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RogueAvatarReviveCostOuterClass.RogueAvatarReviveCost getReviveCost() {
- return reviveCost;
- }
-
- /**
- * optional .RogueAvatarReviveCost revive_cost = 3;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RogueAvatarReviveCostOuterClass.RogueAvatarReviveCost getMutableReviveCost() {
- bitField0_ |= 0x00000001;
- return reviveCost;
- }
-
- /**
- * optional .RogueAvatarReviveCost revive_cost = 3;
- * @param value the reviveCost to set
- * @return this
- */
- public ChessRogueAvatarInfo setReviveCost(
- final RogueAvatarReviveCostOuterClass.RogueAvatarReviveCost value) {
- bitField0_ |= 0x00000001;
- reviveCost.copyFrom(value);
- return this;
- }
-
- /**
- * repeated .ChessRogueAvatar chess_rogue_avatar = 5;
- * @return whether the chessRogueAvatar field is set
- */
- public boolean hasChessRogueAvatar() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * repeated .ChessRogueAvatar chess_rogue_avatar = 5;
- * @return this
- */
- public ChessRogueAvatarInfo clearChessRogueAvatar() {
- bitField0_ &= ~0x00000002;
- chessRogueAvatar.clear();
- return this;
- }
-
- /**
- * repeated .ChessRogueAvatar chess_rogue_avatar = 5;
- *
- * 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.
- *
- * Use {@link #getMutableChessRogueAvatar()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessagerepeated .ChessRogueAvatar chess_rogue_avatar = 5;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessagerepeated .ChessRogueAvatar chess_rogue_avatar = 5;
- * @param value the chessRogueAvatar to add
- * @return this
- */
- public ChessRogueAvatarInfo addChessRogueAvatar(
- final ChessRogueAvatarOuterClass.ChessRogueAvatar value) {
- bitField0_ |= 0x00000002;
- chessRogueAvatar.add(value);
- return this;
- }
-
- /**
- * repeated .ChessRogueAvatar chess_rogue_avatar = 5;
- * @param values the chessRogueAvatar to add
- * @return this
- */
- public ChessRogueAvatarInfo addAllChessRogueAvatar(
- final ChessRogueAvatarOuterClass.ChessRogueAvatar... values) {
- bitField0_ |= 0x00000002;
- chessRogueAvatar.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueAvatarInfo copyFrom(final ChessRogueAvatarInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- reviveCost.copyFrom(other.reviveCost);
- chessRogueAvatar.copyFrom(other.chessRogueAvatar);
- }
- return this;
- }
-
- @Override
- public ChessRogueAvatarInfo mergeFrom(final ChessRogueAvatarInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasReviveCost()) {
- getMutableReviveCost().mergeFrom(other.reviveCost);
- }
- if (other.hasChessRogueAvatar()) {
- getMutableChessRogueAvatar().addAll(other.chessRogueAvatar);
- }
- return this;
- }
-
- @Override
- public ChessRogueAvatarInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- reviveCost.clear();
- chessRogueAvatar.clear();
- return this;
- }
-
- @Override
- public ChessRogueAvatarInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- reviveCost.clearQuick();
- chessRogueAvatar.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueAvatarInfo)) {
- return false;
- }
- ChessRogueAvatarInfo other = (ChessRogueAvatarInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasReviveCost() || reviveCost.equals(other.reviveCost))
- && (!hasChessRogueAvatar() || chessRogueAvatar.equals(other.chessRogueAvatar));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 26);
- output.writeMessageNoTag(reviveCost);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- for (int i = 0; i < chessRogueAvatar.length(); i++) {
- output.writeRawByte((byte) 42);
- output.writeMessageNoTag(chessRogueAvatar.get(i));
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(reviveCost);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += (1 * chessRogueAvatar.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(chessRogueAvatar);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueAvatarInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 26: {
- // reviveCost
- input.readMessage(reviveCost);
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 42) {
- break;
- }
- }
- case 42: {
- // chessRogueAvatar
- tag = input.readRepeatedMessage(chessRogueAvatar, tag);
- bitField0_ |= 0x00000002;
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeMessage(FieldNames.reviveCost, reviveCost);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRepeatedMessage(FieldNames.chessRogueAvatar, chessRogueAvatar);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueAvatarInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -1426560318:
- case -1248199561: {
- if (input.isAtField(FieldNames.reviveCost)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(reviveCost);
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -2052177741:
- case 1901902397: {
- if (input.isAtField(FieldNames.chessRogueAvatar)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(chessRogueAvatar);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueAvatarInfo clone() {
- return new ChessRogueAvatarInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueAvatarInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueAvatarInfo(), data).checkInitialized();
- }
-
- public static ChessRogueAvatarInfo parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueAvatarInfo(), input).checkInitialized();
- }
-
- public static ChessRogueAvatarInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueAvatarInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueAvatarInfo messages
- */
- public static MessageFactoryoptional .ChessRogueBuffData buff_data = 12;
- */
- private final ChessRogueBuffDataOuterClass.ChessRogueBuffData buffData = ChessRogueBuffDataOuterClass.ChessRogueBuffData.newInstance();
-
- private ChessRogueBuffInfo() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueBuffInfo}
- */
- public static ChessRogueBuffInfo newInstance() {
- return new ChessRogueBuffInfo();
- }
-
- /**
- * optional .ChessRogueBuffData buff_data = 12;
- * @return whether the buffData field is set
- */
- public boolean hasBuffData() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional .ChessRogueBuffData buff_data = 12;
- * @return this
- */
- public ChessRogueBuffInfo clearBuffData() {
- bitField0_ &= ~0x00000001;
- buffData.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueBuffData buff_data = 12;
- *
- * 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.
- *
- * Use {@link #getMutableBuffData()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueBuffDataOuterClass.ChessRogueBuffData getBuffData() {
- return buffData;
- }
-
- /**
- * optional .ChessRogueBuffData buff_data = 12;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueBuffDataOuterClass.ChessRogueBuffData getMutableBuffData() {
- bitField0_ |= 0x00000001;
- return buffData;
- }
-
- /**
- * optional .ChessRogueBuffData buff_data = 12;
- * @param value the buffData to set
- * @return this
- */
- public ChessRogueBuffInfo setBuffData(
- final ChessRogueBuffDataOuterClass.ChessRogueBuffData value) {
- bitField0_ |= 0x00000001;
- buffData.copyFrom(value);
- return this;
- }
-
- @Override
- public ChessRogueBuffInfo copyFrom(final ChessRogueBuffInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- buffData.copyFrom(other.buffData);
- }
- return this;
- }
-
- @Override
- public ChessRogueBuffInfo mergeFrom(final ChessRogueBuffInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasBuffData()) {
- getMutableBuffData().mergeFrom(other.buffData);
- }
- return this;
- }
-
- @Override
- public ChessRogueBuffInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- buffData.clear();
- return this;
- }
-
- @Override
- public ChessRogueBuffInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- buffData.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueBuffInfo)) {
- return false;
- }
- ChessRogueBuffInfo other = (ChessRogueBuffInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasBuffData() || buffData.equals(other.buffData));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 98);
- output.writeMessageNoTag(buffData);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(buffData);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueBuffInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 98: {
- // buffData
- input.readMessage(buffData);
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeMessage(FieldNames.buffData, buffData);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueBuffInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -1523035491:
- case 55546902: {
- if (input.isAtField(FieldNames.buffData)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(buffData);
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueBuffInfo clone() {
- return new ChessRogueBuffInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueBuffInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueBuffInfo(), data).checkInitialized();
- }
-
- public static ChessRogueBuffInfo parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueBuffInfo(), input).checkInitialized();
- }
-
- public static ChessRogueBuffInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueBuffInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueBuffInfo messages
- */
- public static MessageFactory- * 61 - *- * - *
optional uint32 BIEJGDGAOBL = 8;
- */
- private int bIEJGDGAOBL;
-
- /**
- * repeated .ChessRogueCell query = 1;
- */
- private final RepeatedMessage- * 61 - *- * - *
optional uint32 BIEJGDGAOBL = 8;
- * @return whether the bIEJGDGAOBL field is set
- */
- public boolean hasBIEJGDGAOBL() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * - * 61 - *- * - *
optional uint32 BIEJGDGAOBL = 8;
- * @return this
- */
- public ChessRogueCellInfo clearBIEJGDGAOBL() {
- bitField0_ &= ~0x00000001;
- bIEJGDGAOBL = 0;
- return this;
- }
-
- /**
- * - * 61 - *- * - *
optional uint32 BIEJGDGAOBL = 8;
- * @return the bIEJGDGAOBL
- */
- public int getBIEJGDGAOBL() {
- return bIEJGDGAOBL;
- }
-
- /**
- * - * 61 - *- * - *
optional uint32 BIEJGDGAOBL = 8;
- * @param value the bIEJGDGAOBL to set
- * @return this
- */
- public ChessRogueCellInfo setBIEJGDGAOBL(final int value) {
- bitField0_ |= 0x00000001;
- bIEJGDGAOBL = value;
- return this;
- }
-
- /**
- * repeated .ChessRogueCell query = 1;
- * @return whether the query field is set
- */
- public boolean hasQuery() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * repeated .ChessRogueCell query = 1;
- * @return this
- */
- public ChessRogueCellInfo clearQuery() {
- bitField0_ &= ~0x00000002;
- query.clear();
- return this;
- }
-
- /**
- * repeated .ChessRogueCell query = 1;
- *
- * 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.
- *
- * Use {@link #getMutableQuery()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessagerepeated .ChessRogueCell query = 1;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessagerepeated .ChessRogueCell query = 1;
- * @param value the query to add
- * @return this
- */
- public ChessRogueCellInfo addQuery(final ChessRogueCellOuterClass.ChessRogueCell value) {
- bitField0_ |= 0x00000002;
- query.add(value);
- return this;
- }
-
- /**
- * repeated .ChessRogueCell query = 1;
- * @param values the query to add
- * @return this
- */
- public ChessRogueCellInfo addAllQuery(final ChessRogueCellOuterClass.ChessRogueCell... values) {
- bitField0_ |= 0x00000002;
- query.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueCellInfo copyFrom(final ChessRogueCellInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- bIEJGDGAOBL = other.bIEJGDGAOBL;
- query.copyFrom(other.query);
- }
- return this;
- }
-
- @Override
- public ChessRogueCellInfo mergeFrom(final ChessRogueCellInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasBIEJGDGAOBL()) {
- setBIEJGDGAOBL(other.bIEJGDGAOBL);
- }
- if (other.hasQuery()) {
- getMutableQuery().addAll(other.query);
- }
- return this;
- }
-
- @Override
- public ChessRogueCellInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- bIEJGDGAOBL = 0;
- query.clear();
- return this;
- }
-
- @Override
- public ChessRogueCellInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- query.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueCellInfo)) {
- return false;
- }
- ChessRogueCellInfo other = (ChessRogueCellInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasBIEJGDGAOBL() || bIEJGDGAOBL == other.bIEJGDGAOBL)
- && (!hasQuery() || query.equals(other.query));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt32NoTag(bIEJGDGAOBL);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- for (int i = 0; i < query.length(); i++) {
- output.writeRawByte((byte) 10);
- output.writeMessageNoTag(query.get(i));
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(bIEJGDGAOBL);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += (1 * query.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(query);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueCellInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 64: {
- // bIEJGDGAOBL
- bIEJGDGAOBL = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 10) {
- break;
- }
- }
- case 10: {
- // query
- tag = input.readRepeatedMessage(query, tag);
- bitField0_ |= 0x00000002;
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.bIEJGDGAOBL, bIEJGDGAOBL);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRepeatedMessage(FieldNames.query, query);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueCellInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 760968790: {
- if (input.isAtField(FieldNames.bIEJGDGAOBL)) {
- if (!input.trySkipNullValue()) {
- bIEJGDGAOBL = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 107944136: {
- if (input.isAtField(FieldNames.query)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(query);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueCellInfo clone() {
- return new ChessRogueCellInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueCellInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueCellInfo(), data).checkInitialized();
- }
-
- public static ChessRogueCellInfo parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueCellInfo(), input).checkInitialized();
- }
-
- public static ChessRogueCellInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueCellInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueCellInfo messages
- */
- public static MessageFactoryoptional uint32 entrance_id = 1;
- */
- private int entranceId;
-
- /**
- * optional uint32 NNMNHHPJBDB = 2;
- */
- private int nNMNHHPJBDB;
-
- /**
- * optional uint32 NLBGDNLIONI = 3;
- */
- private int nLBGDNLIONI;
-
- /**
- * optional uint32 FOKKJJADPEA = 5;
- */
- private int fOKKJJADPEA;
-
- /**
- * - * 5, 3 - *- * - *
optional uint32 PNKFAINKKCE = 7;
- */
- private int pNKFAINKKCE;
-
- /**
- * optional uint32 cell_id = 9;
- */
- private int cellId;
-
- /**
- * - * 7, 4 - *- * - *
optional uint32 JLOBGDKNJLN = 10;
- */
- private int jLOBGDKNJLN;
-
- /**
- * optional uint32 new_room_id = 11;
- */
- private int newRoomId;
-
- /**
- * - * AKNBDONHPPM chess_rogue_info = 14; - *- * - *
optional bool PMBLMGDFGAN = 6;
- */
- private boolean pMBLMGDFGAN;
-
- /**
- * - * true - *- * - *
optional bool is_unlocked = 8;
- */
- private boolean isUnlocked;
-
- /**
- * repeated uint32 IIJOCONHKND = 4;
- */
- private final RepeatedInt iIJOCONHKND = RepeatedInt.newEmptyInstance();
-
- private ChessRogueCell() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueCell}
- */
- public static ChessRogueCell newInstance() {
- return new ChessRogueCell();
- }
-
- /**
- * optional uint32 entrance_id = 1;
- * @return whether the entranceId field is set
- */
- public boolean hasEntranceId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 entrance_id = 1;
- * @return this
- */
- public ChessRogueCell clearEntranceId() {
- bitField0_ &= ~0x00000001;
- entranceId = 0;
- return this;
- }
-
- /**
- * optional uint32 entrance_id = 1;
- * @return the entranceId
- */
- public int getEntranceId() {
- return entranceId;
- }
-
- /**
- * optional uint32 entrance_id = 1;
- * @param value the entranceId to set
- * @return this
- */
- public ChessRogueCell setEntranceId(final int value) {
- bitField0_ |= 0x00000001;
- entranceId = value;
- return this;
- }
-
- /**
- * optional uint32 NNMNHHPJBDB = 2;
- * @return whether the nNMNHHPJBDB field is set
- */
- public boolean hasNNMNHHPJBDB() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 NNMNHHPJBDB = 2;
- * @return this
- */
- public ChessRogueCell clearNNMNHHPJBDB() {
- bitField0_ &= ~0x00000002;
- nNMNHHPJBDB = 0;
- return this;
- }
-
- /**
- * optional uint32 NNMNHHPJBDB = 2;
- * @return the nNMNHHPJBDB
- */
- public int getNNMNHHPJBDB() {
- return nNMNHHPJBDB;
- }
-
- /**
- * optional uint32 NNMNHHPJBDB = 2;
- * @param value the nNMNHHPJBDB to set
- * @return this
- */
- public ChessRogueCell setNNMNHHPJBDB(final int value) {
- bitField0_ |= 0x00000002;
- nNMNHHPJBDB = value;
- return this;
- }
-
- /**
- * optional uint32 NLBGDNLIONI = 3;
- * @return whether the nLBGDNLIONI field is set
- */
- public boolean hasNLBGDNLIONI() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 NLBGDNLIONI = 3;
- * @return this
- */
- public ChessRogueCell clearNLBGDNLIONI() {
- bitField0_ &= ~0x00000004;
- nLBGDNLIONI = 0;
- return this;
- }
-
- /**
- * optional uint32 NLBGDNLIONI = 3;
- * @return the nLBGDNLIONI
- */
- public int getNLBGDNLIONI() {
- return nLBGDNLIONI;
- }
-
- /**
- * optional uint32 NLBGDNLIONI = 3;
- * @param value the nLBGDNLIONI to set
- * @return this
- */
- public ChessRogueCell setNLBGDNLIONI(final int value) {
- bitField0_ |= 0x00000004;
- nLBGDNLIONI = value;
- return this;
- }
-
- /**
- * optional uint32 FOKKJJADPEA = 5;
- * @return whether the fOKKJJADPEA field is set
- */
- public boolean hasFOKKJJADPEA() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional uint32 FOKKJJADPEA = 5;
- * @return this
- */
- public ChessRogueCell clearFOKKJJADPEA() {
- bitField0_ &= ~0x00000008;
- fOKKJJADPEA = 0;
- return this;
- }
-
- /**
- * optional uint32 FOKKJJADPEA = 5;
- * @return the fOKKJJADPEA
- */
- public int getFOKKJJADPEA() {
- return fOKKJJADPEA;
- }
-
- /**
- * optional uint32 FOKKJJADPEA = 5;
- * @param value the fOKKJJADPEA to set
- * @return this
- */
- public ChessRogueCell setFOKKJJADPEA(final int value) {
- bitField0_ |= 0x00000008;
- fOKKJJADPEA = value;
- return this;
- }
-
- /**
- * - * 5, 3 - *- * - *
optional uint32 PNKFAINKKCE = 7;
- * @return whether the pNKFAINKKCE field is set
- */
- public boolean hasPNKFAINKKCE() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * - * 5, 3 - *- * - *
optional uint32 PNKFAINKKCE = 7;
- * @return this
- */
- public ChessRogueCell clearPNKFAINKKCE() {
- bitField0_ &= ~0x00000010;
- pNKFAINKKCE = 0;
- return this;
- }
-
- /**
- * - * 5, 3 - *- * - *
optional uint32 PNKFAINKKCE = 7;
- * @return the pNKFAINKKCE
- */
- public int getPNKFAINKKCE() {
- return pNKFAINKKCE;
- }
-
- /**
- * - * 5, 3 - *- * - *
optional uint32 PNKFAINKKCE = 7;
- * @param value the pNKFAINKKCE to set
- * @return this
- */
- public ChessRogueCell setPNKFAINKKCE(final int value) {
- bitField0_ |= 0x00000010;
- pNKFAINKKCE = value;
- return this;
- }
-
- /**
- * optional uint32 cell_id = 9;
- * @return whether the cellId field is set
- */
- public boolean hasCellId() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * optional uint32 cell_id = 9;
- * @return this
- */
- public ChessRogueCell clearCellId() {
- bitField0_ &= ~0x00000020;
- cellId = 0;
- return this;
- }
-
- /**
- * optional uint32 cell_id = 9;
- * @return the cellId
- */
- public int getCellId() {
- return cellId;
- }
-
- /**
- * optional uint32 cell_id = 9;
- * @param value the cellId to set
- * @return this
- */
- public ChessRogueCell setCellId(final int value) {
- bitField0_ |= 0x00000020;
- cellId = value;
- return this;
- }
-
- /**
- * - * 7, 4 - *- * - *
optional uint32 JLOBGDKNJLN = 10;
- * @return whether the jLOBGDKNJLN field is set
- */
- public boolean hasJLOBGDKNJLN() {
- return (bitField0_ & 0x00000040) != 0;
- }
-
- /**
- * - * 7, 4 - *- * - *
optional uint32 JLOBGDKNJLN = 10;
- * @return this
- */
- public ChessRogueCell clearJLOBGDKNJLN() {
- bitField0_ &= ~0x00000040;
- jLOBGDKNJLN = 0;
- return this;
- }
-
- /**
- * - * 7, 4 - *- * - *
optional uint32 JLOBGDKNJLN = 10;
- * @return the jLOBGDKNJLN
- */
- public int getJLOBGDKNJLN() {
- return jLOBGDKNJLN;
- }
-
- /**
- * - * 7, 4 - *- * - *
optional uint32 JLOBGDKNJLN = 10;
- * @param value the jLOBGDKNJLN to set
- * @return this
- */
- public ChessRogueCell setJLOBGDKNJLN(final int value) {
- bitField0_ |= 0x00000040;
- jLOBGDKNJLN = value;
- return this;
- }
-
- /**
- * optional uint32 new_room_id = 11;
- * @return whether the newRoomId field is set
- */
- public boolean hasNewRoomId() {
- return (bitField0_ & 0x00000080) != 0;
- }
-
- /**
- * optional uint32 new_room_id = 11;
- * @return this
- */
- public ChessRogueCell clearNewRoomId() {
- bitField0_ &= ~0x00000080;
- newRoomId = 0;
- return this;
- }
-
- /**
- * optional uint32 new_room_id = 11;
- * @return the newRoomId
- */
- public int getNewRoomId() {
- return newRoomId;
- }
-
- /**
- * optional uint32 new_room_id = 11;
- * @param value the newRoomId to set
- * @return this
- */
- public ChessRogueCell setNewRoomId(final int value) {
- bitField0_ |= 0x00000080;
- newRoomId = value;
- return this;
- }
-
- /**
- * - * AKNBDONHPPM chess_rogue_info = 14; - *- * - *
optional bool PMBLMGDFGAN = 6;
- * @return whether the pMBLMGDFGAN field is set
- */
- public boolean hasPMBLMGDFGAN() {
- return (bitField0_ & 0x00000100) != 0;
- }
-
- /**
- * - * AKNBDONHPPM chess_rogue_info = 14; - *- * - *
optional bool PMBLMGDFGAN = 6;
- * @return this
- */
- public ChessRogueCell clearPMBLMGDFGAN() {
- bitField0_ &= ~0x00000100;
- pMBLMGDFGAN = false;
- return this;
- }
-
- /**
- * - * AKNBDONHPPM chess_rogue_info = 14; - *- * - *
optional bool PMBLMGDFGAN = 6;
- * @return the pMBLMGDFGAN
- */
- public boolean getPMBLMGDFGAN() {
- return pMBLMGDFGAN;
- }
-
- /**
- * - * AKNBDONHPPM chess_rogue_info = 14; - *- * - *
optional bool PMBLMGDFGAN = 6;
- * @param value the pMBLMGDFGAN to set
- * @return this
- */
- public ChessRogueCell setPMBLMGDFGAN(final boolean value) {
- bitField0_ |= 0x00000100;
- pMBLMGDFGAN = value;
- return this;
- }
-
- /**
- * - * true - *- * - *
optional bool is_unlocked = 8;
- * @return whether the isUnlocked field is set
- */
- public boolean hasIsUnlocked() {
- return (bitField0_ & 0x00000200) != 0;
- }
-
- /**
- * - * true - *- * - *
optional bool is_unlocked = 8;
- * @return this
- */
- public ChessRogueCell clearIsUnlocked() {
- bitField0_ &= ~0x00000200;
- isUnlocked = false;
- return this;
- }
-
- /**
- * - * true - *- * - *
optional bool is_unlocked = 8;
- * @return the isUnlocked
- */
- public boolean getIsUnlocked() {
- return isUnlocked;
- }
-
- /**
- * - * true - *- * - *
optional bool is_unlocked = 8;
- * @param value the isUnlocked to set
- * @return this
- */
- public ChessRogueCell setIsUnlocked(final boolean value) {
- bitField0_ |= 0x00000200;
- isUnlocked = value;
- return this;
- }
-
- /**
- * repeated uint32 IIJOCONHKND = 4;
- * @return whether the iIJOCONHKND field is set
- */
- public boolean hasIIJOCONHKND() {
- return (bitField0_ & 0x00000400) != 0;
- }
-
- /**
- * repeated uint32 IIJOCONHKND = 4;
- * @return this
- */
- public ChessRogueCell clearIIJOCONHKND() {
- bitField0_ &= ~0x00000400;
- iIJOCONHKND.clear();
- return this;
- }
-
- /**
- * repeated uint32 IIJOCONHKND = 4;
- *
- * 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.
- *
- * Use {@link #getMutableIIJOCONHKND()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getIIJOCONHKND() {
- return iIJOCONHKND;
- }
-
- /**
- * repeated uint32 IIJOCONHKND = 4;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableIIJOCONHKND() {
- bitField0_ |= 0x00000400;
- return iIJOCONHKND;
- }
-
- /**
- * repeated uint32 IIJOCONHKND = 4;
- * @param value the iIJOCONHKND to add
- * @return this
- */
- public ChessRogueCell addIIJOCONHKND(final int value) {
- bitField0_ |= 0x00000400;
- iIJOCONHKND.add(value);
- return this;
- }
-
- /**
- * repeated uint32 IIJOCONHKND = 4;
- * @param values the iIJOCONHKND to add
- * @return this
- */
- public ChessRogueCell addAllIIJOCONHKND(final int... values) {
- bitField0_ |= 0x00000400;
- iIJOCONHKND.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueCell copyFrom(final ChessRogueCell other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- entranceId = other.entranceId;
- nNMNHHPJBDB = other.nNMNHHPJBDB;
- nLBGDNLIONI = other.nLBGDNLIONI;
- fOKKJJADPEA = other.fOKKJJADPEA;
- pNKFAINKKCE = other.pNKFAINKKCE;
- cellId = other.cellId;
- jLOBGDKNJLN = other.jLOBGDKNJLN;
- newRoomId = other.newRoomId;
- pMBLMGDFGAN = other.pMBLMGDFGAN;
- isUnlocked = other.isUnlocked;
- iIJOCONHKND.copyFrom(other.iIJOCONHKND);
- }
- return this;
- }
-
- @Override
- public ChessRogueCell mergeFrom(final ChessRogueCell other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasEntranceId()) {
- setEntranceId(other.entranceId);
- }
- if (other.hasNNMNHHPJBDB()) {
- setNNMNHHPJBDB(other.nNMNHHPJBDB);
- }
- if (other.hasNLBGDNLIONI()) {
- setNLBGDNLIONI(other.nLBGDNLIONI);
- }
- if (other.hasFOKKJJADPEA()) {
- setFOKKJJADPEA(other.fOKKJJADPEA);
- }
- if (other.hasPNKFAINKKCE()) {
- setPNKFAINKKCE(other.pNKFAINKKCE);
- }
- if (other.hasCellId()) {
- setCellId(other.cellId);
- }
- if (other.hasJLOBGDKNJLN()) {
- setJLOBGDKNJLN(other.jLOBGDKNJLN);
- }
- if (other.hasNewRoomId()) {
- setNewRoomId(other.newRoomId);
- }
- if (other.hasPMBLMGDFGAN()) {
- setPMBLMGDFGAN(other.pMBLMGDFGAN);
- }
- if (other.hasIsUnlocked()) {
- setIsUnlocked(other.isUnlocked);
- }
- if (other.hasIIJOCONHKND()) {
- getMutableIIJOCONHKND().addAll(other.iIJOCONHKND);
- }
- return this;
- }
-
- @Override
- public ChessRogueCell clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- entranceId = 0;
- nNMNHHPJBDB = 0;
- nLBGDNLIONI = 0;
- fOKKJJADPEA = 0;
- pNKFAINKKCE = 0;
- cellId = 0;
- jLOBGDKNJLN = 0;
- newRoomId = 0;
- pMBLMGDFGAN = false;
- isUnlocked = false;
- iIJOCONHKND.clear();
- return this;
- }
-
- @Override
- public ChessRogueCell clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- iIJOCONHKND.clear();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueCell)) {
- return false;
- }
- ChessRogueCell other = (ChessRogueCell) o;
- return bitField0_ == other.bitField0_
- && (!hasEntranceId() || entranceId == other.entranceId)
- && (!hasNNMNHHPJBDB() || nNMNHHPJBDB == other.nNMNHHPJBDB)
- && (!hasNLBGDNLIONI() || nLBGDNLIONI == other.nLBGDNLIONI)
- && (!hasFOKKJJADPEA() || fOKKJJADPEA == other.fOKKJJADPEA)
- && (!hasPNKFAINKKCE() || pNKFAINKKCE == other.pNKFAINKKCE)
- && (!hasCellId() || cellId == other.cellId)
- && (!hasJLOBGDKNJLN() || jLOBGDKNJLN == other.jLOBGDKNJLN)
- && (!hasNewRoomId() || newRoomId == other.newRoomId)
- && (!hasPMBLMGDFGAN() || pMBLMGDFGAN == other.pMBLMGDFGAN)
- && (!hasIsUnlocked() || isUnlocked == other.isUnlocked)
- && (!hasIIJOCONHKND() || iIJOCONHKND.equals(other.iIJOCONHKND));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(entranceId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(nNMNHHPJBDB);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(nLBGDNLIONI);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 40);
- output.writeUInt32NoTag(fOKKJJADPEA);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 56);
- output.writeUInt32NoTag(pNKFAINKKCE);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 72);
- output.writeUInt32NoTag(cellId);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeRawByte((byte) 80);
- output.writeUInt32NoTag(jLOBGDKNJLN);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeRawByte((byte) 88);
- output.writeUInt32NoTag(newRoomId);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- output.writeRawByte((byte) 48);
- output.writeBoolNoTag(pMBLMGDFGAN);
- }
- if ((bitField0_ & 0x00000200) != 0) {
- output.writeRawByte((byte) 64);
- output.writeBoolNoTag(isUnlocked);
- }
- if ((bitField0_ & 0x00000400) != 0) {
- for (int i = 0; i < iIJOCONHKND.length(); i++) {
- output.writeRawByte((byte) 32);
- output.writeUInt32NoTag(iIJOCONHKND.array()[i]);
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(entranceId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(nNMNHHPJBDB);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(nLBGDNLIONI);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(fOKKJJADPEA);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(pNKFAINKKCE);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(cellId);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(jLOBGDKNJLN);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(newRoomId);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000200) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000400) != 0) {
- size += (1 * iIJOCONHKND.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(iIJOCONHKND);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueCell mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 8: {
- // entranceId
- entranceId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 16) {
- break;
- }
- }
- case 16: {
- // nNMNHHPJBDB
- nNMNHHPJBDB = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 24) {
- break;
- }
- }
- case 24: {
- // nLBGDNLIONI
- nLBGDNLIONI = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 40) {
- break;
- }
- }
- case 40: {
- // fOKKJJADPEA
- fOKKJJADPEA = input.readUInt32();
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 56) {
- break;
- }
- }
- case 56: {
- // pNKFAINKKCE
- pNKFAINKKCE = input.readUInt32();
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 72) {
- break;
- }
- }
- case 72: {
- // cellId
- cellId = input.readUInt32();
- bitField0_ |= 0x00000020;
- tag = input.readTag();
- if (tag != 80) {
- break;
- }
- }
- case 80: {
- // jLOBGDKNJLN
- jLOBGDKNJLN = input.readUInt32();
- bitField0_ |= 0x00000040;
- tag = input.readTag();
- if (tag != 88) {
- break;
- }
- }
- case 88: {
- // newRoomId
- newRoomId = input.readUInt32();
- bitField0_ |= 0x00000080;
- tag = input.readTag();
- if (tag != 48) {
- break;
- }
- }
- case 48: {
- // pMBLMGDFGAN
- pMBLMGDFGAN = input.readBool();
- bitField0_ |= 0x00000100;
- tag = input.readTag();
- if (tag != 64) {
- break;
- }
- }
- case 64: {
- // isUnlocked
- isUnlocked = input.readBool();
- bitField0_ |= 0x00000200;
- tag = input.readTag();
- if (tag != 34) {
- break;
- }
- }
- case 34: {
- // iIJOCONHKND [packed=true]
- input.readPackedUInt32(iIJOCONHKND, tag);
- bitField0_ |= 0x00000400;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- case 32: {
- // iIJOCONHKND [packed=false]
- tag = input.readRepeatedUInt32(iIJOCONHKND, tag);
- bitField0_ |= 0x00000400;
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.entranceId, entranceId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.nNMNHHPJBDB, nNMNHHPJBDB);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.nLBGDNLIONI, nLBGDNLIONI);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt32(FieldNames.fOKKJJADPEA, fOKKJJADPEA);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeUInt32(FieldNames.pNKFAINKKCE, pNKFAINKKCE);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeUInt32(FieldNames.cellId, cellId);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeUInt32(FieldNames.jLOBGDKNJLN, jLOBGDKNJLN);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeUInt32(FieldNames.newRoomId, newRoomId);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- output.writeBool(FieldNames.pMBLMGDFGAN, pMBLMGDFGAN);
- }
- if ((bitField0_ & 0x00000200) != 0) {
- output.writeBool(FieldNames.isUnlocked, isUnlocked);
- }
- if ((bitField0_ & 0x00000400) != 0) {
- output.writeRepeatedUInt32(FieldNames.iIJOCONHKND, iIJOCONHKND);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueCell mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 1655881329:
- case -207264956: {
- if (input.isAtField(FieldNames.entranceId)) {
- if (!input.trySkipNullValue()) {
- entranceId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1801949317: {
- if (input.isAtField(FieldNames.nNMNHHPJBDB)) {
- if (!input.trySkipNullValue()) {
- nNMNHHPJBDB = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -2094582400: {
- if (input.isAtField(FieldNames.nLBGDNLIONI)) {
- if (!input.trySkipNullValue()) {
- nLBGDNLIONI = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -994096992: {
- if (input.isAtField(FieldNames.fOKKJJADPEA)) {
- if (!input.trySkipNullValue()) {
- fOKKJJADPEA = input.readUInt32();
- bitField0_ |= 0x00000008;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1125363217: {
- if (input.isAtField(FieldNames.pNKFAINKKCE)) {
- if (!input.trySkipNullValue()) {
- pNKFAINKKCE = input.readUInt32();
- bitField0_ |= 0x00000010;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1364082147:
- case 663147800: {
- if (input.isAtField(FieldNames.cellId)) {
- if (!input.trySkipNullValue()) {
- cellId = input.readUInt32();
- bitField0_ |= 0x00000020;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1027507223: {
- if (input.isAtField(FieldNames.jLOBGDKNJLN)) {
- if (!input.trySkipNullValue()) {
- jLOBGDKNJLN = input.readUInt32();
- bitField0_ |= 0x00000040;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -629039850:
- case 635252576: {
- if (input.isAtField(FieldNames.newRoomId)) {
- if (!input.trySkipNullValue()) {
- newRoomId = input.readUInt32();
- bitField0_ |= 0x00000080;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 2018761905: {
- if (input.isAtField(FieldNames.pMBLMGDFGAN)) {
- if (!input.trySkipNullValue()) {
- pMBLMGDFGAN = input.readBool();
- bitField0_ |= 0x00000100;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1004219859:
- case -945979816: {
- if (input.isAtField(FieldNames.isUnlocked)) {
- if (!input.trySkipNullValue()) {
- isUnlocked = input.readBool();
- bitField0_ |= 0x00000200;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1810533462: {
- if (input.isAtField(FieldNames.iIJOCONHKND)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(iIJOCONHKND);
- bitField0_ |= 0x00000400;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueCell clone() {
- return new ChessRogueCell().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueCell parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueCell(), data).checkInitialized();
- }
-
- public static ChessRogueCell parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueCell(), input).checkInitialized();
- }
-
- public static ChessRogueCell parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueCell(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueCell messages
- */
- public static MessageFactory- * LCMLACLKNDI HFBFDNEMJED = 6; - *- * - *
optional uint32 cell_room_id = 15;
- */
- private int cellRoomId;
-
- /**
- * - * JGJCJHMAKKA reason = 11; - *- * - *
repeated .ChessRogueCell cell_info = 3;
- */
- private final RepeatedMessage- * LCMLACLKNDI HFBFDNEMJED = 6; - *- * - *
optional uint32 cell_room_id = 15;
- * @return whether the cellRoomId field is set
- */
- public boolean hasCellRoomId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * - * LCMLACLKNDI HFBFDNEMJED = 6; - *- * - *
optional uint32 cell_room_id = 15;
- * @return this
- */
- public ChessRogueCellUpdateNotify clearCellRoomId() {
- bitField0_ &= ~0x00000001;
- cellRoomId = 0;
- return this;
- }
-
- /**
- * - * LCMLACLKNDI HFBFDNEMJED = 6; - *- * - *
optional uint32 cell_room_id = 15;
- * @return the cellRoomId
- */
- public int getCellRoomId() {
- return cellRoomId;
- }
-
- /**
- * - * LCMLACLKNDI HFBFDNEMJED = 6; - *- * - *
optional uint32 cell_room_id = 15;
- * @param value the cellRoomId to set
- * @return this
- */
- public ChessRogueCellUpdateNotify setCellRoomId(final int value) {
- bitField0_ |= 0x00000001;
- cellRoomId = value;
- return this;
- }
-
- /**
- * - * JGJCJHMAKKA reason = 11; - *- * - *
repeated .ChessRogueCell cell_info = 3;
- * @return whether the cellInfo field is set
- */
- public boolean hasCellInfo() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * - * JGJCJHMAKKA reason = 11; - *- * - *
repeated .ChessRogueCell cell_info = 3;
- * @return this
- */
- public ChessRogueCellUpdateNotify clearCellInfo() {
- bitField0_ &= ~0x00000002;
- cellInfo.clear();
- return this;
- }
-
- /**
- * - * JGJCJHMAKKA reason = 11; - *- * - *
repeated .ChessRogueCell cell_info = 3;
- *
- * 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.
- *
- * Use {@link #getMutableCellInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessage- * JGJCJHMAKKA reason = 11; - *- * - *
repeated .ChessRogueCell cell_info = 3;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessage- * JGJCJHMAKKA reason = 11; - *- * - *
repeated .ChessRogueCell cell_info = 3;
- * @param value the cellInfo to add
- * @return this
- */
- public ChessRogueCellUpdateNotify addCellInfo(
- final ChessRogueCellOuterClass.ChessRogueCell value) {
- bitField0_ |= 0x00000002;
- cellInfo.add(value);
- return this;
- }
-
- /**
- * - * JGJCJHMAKKA reason = 11; - *- * - *
repeated .ChessRogueCell cell_info = 3;
- * @param values the cellInfo to add
- * @return this
- */
- public ChessRogueCellUpdateNotify addAllCellInfo(
- final ChessRogueCellOuterClass.ChessRogueCell... values) {
- bitField0_ |= 0x00000002;
- cellInfo.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueCellUpdateNotify copyFrom(final ChessRogueCellUpdateNotify other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- cellRoomId = other.cellRoomId;
- cellInfo.copyFrom(other.cellInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueCellUpdateNotify mergeFrom(final ChessRogueCellUpdateNotify other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasCellRoomId()) {
- setCellRoomId(other.cellRoomId);
- }
- if (other.hasCellInfo()) {
- getMutableCellInfo().addAll(other.cellInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueCellUpdateNotify clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- cellRoomId = 0;
- cellInfo.clear();
- return this;
- }
-
- @Override
- public ChessRogueCellUpdateNotify clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- cellInfo.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueCellUpdateNotify)) {
- return false;
- }
- ChessRogueCellUpdateNotify other = (ChessRogueCellUpdateNotify) o;
- return bitField0_ == other.bitField0_
- && (!hasCellRoomId() || cellRoomId == other.cellRoomId)
- && (!hasCellInfo() || cellInfo.equals(other.cellInfo));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 120);
- output.writeUInt32NoTag(cellRoomId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- for (int i = 0; i < cellInfo.length(); i++) {
- output.writeRawByte((byte) 26);
- output.writeMessageNoTag(cellInfo.get(i));
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(cellRoomId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += (1 * cellInfo.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(cellInfo);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueCellUpdateNotify mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 120: {
- // cellRoomId
- cellRoomId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 26) {
- break;
- }
- }
- case 26: {
- // cellInfo
- tag = input.readRepeatedMessage(cellInfo, tag);
- bitField0_ |= 0x00000002;
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.cellRoomId, cellRoomId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRepeatedMessage(FieldNames.cellInfo, cellInfo);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueCellUpdateNotify mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -1379654824:
- case 848768290: {
- if (input.isAtField(FieldNames.cellRoomId)) {
- if (!input.trySkipNullValue()) {
- cellRoomId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -917905104:
- case 1629888875: {
- if (input.isAtField(FieldNames.cellInfo)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(cellInfo);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueCellUpdateNotify clone() {
- return new ChessRogueCellUpdateNotify().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueCellUpdateNotify parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueCellUpdateNotify(), data).checkInitialized();
- }
-
- public static ChessRogueCellUpdateNotify parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueCellUpdateNotify(), input).checkInitialized();
- }
-
- public static ChessRogueCellUpdateNotify parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueCellUpdateNotify(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueCellUpdateNotify messages
- */
- public static MessageFactoryoptional uint32 rogue_version_id = 6;
- */
- private int rogueVersionId;
-
- /**
- * optional .ChessRogueNousValue nous_value = 1;
- */
- private final ChessRogueNousValueOuterClass.ChessRogueNousValue nousValue = ChessRogueNousValueOuterClass.ChessRogueNousValue.newInstance();
-
- /**
- * optional .ChessRogueAvatarInfo rogue_avatar_info = 9;
- */
- private final ChessRogueAvatarInfoOuterClass.ChessRogueAvatarInfo rogueAvatarInfo = ChessRogueAvatarInfoOuterClass.ChessRogueAvatarInfo.newInstance();
-
- /**
- * optional .ChessRogueNousStoryInfo story_info = 10;
- */
- private final ChessRogueNousStoryInfoOuterClass.ChessRogueNousStoryInfo storyInfo = ChessRogueNousStoryInfoOuterClass.ChessRogueNousStoryInfo.newInstance();
-
- /**
- * optional .RogueCommonPendingAction pending_action = 11;
- */
- private final RogueCommonPendingActionOuterClass.RogueCommonPendingAction pendingAction = RogueCommonPendingActionOuterClass.RogueCommonPendingAction.newInstance();
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 12;
- */
- private final ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo buffInfo = ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo.newInstance();
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 14;
- */
- private final ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo miracleInfo = ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo.newInstance();
-
- /**
- * optional .ChessRogueNousDice dice_info = 15;
- */
- private final ChessRogueNousDiceOuterClass.ChessRogueNousDice diceInfo = ChessRogueNousDiceOuterClass.ChessRogueNousDice.newInstance();
-
- /**
- * repeated .ChessRogueVirtualItemInfo virtual_item_info = 4;
- */
- private final RepeatedMessageoptional uint32 rogue_version_id = 6;
- * @return whether the rogueVersionId field is set
- */
- public boolean hasRogueVersionId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 rogue_version_id = 6;
- * @return this
- */
- public ChessRogueCurrentInfo clearRogueVersionId() {
- bitField0_ &= ~0x00000001;
- rogueVersionId = 0;
- return this;
- }
-
- /**
- * optional uint32 rogue_version_id = 6;
- * @return the rogueVersionId
- */
- public int getRogueVersionId() {
- return rogueVersionId;
- }
-
- /**
- * optional uint32 rogue_version_id = 6;
- * @param value the rogueVersionId to set
- * @return this
- */
- public ChessRogueCurrentInfo setRogueVersionId(final int value) {
- bitField0_ |= 0x00000001;
- rogueVersionId = value;
- return this;
- }
-
- /**
- * optional .ChessRogueNousValue nous_value = 1;
- * @return whether the nousValue field is set
- */
- public boolean hasNousValue() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional .ChessRogueNousValue nous_value = 1;
- * @return this
- */
- public ChessRogueCurrentInfo clearNousValue() {
- bitField0_ &= ~0x00000002;
- nousValue.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueNousValue nous_value = 1;
- *
- * 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.
- *
- * Use {@link #getMutableNousValue()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueNousValueOuterClass.ChessRogueNousValue getNousValue() {
- return nousValue;
- }
-
- /**
- * optional .ChessRogueNousValue nous_value = 1;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueNousValueOuterClass.ChessRogueNousValue getMutableNousValue() {
- bitField0_ |= 0x00000002;
- return nousValue;
- }
-
- /**
- * optional .ChessRogueNousValue nous_value = 1;
- * @param value the nousValue to set
- * @return this
- */
- public ChessRogueCurrentInfo setNousValue(
- final ChessRogueNousValueOuterClass.ChessRogueNousValue value) {
- bitField0_ |= 0x00000002;
- nousValue.copyFrom(value);
- return this;
- }
-
- /**
- * optional .ChessRogueAvatarInfo rogue_avatar_info = 9;
- * @return whether the rogueAvatarInfo field is set
- */
- public boolean hasRogueAvatarInfo() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional .ChessRogueAvatarInfo rogue_avatar_info = 9;
- * @return this
- */
- public ChessRogueCurrentInfo clearRogueAvatarInfo() {
- bitField0_ &= ~0x00000004;
- rogueAvatarInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueAvatarInfo rogue_avatar_info = 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.
- *
- * Use {@link #getMutableRogueAvatarInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueAvatarInfoOuterClass.ChessRogueAvatarInfo getRogueAvatarInfo() {
- return rogueAvatarInfo;
- }
-
- /**
- * optional .ChessRogueAvatarInfo rogue_avatar_info = 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
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueAvatarInfoOuterClass.ChessRogueAvatarInfo getMutableRogueAvatarInfo() {
- bitField0_ |= 0x00000004;
- return rogueAvatarInfo;
- }
-
- /**
- * optional .ChessRogueAvatarInfo rogue_avatar_info = 9;
- * @param value the rogueAvatarInfo to set
- * @return this
- */
- public ChessRogueCurrentInfo setRogueAvatarInfo(
- final ChessRogueAvatarInfoOuterClass.ChessRogueAvatarInfo value) {
- bitField0_ |= 0x00000004;
- rogueAvatarInfo.copyFrom(value);
- return this;
- }
-
- /**
- * optional .ChessRogueNousStoryInfo story_info = 10;
- * @return whether the storyInfo field is set
- */
- public boolean hasStoryInfo() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional .ChessRogueNousStoryInfo story_info = 10;
- * @return this
- */
- public ChessRogueCurrentInfo clearStoryInfo() {
- bitField0_ &= ~0x00000008;
- storyInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueNousStoryInfo story_info = 10;
- *
- * 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.
- *
- * Use {@link #getMutableStoryInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueNousStoryInfoOuterClass.ChessRogueNousStoryInfo getStoryInfo() {
- return storyInfo;
- }
-
- /**
- * optional .ChessRogueNousStoryInfo story_info = 10;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueNousStoryInfoOuterClass.ChessRogueNousStoryInfo getMutableStoryInfo() {
- bitField0_ |= 0x00000008;
- return storyInfo;
- }
-
- /**
- * optional .ChessRogueNousStoryInfo story_info = 10;
- * @param value the storyInfo to set
- * @return this
- */
- public ChessRogueCurrentInfo setStoryInfo(
- final ChessRogueNousStoryInfoOuterClass.ChessRogueNousStoryInfo value) {
- bitField0_ |= 0x00000008;
- storyInfo.copyFrom(value);
- return this;
- }
-
- /**
- * optional .RogueCommonPendingAction pending_action = 11;
- * @return whether the pendingAction field is set
- */
- public boolean hasPendingAction() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * optional .RogueCommonPendingAction pending_action = 11;
- * @return this
- */
- public ChessRogueCurrentInfo clearPendingAction() {
- bitField0_ &= ~0x00000010;
- pendingAction.clear();
- return this;
- }
-
- /**
- * optional .RogueCommonPendingAction pending_action = 11;
- *
- * 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.
- *
- * Use {@link #getMutablePendingAction()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RogueCommonPendingActionOuterClass.RogueCommonPendingAction getPendingAction() {
- return pendingAction;
- }
-
- /**
- * optional .RogueCommonPendingAction pending_action = 11;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RogueCommonPendingActionOuterClass.RogueCommonPendingAction getMutablePendingAction() {
- bitField0_ |= 0x00000010;
- return pendingAction;
- }
-
- /**
- * optional .RogueCommonPendingAction pending_action = 11;
- * @param value the pendingAction to set
- * @return this
- */
- public ChessRogueCurrentInfo setPendingAction(
- final RogueCommonPendingActionOuterClass.RogueCommonPendingAction value) {
- bitField0_ |= 0x00000010;
- pendingAction.copyFrom(value);
- return this;
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 12;
- * @return whether the buffInfo field is set
- */
- public boolean hasBuffInfo() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 12;
- * @return this
- */
- public ChessRogueCurrentInfo clearBuffInfo() {
- bitField0_ &= ~0x00000020;
- buffInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 12;
- *
- * 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.
- *
- * Use {@link #getMutableBuffInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo getBuffInfo() {
- return buffInfo;
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 12;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo getMutableBuffInfo() {
- bitField0_ |= 0x00000020;
- return buffInfo;
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 12;
- * @param value the buffInfo to set
- * @return this
- */
- public ChessRogueCurrentInfo setBuffInfo(
- final ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo value) {
- bitField0_ |= 0x00000020;
- buffInfo.copyFrom(value);
- return this;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 14;
- * @return whether the miracleInfo field is set
- */
- public boolean hasMiracleInfo() {
- return (bitField0_ & 0x00000040) != 0;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 14;
- * @return this
- */
- public ChessRogueCurrentInfo clearMiracleInfo() {
- bitField0_ &= ~0x00000040;
- miracleInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 14;
- *
- * 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.
- *
- * Use {@link #getMutableMiracleInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo getMiracleInfo() {
- return miracleInfo;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 14;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo getMutableMiracleInfo() {
- bitField0_ |= 0x00000040;
- return miracleInfo;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 14;
- * @param value the miracleInfo to set
- * @return this
- */
- public ChessRogueCurrentInfo setMiracleInfo(
- final ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo value) {
- bitField0_ |= 0x00000040;
- miracleInfo.copyFrom(value);
- return this;
- }
-
- /**
- * optional .ChessRogueNousDice dice_info = 15;
- * @return whether the diceInfo field is set
- */
- public boolean hasDiceInfo() {
- return (bitField0_ & 0x00000080) != 0;
- }
-
- /**
- * optional .ChessRogueNousDice dice_info = 15;
- * @return this
- */
- public ChessRogueCurrentInfo clearDiceInfo() {
- bitField0_ &= ~0x00000080;
- diceInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueNousDice dice_info = 15;
- *
- * 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.
- *
- * Use {@link #getMutableDiceInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueNousDiceOuterClass.ChessRogueNousDice getDiceInfo() {
- return diceInfo;
- }
-
- /**
- * optional .ChessRogueNousDice dice_info = 15;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueNousDiceOuterClass.ChessRogueNousDice getMutableDiceInfo() {
- bitField0_ |= 0x00000080;
- return diceInfo;
- }
-
- /**
- * optional .ChessRogueNousDice dice_info = 15;
- * @param value the diceInfo to set
- * @return this
- */
- public ChessRogueCurrentInfo setDiceInfo(
- final ChessRogueNousDiceOuterClass.ChessRogueNousDice value) {
- bitField0_ |= 0x00000080;
- diceInfo.copyFrom(value);
- return this;
- }
-
- /**
- * repeated .ChessRogueVirtualItemInfo virtual_item_info = 4;
- * @return whether the virtualItemInfo field is set
- */
- public boolean hasVirtualItemInfo() {
- return (bitField0_ & 0x00000100) != 0;
- }
-
- /**
- * repeated .ChessRogueVirtualItemInfo virtual_item_info = 4;
- * @return this
- */
- public ChessRogueCurrentInfo clearVirtualItemInfo() {
- bitField0_ &= ~0x00000100;
- virtualItemInfo.clear();
- return this;
- }
-
- /**
- * repeated .ChessRogueVirtualItemInfo virtual_item_info = 4;
- *
- * 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.
- *
- * Use {@link #getMutableVirtualItemInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessagerepeated .ChessRogueVirtualItemInfo virtual_item_info = 4;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessagerepeated .ChessRogueVirtualItemInfo virtual_item_info = 4;
- * @param value the virtualItemInfo to add
- * @return this
- */
- public ChessRogueCurrentInfo addVirtualItemInfo(
- final ChessRogueVirtualItemInfoOuterClass.ChessRogueVirtualItemInfo value) {
- bitField0_ |= 0x00000100;
- virtualItemInfo.add(value);
- return this;
- }
-
- /**
- * repeated .ChessRogueVirtualItemInfo virtual_item_info = 4;
- * @param values the virtualItemInfo to add
- * @return this
- */
- public ChessRogueCurrentInfo addAllVirtualItemInfo(
- final ChessRogueVirtualItemInfoOuterClass.ChessRogueVirtualItemInfo... values) {
- bitField0_ |= 0x00000100;
- virtualItemInfo.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueCurrentInfo copyFrom(final ChessRogueCurrentInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- rogueVersionId = other.rogueVersionId;
- nousValue.copyFrom(other.nousValue);
- rogueAvatarInfo.copyFrom(other.rogueAvatarInfo);
- storyInfo.copyFrom(other.storyInfo);
- pendingAction.copyFrom(other.pendingAction);
- buffInfo.copyFrom(other.buffInfo);
- miracleInfo.copyFrom(other.miracleInfo);
- diceInfo.copyFrom(other.diceInfo);
- virtualItemInfo.copyFrom(other.virtualItemInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueCurrentInfo mergeFrom(final ChessRogueCurrentInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasRogueVersionId()) {
- setRogueVersionId(other.rogueVersionId);
- }
- if (other.hasNousValue()) {
- getMutableNousValue().mergeFrom(other.nousValue);
- }
- if (other.hasRogueAvatarInfo()) {
- getMutableRogueAvatarInfo().mergeFrom(other.rogueAvatarInfo);
- }
- if (other.hasStoryInfo()) {
- getMutableStoryInfo().mergeFrom(other.storyInfo);
- }
- if (other.hasPendingAction()) {
- getMutablePendingAction().mergeFrom(other.pendingAction);
- }
- if (other.hasBuffInfo()) {
- getMutableBuffInfo().mergeFrom(other.buffInfo);
- }
- if (other.hasMiracleInfo()) {
- getMutableMiracleInfo().mergeFrom(other.miracleInfo);
- }
- if (other.hasDiceInfo()) {
- getMutableDiceInfo().mergeFrom(other.diceInfo);
- }
- if (other.hasVirtualItemInfo()) {
- getMutableVirtualItemInfo().addAll(other.virtualItemInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueCurrentInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- rogueVersionId = 0;
- nousValue.clear();
- rogueAvatarInfo.clear();
- storyInfo.clear();
- pendingAction.clear();
- buffInfo.clear();
- miracleInfo.clear();
- diceInfo.clear();
- virtualItemInfo.clear();
- return this;
- }
-
- @Override
- public ChessRogueCurrentInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- nousValue.clearQuick();
- rogueAvatarInfo.clearQuick();
- storyInfo.clearQuick();
- pendingAction.clearQuick();
- buffInfo.clearQuick();
- miracleInfo.clearQuick();
- diceInfo.clearQuick();
- virtualItemInfo.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueCurrentInfo)) {
- return false;
- }
- ChessRogueCurrentInfo other = (ChessRogueCurrentInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasRogueVersionId() || rogueVersionId == other.rogueVersionId)
- && (!hasNousValue() || nousValue.equals(other.nousValue))
- && (!hasRogueAvatarInfo() || rogueAvatarInfo.equals(other.rogueAvatarInfo))
- && (!hasStoryInfo() || storyInfo.equals(other.storyInfo))
- && (!hasPendingAction() || pendingAction.equals(other.pendingAction))
- && (!hasBuffInfo() || buffInfo.equals(other.buffInfo))
- && (!hasMiracleInfo() || miracleInfo.equals(other.miracleInfo))
- && (!hasDiceInfo() || diceInfo.equals(other.diceInfo))
- && (!hasVirtualItemInfo() || virtualItemInfo.equals(other.virtualItemInfo));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 48);
- output.writeUInt32NoTag(rogueVersionId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 10);
- output.writeMessageNoTag(nousValue);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 74);
- output.writeMessageNoTag(rogueAvatarInfo);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 82);
- output.writeMessageNoTag(storyInfo);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 90);
- output.writeMessageNoTag(pendingAction);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 98);
- output.writeMessageNoTag(buffInfo);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeRawByte((byte) 114);
- output.writeMessageNoTag(miracleInfo);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeRawByte((byte) 122);
- output.writeMessageNoTag(diceInfo);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- for (int i = 0; i < virtualItemInfo.length(); i++) {
- output.writeRawByte((byte) 34);
- output.writeMessageNoTag(virtualItemInfo.get(i));
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(rogueVersionId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(nousValue);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(rogueAvatarInfo);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(storyInfo);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(pendingAction);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(buffInfo);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(miracleInfo);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(diceInfo);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- size += (1 * virtualItemInfo.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(virtualItemInfo);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueCurrentInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 48: {
- // rogueVersionId
- rogueVersionId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 10) {
- break;
- }
- }
- case 10: {
- // nousValue
- input.readMessage(nousValue);
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 74) {
- break;
- }
- }
- case 74: {
- // rogueAvatarInfo
- input.readMessage(rogueAvatarInfo);
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 82) {
- break;
- }
- }
- case 82: {
- // storyInfo
- input.readMessage(storyInfo);
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 90) {
- break;
- }
- }
- case 90: {
- // pendingAction
- input.readMessage(pendingAction);
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 98) {
- break;
- }
- }
- case 98: {
- // buffInfo
- input.readMessage(buffInfo);
- bitField0_ |= 0x00000020;
- tag = input.readTag();
- if (tag != 114) {
- break;
- }
- }
- case 114: {
- // miracleInfo
- input.readMessage(miracleInfo);
- bitField0_ |= 0x00000040;
- tag = input.readTag();
- if (tag != 122) {
- break;
- }
- }
- case 122: {
- // diceInfo
- input.readMessage(diceInfo);
- bitField0_ |= 0x00000080;
- tag = input.readTag();
- if (tag != 34) {
- break;
- }
- }
- case 34: {
- // virtualItemInfo
- tag = input.readRepeatedMessage(virtualItemInfo, tag);
- bitField0_ |= 0x00000100;
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.rogueVersionId, rogueVersionId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeMessage(FieldNames.nousValue, nousValue);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeMessage(FieldNames.rogueAvatarInfo, rogueAvatarInfo);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeMessage(FieldNames.storyInfo, storyInfo);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeMessage(FieldNames.pendingAction, pendingAction);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeMessage(FieldNames.buffInfo, buffInfo);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeMessage(FieldNames.miracleInfo, miracleInfo);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeMessage(FieldNames.diceInfo, diceInfo);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- output.writeRepeatedMessage(FieldNames.virtualItemInfo, virtualItemInfo);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueCurrentInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -1457526951:
- case 1832096103: {
- if (input.isAtField(FieldNames.rogueVersionId)) {
- if (!input.trySkipNullValue()) {
- rogueVersionId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1234555758:
- case 660197713: {
- if (input.isAtField(FieldNames.nousValue)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(nousValue);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1966631135:
- case 667955439: {
- if (input.isAtField(FieldNames.rogueAvatarInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(rogueAvatarInfo);
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1710116675:
- case 1494185400: {
- if (input.isAtField(FieldNames.storyInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(storyInfo);
- bitField0_ |= 0x00000008;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -110680403:
- case 1646545374: {
- if (input.isAtField(FieldNames.pendingAction)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(pendingAction);
- bitField0_ |= 0x00000010;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1522874463:
- case 55707930: {
- if (input.isAtField(FieldNames.buffInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(buffInfo);
- bitField0_ |= 0x00000020;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 760306879:
- case 2114852796: {
- if (input.isAtField(FieldNames.miracleInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(miracleInfo);
- bitField0_ |= 0x00000040;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -184174347:
- case -1394261434: {
- if (input.isAtField(FieldNames.diceInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(diceInfo);
- bitField0_ |= 0x00000080;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 892328588:
- case -207708634: {
- if (input.isAtField(FieldNames.virtualItemInfo)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(virtualItemInfo);
- bitField0_ |= 0x00000100;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueCurrentInfo clone() {
- return new ChessRogueCurrentInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueCurrentInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueCurrentInfo(), data).checkInitialized();
- }
-
- public static ChessRogueCurrentInfo parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueCurrentInfo(), input).checkInitialized();
- }
-
- public static ChessRogueCurrentInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueCurrentInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueCurrentInfo messages
- */
- public static MessageFactoryoptional .SceneInfo scene = 5;
- */
- private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
-
- /**
- * optional .LineupInfo lineup = 7;
- */
- private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
-
- private ChessRogueInfo() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueInfo}
- */
- public static ChessRogueInfo newInstance() {
- return new ChessRogueInfo();
- }
-
- /**
- * optional .SceneInfo scene = 5;
- * @return whether the scene field is set
- */
- public boolean hasScene() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional .SceneInfo scene = 5;
- * @return this
- */
- public ChessRogueInfo clearScene() {
- bitField0_ &= ~0x00000001;
- scene.clear();
- return this;
- }
-
- /**
- * optional .SceneInfo scene = 5;
- *
- * 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.
- *
- * Use {@link #getMutableScene()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public SceneInfoOuterClass.SceneInfo getScene() {
- return scene;
- }
-
- /**
- * optional .SceneInfo scene = 5;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public SceneInfoOuterClass.SceneInfo getMutableScene() {
- bitField0_ |= 0x00000001;
- return scene;
- }
-
- /**
- * optional .SceneInfo scene = 5;
- * @param value the scene to set
- * @return this
- */
- public ChessRogueInfo setScene(final SceneInfoOuterClass.SceneInfo value) {
- bitField0_ |= 0x00000001;
- scene.copyFrom(value);
- return this;
- }
-
- /**
- * optional .LineupInfo lineup = 7;
- * @return whether the lineup field is set
- */
- public boolean hasLineup() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional .LineupInfo lineup = 7;
- * @return this
- */
- public ChessRogueInfo clearLineup() {
- bitField0_ &= ~0x00000002;
- lineup.clear();
- return this;
- }
-
- /**
- * optional .LineupInfo lineup = 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.
- *
- * Use {@link #getMutableLineup()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public LineupInfoOuterClass.LineupInfo getLineup() {
- return lineup;
- }
-
- /**
- * optional .LineupInfo lineup = 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
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public LineupInfoOuterClass.LineupInfo getMutableLineup() {
- bitField0_ |= 0x00000002;
- return lineup;
- }
-
- /**
- * optional .LineupInfo lineup = 7;
- * @param value the lineup to set
- * @return this
- */
- public ChessRogueInfo setLineup(final LineupInfoOuterClass.LineupInfo value) {
- bitField0_ |= 0x00000002;
- lineup.copyFrom(value);
- return this;
- }
-
- @Override
- public ChessRogueInfo copyFrom(final ChessRogueInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- scene.copyFrom(other.scene);
- lineup.copyFrom(other.lineup);
- }
- return this;
- }
-
- @Override
- public ChessRogueInfo mergeFrom(final ChessRogueInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasScene()) {
- getMutableScene().mergeFrom(other.scene);
- }
- if (other.hasLineup()) {
- getMutableLineup().mergeFrom(other.lineup);
- }
- return this;
- }
-
- @Override
- public ChessRogueInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- scene.clear();
- lineup.clear();
- return this;
- }
-
- @Override
- public ChessRogueInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- scene.clearQuick();
- lineup.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueInfo)) {
- return false;
- }
- ChessRogueInfo other = (ChessRogueInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasScene() || scene.equals(other.scene))
- && (!hasLineup() || lineup.equals(other.lineup));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 42);
- output.writeMessageNoTag(scene);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 58);
- output.writeMessageNoTag(lineup);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 42: {
- // scene
- input.readMessage(scene);
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 58) {
- break;
- }
- }
- case 58: {
- // lineup
- input.readMessage(lineup);
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeMessage(FieldNames.scene, scene);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeMessage(FieldNames.lineup, lineup);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 109254796: {
- if (input.isAtField(FieldNames.scene)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(scene);
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1102671473: {
- if (input.isAtField(FieldNames.lineup)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(lineup);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueInfo clone() {
- return new ChessRogueInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueInfo(), data).checkInitialized();
- }
-
- public static ChessRogueInfo parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueInfo(), input).checkInitialized();
- }
-
- public static ChessRogueInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueInfo messages
- */
- public static MessageFactoryrepeated .ChessRogueItemInfo.ItemsEntry items = 4;
- */
- private final RepeatedMessagerepeated .ChessRogueItemInfo.ItemsEntry items = 4;
- * @return whether the items field is set
- */
- public boolean hasItems() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * repeated .ChessRogueItemInfo.ItemsEntry items = 4;
- * @return this
- */
- public ChessRogueItemInfo clearItems() {
- bitField0_ &= ~0x00000001;
- items.clear();
- return this;
- }
-
- /**
- * repeated .ChessRogueItemInfo.ItemsEntry items = 4;
- *
- * 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.
- *
- * Use {@link #getMutableItems()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessagerepeated .ChessRogueItemInfo.ItemsEntry items = 4;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessagerepeated .ChessRogueItemInfo.ItemsEntry items = 4;
- * @param value the items to add
- * @return this
- */
- public ChessRogueItemInfo addItems(final ItemsEntry value) {
- bitField0_ |= 0x00000001;
- items.add(value);
- return this;
- }
-
- /**
- * repeated .ChessRogueItemInfo.ItemsEntry items = 4;
- * @param values the items to add
- * @return this
- */
- public ChessRogueItemInfo addAllItems(final ItemsEntry... values) {
- bitField0_ |= 0x00000001;
- items.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueItemInfo copyFrom(final ChessRogueItemInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- items.copyFrom(other.items);
- }
- return this;
- }
-
- @Override
- public ChessRogueItemInfo mergeFrom(final ChessRogueItemInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasItems()) {
- getMutableItems().addAll(other.items);
- }
- return this;
- }
-
- @Override
- public ChessRogueItemInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- items.clear();
- return this;
- }
-
- @Override
- public ChessRogueItemInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- items.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueItemInfo)) {
- return false;
- }
- ChessRogueItemInfo other = (ChessRogueItemInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasItems() || items.equals(other.items));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- for (int i = 0; i < items.length(); i++) {
- output.writeRawByte((byte) 34);
- output.writeMessageNoTag(items.get(i));
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += (1 * items.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(items);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueItemInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 34: {
- // items
- tag = input.readRepeatedMessage(items, tag);
- bitField0_ |= 0x00000001;
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRepeatedMessage(FieldNames.items, items);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueItemInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 100526016: {
- if (input.isAtField(FieldNames.items)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(items);
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueItemInfo clone() {
- return new ChessRogueItemInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueItemInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueItemInfo(), data).checkInitialized();
- }
-
- public static ChessRogueItemInfo parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueItemInfo(), input).checkInitialized();
- }
-
- public static ChessRogueItemInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueItemInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueItemInfo messages
- */
- public static MessageFactoryoptional uint32 key = 1;
- */
- private int key;
-
- /**
- * optional uint32 value = 2;
- */
- private int value_;
-
- private ItemsEntry() {
- }
-
- /**
- * @return a new empty instance of {@code ItemsEntry}
- */
- public static ItemsEntry newInstance() {
- return new ItemsEntry();
- }
-
- /**
- * optional uint32 key = 1;
- * @return whether the key field is set
- */
- public boolean hasKey() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 key = 1;
- * @return this
- */
- public ItemsEntry clearKey() {
- bitField0_ &= ~0x00000001;
- key = 0;
- return this;
- }
-
- /**
- * optional uint32 key = 1;
- * @return the key
- */
- public int getKey() {
- return key;
- }
-
- /**
- * optional uint32 key = 1;
- * @param value the key to set
- * @return this
- */
- public ItemsEntry setKey(final int value) {
- bitField0_ |= 0x00000001;
- key = value;
- return this;
- }
-
- /**
- * optional uint32 value = 2;
- * @return whether the value_ field is set
- */
- public boolean hasValue() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 value = 2;
- * @return this
- */
- public ItemsEntry clearValue() {
- bitField0_ &= ~0x00000002;
- value_ = 0;
- return this;
- }
-
- /**
- * optional uint32 value = 2;
- * @return the value_
- */
- public int getValue() {
- return value_;
- }
-
- /**
- * optional uint32 value = 2;
- * @param value the value_ to set
- * @return this
- */
- public ItemsEntry setValue(final int value) {
- bitField0_ |= 0x00000002;
- value_ = value;
- return this;
- }
-
- @Override
- public ItemsEntry copyFrom(final ItemsEntry other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- key = other.key;
- value_ = other.value_;
- }
- return this;
- }
-
- @Override
- public ItemsEntry mergeFrom(final ItemsEntry other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasKey()) {
- setKey(other.key);
- }
- if (other.hasValue()) {
- setValue(other.value_);
- }
- return this;
- }
-
- @Override
- public ItemsEntry clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- key = 0;
- value_ = 0;
- return this;
- }
-
- @Override
- public ItemsEntry clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ItemsEntry)) {
- return false;
- }
- ItemsEntry other = (ItemsEntry) o;
- return bitField0_ == other.bitField0_
- && (!hasKey() || key == other.key)
- && (!hasValue() || value_ == other.value_);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(key);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(value_);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(key);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(value_);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ItemsEntry mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 8: {
- // key
- key = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 16) {
- break;
- }
- }
- case 16: {
- // value_
- value_ = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.key, key);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.value_, value_);
- }
- output.endObject();
- }
-
- @Override
- public ItemsEntry mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 106079: {
- if (input.isAtField(FieldNames.key)) {
- if (!input.trySkipNullValue()) {
- key = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 111972721: {
- if (input.isAtField(FieldNames.value_)) {
- if (!input.trySkipNullValue()) {
- value_ = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ItemsEntry clone() {
- return new ItemsEntry().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ItemsEntry parseFrom(final byte[] data) throws InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ItemsEntry(), data).checkInitialized();
- }
-
- public static ItemsEntry parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ItemsEntry(), input).checkInitialized();
- }
-
- public static ItemsEntry parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ItemsEntry(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ItemsEntry messages
- */
- public static MessageFactoryrepeated .RogueMiracle miracle_list = 11;
- */
- private final RepeatedMessagerepeated .RogueMiracle miracle_list = 11;
- * @return whether the miracleList field is set
- */
- public boolean hasMiracleList() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * repeated .RogueMiracle miracle_list = 11;
- * @return this
- */
- public ChessRogueMiracleData clearMiracleList() {
- bitField0_ &= ~0x00000001;
- miracleList.clear();
- return this;
- }
-
- /**
- * repeated .RogueMiracle miracle_list = 11;
- *
- * 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.
- *
- * Use {@link #getMutableMiracleList()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessagerepeated .RogueMiracle miracle_list = 11;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessagerepeated .RogueMiracle miracle_list = 11;
- * @param value the miracleList to add
- * @return this
- */
- public ChessRogueMiracleData addMiracleList(final RogueMiracleOuterClass.RogueMiracle value) {
- bitField0_ |= 0x00000001;
- miracleList.add(value);
- return this;
- }
-
- /**
- * repeated .RogueMiracle miracle_list = 11;
- * @param values the miracleList to add
- * @return this
- */
- public ChessRogueMiracleData addAllMiracleList(
- final RogueMiracleOuterClass.RogueMiracle... values) {
- bitField0_ |= 0x00000001;
- miracleList.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueMiracleData copyFrom(final ChessRogueMiracleData other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- miracleList.copyFrom(other.miracleList);
- }
- return this;
- }
-
- @Override
- public ChessRogueMiracleData mergeFrom(final ChessRogueMiracleData other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasMiracleList()) {
- getMutableMiracleList().addAll(other.miracleList);
- }
- return this;
- }
-
- @Override
- public ChessRogueMiracleData clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- miracleList.clear();
- return this;
- }
-
- @Override
- public ChessRogueMiracleData clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- miracleList.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueMiracleData)) {
- return false;
- }
- ChessRogueMiracleData other = (ChessRogueMiracleData) o;
- return bitField0_ == other.bitField0_
- && (!hasMiracleList() || miracleList.equals(other.miracleList));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- for (int i = 0; i < miracleList.length(); i++) {
- output.writeRawByte((byte) 90);
- output.writeMessageNoTag(miracleList.get(i));
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += (1 * miracleList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(miracleList);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueMiracleData mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 90: {
- // miracleList
- tag = input.readRepeatedMessage(miracleList, tag);
- bitField0_ |= 0x00000001;
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRepeatedMessage(FieldNames.miracleList, miracleList);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueMiracleData mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 760391855:
- case 2114937772: {
- if (input.isAtField(FieldNames.miracleList)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(miracleList);
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueMiracleData clone() {
- return new ChessRogueMiracleData().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueMiracleData parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueMiracleData(), data).checkInitialized();
- }
-
- public static ChessRogueMiracleData parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueMiracleData(), input).checkInitialized();
- }
-
- public static ChessRogueMiracleData parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueMiracleData(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueMiracleData messages
- */
- public static MessageFactoryoptional uint32 dice_branch_id = 5;
- */
- private int diceBranchId;
-
- /**
- * optional uint32 question_difficulty = 10;
- */
- private int questionDifficulty;
-
- /**
- * optional uint32 max_difficulty = 14;
- */
- private int maxDifficulty;
-
- /**
- * repeated .ChessRogueNousDiceSurfaceInfo dice_surface = 2;
- */
- private final RepeatedMessageoptional uint32 dice_branch_id = 5;
- * @return whether the diceBranchId field is set
- */
- public boolean hasDiceBranchId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 dice_branch_id = 5;
- * @return this
- */
- public ChessRogueNousDiceInfo clearDiceBranchId() {
- bitField0_ &= ~0x00000001;
- diceBranchId = 0;
- return this;
- }
-
- /**
- * optional uint32 dice_branch_id = 5;
- * @return the diceBranchId
- */
- public int getDiceBranchId() {
- return diceBranchId;
- }
-
- /**
- * optional uint32 dice_branch_id = 5;
- * @param value the diceBranchId to set
- * @return this
- */
- public ChessRogueNousDiceInfo setDiceBranchId(final int value) {
- bitField0_ |= 0x00000001;
- diceBranchId = value;
- return this;
- }
-
- /**
- * optional uint32 question_difficulty = 10;
- * @return whether the questionDifficulty field is set
- */
- public boolean hasQuestionDifficulty() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 question_difficulty = 10;
- * @return this
- */
- public ChessRogueNousDiceInfo clearQuestionDifficulty() {
- bitField0_ &= ~0x00000002;
- questionDifficulty = 0;
- return this;
- }
-
- /**
- * optional uint32 question_difficulty = 10;
- * @return the questionDifficulty
- */
- public int getQuestionDifficulty() {
- return questionDifficulty;
- }
-
- /**
- * optional uint32 question_difficulty = 10;
- * @param value the questionDifficulty to set
- * @return this
- */
- public ChessRogueNousDiceInfo setQuestionDifficulty(final int value) {
- bitField0_ |= 0x00000002;
- questionDifficulty = value;
- return this;
- }
-
- /**
- * optional uint32 max_difficulty = 14;
- * @return whether the maxDifficulty field is set
- */
- public boolean hasMaxDifficulty() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 max_difficulty = 14;
- * @return this
- */
- public ChessRogueNousDiceInfo clearMaxDifficulty() {
- bitField0_ &= ~0x00000004;
- maxDifficulty = 0;
- return this;
- }
-
- /**
- * optional uint32 max_difficulty = 14;
- * @return the maxDifficulty
- */
- public int getMaxDifficulty() {
- return maxDifficulty;
- }
-
- /**
- * optional uint32 max_difficulty = 14;
- * @param value the maxDifficulty to set
- * @return this
- */
- public ChessRogueNousDiceInfo setMaxDifficulty(final int value) {
- bitField0_ |= 0x00000004;
- maxDifficulty = value;
- return this;
- }
-
- /**
- * repeated .ChessRogueNousDiceSurfaceInfo dice_surface = 2;
- * @return whether the diceSurface field is set
- */
- public boolean hasDiceSurface() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * repeated .ChessRogueNousDiceSurfaceInfo dice_surface = 2;
- * @return this
- */
- public ChessRogueNousDiceInfo clearDiceSurface() {
- bitField0_ &= ~0x00000008;
- diceSurface.clear();
- return this;
- }
-
- /**
- * repeated .ChessRogueNousDiceSurfaceInfo dice_surface = 2;
- *
- * 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.
- *
- * Use {@link #getMutableDiceSurface()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedMessagerepeated .ChessRogueNousDiceSurfaceInfo dice_surface = 2;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedMessagerepeated .ChessRogueNousDiceSurfaceInfo dice_surface = 2;
- * @param value the diceSurface to add
- * @return this
- */
- public ChessRogueNousDiceInfo addDiceSurface(
- final ChessRogueNousDiceSurfaceInfoOuterClass.ChessRogueNousDiceSurfaceInfo value) {
- bitField0_ |= 0x00000008;
- diceSurface.add(value);
- return this;
- }
-
- /**
- * repeated .ChessRogueNousDiceSurfaceInfo dice_surface = 2;
- * @param values the diceSurface to add
- * @return this
- */
- public ChessRogueNousDiceInfo addAllDiceSurface(
- final ChessRogueNousDiceSurfaceInfoOuterClass.ChessRogueNousDiceSurfaceInfo... values) {
- bitField0_ |= 0x00000008;
- diceSurface.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueNousDiceInfo copyFrom(final ChessRogueNousDiceInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- diceBranchId = other.diceBranchId;
- questionDifficulty = other.questionDifficulty;
- maxDifficulty = other.maxDifficulty;
- diceSurface.copyFrom(other.diceSurface);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousDiceInfo mergeFrom(final ChessRogueNousDiceInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasDiceBranchId()) {
- setDiceBranchId(other.diceBranchId);
- }
- if (other.hasQuestionDifficulty()) {
- setQuestionDifficulty(other.questionDifficulty);
- }
- if (other.hasMaxDifficulty()) {
- setMaxDifficulty(other.maxDifficulty);
- }
- if (other.hasDiceSurface()) {
- getMutableDiceSurface().addAll(other.diceSurface);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousDiceInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- diceBranchId = 0;
- questionDifficulty = 0;
- maxDifficulty = 0;
- diceSurface.clear();
- return this;
- }
-
- @Override
- public ChessRogueNousDiceInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- diceSurface.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueNousDiceInfo)) {
- return false;
- }
- ChessRogueNousDiceInfo other = (ChessRogueNousDiceInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasDiceBranchId() || diceBranchId == other.diceBranchId)
- && (!hasQuestionDifficulty() || questionDifficulty == other.questionDifficulty)
- && (!hasMaxDifficulty() || maxDifficulty == other.maxDifficulty)
- && (!hasDiceSurface() || diceSurface.equals(other.diceSurface));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 40);
- output.writeUInt32NoTag(diceBranchId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 80);
- output.writeUInt32NoTag(questionDifficulty);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 112);
- output.writeUInt32NoTag(maxDifficulty);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- for (int i = 0; i < diceSurface.length(); i++) {
- output.writeRawByte((byte) 18);
- output.writeMessageNoTag(diceSurface.get(i));
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(diceBranchId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(questionDifficulty);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(maxDifficulty);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += (1 * diceSurface.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(diceSurface);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueNousDiceInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 40: {
- // diceBranchId
- diceBranchId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 80) {
- break;
- }
- }
- case 80: {
- // questionDifficulty
- questionDifficulty = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 112) {
- break;
- }
- }
- case 112: {
- // maxDifficulty
- maxDifficulty = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 18) {
- break;
- }
- }
- case 18: {
- // diceSurface
- tag = input.readRepeatedMessage(diceSurface, tag);
- bitField0_ |= 0x00000008;
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.diceBranchId, diceBranchId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.questionDifficulty, questionDifficulty);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.maxDifficulty, maxDifficulty);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRepeatedMessage(FieldNames.diceSurface, diceSurface);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueNousDiceInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 216999716:
- case 1050456640: {
- if (input.isAtField(FieldNames.diceBranchId)) {
- if (!input.trySkipNullValue()) {
- diceBranchId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1586161729:
- case -1998600780: {
- if (input.isAtField(FieldNames.questionDifficulty)) {
- if (!input.trySkipNullValue()) {
- questionDifficulty = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 657132607:
- case -733732490: {
- if (input.isAtField(FieldNames.maxDifficulty)) {
- if (!input.trySkipNullValue()) {
- maxDifficulty = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1568317690:
- case 682756117: {
- if (input.isAtField(FieldNames.diceSurface)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedMessage(diceSurface);
- bitField0_ |= 0x00000008;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueNousDiceInfo clone() {
- return new ChessRogueNousDiceInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueNousDiceInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueNousDiceInfo(), data).checkInitialized();
- }
-
- public static ChessRogueNousDiceInfo parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousDiceInfo(), input).checkInitialized();
- }
-
- public static ChessRogueNousDiceInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousDiceInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueNousDiceInfo messages
- */
- public static MessageFactoryoptional uint32 dice_branch_id = 1;
- */
- private int diceBranchId;
-
- /**
- * - * FEDEMDEEJML JLCEDGIHAFF = 12; - *- * - *
optional uint32 reroll_times = 2;
- */
- private int rerollTimes;
-
- /**
- * - * NMNBNLMAJGC cur_surface_effect = 6; - *- * - *
optional uint32 cur_surface_id = 3;
- */
- private int curSurfaceId;
-
- /**
- * - * 1 - *- * - *
optional uint32 cheat_times = 4;
- */
- private int cheatTimes;
-
- /**
- * - * 10 - *- * - *
optional uint32 HIJBOPMGBAP = 5;
- */
- private int hIJBOPMGBAP;
-
- /**
- * - * 1 - *- * - *
optional uint32 GFGCPJOHMEL = 9;
- */
- private int gFGCPJOHMEL;
-
- /**
- * optional uint32 cur_surface_index = 13;
- */
- private int curSurfaceIndex;
-
- /**
- * - * idk - *- * - *
optional uint32 dice_branch_id_remote = 14;
- */
- private int diceBranchIdRemote;
-
- /**
- * - * sint32 PAOHKKNCNCD = 625; - *- * - *
optional bool BDENADDOCAC = 10;
- */
- private boolean bDENADDOCAC;
-
- /**
- * - * NMNBNLMAJGC POHKHEGDOHO = 343; // guess its about modifier - *- * - *
optional bool CHGLMLDAMJH = 1185;
- */
- private boolean cHGLMLDAMJH;
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 208;
- */
- private final ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo diceInfo = ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo.newInstance();
-
- /**
- * repeated uint32 NOGJMMEDGLL = 833;
- */
- private final RepeatedInt nOGJMMEDGLL = RepeatedInt.newEmptyInstance();
-
- private ChessRogueNousDice() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueNousDice}
- */
- public static ChessRogueNousDice newInstance() {
- return new ChessRogueNousDice();
- }
-
- /**
- * optional uint32 dice_branch_id = 1;
- * @return whether the diceBranchId field is set
- */
- public boolean hasDiceBranchId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 dice_branch_id = 1;
- * @return this
- */
- public ChessRogueNousDice clearDiceBranchId() {
- bitField0_ &= ~0x00000001;
- diceBranchId = 0;
- return this;
- }
-
- /**
- * optional uint32 dice_branch_id = 1;
- * @return the diceBranchId
- */
- public int getDiceBranchId() {
- return diceBranchId;
- }
-
- /**
- * optional uint32 dice_branch_id = 1;
- * @param value the diceBranchId to set
- * @return this
- */
- public ChessRogueNousDice setDiceBranchId(final int value) {
- bitField0_ |= 0x00000001;
- diceBranchId = value;
- return this;
- }
-
- /**
- * - * FEDEMDEEJML JLCEDGIHAFF = 12; - *- * - *
optional uint32 reroll_times = 2;
- * @return whether the rerollTimes field is set
- */
- public boolean hasRerollTimes() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * - * FEDEMDEEJML JLCEDGIHAFF = 12; - *- * - *
optional uint32 reroll_times = 2;
- * @return this
- */
- public ChessRogueNousDice clearRerollTimes() {
- bitField0_ &= ~0x00000002;
- rerollTimes = 0;
- return this;
- }
-
- /**
- * - * FEDEMDEEJML JLCEDGIHAFF = 12; - *- * - *
optional uint32 reroll_times = 2;
- * @return the rerollTimes
- */
- public int getRerollTimes() {
- return rerollTimes;
- }
-
- /**
- * - * FEDEMDEEJML JLCEDGIHAFF = 12; - *- * - *
optional uint32 reroll_times = 2;
- * @param value the rerollTimes to set
- * @return this
- */
- public ChessRogueNousDice setRerollTimes(final int value) {
- bitField0_ |= 0x00000002;
- rerollTimes = value;
- return this;
- }
-
- /**
- * - * NMNBNLMAJGC cur_surface_effect = 6; - *- * - *
optional uint32 cur_surface_id = 3;
- * @return whether the curSurfaceId field is set
- */
- public boolean hasCurSurfaceId() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * - * NMNBNLMAJGC cur_surface_effect = 6; - *- * - *
optional uint32 cur_surface_id = 3;
- * @return this
- */
- public ChessRogueNousDice clearCurSurfaceId() {
- bitField0_ &= ~0x00000004;
- curSurfaceId = 0;
- return this;
- }
-
- /**
- * - * NMNBNLMAJGC cur_surface_effect = 6; - *- * - *
optional uint32 cur_surface_id = 3;
- * @return the curSurfaceId
- */
- public int getCurSurfaceId() {
- return curSurfaceId;
- }
-
- /**
- * - * NMNBNLMAJGC cur_surface_effect = 6; - *- * - *
optional uint32 cur_surface_id = 3;
- * @param value the curSurfaceId to set
- * @return this
- */
- public ChessRogueNousDice setCurSurfaceId(final int value) {
- bitField0_ |= 0x00000004;
- curSurfaceId = value;
- return this;
- }
-
- /**
- * - * 1 - *- * - *
optional uint32 cheat_times = 4;
- * @return whether the cheatTimes field is set
- */
- public boolean hasCheatTimes() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * - * 1 - *- * - *
optional uint32 cheat_times = 4;
- * @return this
- */
- public ChessRogueNousDice clearCheatTimes() {
- bitField0_ &= ~0x00000008;
- cheatTimes = 0;
- return this;
- }
-
- /**
- * - * 1 - *- * - *
optional uint32 cheat_times = 4;
- * @return the cheatTimes
- */
- public int getCheatTimes() {
- return cheatTimes;
- }
-
- /**
- * - * 1 - *- * - *
optional uint32 cheat_times = 4;
- * @param value the cheatTimes to set
- * @return this
- */
- public ChessRogueNousDice setCheatTimes(final int value) {
- bitField0_ |= 0x00000008;
- cheatTimes = value;
- return this;
- }
-
- /**
- * - * 10 - *- * - *
optional uint32 HIJBOPMGBAP = 5;
- * @return whether the hIJBOPMGBAP field is set
- */
- public boolean hasHIJBOPMGBAP() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * - * 10 - *- * - *
optional uint32 HIJBOPMGBAP = 5;
- * @return this
- */
- public ChessRogueNousDice clearHIJBOPMGBAP() {
- bitField0_ &= ~0x00000010;
- hIJBOPMGBAP = 0;
- return this;
- }
-
- /**
- * - * 10 - *- * - *
optional uint32 HIJBOPMGBAP = 5;
- * @return the hIJBOPMGBAP
- */
- public int getHIJBOPMGBAP() {
- return hIJBOPMGBAP;
- }
-
- /**
- * - * 10 - *- * - *
optional uint32 HIJBOPMGBAP = 5;
- * @param value the hIJBOPMGBAP to set
- * @return this
- */
- public ChessRogueNousDice setHIJBOPMGBAP(final int value) {
- bitField0_ |= 0x00000010;
- hIJBOPMGBAP = value;
- return this;
- }
-
- /**
- * - * 1 - *- * - *
optional uint32 GFGCPJOHMEL = 9;
- * @return whether the gFGCPJOHMEL field is set
- */
- public boolean hasGFGCPJOHMEL() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * - * 1 - *- * - *
optional uint32 GFGCPJOHMEL = 9;
- * @return this
- */
- public ChessRogueNousDice clearGFGCPJOHMEL() {
- bitField0_ &= ~0x00000020;
- gFGCPJOHMEL = 0;
- return this;
- }
-
- /**
- * - * 1 - *- * - *
optional uint32 GFGCPJOHMEL = 9;
- * @return the gFGCPJOHMEL
- */
- public int getGFGCPJOHMEL() {
- return gFGCPJOHMEL;
- }
-
- /**
- * - * 1 - *- * - *
optional uint32 GFGCPJOHMEL = 9;
- * @param value the gFGCPJOHMEL to set
- * @return this
- */
- public ChessRogueNousDice setGFGCPJOHMEL(final int value) {
- bitField0_ |= 0x00000020;
- gFGCPJOHMEL = value;
- return this;
- }
-
- /**
- * optional uint32 cur_surface_index = 13;
- * @return whether the curSurfaceIndex field is set
- */
- public boolean hasCurSurfaceIndex() {
- return (bitField0_ & 0x00000040) != 0;
- }
-
- /**
- * optional uint32 cur_surface_index = 13;
- * @return this
- */
- public ChessRogueNousDice clearCurSurfaceIndex() {
- bitField0_ &= ~0x00000040;
- curSurfaceIndex = 0;
- return this;
- }
-
- /**
- * optional uint32 cur_surface_index = 13;
- * @return the curSurfaceIndex
- */
- public int getCurSurfaceIndex() {
- return curSurfaceIndex;
- }
-
- /**
- * optional uint32 cur_surface_index = 13;
- * @param value the curSurfaceIndex to set
- * @return this
- */
- public ChessRogueNousDice setCurSurfaceIndex(final int value) {
- bitField0_ |= 0x00000040;
- curSurfaceIndex = value;
- return this;
- }
-
- /**
- * - * idk - *- * - *
optional uint32 dice_branch_id_remote = 14;
- * @return whether the diceBranchIdRemote field is set
- */
- public boolean hasDiceBranchIdRemote() {
- return (bitField0_ & 0x00000080) != 0;
- }
-
- /**
- * - * idk - *- * - *
optional uint32 dice_branch_id_remote = 14;
- * @return this
- */
- public ChessRogueNousDice clearDiceBranchIdRemote() {
- bitField0_ &= ~0x00000080;
- diceBranchIdRemote = 0;
- return this;
- }
-
- /**
- * - * idk - *- * - *
optional uint32 dice_branch_id_remote = 14;
- * @return the diceBranchIdRemote
- */
- public int getDiceBranchIdRemote() {
- return diceBranchIdRemote;
- }
-
- /**
- * - * idk - *- * - *
optional uint32 dice_branch_id_remote = 14;
- * @param value the diceBranchIdRemote to set
- * @return this
- */
- public ChessRogueNousDice setDiceBranchIdRemote(final int value) {
- bitField0_ |= 0x00000080;
- diceBranchIdRemote = value;
- return this;
- }
-
- /**
- * - * sint32 PAOHKKNCNCD = 625; - *- * - *
optional bool BDENADDOCAC = 10;
- * @return whether the bDENADDOCAC field is set
- */
- public boolean hasBDENADDOCAC() {
- return (bitField0_ & 0x00000100) != 0;
- }
-
- /**
- * - * sint32 PAOHKKNCNCD = 625; - *- * - *
optional bool BDENADDOCAC = 10;
- * @return this
- */
- public ChessRogueNousDice clearBDENADDOCAC() {
- bitField0_ &= ~0x00000100;
- bDENADDOCAC = false;
- return this;
- }
-
- /**
- * - * sint32 PAOHKKNCNCD = 625; - *- * - *
optional bool BDENADDOCAC = 10;
- * @return the bDENADDOCAC
- */
- public boolean getBDENADDOCAC() {
- return bDENADDOCAC;
- }
-
- /**
- * - * sint32 PAOHKKNCNCD = 625; - *- * - *
optional bool BDENADDOCAC = 10;
- * @param value the bDENADDOCAC to set
- * @return this
- */
- public ChessRogueNousDice setBDENADDOCAC(final boolean value) {
- bitField0_ |= 0x00000100;
- bDENADDOCAC = value;
- return this;
- }
-
- /**
- * - * NMNBNLMAJGC POHKHEGDOHO = 343; // guess its about modifier - *- * - *
optional bool CHGLMLDAMJH = 1185;
- * @return whether the cHGLMLDAMJH field is set
- */
- public boolean hasCHGLMLDAMJH() {
- return (bitField0_ & 0x00000200) != 0;
- }
-
- /**
- * - * NMNBNLMAJGC POHKHEGDOHO = 343; // guess its about modifier - *- * - *
optional bool CHGLMLDAMJH = 1185;
- * @return this
- */
- public ChessRogueNousDice clearCHGLMLDAMJH() {
- bitField0_ &= ~0x00000200;
- cHGLMLDAMJH = false;
- return this;
- }
-
- /**
- * - * NMNBNLMAJGC POHKHEGDOHO = 343; // guess its about modifier - *- * - *
optional bool CHGLMLDAMJH = 1185;
- * @return the cHGLMLDAMJH
- */
- public boolean getCHGLMLDAMJH() {
- return cHGLMLDAMJH;
- }
-
- /**
- * - * NMNBNLMAJGC POHKHEGDOHO = 343; // guess its about modifier - *- * - *
optional bool CHGLMLDAMJH = 1185;
- * @param value the cHGLMLDAMJH to set
- * @return this
- */
- public ChessRogueNousDice setCHGLMLDAMJH(final boolean value) {
- bitField0_ |= 0x00000200;
- cHGLMLDAMJH = value;
- return this;
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 208;
- * @return whether the diceInfo field is set
- */
- public boolean hasDiceInfo() {
- return (bitField0_ & 0x00000400) != 0;
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 208;
- * @return this
- */
- public ChessRogueNousDice clearDiceInfo() {
- bitField0_ &= ~0x00000400;
- diceInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 208;
- *
- * 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.
- *
- * Use {@link #getMutableDiceInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo getDiceInfo() {
- return diceInfo;
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 208;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo getMutableDiceInfo() {
- bitField0_ |= 0x00000400;
- return diceInfo;
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 208;
- * @param value the diceInfo to set
- * @return this
- */
- public ChessRogueNousDice setDiceInfo(
- final ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo value) {
- bitField0_ |= 0x00000400;
- diceInfo.copyFrom(value);
- return this;
- }
-
- /**
- * repeated uint32 NOGJMMEDGLL = 833;
- * @return whether the nOGJMMEDGLL field is set
- */
- public boolean hasNOGJMMEDGLL() {
- return (bitField0_ & 0x00000800) != 0;
- }
-
- /**
- * repeated uint32 NOGJMMEDGLL = 833;
- * @return this
- */
- public ChessRogueNousDice clearNOGJMMEDGLL() {
- bitField0_ &= ~0x00000800;
- nOGJMMEDGLL.clear();
- return this;
- }
-
- /**
- * repeated uint32 NOGJMMEDGLL = 833;
- *
- * 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.
- *
- * Use {@link #getMutableNOGJMMEDGLL()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getNOGJMMEDGLL() {
- return nOGJMMEDGLL;
- }
-
- /**
- * repeated uint32 NOGJMMEDGLL = 833;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableNOGJMMEDGLL() {
- bitField0_ |= 0x00000800;
- return nOGJMMEDGLL;
- }
-
- /**
- * repeated uint32 NOGJMMEDGLL = 833;
- * @param value the nOGJMMEDGLL to add
- * @return this
- */
- public ChessRogueNousDice addNOGJMMEDGLL(final int value) {
- bitField0_ |= 0x00000800;
- nOGJMMEDGLL.add(value);
- return this;
- }
-
- /**
- * repeated uint32 NOGJMMEDGLL = 833;
- * @param values the nOGJMMEDGLL to add
- * @return this
- */
- public ChessRogueNousDice addAllNOGJMMEDGLL(final int... values) {
- bitField0_ |= 0x00000800;
- nOGJMMEDGLL.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueNousDice copyFrom(final ChessRogueNousDice other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- diceBranchId = other.diceBranchId;
- rerollTimes = other.rerollTimes;
- curSurfaceId = other.curSurfaceId;
- cheatTimes = other.cheatTimes;
- hIJBOPMGBAP = other.hIJBOPMGBAP;
- gFGCPJOHMEL = other.gFGCPJOHMEL;
- curSurfaceIndex = other.curSurfaceIndex;
- diceBranchIdRemote = other.diceBranchIdRemote;
- bDENADDOCAC = other.bDENADDOCAC;
- cHGLMLDAMJH = other.cHGLMLDAMJH;
- diceInfo.copyFrom(other.diceInfo);
- nOGJMMEDGLL.copyFrom(other.nOGJMMEDGLL);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousDice mergeFrom(final ChessRogueNousDice other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasDiceBranchId()) {
- setDiceBranchId(other.diceBranchId);
- }
- if (other.hasRerollTimes()) {
- setRerollTimes(other.rerollTimes);
- }
- if (other.hasCurSurfaceId()) {
- setCurSurfaceId(other.curSurfaceId);
- }
- if (other.hasCheatTimes()) {
- setCheatTimes(other.cheatTimes);
- }
- if (other.hasHIJBOPMGBAP()) {
- setHIJBOPMGBAP(other.hIJBOPMGBAP);
- }
- if (other.hasGFGCPJOHMEL()) {
- setGFGCPJOHMEL(other.gFGCPJOHMEL);
- }
- if (other.hasCurSurfaceIndex()) {
- setCurSurfaceIndex(other.curSurfaceIndex);
- }
- if (other.hasDiceBranchIdRemote()) {
- setDiceBranchIdRemote(other.diceBranchIdRemote);
- }
- if (other.hasBDENADDOCAC()) {
- setBDENADDOCAC(other.bDENADDOCAC);
- }
- if (other.hasCHGLMLDAMJH()) {
- setCHGLMLDAMJH(other.cHGLMLDAMJH);
- }
- if (other.hasDiceInfo()) {
- getMutableDiceInfo().mergeFrom(other.diceInfo);
- }
- if (other.hasNOGJMMEDGLL()) {
- getMutableNOGJMMEDGLL().addAll(other.nOGJMMEDGLL);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousDice clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- diceBranchId = 0;
- rerollTimes = 0;
- curSurfaceId = 0;
- cheatTimes = 0;
- hIJBOPMGBAP = 0;
- gFGCPJOHMEL = 0;
- curSurfaceIndex = 0;
- diceBranchIdRemote = 0;
- bDENADDOCAC = false;
- cHGLMLDAMJH = false;
- diceInfo.clear();
- nOGJMMEDGLL.clear();
- return this;
- }
-
- @Override
- public ChessRogueNousDice clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- diceInfo.clearQuick();
- nOGJMMEDGLL.clear();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueNousDice)) {
- return false;
- }
- ChessRogueNousDice other = (ChessRogueNousDice) o;
- return bitField0_ == other.bitField0_
- && (!hasDiceBranchId() || diceBranchId == other.diceBranchId)
- && (!hasRerollTimes() || rerollTimes == other.rerollTimes)
- && (!hasCurSurfaceId() || curSurfaceId == other.curSurfaceId)
- && (!hasCheatTimes() || cheatTimes == other.cheatTimes)
- && (!hasHIJBOPMGBAP() || hIJBOPMGBAP == other.hIJBOPMGBAP)
- && (!hasGFGCPJOHMEL() || gFGCPJOHMEL == other.gFGCPJOHMEL)
- && (!hasCurSurfaceIndex() || curSurfaceIndex == other.curSurfaceIndex)
- && (!hasDiceBranchIdRemote() || diceBranchIdRemote == other.diceBranchIdRemote)
- && (!hasBDENADDOCAC() || bDENADDOCAC == other.bDENADDOCAC)
- && (!hasCHGLMLDAMJH() || cHGLMLDAMJH == other.cHGLMLDAMJH)
- && (!hasDiceInfo() || diceInfo.equals(other.diceInfo))
- && (!hasNOGJMMEDGLL() || nOGJMMEDGLL.equals(other.nOGJMMEDGLL));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(diceBranchId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(rerollTimes);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(curSurfaceId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 32);
- output.writeUInt32NoTag(cheatTimes);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 40);
- output.writeUInt32NoTag(hIJBOPMGBAP);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 72);
- output.writeUInt32NoTag(gFGCPJOHMEL);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(curSurfaceIndex);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeRawByte((byte) 112);
- output.writeUInt32NoTag(diceBranchIdRemote);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- output.writeRawByte((byte) 80);
- output.writeBoolNoTag(bDENADDOCAC);
- }
- if ((bitField0_ & 0x00000200) != 0) {
- output.writeRawLittleEndian16((short) 19080);
- output.writeBoolNoTag(cHGLMLDAMJH);
- }
- if ((bitField0_ & 0x00000400) != 0) {
- output.writeRawLittleEndian16((short) 3458);
- output.writeMessageNoTag(diceInfo);
- }
- if ((bitField0_ & 0x00000800) != 0) {
- for (int i = 0; i < nOGJMMEDGLL.length(); i++) {
- output.writeRawLittleEndian16((short) 13448);
- output.writeUInt32NoTag(nOGJMMEDGLL.array()[i]);
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(diceBranchId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(rerollTimes);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(curSurfaceId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(cheatTimes);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(hIJBOPMGBAP);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(gFGCPJOHMEL);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(curSurfaceIndex);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(diceBranchIdRemote);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000200) != 0) {
- size += 3;
- }
- if ((bitField0_ & 0x00000400) != 0) {
- size += 2 + ProtoSink.computeMessageSizeNoTag(diceInfo);
- }
- if ((bitField0_ & 0x00000800) != 0) {
- size += (2 * nOGJMMEDGLL.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(nOGJMMEDGLL);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueNousDice mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 8: {
- // diceBranchId
- diceBranchId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 16) {
- break;
- }
- }
- case 16: {
- // rerollTimes
- rerollTimes = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 24) {
- break;
- }
- }
- case 24: {
- // curSurfaceId
- curSurfaceId = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 32) {
- break;
- }
- }
- case 32: {
- // cheatTimes
- cheatTimes = input.readUInt32();
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 40) {
- break;
- }
- }
- case 40: {
- // hIJBOPMGBAP
- hIJBOPMGBAP = input.readUInt32();
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 72) {
- break;
- }
- }
- case 72: {
- // gFGCPJOHMEL
- gFGCPJOHMEL = input.readUInt32();
- bitField0_ |= 0x00000020;
- tag = input.readTag();
- if (tag != 104) {
- break;
- }
- }
- case 104: {
- // curSurfaceIndex
- curSurfaceIndex = input.readUInt32();
- bitField0_ |= 0x00000040;
- tag = input.readTag();
- if (tag != 112) {
- break;
- }
- }
- case 112: {
- // diceBranchIdRemote
- diceBranchIdRemote = input.readUInt32();
- bitField0_ |= 0x00000080;
- tag = input.readTag();
- if (tag != 80) {
- break;
- }
- }
- case 80: {
- // bDENADDOCAC
- bDENADDOCAC = input.readBool();
- bitField0_ |= 0x00000100;
- tag = input.readTag();
- if (tag != 9480) {
- break;
- }
- }
- case 9480: {
- // cHGLMLDAMJH
- cHGLMLDAMJH = input.readBool();
- bitField0_ |= 0x00000200;
- tag = input.readTag();
- if (tag != 1666) {
- break;
- }
- }
- case 1666: {
- // diceInfo
- input.readMessage(diceInfo);
- bitField0_ |= 0x00000400;
- tag = input.readTag();
- if (tag != 6666) {
- break;
- }
- }
- case 6666: {
- // nOGJMMEDGLL [packed=true]
- input.readPackedUInt32(nOGJMMEDGLL, tag);
- bitField0_ |= 0x00000800;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- case 6664: {
- // nOGJMMEDGLL [packed=false]
- tag = input.readRepeatedUInt32(nOGJMMEDGLL, tag);
- bitField0_ |= 0x00000800;
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.diceBranchId, diceBranchId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.rerollTimes, rerollTimes);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.curSurfaceId, curSurfaceId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt32(FieldNames.cheatTimes, cheatTimes);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeUInt32(FieldNames.hIJBOPMGBAP, hIJBOPMGBAP);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeUInt32(FieldNames.gFGCPJOHMEL, gFGCPJOHMEL);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeUInt32(FieldNames.curSurfaceIndex, curSurfaceIndex);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeUInt32(FieldNames.diceBranchIdRemote, diceBranchIdRemote);
- }
- if ((bitField0_ & 0x00000100) != 0) {
- output.writeBool(FieldNames.bDENADDOCAC, bDENADDOCAC);
- }
- if ((bitField0_ & 0x00000200) != 0) {
- output.writeBool(FieldNames.cHGLMLDAMJH, cHGLMLDAMJH);
- }
- if ((bitField0_ & 0x00000400) != 0) {
- output.writeMessage(FieldNames.diceInfo, diceInfo);
- }
- if ((bitField0_ & 0x00000800) != 0) {
- output.writeRepeatedUInt32(FieldNames.nOGJMMEDGLL, nOGJMMEDGLL);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueNousDice mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 216999716:
- case 1050456640: {
- if (input.isAtField(FieldNames.diceBranchId)) {
- if (!input.trySkipNullValue()) {
- diceBranchId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -836069386:
- case 176620407: {
- if (input.isAtField(FieldNames.rerollTimes)) {
- if (!input.trySkipNullValue()) {
- rerollTimes = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1658805176:
- case -1978690228: {
- if (input.isAtField(FieldNames.curSurfaceId)) {
- if (!input.trySkipNullValue()) {
- curSurfaceId = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -2046149069:
- case 1318855898: {
- if (input.isAtField(FieldNames.cheatTimes)) {
- if (!input.trySkipNullValue()) {
- cheatTimes = input.readUInt32();
- bitField0_ |= 0x00000008;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 218596029: {
- if (input.isAtField(FieldNames.hIJBOPMGBAP)) {
- if (!input.trySkipNullValue()) {
- hIJBOPMGBAP = input.readUInt32();
- bitField0_ |= 0x00000010;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1897943334: {
- if (input.isAtField(FieldNames.gFGCPJOHMEL)) {
- if (!input.trySkipNullValue()) {
- gFGCPJOHMEL = input.readUInt32();
- bitField0_ |= 0x00000020;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 429106821:
- case 1265952513: {
- if (input.isAtField(FieldNames.curSurfaceIndex)) {
- if (!input.trySkipNullValue()) {
- curSurfaceIndex = input.readUInt32();
- bitField0_ |= 0x00000040;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1925587082:
- case 1293761317: {
- if (input.isAtField(FieldNames.diceBranchIdRemote)) {
- if (!input.trySkipNullValue()) {
- diceBranchIdRemote = input.readUInt32();
- bitField0_ |= 0x00000080;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -907576788: {
- if (input.isAtField(FieldNames.bDENADDOCAC)) {
- if (!input.trySkipNullValue()) {
- bDENADDOCAC = input.readBool();
- bitField0_ |= 0x00000100;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 287558437: {
- if (input.isAtField(FieldNames.cHGLMLDAMJH)) {
- if (!input.trySkipNullValue()) {
- cHGLMLDAMJH = input.readBool();
- bitField0_ |= 0x00000200;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -184174347:
- case -1394261434: {
- if (input.isAtField(FieldNames.diceInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(diceInfo);
- bitField0_ |= 0x00000400;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1459318404: {
- if (input.isAtField(FieldNames.nOGJMMEDGLL)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(nOGJMMEDGLL);
- bitField0_ |= 0x00000800;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueNousDice clone() {
- return new ChessRogueNousDice().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueNousDice parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueNousDice(), data).checkInitialized();
- }
-
- public static ChessRogueNousDice parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousDice(), input).checkInitialized();
- }
-
- public static ChessRogueNousDice parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousDice(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueNousDice messages
- */
- public static MessageFactoryoptional uint32 index = 5;
- */
- private int index;
-
- /**
- * optional uint32 dice_id = 9;
- */
- private int diceId;
-
- private ChessRogueNousDiceSurfaceInfo() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueNousDiceSurfaceInfo}
- */
- public static ChessRogueNousDiceSurfaceInfo newInstance() {
- return new ChessRogueNousDiceSurfaceInfo();
- }
-
- /**
- * optional uint32 index = 5;
- * @return whether the index field is set
- */
- public boolean hasIndex() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 index = 5;
- * @return this
- */
- public ChessRogueNousDiceSurfaceInfo clearIndex() {
- bitField0_ &= ~0x00000001;
- index = 0;
- return this;
- }
-
- /**
- * optional uint32 index = 5;
- * @return the index
- */
- public int getIndex() {
- return index;
- }
-
- /**
- * optional uint32 index = 5;
- * @param value the index to set
- * @return this
- */
- public ChessRogueNousDiceSurfaceInfo setIndex(final int value) {
- bitField0_ |= 0x00000001;
- index = value;
- return this;
- }
-
- /**
- * optional uint32 dice_id = 9;
- * @return whether the diceId field is set
- */
- public boolean hasDiceId() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 dice_id = 9;
- * @return this
- */
- public ChessRogueNousDiceSurfaceInfo clearDiceId() {
- bitField0_ &= ~0x00000002;
- diceId = 0;
- return this;
- }
-
- /**
- * optional uint32 dice_id = 9;
- * @return the diceId
- */
- public int getDiceId() {
- return diceId;
- }
-
- /**
- * optional uint32 dice_id = 9;
- * @param value the diceId to set
- * @return this
- */
- public ChessRogueNousDiceSurfaceInfo setDiceId(final int value) {
- bitField0_ |= 0x00000002;
- diceId = value;
- return this;
- }
-
- @Override
- public ChessRogueNousDiceSurfaceInfo copyFrom(final ChessRogueNousDiceSurfaceInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- index = other.index;
- diceId = other.diceId;
- }
- return this;
- }
-
- @Override
- public ChessRogueNousDiceSurfaceInfo mergeFrom(final ChessRogueNousDiceSurfaceInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasIndex()) {
- setIndex(other.index);
- }
- if (other.hasDiceId()) {
- setDiceId(other.diceId);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousDiceSurfaceInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- index = 0;
- diceId = 0;
- return this;
- }
-
- @Override
- public ChessRogueNousDiceSurfaceInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueNousDiceSurfaceInfo)) {
- return false;
- }
- ChessRogueNousDiceSurfaceInfo other = (ChessRogueNousDiceSurfaceInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasIndex() || index == other.index)
- && (!hasDiceId() || diceId == other.diceId);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 40);
- output.writeUInt32NoTag(index);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 72);
- output.writeUInt32NoTag(diceId);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(index);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(diceId);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueNousDiceSurfaceInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 40: {
- // index
- index = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 72) {
- break;
- }
- }
- case 72: {
- // diceId
- diceId = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.index, index);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.diceId, diceId);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueNousDiceSurfaceInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 100346066: {
- if (input.isAtField(FieldNames.index)) {
- if (!input.trySkipNullValue()) {
- index = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1332033758:
- case 1656647859: {
- if (input.isAtField(FieldNames.diceId)) {
- if (!input.trySkipNullValue()) {
- diceId = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueNousDiceSurfaceInfo clone() {
- return new ChessRogueNousDiceSurfaceInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueNousDiceSurfaceInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueNousDiceSurfaceInfo(), data).checkInitialized();
- }
-
- public static ChessRogueNousDiceSurfaceInfo parseFrom(final ProtoSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousDiceSurfaceInfo(), input).checkInitialized();
- }
-
- public static ChessRogueNousDiceSurfaceInfo parseFrom(final JsonSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousDiceSurfaceInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueNousDiceSurfaceInfo messages
- */
- public static MessageFactoryoptional .ChessRogueNousDiceInfo dice_info = 12;
- */
- private final ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo diceInfo = ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo.newInstance();
-
- private ChessRogueNousEditDiceCsReq() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueNousEditDiceCsReq}
- */
- public static ChessRogueNousEditDiceCsReq newInstance() {
- return new ChessRogueNousEditDiceCsReq();
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 12;
- * @return whether the diceInfo field is set
- */
- public boolean hasDiceInfo() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 12;
- * @return this
- */
- public ChessRogueNousEditDiceCsReq clearDiceInfo() {
- bitField0_ &= ~0x00000001;
- diceInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 12;
- *
- * 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.
- *
- * Use {@link #getMutableDiceInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo getDiceInfo() {
- return diceInfo;
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 12;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo getMutableDiceInfo() {
- bitField0_ |= 0x00000001;
- return diceInfo;
- }
-
- /**
- * optional .ChessRogueNousDiceInfo dice_info = 12;
- * @param value the diceInfo to set
- * @return this
- */
- public ChessRogueNousEditDiceCsReq setDiceInfo(
- final ChessRogueNousDiceInfoOuterClass.ChessRogueNousDiceInfo value) {
- bitField0_ |= 0x00000001;
- diceInfo.copyFrom(value);
- return this;
- }
-
- @Override
- public ChessRogueNousEditDiceCsReq copyFrom(final ChessRogueNousEditDiceCsReq other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- diceInfo.copyFrom(other.diceInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousEditDiceCsReq mergeFrom(final ChessRogueNousEditDiceCsReq other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasDiceInfo()) {
- getMutableDiceInfo().mergeFrom(other.diceInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousEditDiceCsReq clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- diceInfo.clear();
- return this;
- }
-
- @Override
- public ChessRogueNousEditDiceCsReq clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- diceInfo.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueNousEditDiceCsReq)) {
- return false;
- }
- ChessRogueNousEditDiceCsReq other = (ChessRogueNousEditDiceCsReq) o;
- return bitField0_ == other.bitField0_
- && (!hasDiceInfo() || diceInfo.equals(other.diceInfo));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 98);
- output.writeMessageNoTag(diceInfo);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(diceInfo);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueNousEditDiceCsReq mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 98: {
- // diceInfo
- input.readMessage(diceInfo);
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeMessage(FieldNames.diceInfo, diceInfo);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueNousEditDiceCsReq mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -184174347:
- case -1394261434: {
- if (input.isAtField(FieldNames.diceInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(diceInfo);
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueNousEditDiceCsReq clone() {
- return new ChessRogueNousEditDiceCsReq().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueNousEditDiceCsReq parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueNousEditDiceCsReq(), data).checkInitialized();
- }
-
- public static ChessRogueNousEditDiceCsReq parseFrom(final ProtoSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousEditDiceCsReq(), input).checkInitialized();
- }
-
- public static ChessRogueNousEditDiceCsReq parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousEditDiceCsReq(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueNousEditDiceCsReq messages
- */
- public static MessageFactoryoptional uint32 story_id = 4;
- */
- private int storyId;
-
- /**
- * - * 2 finished - *- * - *
optional uint32 status = 5;
- */
- private int status;
-
- private ChessRogueNousMainStoryInfo() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueNousMainStoryInfo}
- */
- public static ChessRogueNousMainStoryInfo newInstance() {
- return new ChessRogueNousMainStoryInfo();
- }
-
- /**
- * optional uint32 story_id = 4;
- * @return whether the storyId field is set
- */
- public boolean hasStoryId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 story_id = 4;
- * @return this
- */
- public ChessRogueNousMainStoryInfo clearStoryId() {
- bitField0_ &= ~0x00000001;
- storyId = 0;
- return this;
- }
-
- /**
- * optional uint32 story_id = 4;
- * @return the storyId
- */
- public int getStoryId() {
- return storyId;
- }
-
- /**
- * optional uint32 story_id = 4;
- * @param value the storyId to set
- * @return this
- */
- public ChessRogueNousMainStoryInfo setStoryId(final int value) {
- bitField0_ |= 0x00000001;
- storyId = value;
- return this;
- }
-
- /**
- * - * 2 finished - *- * - *
optional uint32 status = 5;
- * @return whether the status field is set
- */
- public boolean hasStatus() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * - * 2 finished - *- * - *
optional uint32 status = 5;
- * @return this
- */
- public ChessRogueNousMainStoryInfo clearStatus() {
- bitField0_ &= ~0x00000002;
- status = 0;
- return this;
- }
-
- /**
- * - * 2 finished - *- * - *
optional uint32 status = 5;
- * @return the status
- */
- public int getStatus() {
- return status;
- }
-
- /**
- * - * 2 finished - *- * - *
optional uint32 status = 5;
- * @param value the status to set
- * @return this
- */
- public ChessRogueNousMainStoryInfo setStatus(final int value) {
- bitField0_ |= 0x00000002;
- status = value;
- return this;
- }
-
- @Override
- public ChessRogueNousMainStoryInfo copyFrom(final ChessRogueNousMainStoryInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- storyId = other.storyId;
- status = other.status;
- }
- return this;
- }
-
- @Override
- public ChessRogueNousMainStoryInfo mergeFrom(final ChessRogueNousMainStoryInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasStoryId()) {
- setStoryId(other.storyId);
- }
- if (other.hasStatus()) {
- setStatus(other.status);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousMainStoryInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- storyId = 0;
- status = 0;
- return this;
- }
-
- @Override
- public ChessRogueNousMainStoryInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueNousMainStoryInfo)) {
- return false;
- }
- ChessRogueNousMainStoryInfo other = (ChessRogueNousMainStoryInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasStoryId() || storyId == other.storyId)
- && (!hasStatus() || status == other.status);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 32);
- output.writeUInt32NoTag(storyId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 40);
- output.writeUInt32NoTag(status);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(storyId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(status);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueNousMainStoryInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 32: {
- // storyId
- storyId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 40) {
- break;
- }
- }
- case 40: {
- // status
- status = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.storyId, storyId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.status, status);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueNousMainStoryInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -1884251920:
- case 1717754021: {
- if (input.isAtField(FieldNames.storyId)) {
- if (!input.trySkipNullValue()) {
- storyId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -892481550: {
- if (input.isAtField(FieldNames.status)) {
- if (!input.trySkipNullValue()) {
- status = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueNousMainStoryInfo clone() {
- return new ChessRogueNousMainStoryInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueNousMainStoryInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueNousMainStoryInfo(), data).checkInitialized();
- }
-
- public static ChessRogueNousMainStoryInfo parseFrom(final ProtoSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousMainStoryInfo(), input).checkInitialized();
- }
-
- public static ChessRogueNousMainStoryInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousMainStoryInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueNousMainStoryInfo messages
- */
- public static MessageFactory- * MAKPHMAOCHI talent_info = 1; - * OFHBFINPHAG JNAGMIALOII = 6; - * CLIDPGPDFGK IKGPADCBBPN = 4; - * ChessRogueQuery query_info = 13; - * repeated uint32 PHJAFGJHOCO = 7; - * repeated uint32 CMNHLKGFKOP = 8; - *- * - * Protobuf type {@code ChessRogueNousQueryInfo} - */ - public static final class ChessRogueNousQueryInfo extends ProtoMessage
- * MAKPHMAOCHI talent_info = 1; - * OFHBFINPHAG JNAGMIALOII = 6; - * CLIDPGPDFGK IKGPADCBBPN = 4; - * ChessRogueQuery query_info = 13; - * repeated uint32 PHJAFGJHOCO = 7; - * repeated uint32 CMNHLKGFKOP = 8; - *- * - * @return a new empty instance of {@code ChessRogueNousQueryInfo} - */ - public static ChessRogueNousQueryInfo newInstance() { - return new ChessRogueNousQueryInfo(); - } - - @Override - public ChessRogueNousQueryInfo copyFrom(final ChessRogueNousQueryInfo other) { - cachedSize = other.cachedSize; - return this; - } - - @Override - public ChessRogueNousQueryInfo mergeFrom(final ChessRogueNousQueryInfo other) { - if (other.isEmpty()) { - return this; - } - cachedSize = -1; - return this; - } - - @Override - public ChessRogueNousQueryInfo clear() { - if (isEmpty()) { - return this; - } - cachedSize = -1; - return this; - } - - @Override - public ChessRogueNousQueryInfo clearQuick() { - if (isEmpty()) { - return this; - } - cachedSize = -1; - return this; - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (!(o instanceof ChessRogueNousQueryInfo)) { - return false; - } - ChessRogueNousQueryInfo other = (ChessRogueNousQueryInfo) o; - return true; - } - - @Override - public void writeTo(final ProtoSink output) throws IOException { - } - - @Override - protected int computeSerializedSize() { - int size = 0; - return size; - } - - @Override - @SuppressWarnings("fallthrough") - public ChessRogueNousQueryInfo mergeFrom(final ProtoSource input) throws IOException { - // Enabled Fall-Through Optimization (QuickBuffers) - int tag = input.readTag(); - while (true) { - switch (tag) { - case 0: { - return this; - } - default: { - if (!input.skipField(tag)) { - return this; - } - tag = input.readTag(); - break; - } - } - } - } - - @Override - public void writeTo(final JsonSink output) throws IOException { - output.beginObject(); - output.endObject(); - } - - @Override - public ChessRogueNousQueryInfo mergeFrom(final JsonSource input) throws IOException { - if (!input.beginObject()) { - return this; - } - while (!input.isAtEnd()) { - switch (input.readFieldHash()) { - default: { - input.skipUnknownField(); - break; - } - } - } - input.endObject(); - return this; - } - - @Override - public ChessRogueNousQueryInfo clone() { - return new ChessRogueNousQueryInfo().copyFrom(this); - } - - @Override - public boolean isEmpty() { - return ((bitField0_) == 0); - } - - public static ChessRogueNousQueryInfo parseFrom(final byte[] data) throws - InvalidProtocolBufferException { - return ProtoMessage.mergeFrom(new ChessRogueNousQueryInfo(), data).checkInitialized(); - } - - public static ChessRogueNousQueryInfo parseFrom(final ProtoSource input) throws IOException { - return ProtoMessage.mergeFrom(new ChessRogueNousQueryInfo(), input).checkInitialized(); - } - - public static ChessRogueNousQueryInfo parseFrom(final JsonSource input) throws IOException { - return ProtoMessage.mergeFrom(new ChessRogueNousQueryInfo(), input).checkInitialized(); - } - - /** - * @return factory for creating ChessRogueNousQueryInfo messages - */ - public static MessageFactory
optional uint32 story_id = 3;
- */
- private int storyId;
-
- /**
- * optional uint32 sub_story_id = 7;
- */
- private int subStoryId;
-
- /**
- * optional uint32 ACLGLHEFFON = 14;
- */
- private int aCLGLHEFFON;
-
- /**
- * optional bool CKEKKMGIHKJ = 8;
- */
- private boolean cKEKKMGIHKJ;
-
- /**
- * optional bool AHOJIDMLFPE = 12;
- */
- private boolean aHOJIDMLFPE;
-
- /**
- * repeated uint32 HCPCJBDBBGC = 1;
- */
- private final RepeatedInt hCPCJBDBBGC = RepeatedInt.newEmptyInstance();
-
- /**
- * repeated uint32 CMHLEEKNFKH = 4;
- */
- private final RepeatedInt cMHLEEKNFKH = RepeatedInt.newEmptyInstance();
-
- /**
- * repeated uint32 INPDLILFOCO = 9;
- */
- private final RepeatedInt iNPDLILFOCO = RepeatedInt.newEmptyInstance();
-
- private ChessRogueNousStoryInfo() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueNousStoryInfo}
- */
- public static ChessRogueNousStoryInfo newInstance() {
- return new ChessRogueNousStoryInfo();
- }
-
- /**
- * optional uint32 story_id = 3;
- * @return whether the storyId field is set
- */
- public boolean hasStoryId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 story_id = 3;
- * @return this
- */
- public ChessRogueNousStoryInfo clearStoryId() {
- bitField0_ &= ~0x00000001;
- storyId = 0;
- return this;
- }
-
- /**
- * optional uint32 story_id = 3;
- * @return the storyId
- */
- public int getStoryId() {
- return storyId;
- }
-
- /**
- * optional uint32 story_id = 3;
- * @param value the storyId to set
- * @return this
- */
- public ChessRogueNousStoryInfo setStoryId(final int value) {
- bitField0_ |= 0x00000001;
- storyId = value;
- return this;
- }
-
- /**
- * optional uint32 sub_story_id = 7;
- * @return whether the subStoryId field is set
- */
- public boolean hasSubStoryId() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 sub_story_id = 7;
- * @return this
- */
- public ChessRogueNousStoryInfo clearSubStoryId() {
- bitField0_ &= ~0x00000002;
- subStoryId = 0;
- return this;
- }
-
- /**
- * optional uint32 sub_story_id = 7;
- * @return the subStoryId
- */
- public int getSubStoryId() {
- return subStoryId;
- }
-
- /**
- * optional uint32 sub_story_id = 7;
- * @param value the subStoryId to set
- * @return this
- */
- public ChessRogueNousStoryInfo setSubStoryId(final int value) {
- bitField0_ |= 0x00000002;
- subStoryId = value;
- return this;
- }
-
- /**
- * optional uint32 ACLGLHEFFON = 14;
- * @return whether the aCLGLHEFFON field is set
- */
- public boolean hasACLGLHEFFON() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 ACLGLHEFFON = 14;
- * @return this
- */
- public ChessRogueNousStoryInfo clearACLGLHEFFON() {
- bitField0_ &= ~0x00000004;
- aCLGLHEFFON = 0;
- return this;
- }
-
- /**
- * optional uint32 ACLGLHEFFON = 14;
- * @return the aCLGLHEFFON
- */
- public int getACLGLHEFFON() {
- return aCLGLHEFFON;
- }
-
- /**
- * optional uint32 ACLGLHEFFON = 14;
- * @param value the aCLGLHEFFON to set
- * @return this
- */
- public ChessRogueNousStoryInfo setACLGLHEFFON(final int value) {
- bitField0_ |= 0x00000004;
- aCLGLHEFFON = value;
- return this;
- }
-
- /**
- * optional bool CKEKKMGIHKJ = 8;
- * @return whether the cKEKKMGIHKJ field is set
- */
- public boolean hasCKEKKMGIHKJ() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional bool CKEKKMGIHKJ = 8;
- * @return this
- */
- public ChessRogueNousStoryInfo clearCKEKKMGIHKJ() {
- bitField0_ &= ~0x00000008;
- cKEKKMGIHKJ = false;
- return this;
- }
-
- /**
- * optional bool CKEKKMGIHKJ = 8;
- * @return the cKEKKMGIHKJ
- */
- public boolean getCKEKKMGIHKJ() {
- return cKEKKMGIHKJ;
- }
-
- /**
- * optional bool CKEKKMGIHKJ = 8;
- * @param value the cKEKKMGIHKJ to set
- * @return this
- */
- public ChessRogueNousStoryInfo setCKEKKMGIHKJ(final boolean value) {
- bitField0_ |= 0x00000008;
- cKEKKMGIHKJ = value;
- return this;
- }
-
- /**
- * optional bool AHOJIDMLFPE = 12;
- * @return whether the aHOJIDMLFPE field is set
- */
- public boolean hasAHOJIDMLFPE() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * optional bool AHOJIDMLFPE = 12;
- * @return this
- */
- public ChessRogueNousStoryInfo clearAHOJIDMLFPE() {
- bitField0_ &= ~0x00000010;
- aHOJIDMLFPE = false;
- return this;
- }
-
- /**
- * optional bool AHOJIDMLFPE = 12;
- * @return the aHOJIDMLFPE
- */
- public boolean getAHOJIDMLFPE() {
- return aHOJIDMLFPE;
- }
-
- /**
- * optional bool AHOJIDMLFPE = 12;
- * @param value the aHOJIDMLFPE to set
- * @return this
- */
- public ChessRogueNousStoryInfo setAHOJIDMLFPE(final boolean value) {
- bitField0_ |= 0x00000010;
- aHOJIDMLFPE = value;
- return this;
- }
-
- /**
- * repeated uint32 HCPCJBDBBGC = 1;
- * @return whether the hCPCJBDBBGC field is set
- */
- public boolean hasHCPCJBDBBGC() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * repeated uint32 HCPCJBDBBGC = 1;
- * @return this
- */
- public ChessRogueNousStoryInfo clearHCPCJBDBBGC() {
- bitField0_ &= ~0x00000020;
- hCPCJBDBBGC.clear();
- return this;
- }
-
- /**
- * repeated uint32 HCPCJBDBBGC = 1;
- *
- * 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.
- *
- * Use {@link #getMutableHCPCJBDBBGC()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getHCPCJBDBBGC() {
- return hCPCJBDBBGC;
- }
-
- /**
- * repeated uint32 HCPCJBDBBGC = 1;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableHCPCJBDBBGC() {
- bitField0_ |= 0x00000020;
- return hCPCJBDBBGC;
- }
-
- /**
- * repeated uint32 HCPCJBDBBGC = 1;
- * @param value the hCPCJBDBBGC to add
- * @return this
- */
- public ChessRogueNousStoryInfo addHCPCJBDBBGC(final int value) {
- bitField0_ |= 0x00000020;
- hCPCJBDBBGC.add(value);
- return this;
- }
-
- /**
- * repeated uint32 HCPCJBDBBGC = 1;
- * @param values the hCPCJBDBBGC to add
- * @return this
- */
- public ChessRogueNousStoryInfo addAllHCPCJBDBBGC(final int... values) {
- bitField0_ |= 0x00000020;
- hCPCJBDBBGC.addAll(values);
- return this;
- }
-
- /**
- * repeated uint32 CMHLEEKNFKH = 4;
- * @return whether the cMHLEEKNFKH field is set
- */
- public boolean hasCMHLEEKNFKH() {
- return (bitField0_ & 0x00000040) != 0;
- }
-
- /**
- * repeated uint32 CMHLEEKNFKH = 4;
- * @return this
- */
- public ChessRogueNousStoryInfo clearCMHLEEKNFKH() {
- bitField0_ &= ~0x00000040;
- cMHLEEKNFKH.clear();
- return this;
- }
-
- /**
- * repeated uint32 CMHLEEKNFKH = 4;
- *
- * 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.
- *
- * Use {@link #getMutableCMHLEEKNFKH()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getCMHLEEKNFKH() {
- return cMHLEEKNFKH;
- }
-
- /**
- * repeated uint32 CMHLEEKNFKH = 4;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableCMHLEEKNFKH() {
- bitField0_ |= 0x00000040;
- return cMHLEEKNFKH;
- }
-
- /**
- * repeated uint32 CMHLEEKNFKH = 4;
- * @param value the cMHLEEKNFKH to add
- * @return this
- */
- public ChessRogueNousStoryInfo addCMHLEEKNFKH(final int value) {
- bitField0_ |= 0x00000040;
- cMHLEEKNFKH.add(value);
- return this;
- }
-
- /**
- * repeated uint32 CMHLEEKNFKH = 4;
- * @param values the cMHLEEKNFKH to add
- * @return this
- */
- public ChessRogueNousStoryInfo addAllCMHLEEKNFKH(final int... values) {
- bitField0_ |= 0x00000040;
- cMHLEEKNFKH.addAll(values);
- return this;
- }
-
- /**
- * repeated uint32 INPDLILFOCO = 9;
- * @return whether the iNPDLILFOCO field is set
- */
- public boolean hasINPDLILFOCO() {
- return (bitField0_ & 0x00000080) != 0;
- }
-
- /**
- * repeated uint32 INPDLILFOCO = 9;
- * @return this
- */
- public ChessRogueNousStoryInfo clearINPDLILFOCO() {
- bitField0_ &= ~0x00000080;
- iNPDLILFOCO.clear();
- return this;
- }
-
- /**
- * repeated uint32 INPDLILFOCO = 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.
- *
- * Use {@link #getMutableINPDLILFOCO()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getINPDLILFOCO() {
- return iNPDLILFOCO;
- }
-
- /**
- * repeated uint32 INPDLILFOCO = 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
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableINPDLILFOCO() {
- bitField0_ |= 0x00000080;
- return iNPDLILFOCO;
- }
-
- /**
- * repeated uint32 INPDLILFOCO = 9;
- * @param value the iNPDLILFOCO to add
- * @return this
- */
- public ChessRogueNousStoryInfo addINPDLILFOCO(final int value) {
- bitField0_ |= 0x00000080;
- iNPDLILFOCO.add(value);
- return this;
- }
-
- /**
- * repeated uint32 INPDLILFOCO = 9;
- * @param values the iNPDLILFOCO to add
- * @return this
- */
- public ChessRogueNousStoryInfo addAllINPDLILFOCO(final int... values) {
- bitField0_ |= 0x00000080;
- iNPDLILFOCO.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueNousStoryInfo copyFrom(final ChessRogueNousStoryInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- storyId = other.storyId;
- subStoryId = other.subStoryId;
- aCLGLHEFFON = other.aCLGLHEFFON;
- cKEKKMGIHKJ = other.cKEKKMGIHKJ;
- aHOJIDMLFPE = other.aHOJIDMLFPE;
- hCPCJBDBBGC.copyFrom(other.hCPCJBDBBGC);
- cMHLEEKNFKH.copyFrom(other.cMHLEEKNFKH);
- iNPDLILFOCO.copyFrom(other.iNPDLILFOCO);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousStoryInfo mergeFrom(final ChessRogueNousStoryInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasStoryId()) {
- setStoryId(other.storyId);
- }
- if (other.hasSubStoryId()) {
- setSubStoryId(other.subStoryId);
- }
- if (other.hasACLGLHEFFON()) {
- setACLGLHEFFON(other.aCLGLHEFFON);
- }
- if (other.hasCKEKKMGIHKJ()) {
- setCKEKKMGIHKJ(other.cKEKKMGIHKJ);
- }
- if (other.hasAHOJIDMLFPE()) {
- setAHOJIDMLFPE(other.aHOJIDMLFPE);
- }
- if (other.hasHCPCJBDBBGC()) {
- getMutableHCPCJBDBBGC().addAll(other.hCPCJBDBBGC);
- }
- if (other.hasCMHLEEKNFKH()) {
- getMutableCMHLEEKNFKH().addAll(other.cMHLEEKNFKH);
- }
- if (other.hasINPDLILFOCO()) {
- getMutableINPDLILFOCO().addAll(other.iNPDLILFOCO);
- }
- return this;
- }
-
- @Override
- public ChessRogueNousStoryInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- storyId = 0;
- subStoryId = 0;
- aCLGLHEFFON = 0;
- cKEKKMGIHKJ = false;
- aHOJIDMLFPE = false;
- hCPCJBDBBGC.clear();
- cMHLEEKNFKH.clear();
- iNPDLILFOCO.clear();
- return this;
- }
-
- @Override
- public ChessRogueNousStoryInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- hCPCJBDBBGC.clear();
- cMHLEEKNFKH.clear();
- iNPDLILFOCO.clear();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueNousStoryInfo)) {
- return false;
- }
- ChessRogueNousStoryInfo other = (ChessRogueNousStoryInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasStoryId() || storyId == other.storyId)
- && (!hasSubStoryId() || subStoryId == other.subStoryId)
- && (!hasACLGLHEFFON() || aCLGLHEFFON == other.aCLGLHEFFON)
- && (!hasCKEKKMGIHKJ() || cKEKKMGIHKJ == other.cKEKKMGIHKJ)
- && (!hasAHOJIDMLFPE() || aHOJIDMLFPE == other.aHOJIDMLFPE)
- && (!hasHCPCJBDBBGC() || hCPCJBDBBGC.equals(other.hCPCJBDBBGC))
- && (!hasCMHLEEKNFKH() || cMHLEEKNFKH.equals(other.cMHLEEKNFKH))
- && (!hasINPDLILFOCO() || iNPDLILFOCO.equals(other.iNPDLILFOCO));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 24);
- output.writeUInt32NoTag(storyId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 56);
- output.writeUInt32NoTag(subStoryId);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 112);
- output.writeUInt32NoTag(aCLGLHEFFON);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 64);
- output.writeBoolNoTag(cKEKKMGIHKJ);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 96);
- output.writeBoolNoTag(aHOJIDMLFPE);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- for (int i = 0; i < hCPCJBDBBGC.length(); i++) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(hCPCJBDBBGC.array()[i]);
- }
- }
- if ((bitField0_ & 0x00000040) != 0) {
- for (int i = 0; i < cMHLEEKNFKH.length(); i++) {
- output.writeRawByte((byte) 32);
- output.writeUInt32NoTag(cMHLEEKNFKH.array()[i]);
- }
- }
- if ((bitField0_ & 0x00000080) != 0) {
- for (int i = 0; i < iNPDLILFOCO.length(); i++) {
- output.writeRawByte((byte) 72);
- output.writeUInt32NoTag(iNPDLILFOCO.array()[i]);
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(storyId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(subStoryId);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(aCLGLHEFFON);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000010) != 0) {
- size += 2;
- }
- if ((bitField0_ & 0x00000020) != 0) {
- size += (1 * hCPCJBDBBGC.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(hCPCJBDBBGC);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- size += (1 * cMHLEEKNFKH.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(cMHLEEKNFKH);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- size += (1 * iNPDLILFOCO.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(iNPDLILFOCO);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueNousStoryInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 24: {
- // storyId
- storyId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 56) {
- break;
- }
- }
- case 56: {
- // subStoryId
- subStoryId = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 112) {
- break;
- }
- }
- case 112: {
- // aCLGLHEFFON
- aCLGLHEFFON = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 64) {
- break;
- }
- }
- case 64: {
- // cKEKKMGIHKJ
- cKEKKMGIHKJ = input.readBool();
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 96) {
- break;
- }
- }
- case 96: {
- // aHOJIDMLFPE
- aHOJIDMLFPE = input.readBool();
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 10) {
- break;
- }
- }
- case 10: {
- // hCPCJBDBBGC [packed=true]
- input.readPackedUInt32(hCPCJBDBBGC, tag);
- bitField0_ |= 0x00000020;
- tag = input.readTag();
- if (tag != 34) {
- break;
- }
- }
- case 34: {
- // cMHLEEKNFKH [packed=true]
- input.readPackedUInt32(cMHLEEKNFKH, tag);
- bitField0_ |= 0x00000040;
- tag = input.readTag();
- if (tag != 74) {
- break;
- }
- }
- case 74: {
- // iNPDLILFOCO [packed=true]
- input.readPackedUInt32(iNPDLILFOCO, tag);
- bitField0_ |= 0x00000080;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- case 8: {
- // hCPCJBDBBGC [packed=false]
- tag = input.readRepeatedUInt32(hCPCJBDBBGC, tag);
- bitField0_ |= 0x00000020;
- break;
- }
- case 32: {
- // cMHLEEKNFKH [packed=false]
- tag = input.readRepeatedUInt32(cMHLEEKNFKH, tag);
- bitField0_ |= 0x00000040;
- break;
- }
- case 72: {
- // iNPDLILFOCO [packed=false]
- tag = input.readRepeatedUInt32(iNPDLILFOCO, tag);
- bitField0_ |= 0x00000080;
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.storyId, storyId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.subStoryId, subStoryId);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.aCLGLHEFFON, aCLGLHEFFON);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeBool(FieldNames.cKEKKMGIHKJ, cKEKKMGIHKJ);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeBool(FieldNames.aHOJIDMLFPE, aHOJIDMLFPE);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeRepeatedUInt32(FieldNames.hCPCJBDBBGC, hCPCJBDBBGC);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeRepeatedUInt32(FieldNames.cMHLEEKNFKH, cMHLEEKNFKH);
- }
- if ((bitField0_ & 0x00000080) != 0) {
- output.writeRepeatedUInt32(FieldNames.iNPDLILFOCO, iNPDLILFOCO);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueNousStoryInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -1884251920:
- case 1717754021: {
- if (input.isAtField(FieldNames.storyId)) {
- if (!input.trySkipNullValue()) {
- storyId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 929098384:
- case 1899516868: {
- if (input.isAtField(FieldNames.subStoryId)) {
- if (!input.trySkipNullValue()) {
- subStoryId = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1003347797: {
- if (input.isAtField(FieldNames.aCLGLHEFFON)) {
- if (!input.trySkipNullValue()) {
- aCLGLHEFFON = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -173257579: {
- if (input.isAtField(FieldNames.cKEKKMGIHKJ)) {
- if (!input.trySkipNullValue()) {
- cKEKKMGIHKJ = input.readBool();
- bitField0_ |= 0x00000008;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -654341121: {
- if (input.isAtField(FieldNames.aHOJIDMLFPE)) {
- if (!input.trySkipNullValue()) {
- aHOJIDMLFPE = input.readBool();
- bitField0_ |= 0x00000010;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 333875514: {
- if (input.isAtField(FieldNames.hCPCJBDBBGC)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(hCPCJBDBBGC);
- bitField0_ |= 0x00000020;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1206117230: {
- if (input.isAtField(FieldNames.cMHLEEKNFKH)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(cMHLEEKNFKH);
- bitField0_ |= 0x00000040;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 101017067: {
- if (input.isAtField(FieldNames.iNPDLILFOCO)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(iNPDLILFOCO);
- bitField0_ |= 0x00000080;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueNousStoryInfo clone() {
- return new ChessRogueNousStoryInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueNousStoryInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueNousStoryInfo(), data).checkInitialized();
- }
-
- public static ChessRogueNousStoryInfo parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousStoryInfo(), input).checkInitialized();
- }
-
- public static ChessRogueNousStoryInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueNousStoryInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueNousStoryInfo messages
- */
- public static MessageFactoryoptional uint32 entity_id = 14;
- */
- private int entityId;
-
- private ChessRogueReRollDiceCsReq() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueReRollDiceCsReq}
- */
- public static ChessRogueReRollDiceCsReq newInstance() {
- return new ChessRogueReRollDiceCsReq();
- }
-
- /**
- * optional uint32 entity_id = 14;
- * @return whether the entityId field is set
- */
- public boolean hasEntityId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 entity_id = 14;
- * @return this
- */
- public ChessRogueReRollDiceCsReq clearEntityId() {
- bitField0_ &= ~0x00000001;
- entityId = 0;
- return this;
- }
-
- /**
- * optional uint32 entity_id = 14;
- * @return the entityId
- */
- public int getEntityId() {
- return entityId;
- }
-
- /**
- * optional uint32 entity_id = 14;
- * @param value the entityId to set
- * @return this
- */
- public ChessRogueReRollDiceCsReq setEntityId(final int value) {
- bitField0_ |= 0x00000001;
- entityId = value;
- return this;
- }
-
- @Override
- public ChessRogueReRollDiceCsReq copyFrom(final ChessRogueReRollDiceCsReq other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- entityId = other.entityId;
- }
- return this;
- }
-
- @Override
- public ChessRogueReRollDiceCsReq mergeFrom(final ChessRogueReRollDiceCsReq other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasEntityId()) {
- setEntityId(other.entityId);
- }
- return this;
- }
-
- @Override
- public ChessRogueReRollDiceCsReq clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- entityId = 0;
- return this;
- }
-
- @Override
- public ChessRogueReRollDiceCsReq clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueReRollDiceCsReq)) {
- return false;
- }
- ChessRogueReRollDiceCsReq other = (ChessRogueReRollDiceCsReq) o;
- return bitField0_ == other.bitField0_
- && (!hasEntityId() || entityId == other.entityId);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 112);
- output.writeUInt32NoTag(entityId);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueReRollDiceCsReq mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 112: {
- // entityId
- entityId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.entityId, entityId);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueReRollDiceCsReq mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -2102099874:
- case -740565257: {
- if (input.isAtField(FieldNames.entityId)) {
- if (!input.trySkipNullValue()) {
- entityId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueReRollDiceCsReq clone() {
- return new ChessRogueReRollDiceCsReq().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueReRollDiceCsReq parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueReRollDiceCsReq(), data).checkInitialized();
- }
-
- public static ChessRogueReRollDiceCsReq parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueReRollDiceCsReq(), input).checkInitialized();
- }
-
- public static ChessRogueReRollDiceCsReq parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueReRollDiceCsReq(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueReRollDiceCsReq messages
- */
- public static MessageFactory- * guess this is the difficulty level - *- * - *
optional uint32 KOLEFJKMFLF = 1;
- */
- private int kOLEFJKMFLF;
-
- /**
- * optional uint32 area_id = 5;
- */
- private int areaId;
-
- /**
- * optional uint32 dice_branch_id = 9;
- */
- private int diceBranchId;
-
- /**
- * repeated uint32 DDDICOEFHPM = 6;
- */
- private final RepeatedInt dDDICOEFHPM = RepeatedInt.newEmptyInstance();
-
- /**
- * repeated uint32 JDCMGPJHGLG = 8;
- */
- private final RepeatedInt jDCMGPJHGLG = RepeatedInt.newEmptyInstance();
-
- /**
- * repeated uint32 disable_aeon_id = 13;
- */
- private final RepeatedInt disableAeonId = RepeatedInt.newEmptyInstance();
-
- /**
- * repeated uint32 base_avatar_id_list = 15;
- */
- private final RepeatedInt baseAvatarIdList = RepeatedInt.newEmptyInstance();
-
- private ChessRogueStartCsReq() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueStartCsReq}
- */
- public static ChessRogueStartCsReq newInstance() {
- return new ChessRogueStartCsReq();
- }
-
- /**
- * - * guess this is the difficulty level - *- * - *
optional uint32 KOLEFJKMFLF = 1;
- * @return whether the kOLEFJKMFLF field is set
- */
- public boolean hasKOLEFJKMFLF() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * - * guess this is the difficulty level - *- * - *
optional uint32 KOLEFJKMFLF = 1;
- * @return this
- */
- public ChessRogueStartCsReq clearKOLEFJKMFLF() {
- bitField0_ &= ~0x00000001;
- kOLEFJKMFLF = 0;
- return this;
- }
-
- /**
- * - * guess this is the difficulty level - *- * - *
optional uint32 KOLEFJKMFLF = 1;
- * @return the kOLEFJKMFLF
- */
- public int getKOLEFJKMFLF() {
- return kOLEFJKMFLF;
- }
-
- /**
- * - * guess this is the difficulty level - *- * - *
optional uint32 KOLEFJKMFLF = 1;
- * @param value the kOLEFJKMFLF to set
- * @return this
- */
- public ChessRogueStartCsReq setKOLEFJKMFLF(final int value) {
- bitField0_ |= 0x00000001;
- kOLEFJKMFLF = value;
- return this;
- }
-
- /**
- * optional uint32 area_id = 5;
- * @return whether the areaId field is set
- */
- public boolean hasAreaId() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 area_id = 5;
- * @return this
- */
- public ChessRogueStartCsReq clearAreaId() {
- bitField0_ &= ~0x00000002;
- areaId = 0;
- return this;
- }
-
- /**
- * optional uint32 area_id = 5;
- * @return the areaId
- */
- public int getAreaId() {
- return areaId;
- }
-
- /**
- * optional uint32 area_id = 5;
- * @param value the areaId to set
- * @return this
- */
- public ChessRogueStartCsReq setAreaId(final int value) {
- bitField0_ |= 0x00000002;
- areaId = value;
- return this;
- }
-
- /**
- * optional uint32 dice_branch_id = 9;
- * @return whether the diceBranchId field is set
- */
- public boolean hasDiceBranchId() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional uint32 dice_branch_id = 9;
- * @return this
- */
- public ChessRogueStartCsReq clearDiceBranchId() {
- bitField0_ &= ~0x00000004;
- diceBranchId = 0;
- return this;
- }
-
- /**
- * optional uint32 dice_branch_id = 9;
- * @return the diceBranchId
- */
- public int getDiceBranchId() {
- return diceBranchId;
- }
-
- /**
- * optional uint32 dice_branch_id = 9;
- * @param value the diceBranchId to set
- * @return this
- */
- public ChessRogueStartCsReq setDiceBranchId(final int value) {
- bitField0_ |= 0x00000004;
- diceBranchId = value;
- return this;
- }
-
- /**
- * repeated uint32 DDDICOEFHPM = 6;
- * @return whether the dDDICOEFHPM field is set
- */
- public boolean hasDDDICOEFHPM() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * repeated uint32 DDDICOEFHPM = 6;
- * @return this
- */
- public ChessRogueStartCsReq clearDDDICOEFHPM() {
- bitField0_ &= ~0x00000008;
- dDDICOEFHPM.clear();
- return this;
- }
-
- /**
- * repeated uint32 DDDICOEFHPM = 6;
- *
- * 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.
- *
- * Use {@link #getMutableDDDICOEFHPM()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getDDDICOEFHPM() {
- return dDDICOEFHPM;
- }
-
- /**
- * repeated uint32 DDDICOEFHPM = 6;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableDDDICOEFHPM() {
- bitField0_ |= 0x00000008;
- return dDDICOEFHPM;
- }
-
- /**
- * repeated uint32 DDDICOEFHPM = 6;
- * @param value the dDDICOEFHPM to add
- * @return this
- */
- public ChessRogueStartCsReq addDDDICOEFHPM(final int value) {
- bitField0_ |= 0x00000008;
- dDDICOEFHPM.add(value);
- return this;
- }
-
- /**
- * repeated uint32 DDDICOEFHPM = 6;
- * @param values the dDDICOEFHPM to add
- * @return this
- */
- public ChessRogueStartCsReq addAllDDDICOEFHPM(final int... values) {
- bitField0_ |= 0x00000008;
- dDDICOEFHPM.addAll(values);
- return this;
- }
-
- /**
- * repeated uint32 JDCMGPJHGLG = 8;
- * @return whether the jDCMGPJHGLG field is set
- */
- public boolean hasJDCMGPJHGLG() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * repeated uint32 JDCMGPJHGLG = 8;
- * @return this
- */
- public ChessRogueStartCsReq clearJDCMGPJHGLG() {
- bitField0_ &= ~0x00000010;
- jDCMGPJHGLG.clear();
- return this;
- }
-
- /**
- * repeated uint32 JDCMGPJHGLG = 8;
- *
- * 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.
- *
- * Use {@link #getMutableJDCMGPJHGLG()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getJDCMGPJHGLG() {
- return jDCMGPJHGLG;
- }
-
- /**
- * repeated uint32 JDCMGPJHGLG = 8;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableJDCMGPJHGLG() {
- bitField0_ |= 0x00000010;
- return jDCMGPJHGLG;
- }
-
- /**
- * repeated uint32 JDCMGPJHGLG = 8;
- * @param value the jDCMGPJHGLG to add
- * @return this
- */
- public ChessRogueStartCsReq addJDCMGPJHGLG(final int value) {
- bitField0_ |= 0x00000010;
- jDCMGPJHGLG.add(value);
- return this;
- }
-
- /**
- * repeated uint32 JDCMGPJHGLG = 8;
- * @param values the jDCMGPJHGLG to add
- * @return this
- */
- public ChessRogueStartCsReq addAllJDCMGPJHGLG(final int... values) {
- bitField0_ |= 0x00000010;
- jDCMGPJHGLG.addAll(values);
- return this;
- }
-
- /**
- * repeated uint32 disable_aeon_id = 13;
- * @return whether the disableAeonId field is set
- */
- public boolean hasDisableAeonId() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * repeated uint32 disable_aeon_id = 13;
- * @return this
- */
- public ChessRogueStartCsReq clearDisableAeonId() {
- bitField0_ &= ~0x00000020;
- disableAeonId.clear();
- return this;
- }
-
- /**
- * repeated uint32 disable_aeon_id = 13;
- *
- * 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.
- *
- * Use {@link #getMutableDisableAeonId()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getDisableAeonId() {
- return disableAeonId;
- }
-
- /**
- * repeated uint32 disable_aeon_id = 13;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableDisableAeonId() {
- bitField0_ |= 0x00000020;
- return disableAeonId;
- }
-
- /**
- * repeated uint32 disable_aeon_id = 13;
- * @param value the disableAeonId to add
- * @return this
- */
- public ChessRogueStartCsReq addDisableAeonId(final int value) {
- bitField0_ |= 0x00000020;
- disableAeonId.add(value);
- return this;
- }
-
- /**
- * repeated uint32 disable_aeon_id = 13;
- * @param values the disableAeonId to add
- * @return this
- */
- public ChessRogueStartCsReq addAllDisableAeonId(final int... values) {
- bitField0_ |= 0x00000020;
- disableAeonId.addAll(values);
- return this;
- }
-
- /**
- * repeated uint32 base_avatar_id_list = 15;
- * @return whether the baseAvatarIdList field is set
- */
- public boolean hasBaseAvatarIdList() {
- return (bitField0_ & 0x00000040) != 0;
- }
-
- /**
- * repeated uint32 base_avatar_id_list = 15;
- * @return this
- */
- public ChessRogueStartCsReq clearBaseAvatarIdList() {
- bitField0_ &= ~0x00000040;
- baseAvatarIdList.clear();
- return this;
- }
-
- /**
- * repeated uint32 base_avatar_id_list = 15;
- *
- * 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.
- *
- * Use {@link #getMutableBaseAvatarIdList()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getBaseAvatarIdList() {
- return baseAvatarIdList;
- }
-
- /**
- * repeated uint32 base_avatar_id_list = 15;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableBaseAvatarIdList() {
- bitField0_ |= 0x00000040;
- return baseAvatarIdList;
- }
-
- /**
- * repeated uint32 base_avatar_id_list = 15;
- * @param value the baseAvatarIdList to add
- * @return this
- */
- public ChessRogueStartCsReq addBaseAvatarIdList(final int value) {
- bitField0_ |= 0x00000040;
- baseAvatarIdList.add(value);
- return this;
- }
-
- /**
- * repeated uint32 base_avatar_id_list = 15;
- * @param values the baseAvatarIdList to add
- * @return this
- */
- public ChessRogueStartCsReq addAllBaseAvatarIdList(final int... values) {
- bitField0_ |= 0x00000040;
- baseAvatarIdList.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueStartCsReq copyFrom(final ChessRogueStartCsReq other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- kOLEFJKMFLF = other.kOLEFJKMFLF;
- areaId = other.areaId;
- diceBranchId = other.diceBranchId;
- dDDICOEFHPM.copyFrom(other.dDDICOEFHPM);
- jDCMGPJHGLG.copyFrom(other.jDCMGPJHGLG);
- disableAeonId.copyFrom(other.disableAeonId);
- baseAvatarIdList.copyFrom(other.baseAvatarIdList);
- }
- return this;
- }
-
- @Override
- public ChessRogueStartCsReq mergeFrom(final ChessRogueStartCsReq other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasKOLEFJKMFLF()) {
- setKOLEFJKMFLF(other.kOLEFJKMFLF);
- }
- if (other.hasAreaId()) {
- setAreaId(other.areaId);
- }
- if (other.hasDiceBranchId()) {
- setDiceBranchId(other.diceBranchId);
- }
- if (other.hasDDDICOEFHPM()) {
- getMutableDDDICOEFHPM().addAll(other.dDDICOEFHPM);
- }
- if (other.hasJDCMGPJHGLG()) {
- getMutableJDCMGPJHGLG().addAll(other.jDCMGPJHGLG);
- }
- if (other.hasDisableAeonId()) {
- getMutableDisableAeonId().addAll(other.disableAeonId);
- }
- if (other.hasBaseAvatarIdList()) {
- getMutableBaseAvatarIdList().addAll(other.baseAvatarIdList);
- }
- return this;
- }
-
- @Override
- public ChessRogueStartCsReq clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- kOLEFJKMFLF = 0;
- areaId = 0;
- diceBranchId = 0;
- dDDICOEFHPM.clear();
- jDCMGPJHGLG.clear();
- disableAeonId.clear();
- baseAvatarIdList.clear();
- return this;
- }
-
- @Override
- public ChessRogueStartCsReq clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- dDDICOEFHPM.clear();
- jDCMGPJHGLG.clear();
- disableAeonId.clear();
- baseAvatarIdList.clear();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueStartCsReq)) {
- return false;
- }
- ChessRogueStartCsReq other = (ChessRogueStartCsReq) o;
- return bitField0_ == other.bitField0_
- && (!hasKOLEFJKMFLF() || kOLEFJKMFLF == other.kOLEFJKMFLF)
- && (!hasAreaId() || areaId == other.areaId)
- && (!hasDiceBranchId() || diceBranchId == other.diceBranchId)
- && (!hasDDDICOEFHPM() || dDDICOEFHPM.equals(other.dDDICOEFHPM))
- && (!hasJDCMGPJHGLG() || jDCMGPJHGLG.equals(other.jDCMGPJHGLG))
- && (!hasDisableAeonId() || disableAeonId.equals(other.disableAeonId))
- && (!hasBaseAvatarIdList() || baseAvatarIdList.equals(other.baseAvatarIdList));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(kOLEFJKMFLF);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 40);
- output.writeUInt32NoTag(areaId);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 72);
- output.writeUInt32NoTag(diceBranchId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- for (int i = 0; i < dDDICOEFHPM.length(); i++) {
- output.writeRawByte((byte) 48);
- output.writeUInt32NoTag(dDDICOEFHPM.array()[i]);
- }
- }
- if ((bitField0_ & 0x00000010) != 0) {
- for (int i = 0; i < jDCMGPJHGLG.length(); i++) {
- output.writeRawByte((byte) 64);
- output.writeUInt32NoTag(jDCMGPJHGLG.array()[i]);
- }
- }
- if ((bitField0_ & 0x00000020) != 0) {
- for (int i = 0; i < disableAeonId.length(); i++) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(disableAeonId.array()[i]);
- }
- }
- if ((bitField0_ & 0x00000040) != 0) {
- for (int i = 0; i < baseAvatarIdList.length(); i++) {
- output.writeRawByte((byte) 120);
- output.writeUInt32NoTag(baseAvatarIdList.array()[i]);
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(kOLEFJKMFLF);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(areaId);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(diceBranchId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += (1 * dDDICOEFHPM.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(dDDICOEFHPM);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- size += (1 * jDCMGPJHGLG.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(jDCMGPJHGLG);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- size += (1 * disableAeonId.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(disableAeonId);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- size += (1 * baseAvatarIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(baseAvatarIdList);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueStartCsReq mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 8: {
- // kOLEFJKMFLF
- kOLEFJKMFLF = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 40) {
- break;
- }
- }
- case 40: {
- // areaId
- areaId = input.readUInt32();
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 72) {
- break;
- }
- }
- case 72: {
- // diceBranchId
- diceBranchId = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 50) {
- break;
- }
- }
- case 50: {
- // dDDICOEFHPM [packed=true]
- input.readPackedUInt32(dDDICOEFHPM, tag);
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 66) {
- break;
- }
- }
- case 66: {
- // jDCMGPJHGLG [packed=true]
- input.readPackedUInt32(jDCMGPJHGLG, tag);
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 106) {
- break;
- }
- }
- case 106: {
- // disableAeonId [packed=true]
- input.readPackedUInt32(disableAeonId, tag);
- bitField0_ |= 0x00000020;
- tag = input.readTag();
- if (tag != 122) {
- break;
- }
- }
- case 122: {
- // baseAvatarIdList [packed=true]
- input.readPackedUInt32(baseAvatarIdList, tag);
- bitField0_ |= 0x00000040;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- case 48: {
- // dDDICOEFHPM [packed=false]
- tag = input.readRepeatedUInt32(dDDICOEFHPM, tag);
- bitField0_ |= 0x00000008;
- break;
- }
- case 64: {
- // jDCMGPJHGLG [packed=false]
- tag = input.readRepeatedUInt32(jDCMGPJHGLG, tag);
- bitField0_ |= 0x00000010;
- break;
- }
- case 104: {
- // disableAeonId [packed=false]
- tag = input.readRepeatedUInt32(disableAeonId, tag);
- bitField0_ |= 0x00000020;
- break;
- }
- case 120: {
- // baseAvatarIdList [packed=false]
- tag = input.readRepeatedUInt32(baseAvatarIdList, tag);
- bitField0_ |= 0x00000040;
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.kOLEFJKMFLF, kOLEFJKMFLF);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.areaId, areaId);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.diceBranchId, diceBranchId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRepeatedUInt32(FieldNames.dDDICOEFHPM, dDDICOEFHPM);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRepeatedUInt32(FieldNames.jDCMGPJHGLG, jDCMGPJHGLG);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeRepeatedUInt32(FieldNames.disableAeonId, disableAeonId);
- }
- if ((bitField0_ & 0x00000040) != 0) {
- output.writeRepeatedUInt32(FieldNames.baseAvatarIdList, baseAvatarIdList);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueStartCsReq mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -13887267: {
- if (input.isAtField(FieldNames.kOLEFJKMFLF)) {
- if (!input.trySkipNullValue()) {
- kOLEFJKMFLF = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1409553784:
- case -746472947: {
- if (input.isAtField(FieldNames.areaId)) {
- if (!input.trySkipNullValue()) {
- areaId = input.readUInt32();
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 216999716:
- case 1050456640: {
- if (input.isAtField(FieldNames.diceBranchId)) {
- if (!input.trySkipNullValue()) {
- diceBranchId = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -727553421: {
- if (input.isAtField(FieldNames.dDDICOEFHPM)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(dDDICOEFHPM);
- bitField0_ |= 0x00000008;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 852754199: {
- if (input.isAtField(FieldNames.jDCMGPJHGLG)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(jDCMGPJHGLG);
- bitField0_ |= 0x00000010;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1370442106:
- case -1529483392: {
- if (input.isAtField(FieldNames.disableAeonId)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(disableAeonId);
- bitField0_ |= 0x00000020;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1212654461:
- case 914628490: {
- if (input.isAtField(FieldNames.baseAvatarIdList)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(baseAvatarIdList);
- bitField0_ |= 0x00000040;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueStartCsReq clone() {
- return new ChessRogueStartCsReq().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueStartCsReq parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueStartCsReq(), data).checkInitialized();
- }
-
- public static ChessRogueStartCsReq parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueStartCsReq(), input).checkInitialized();
- }
-
- public static ChessRogueStartCsReq parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueStartCsReq(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueStartCsReq messages
- */
- public static MessageFactoryoptional uint32 retcode = 2;
- */
- private int retcode;
-
- /**
- * optional .ChessRogueCurrentInfo current_info = 1;
- */
- private final ChessRogueCurrentInfoOuterClass.ChessRogueCurrentInfo currentInfo = ChessRogueCurrentInfoOuterClass.ChessRogueCurrentInfo.newInstance();
-
- /**
- * optional .LineupInfo lineup = 8;
- */
- private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
-
- /**
- * optional .ChessRogueCellInfo cell_info = 13;
- */
- private final ChessRogueCellInfoOuterClass.ChessRogueCellInfo cellInfo = ChessRogueCellInfoOuterClass.ChessRogueCellInfo.newInstance();
-
- /**
- * - * PEEHMMLEDMP build_query = 3; - *- * - *
optional .ChessRogueInfo chess_rogue_info = 14;
- */
- private final ChessRogueInfoOuterClass.ChessRogueInfo chessRogueInfo = ChessRogueInfoOuterClass.ChessRogueInfo.newInstance();
-
- /**
- * optional .SceneInfo scene = 15;
- */
- private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
-
- private ChessRogueStartScRsp() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueStartScRsp}
- */
- public static ChessRogueStartScRsp newInstance() {
- return new ChessRogueStartScRsp();
- }
-
- /**
- * optional uint32 retcode = 2;
- * @return whether the retcode field is set
- */
- public boolean hasRetcode() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 retcode = 2;
- * @return this
- */
- public ChessRogueStartScRsp clearRetcode() {
- bitField0_ &= ~0x00000001;
- retcode = 0;
- return this;
- }
-
- /**
- * optional uint32 retcode = 2;
- * @return the retcode
- */
- public int getRetcode() {
- return retcode;
- }
-
- /**
- * optional uint32 retcode = 2;
- * @param value the retcode to set
- * @return this
- */
- public ChessRogueStartScRsp setRetcode(final int value) {
- bitField0_ |= 0x00000001;
- retcode = value;
- return this;
- }
-
- /**
- * optional .ChessRogueCurrentInfo current_info = 1;
- * @return whether the currentInfo field is set
- */
- public boolean hasCurrentInfo() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional .ChessRogueCurrentInfo current_info = 1;
- * @return this
- */
- public ChessRogueStartScRsp clearCurrentInfo() {
- bitField0_ &= ~0x00000002;
- currentInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueCurrentInfo current_info = 1;
- *
- * 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.
- *
- * Use {@link #getMutableCurrentInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueCurrentInfoOuterClass.ChessRogueCurrentInfo getCurrentInfo() {
- return currentInfo;
- }
-
- /**
- * optional .ChessRogueCurrentInfo current_info = 1;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueCurrentInfoOuterClass.ChessRogueCurrentInfo getMutableCurrentInfo() {
- bitField0_ |= 0x00000002;
- return currentInfo;
- }
-
- /**
- * optional .ChessRogueCurrentInfo current_info = 1;
- * @param value the currentInfo to set
- * @return this
- */
- public ChessRogueStartScRsp setCurrentInfo(
- final ChessRogueCurrentInfoOuterClass.ChessRogueCurrentInfo value) {
- bitField0_ |= 0x00000002;
- currentInfo.copyFrom(value);
- return this;
- }
-
- /**
- * optional .LineupInfo lineup = 8;
- * @return whether the lineup field is set
- */
- public boolean hasLineup() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * optional .LineupInfo lineup = 8;
- * @return this
- */
- public ChessRogueStartScRsp clearLineup() {
- bitField0_ &= ~0x00000004;
- lineup.clear();
- return this;
- }
-
- /**
- * optional .LineupInfo lineup = 8;
- *
- * 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.
- *
- * Use {@link #getMutableLineup()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public LineupInfoOuterClass.LineupInfo getLineup() {
- return lineup;
- }
-
- /**
- * optional .LineupInfo lineup = 8;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public LineupInfoOuterClass.LineupInfo getMutableLineup() {
- bitField0_ |= 0x00000004;
- return lineup;
- }
-
- /**
- * optional .LineupInfo lineup = 8;
- * @param value the lineup to set
- * @return this
- */
- public ChessRogueStartScRsp setLineup(final LineupInfoOuterClass.LineupInfo value) {
- bitField0_ |= 0x00000004;
- lineup.copyFrom(value);
- return this;
- }
-
- /**
- * optional .ChessRogueCellInfo cell_info = 13;
- * @return whether the cellInfo field is set
- */
- public boolean hasCellInfo() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional .ChessRogueCellInfo cell_info = 13;
- * @return this
- */
- public ChessRogueStartScRsp clearCellInfo() {
- bitField0_ &= ~0x00000008;
- cellInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueCellInfo cell_info = 13;
- *
- * 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.
- *
- * Use {@link #getMutableCellInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueCellInfoOuterClass.ChessRogueCellInfo getCellInfo() {
- return cellInfo;
- }
-
- /**
- * optional .ChessRogueCellInfo cell_info = 13;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueCellInfoOuterClass.ChessRogueCellInfo getMutableCellInfo() {
- bitField0_ |= 0x00000008;
- return cellInfo;
- }
-
- /**
- * optional .ChessRogueCellInfo cell_info = 13;
- * @param value the cellInfo to set
- * @return this
- */
- public ChessRogueStartScRsp setCellInfo(
- final ChessRogueCellInfoOuterClass.ChessRogueCellInfo value) {
- bitField0_ |= 0x00000008;
- cellInfo.copyFrom(value);
- return this;
- }
-
- /**
- * - * PEEHMMLEDMP build_query = 3; - *- * - *
optional .ChessRogueInfo chess_rogue_info = 14;
- * @return whether the chessRogueInfo field is set
- */
- public boolean hasChessRogueInfo() {
- return (bitField0_ & 0x00000010) != 0;
- }
-
- /**
- * - * PEEHMMLEDMP build_query = 3; - *- * - *
optional .ChessRogueInfo chess_rogue_info = 14;
- * @return this
- */
- public ChessRogueStartScRsp clearChessRogueInfo() {
- bitField0_ &= ~0x00000010;
- chessRogueInfo.clear();
- return this;
- }
-
- /**
- * - * PEEHMMLEDMP build_query = 3; - *- * - *
optional .ChessRogueInfo chess_rogue_info = 14;
- *
- * 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.
- *
- * Use {@link #getMutableChessRogueInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueInfoOuterClass.ChessRogueInfo getChessRogueInfo() {
- return chessRogueInfo;
- }
-
- /**
- * - * PEEHMMLEDMP build_query = 3; - *- * - *
optional .ChessRogueInfo chess_rogue_info = 14;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueInfoOuterClass.ChessRogueInfo getMutableChessRogueInfo() {
- bitField0_ |= 0x00000010;
- return chessRogueInfo;
- }
-
- /**
- * - * PEEHMMLEDMP build_query = 3; - *- * - *
optional .ChessRogueInfo chess_rogue_info = 14;
- * @param value the chessRogueInfo to set
- * @return this
- */
- public ChessRogueStartScRsp setChessRogueInfo(
- final ChessRogueInfoOuterClass.ChessRogueInfo value) {
- bitField0_ |= 0x00000010;
- chessRogueInfo.copyFrom(value);
- return this;
- }
-
- /**
- * optional .SceneInfo scene = 15;
- * @return whether the scene field is set
- */
- public boolean hasScene() {
- return (bitField0_ & 0x00000020) != 0;
- }
-
- /**
- * optional .SceneInfo scene = 15;
- * @return this
- */
- public ChessRogueStartScRsp clearScene() {
- bitField0_ &= ~0x00000020;
- scene.clear();
- return this;
- }
-
- /**
- * optional .SceneInfo scene = 15;
- *
- * 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.
- *
- * Use {@link #getMutableScene()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public SceneInfoOuterClass.SceneInfo getScene() {
- return scene;
- }
-
- /**
- * optional .SceneInfo scene = 15;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public SceneInfoOuterClass.SceneInfo getMutableScene() {
- bitField0_ |= 0x00000020;
- return scene;
- }
-
- /**
- * optional .SceneInfo scene = 15;
- * @param value the scene to set
- * @return this
- */
- public ChessRogueStartScRsp setScene(final SceneInfoOuterClass.SceneInfo value) {
- bitField0_ |= 0x00000020;
- scene.copyFrom(value);
- return this;
- }
-
- @Override
- public ChessRogueStartScRsp copyFrom(final ChessRogueStartScRsp other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- retcode = other.retcode;
- currentInfo.copyFrom(other.currentInfo);
- lineup.copyFrom(other.lineup);
- cellInfo.copyFrom(other.cellInfo);
- chessRogueInfo.copyFrom(other.chessRogueInfo);
- scene.copyFrom(other.scene);
- }
- return this;
- }
-
- @Override
- public ChessRogueStartScRsp mergeFrom(final ChessRogueStartScRsp other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasRetcode()) {
- setRetcode(other.retcode);
- }
- if (other.hasCurrentInfo()) {
- getMutableCurrentInfo().mergeFrom(other.currentInfo);
- }
- if (other.hasLineup()) {
- getMutableLineup().mergeFrom(other.lineup);
- }
- if (other.hasCellInfo()) {
- getMutableCellInfo().mergeFrom(other.cellInfo);
- }
- if (other.hasChessRogueInfo()) {
- getMutableChessRogueInfo().mergeFrom(other.chessRogueInfo);
- }
- if (other.hasScene()) {
- getMutableScene().mergeFrom(other.scene);
- }
- return this;
- }
-
- @Override
- public ChessRogueStartScRsp clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- retcode = 0;
- currentInfo.clear();
- lineup.clear();
- cellInfo.clear();
- chessRogueInfo.clear();
- scene.clear();
- return this;
- }
-
- @Override
- public ChessRogueStartScRsp clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- currentInfo.clearQuick();
- lineup.clearQuick();
- cellInfo.clearQuick();
- chessRogueInfo.clearQuick();
- scene.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueStartScRsp)) {
- return false;
- }
- ChessRogueStartScRsp other = (ChessRogueStartScRsp) o;
- return bitField0_ == other.bitField0_
- && (!hasRetcode() || retcode == other.retcode)
- && (!hasCurrentInfo() || currentInfo.equals(other.currentInfo))
- && (!hasLineup() || lineup.equals(other.lineup))
- && (!hasCellInfo() || cellInfo.equals(other.cellInfo))
- && (!hasChessRogueInfo() || chessRogueInfo.equals(other.chessRogueInfo))
- && (!hasScene() || scene.equals(other.scene));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 16);
- output.writeUInt32NoTag(retcode);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 10);
- output.writeMessageNoTag(currentInfo);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 66);
- output.writeMessageNoTag(lineup);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 106);
- output.writeMessageNoTag(cellInfo);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 114);
- output.writeMessageNoTag(chessRogueInfo);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 122);
- output.writeMessageNoTag(scene);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(currentInfo);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(cellInfo);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(chessRogueInfo);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueStartScRsp mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 16: {
- // retcode
- retcode = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 10) {
- break;
- }
- }
- case 10: {
- // currentInfo
- input.readMessage(currentInfo);
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 66) {
- break;
- }
- }
- case 66: {
- // lineup
- input.readMessage(lineup);
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 106) {
- break;
- }
- }
- case 106: {
- // cellInfo
- input.readMessage(cellInfo);
- bitField0_ |= 0x00000008;
- tag = input.readTag();
- if (tag != 114) {
- break;
- }
- }
- case 114: {
- // chessRogueInfo
- input.readMessage(chessRogueInfo);
- bitField0_ |= 0x00000010;
- tag = input.readTag();
- if (tag != 122) {
- break;
- }
- }
- case 122: {
- // scene
- input.readMessage(scene);
- bitField0_ |= 0x00000020;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.retcode, retcode);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeMessage(FieldNames.currentInfo, currentInfo);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeMessage(FieldNames.lineup, lineup);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeMessage(FieldNames.cellInfo, cellInfo);
- }
- if ((bitField0_ & 0x00000010) != 0) {
- output.writeMessage(FieldNames.chessRogueInfo, chessRogueInfo);
- }
- if ((bitField0_ & 0x00000020) != 0) {
- output.writeMessage(FieldNames.scene, scene);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueStartScRsp mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 1097936398: {
- if (input.isAtField(FieldNames.retcode)) {
- if (!input.trySkipNullValue()) {
- retcode = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 600912327:
- case 1468588980: {
- if (input.isAtField(FieldNames.currentInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(currentInfo);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1102671473: {
- if (input.isAtField(FieldNames.lineup)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(lineup);
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -917905104:
- case 1629888875: {
- if (input.isAtField(FieldNames.cellInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(cellInfo);
- bitField0_ |= 0x00000008;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -2057768312:
- case 1888241298: {
- if (input.isAtField(FieldNames.chessRogueInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(chessRogueInfo);
- bitField0_ |= 0x00000010;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 109254796: {
- if (input.isAtField(FieldNames.scene)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(scene);
- bitField0_ |= 0x00000020;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueStartScRsp clone() {
- return new ChessRogueStartScRsp().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueStartScRsp parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueStartScRsp(), data).checkInitialized();
- }
-
- public static ChessRogueStartScRsp parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueStartScRsp(), input).checkInitialized();
- }
-
- public static ChessRogueStartScRsp parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueStartScRsp(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueStartScRsp messages
- */
- public static MessageFactoryoptional uint32 action_point = 9;
- */
- private int actionPoint;
-
- private ChessRogueUpdateActionPointScNotify() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueUpdateActionPointScNotify}
- */
- public static ChessRogueUpdateActionPointScNotify newInstance() {
- return new ChessRogueUpdateActionPointScNotify();
- }
-
- /**
- * optional uint32 action_point = 9;
- * @return whether the actionPoint field is set
- */
- public boolean hasActionPoint() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 action_point = 9;
- * @return this
- */
- public ChessRogueUpdateActionPointScNotify clearActionPoint() {
- bitField0_ &= ~0x00000001;
- actionPoint = 0;
- return this;
- }
-
- /**
- * optional uint32 action_point = 9;
- * @return the actionPoint
- */
- public int getActionPoint() {
- return actionPoint;
- }
-
- /**
- * optional uint32 action_point = 9;
- * @param value the actionPoint to set
- * @return this
- */
- public ChessRogueUpdateActionPointScNotify setActionPoint(final int value) {
- bitField0_ |= 0x00000001;
- actionPoint = value;
- return this;
- }
-
- @Override
- public ChessRogueUpdateActionPointScNotify copyFrom(
- final ChessRogueUpdateActionPointScNotify other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- actionPoint = other.actionPoint;
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateActionPointScNotify mergeFrom(
- final ChessRogueUpdateActionPointScNotify other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasActionPoint()) {
- setActionPoint(other.actionPoint);
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateActionPointScNotify clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- actionPoint = 0;
- return this;
- }
-
- @Override
- public ChessRogueUpdateActionPointScNotify clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueUpdateActionPointScNotify)) {
- return false;
- }
- ChessRogueUpdateActionPointScNotify other = (ChessRogueUpdateActionPointScNotify) o;
- return bitField0_ == other.bitField0_
- && (!hasActionPoint() || actionPoint == other.actionPoint);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 72);
- output.writeUInt32NoTag(actionPoint);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(actionPoint);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueUpdateActionPointScNotify mergeFrom(final ProtoSource input) throws
- IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 72: {
- // actionPoint
- actionPoint = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.actionPoint, actionPoint);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueUpdateActionPointScNotify mergeFrom(final JsonSource input) throws
- IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 1569741050:
- case 1847866951: {
- if (input.isAtField(FieldNames.actionPoint)) {
- if (!input.trySkipNullValue()) {
- actionPoint = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueUpdateActionPointScNotify clone() {
- return new ChessRogueUpdateActionPointScNotify().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueUpdateActionPointScNotify parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateActionPointScNotify(), data).checkInitialized();
- }
-
- public static ChessRogueUpdateActionPointScNotify parseFrom(final ProtoSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateActionPointScNotify(), input).checkInitialized();
- }
-
- public static ChessRogueUpdateActionPointScNotify parseFrom(final JsonSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateActionPointScNotify(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueUpdateActionPointScNotify messages
- */
- public static MessageFactoryoptional uint32 room_id = 12;
- */
- private int roomId;
-
- /**
- * repeated uint32 cell_id_list = 11;
- */
- private final RepeatedInt cellIdList = RepeatedInt.newEmptyInstance();
-
- private ChessRogueUpdateAllowedSelectCellScNotify() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueUpdateAllowedSelectCellScNotify}
- */
- public static ChessRogueUpdateAllowedSelectCellScNotify newInstance() {
- return new ChessRogueUpdateAllowedSelectCellScNotify();
- }
-
- /**
- * optional uint32 room_id = 12;
- * @return whether the roomId field is set
- */
- public boolean hasRoomId() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 room_id = 12;
- * @return this
- */
- public ChessRogueUpdateAllowedSelectCellScNotify clearRoomId() {
- bitField0_ &= ~0x00000001;
- roomId = 0;
- return this;
- }
-
- /**
- * optional uint32 room_id = 12;
- * @return the roomId
- */
- public int getRoomId() {
- return roomId;
- }
-
- /**
- * optional uint32 room_id = 12;
- * @param value the roomId to set
- * @return this
- */
- public ChessRogueUpdateAllowedSelectCellScNotify setRoomId(final int value) {
- bitField0_ |= 0x00000001;
- roomId = value;
- return this;
- }
-
- /**
- * repeated uint32 cell_id_list = 11;
- * @return whether the cellIdList field is set
- */
- public boolean hasCellIdList() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * repeated uint32 cell_id_list = 11;
- * @return this
- */
- public ChessRogueUpdateAllowedSelectCellScNotify clearCellIdList() {
- bitField0_ &= ~0x00000002;
- cellIdList.clear();
- return this;
- }
-
- /**
- * repeated uint32 cell_id_list = 11;
- *
- * 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.
- *
- * Use {@link #getMutableCellIdList()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public RepeatedInt getCellIdList() {
- return cellIdList;
- }
-
- /**
- * repeated uint32 cell_id_list = 11;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public RepeatedInt getMutableCellIdList() {
- bitField0_ |= 0x00000002;
- return cellIdList;
- }
-
- /**
- * repeated uint32 cell_id_list = 11;
- * @param value the cellIdList to add
- * @return this
- */
- public ChessRogueUpdateAllowedSelectCellScNotify addCellIdList(final int value) {
- bitField0_ |= 0x00000002;
- cellIdList.add(value);
- return this;
- }
-
- /**
- * repeated uint32 cell_id_list = 11;
- * @param values the cellIdList to add
- * @return this
- */
- public ChessRogueUpdateAllowedSelectCellScNotify addAllCellIdList(final int... values) {
- bitField0_ |= 0x00000002;
- cellIdList.addAll(values);
- return this;
- }
-
- @Override
- public ChessRogueUpdateAllowedSelectCellScNotify copyFrom(
- final ChessRogueUpdateAllowedSelectCellScNotify other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- roomId = other.roomId;
- cellIdList.copyFrom(other.cellIdList);
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateAllowedSelectCellScNotify mergeFrom(
- final ChessRogueUpdateAllowedSelectCellScNotify other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasRoomId()) {
- setRoomId(other.roomId);
- }
- if (other.hasCellIdList()) {
- getMutableCellIdList().addAll(other.cellIdList);
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateAllowedSelectCellScNotify clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- roomId = 0;
- cellIdList.clear();
- return this;
- }
-
- @Override
- public ChessRogueUpdateAllowedSelectCellScNotify clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- cellIdList.clear();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueUpdateAllowedSelectCellScNotify)) {
- return false;
- }
- ChessRogueUpdateAllowedSelectCellScNotify other = (ChessRogueUpdateAllowedSelectCellScNotify) o;
- return bitField0_ == other.bitField0_
- && (!hasRoomId() || roomId == other.roomId)
- && (!hasCellIdList() || cellIdList.equals(other.cellIdList));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 96);
- output.writeUInt32NoTag(roomId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- for (int i = 0; i < cellIdList.length(); i++) {
- output.writeRawByte((byte) 88);
- output.writeUInt32NoTag(cellIdList.array()[i]);
- }
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += (1 * cellIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(cellIdList);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueUpdateAllowedSelectCellScNotify mergeFrom(final ProtoSource input) throws
- IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 96: {
- // roomId
- roomId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 90) {
- break;
- }
- }
- case 90: {
- // cellIdList [packed=true]
- input.readPackedUInt32(cellIdList, tag);
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- case 88: {
- // cellIdList [packed=false]
- tag = input.readRepeatedUInt32(cellIdList, tag);
- bitField0_ |= 0x00000002;
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.roomId, roomId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRepeatedUInt32(FieldNames.cellIdList, cellIdList);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueUpdateAllowedSelectCellScNotify mergeFrom(final JsonSource input) throws
- IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -925319338:
- case 1379892991: {
- if (input.isAtField(FieldNames.roomId)) {
- if (!input.trySkipNullValue()) {
- roomId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case -1648521125:
- case 1121452901: {
- if (input.isAtField(FieldNames.cellIdList)) {
- if (!input.trySkipNullValue()) {
- input.readRepeatedUInt32(cellIdList);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueUpdateAllowedSelectCellScNotify clone() {
- return new ChessRogueUpdateAllowedSelectCellScNotify().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueUpdateAllowedSelectCellScNotify parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateAllowedSelectCellScNotify(), data).checkInitialized();
- }
-
- public static ChessRogueUpdateAllowedSelectCellScNotify parseFrom(final ProtoSource input)
- throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateAllowedSelectCellScNotify(), input).checkInitialized();
- }
-
- public static ChessRogueUpdateAllowedSelectCellScNotify parseFrom(final JsonSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateAllowedSelectCellScNotify(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueUpdateAllowedSelectCellScNotify messages
- */
- public static MessageFactoryoptional .ChessRogueNousDice nous_dice = 5;
- */
- private final ChessRogueNousDiceOuterClass.ChessRogueNousDice nousDice = ChessRogueNousDiceOuterClass.ChessRogueNousDice.newInstance();
-
- private ChessRogueUpdateDiceInfoScNotify() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueUpdateDiceInfoScNotify}
- */
- public static ChessRogueUpdateDiceInfoScNotify newInstance() {
- return new ChessRogueUpdateDiceInfoScNotify();
- }
-
- /**
- * optional .ChessRogueNousDice nous_dice = 5;
- * @return whether the nousDice field is set
- */
- public boolean hasNousDice() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional .ChessRogueNousDice nous_dice = 5;
- * @return this
- */
- public ChessRogueUpdateDiceInfoScNotify clearNousDice() {
- bitField0_ &= ~0x00000001;
- nousDice.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueNousDice nous_dice = 5;
- *
- * 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.
- *
- * Use {@link #getMutableNousDice()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueNousDiceOuterClass.ChessRogueNousDice getNousDice() {
- return nousDice;
- }
-
- /**
- * optional .ChessRogueNousDice nous_dice = 5;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueNousDiceOuterClass.ChessRogueNousDice getMutableNousDice() {
- bitField0_ |= 0x00000001;
- return nousDice;
- }
-
- /**
- * optional .ChessRogueNousDice nous_dice = 5;
- * @param value the nousDice to set
- * @return this
- */
- public ChessRogueUpdateDiceInfoScNotify setNousDice(
- final ChessRogueNousDiceOuterClass.ChessRogueNousDice value) {
- bitField0_ |= 0x00000001;
- nousDice.copyFrom(value);
- return this;
- }
-
- @Override
- public ChessRogueUpdateDiceInfoScNotify copyFrom(final ChessRogueUpdateDiceInfoScNotify other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- nousDice.copyFrom(other.nousDice);
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateDiceInfoScNotify mergeFrom(
- final ChessRogueUpdateDiceInfoScNotify other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasNousDice()) {
- getMutableNousDice().mergeFrom(other.nousDice);
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateDiceInfoScNotify clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- nousDice.clear();
- return this;
- }
-
- @Override
- public ChessRogueUpdateDiceInfoScNotify clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- nousDice.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueUpdateDiceInfoScNotify)) {
- return false;
- }
- ChessRogueUpdateDiceInfoScNotify other = (ChessRogueUpdateDiceInfoScNotify) o;
- return bitField0_ == other.bitField0_
- && (!hasNousDice() || nousDice.equals(other.nousDice));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 42);
- output.writeMessageNoTag(nousDice);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(nousDice);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueUpdateDiceInfoScNotify mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 42: {
- // nousDice
- input.readMessage(nousDice);
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeMessage(FieldNames.nousDice, nousDice);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueUpdateDiceInfoScNotify mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 1622214758:
- case -1226158137: {
- if (input.isAtField(FieldNames.nousDice)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(nousDice);
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueUpdateDiceInfoScNotify clone() {
- return new ChessRogueUpdateDiceInfoScNotify().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueUpdateDiceInfoScNotify parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateDiceInfoScNotify(), data).checkInitialized();
- }
-
- public static ChessRogueUpdateDiceInfoScNotify parseFrom(final ProtoSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateDiceInfoScNotify(), input).checkInitialized();
- }
-
- public static ChessRogueUpdateDiceInfoScNotify parseFrom(final JsonSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateDiceInfoScNotify(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueUpdateDiceInfoScNotify messages
- */
- public static MessageFactoryoptional uint32 value = 13;
- */
- private int value_;
-
- private ChessRogueUpdateDicePassiveAccumulateValueScNotify() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueUpdateDicePassiveAccumulateValueScNotify}
- */
- public static ChessRogueUpdateDicePassiveAccumulateValueScNotify newInstance() {
- return new ChessRogueUpdateDicePassiveAccumulateValueScNotify();
- }
-
- /**
- * optional uint32 value = 13;
- * @return whether the value_ field is set
- */
- public boolean hasValue() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional uint32 value = 13;
- * @return this
- */
- public ChessRogueUpdateDicePassiveAccumulateValueScNotify clearValue() {
- bitField0_ &= ~0x00000001;
- value_ = 0;
- return this;
- }
-
- /**
- * optional uint32 value = 13;
- * @return the value_
- */
- public int getValue() {
- return value_;
- }
-
- /**
- * optional uint32 value = 13;
- * @param value the value_ to set
- * @return this
- */
- public ChessRogueUpdateDicePassiveAccumulateValueScNotify setValue(final int value) {
- bitField0_ |= 0x00000001;
- value_ = value;
- return this;
- }
-
- @Override
- public ChessRogueUpdateDicePassiveAccumulateValueScNotify copyFrom(
- final ChessRogueUpdateDicePassiveAccumulateValueScNotify other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- value_ = other.value_;
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateDicePassiveAccumulateValueScNotify mergeFrom(
- final ChessRogueUpdateDicePassiveAccumulateValueScNotify other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasValue()) {
- setValue(other.value_);
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateDicePassiveAccumulateValueScNotify clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- value_ = 0;
- return this;
- }
-
- @Override
- public ChessRogueUpdateDicePassiveAccumulateValueScNotify clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueUpdateDicePassiveAccumulateValueScNotify)) {
- return false;
- }
- ChessRogueUpdateDicePassiveAccumulateValueScNotify other = (ChessRogueUpdateDicePassiveAccumulateValueScNotify) o;
- return bitField0_ == other.bitField0_
- && (!hasValue() || value_ == other.value_);
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 104);
- output.writeUInt32NoTag(value_);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(value_);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueUpdateDicePassiveAccumulateValueScNotify mergeFrom(final ProtoSource input)
- throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 104: {
- // value_
- value_ = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.value_, value_);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueUpdateDicePassiveAccumulateValueScNotify mergeFrom(final JsonSource input)
- throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case 111972721: {
- if (input.isAtField(FieldNames.value_)) {
- if (!input.trySkipNullValue()) {
- value_ = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueUpdateDicePassiveAccumulateValueScNotify clone() {
- return new ChessRogueUpdateDicePassiveAccumulateValueScNotify().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueUpdateDicePassiveAccumulateValueScNotify parseFrom(final byte[] data)
- throws InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateDicePassiveAccumulateValueScNotify(), data).checkInitialized();
- }
-
- public static ChessRogueUpdateDicePassiveAccumulateValueScNotify parseFrom(
- final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateDicePassiveAccumulateValueScNotify(), input).checkInitialized();
- }
-
- public static ChessRogueUpdateDicePassiveAccumulateValueScNotify parseFrom(
- final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateDicePassiveAccumulateValueScNotify(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueUpdateDicePassiveAccumulateValueScNotify messages
- */
- public static MessageFactoryoptional .ChessRogueMoneyInfo money_info = 12;
- */
- private final ChessRogueMoneyInfoOuterClass.ChessRogueMoneyInfo moneyInfo = ChessRogueMoneyInfoOuterClass.ChessRogueMoneyInfo.newInstance();
-
- private ChessRogueUpdateMoneyInfoScNotify() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueUpdateMoneyInfoScNotify}
- */
- public static ChessRogueUpdateMoneyInfoScNotify newInstance() {
- return new ChessRogueUpdateMoneyInfoScNotify();
- }
-
- /**
- * optional .ChessRogueMoneyInfo money_info = 12;
- * @return whether the moneyInfo field is set
- */
- public boolean hasMoneyInfo() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional .ChessRogueMoneyInfo money_info = 12;
- * @return this
- */
- public ChessRogueUpdateMoneyInfoScNotify clearMoneyInfo() {
- bitField0_ &= ~0x00000001;
- moneyInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueMoneyInfo money_info = 12;
- *
- * 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.
- *
- * Use {@link #getMutableMoneyInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueMoneyInfoOuterClass.ChessRogueMoneyInfo getMoneyInfo() {
- return moneyInfo;
- }
-
- /**
- * optional .ChessRogueMoneyInfo money_info = 12;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueMoneyInfoOuterClass.ChessRogueMoneyInfo getMutableMoneyInfo() {
- bitField0_ |= 0x00000001;
- return moneyInfo;
- }
-
- /**
- * optional .ChessRogueMoneyInfo money_info = 12;
- * @param value the moneyInfo to set
- * @return this
- */
- public ChessRogueUpdateMoneyInfoScNotify setMoneyInfo(
- final ChessRogueMoneyInfoOuterClass.ChessRogueMoneyInfo value) {
- bitField0_ |= 0x00000001;
- moneyInfo.copyFrom(value);
- return this;
- }
-
- @Override
- public ChessRogueUpdateMoneyInfoScNotify copyFrom(
- final ChessRogueUpdateMoneyInfoScNotify other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- moneyInfo.copyFrom(other.moneyInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateMoneyInfoScNotify mergeFrom(
- final ChessRogueUpdateMoneyInfoScNotify other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasMoneyInfo()) {
- getMutableMoneyInfo().mergeFrom(other.moneyInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueUpdateMoneyInfoScNotify clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- moneyInfo.clear();
- return this;
- }
-
- @Override
- public ChessRogueUpdateMoneyInfoScNotify clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- moneyInfo.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueUpdateMoneyInfoScNotify)) {
- return false;
- }
- ChessRogueUpdateMoneyInfoScNotify other = (ChessRogueUpdateMoneyInfoScNotify) o;
- return bitField0_ == other.bitField0_
- && (!hasMoneyInfo() || moneyInfo.equals(other.moneyInfo));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 98);
- output.writeMessageNoTag(moneyInfo);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(moneyInfo);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueUpdateMoneyInfoScNotify mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 98: {
- // moneyInfo
- input.readMessage(moneyInfo);
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeMessage(FieldNames.moneyInfo, moneyInfo);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueUpdateMoneyInfoScNotify mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -1713858162:
- case -1569819443: {
- if (input.isAtField(FieldNames.moneyInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(moneyInfo);
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueUpdateMoneyInfoScNotify clone() {
- return new ChessRogueUpdateMoneyInfoScNotify().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueUpdateMoneyInfoScNotify parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateMoneyInfoScNotify(), data).checkInitialized();
- }
-
- public static ChessRogueUpdateMoneyInfoScNotify parseFrom(final ProtoSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateMoneyInfoScNotify(), input).checkInitialized();
- }
-
- public static ChessRogueUpdateMoneyInfoScNotify parseFrom(final JsonSource input) throws
- IOException {
- return ProtoMessage.mergeFrom(new ChessRogueUpdateMoneyInfoScNotify(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueUpdateMoneyInfoScNotify messages
- */
- public static MessageFactoryoptional .ChessRogueBuffInfo buff_info = 6;
- */
- private final ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo buffInfo = ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo.newInstance();
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 10;
- */
- private final ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo miracleInfo = ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo.newInstance();
-
- /**
- * - * HMLCJCGOEHI rogue_aeon_info = 3; - * MBGNHFBIIHJ GEOIJKDCIOI = 12; - *- * - *
optional .ChessRogueItemInfo item_info = 11;
- */
- private final ChessRogueItemInfoOuterClass.ChessRogueItemInfo itemInfo = ChessRogueItemInfoOuterClass.ChessRogueItemInfo.newInstance();
-
- private ChessRogueVirtualItemInfo() {
- }
-
- /**
- * @return a new empty instance of {@code ChessRogueVirtualItemInfo}
- */
- public static ChessRogueVirtualItemInfo newInstance() {
- return new ChessRogueVirtualItemInfo();
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 6;
- * @return whether the buffInfo field is set
- */
- public boolean hasBuffInfo() {
- return (bitField0_ & 0x00000001) != 0;
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 6;
- * @return this
- */
- public ChessRogueVirtualItemInfo clearBuffInfo() {
- bitField0_ &= ~0x00000001;
- buffInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 6;
- *
- * 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.
- *
- * Use {@link #getMutableBuffInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo getBuffInfo() {
- return buffInfo;
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 6;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo getMutableBuffInfo() {
- bitField0_ |= 0x00000001;
- return buffInfo;
- }
-
- /**
- * optional .ChessRogueBuffInfo buff_info = 6;
- * @param value the buffInfo to set
- * @return this
- */
- public ChessRogueVirtualItemInfo setBuffInfo(
- final ChessRogueBuffInfoOuterClass.ChessRogueBuffInfo value) {
- bitField0_ |= 0x00000001;
- buffInfo.copyFrom(value);
- return this;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 10;
- * @return whether the miracleInfo field is set
- */
- public boolean hasMiracleInfo() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 10;
- * @return this
- */
- public ChessRogueVirtualItemInfo clearMiracleInfo() {
- bitField0_ &= ~0x00000002;
- miracleInfo.clear();
- return this;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 10;
- *
- * 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.
- *
- * Use {@link #getMutableMiracleInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo getMiracleInfo() {
- return miracleInfo;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 10;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo getMutableMiracleInfo() {
- bitField0_ |= 0x00000002;
- return miracleInfo;
- }
-
- /**
- * optional .ChessRogueMiracleInfo miracle_info = 10;
- * @param value the miracleInfo to set
- * @return this
- */
- public ChessRogueVirtualItemInfo setMiracleInfo(
- final ChessRogueMiracleInfoOuterClass.ChessRogueMiracleInfo value) {
- bitField0_ |= 0x00000002;
- miracleInfo.copyFrom(value);
- return this;
- }
-
- /**
- * - * HMLCJCGOEHI rogue_aeon_info = 3; - * MBGNHFBIIHJ GEOIJKDCIOI = 12; - *- * - *
optional .ChessRogueItemInfo item_info = 11;
- * @return whether the itemInfo field is set
- */
- public boolean hasItemInfo() {
- return (bitField0_ & 0x00000004) != 0;
- }
-
- /**
- * - * HMLCJCGOEHI rogue_aeon_info = 3; - * MBGNHFBIIHJ GEOIJKDCIOI = 12; - *- * - *
optional .ChessRogueItemInfo item_info = 11;
- * @return this
- */
- public ChessRogueVirtualItemInfo clearItemInfo() {
- bitField0_ &= ~0x00000004;
- itemInfo.clear();
- return this;
- }
-
- /**
- * - * HMLCJCGOEHI rogue_aeon_info = 3; - * MBGNHFBIIHJ GEOIJKDCIOI = 12; - *- * - *
optional .ChessRogueItemInfo item_info = 11;
- *
- * 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.
- *
- * Use {@link #getMutableItemInfo()} if you want to modify it.
- *
- * @return internal storage object for reading
- */
- public ChessRogueItemInfoOuterClass.ChessRogueItemInfo getItemInfo() {
- return itemInfo;
- }
-
- /**
- * - * HMLCJCGOEHI rogue_aeon_info = 3; - * MBGNHFBIIHJ GEOIJKDCIOI = 12; - *- * - *
optional .ChessRogueItemInfo item_info = 11;
- *
- * This method returns the internal storage object and sets the corresponding
- * has state. The returned object will become part of this message and its
- * contents may be modified as long as the has state is not cleared.
- *
- * @return internal storage object for modifications
- */
- public ChessRogueItemInfoOuterClass.ChessRogueItemInfo getMutableItemInfo() {
- bitField0_ |= 0x00000004;
- return itemInfo;
- }
-
- /**
- * - * HMLCJCGOEHI rogue_aeon_info = 3; - * MBGNHFBIIHJ GEOIJKDCIOI = 12; - *- * - *
optional .ChessRogueItemInfo item_info = 11;
- * @param value the itemInfo to set
- * @return this
- */
- public ChessRogueVirtualItemInfo setItemInfo(
- final ChessRogueItemInfoOuterClass.ChessRogueItemInfo value) {
- bitField0_ |= 0x00000004;
- itemInfo.copyFrom(value);
- return this;
- }
-
- @Override
- public ChessRogueVirtualItemInfo copyFrom(final ChessRogueVirtualItemInfo other) {
- cachedSize = other.cachedSize;
- if ((bitField0_ | other.bitField0_) != 0) {
- bitField0_ = other.bitField0_;
- buffInfo.copyFrom(other.buffInfo);
- miracleInfo.copyFrom(other.miracleInfo);
- itemInfo.copyFrom(other.itemInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueVirtualItemInfo mergeFrom(final ChessRogueVirtualItemInfo other) {
- if (other.isEmpty()) {
- return this;
- }
- cachedSize = -1;
- if (other.hasBuffInfo()) {
- getMutableBuffInfo().mergeFrom(other.buffInfo);
- }
- if (other.hasMiracleInfo()) {
- getMutableMiracleInfo().mergeFrom(other.miracleInfo);
- }
- if (other.hasItemInfo()) {
- getMutableItemInfo().mergeFrom(other.itemInfo);
- }
- return this;
- }
-
- @Override
- public ChessRogueVirtualItemInfo clear() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- buffInfo.clear();
- miracleInfo.clear();
- itemInfo.clear();
- return this;
- }
-
- @Override
- public ChessRogueVirtualItemInfo clearQuick() {
- if (isEmpty()) {
- return this;
- }
- cachedSize = -1;
- bitField0_ = 0;
- buffInfo.clearQuick();
- miracleInfo.clearQuick();
- itemInfo.clearQuick();
- return this;
- }
-
- @Override
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- }
- if (!(o instanceof ChessRogueVirtualItemInfo)) {
- return false;
- }
- ChessRogueVirtualItemInfo other = (ChessRogueVirtualItemInfo) o;
- return bitField0_ == other.bitField0_
- && (!hasBuffInfo() || buffInfo.equals(other.buffInfo))
- && (!hasMiracleInfo() || miracleInfo.equals(other.miracleInfo))
- && (!hasItemInfo() || itemInfo.equals(other.itemInfo));
- }
-
- @Override
- public void writeTo(final ProtoSink output) throws IOException {
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 50);
- output.writeMessageNoTag(buffInfo);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 82);
- output.writeMessageNoTag(miracleInfo);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 90);
- output.writeMessageNoTag(itemInfo);
- }
- }
-
- @Override
- protected int computeSerializedSize() {
- int size = 0;
- if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(buffInfo);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(miracleInfo);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(itemInfo);
- }
- return size;
- }
-
- @Override
- @SuppressWarnings("fallthrough")
- public ChessRogueVirtualItemInfo mergeFrom(final ProtoSource input) throws IOException {
- // Enabled Fall-Through Optimization (QuickBuffers)
- int tag = input.readTag();
- while (true) {
- switch (tag) {
- case 50: {
- // buffInfo
- input.readMessage(buffInfo);
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 82) {
- break;
- }
- }
- case 82: {
- // miracleInfo
- input.readMessage(miracleInfo);
- bitField0_ |= 0x00000002;
- tag = input.readTag();
- if (tag != 90) {
- break;
- }
- }
- case 90: {
- // itemInfo
- input.readMessage(itemInfo);
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 0) {
- break;
- }
- }
- case 0: {
- return this;
- }
- default: {
- if (!input.skipField(tag)) {
- return this;
- }
- tag = input.readTag();
- break;
- }
- }
- }
- }
-
- @Override
- public void writeTo(final JsonSink output) throws IOException {
- output.beginObject();
- if ((bitField0_ & 0x00000001) != 0) {
- output.writeMessage(FieldNames.buffInfo, buffInfo);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeMessage(FieldNames.miracleInfo, miracleInfo);
- }
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeMessage(FieldNames.itemInfo, itemInfo);
- }
- output.endObject();
- }
-
- @Override
- public ChessRogueVirtualItemInfo mergeFrom(final JsonSource input) throws IOException {
- if (!input.beginObject()) {
- return this;
- }
- while (!input.isAtEnd()) {
- switch (input.readFieldHash()) {
- case -1522874463:
- case 55707930: {
- if (input.isAtField(FieldNames.buffInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(buffInfo);
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 760306879:
- case 2114852796: {
- if (input.isAtField(FieldNames.miracleInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(miracleInfo);
- bitField0_ |= 0x00000002;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 1177195105:
- case -2141481382: {
- if (input.isAtField(FieldNames.itemInfo)) {
- if (!input.trySkipNullValue()) {
- input.readMessage(itemInfo);
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- default: {
- input.skipUnknownField();
- break;
- }
- }
- }
- input.endObject();
- return this;
- }
-
- @Override
- public ChessRogueVirtualItemInfo clone() {
- return new ChessRogueVirtualItemInfo().copyFrom(this);
- }
-
- @Override
- public boolean isEmpty() {
- return ((bitField0_) == 0);
- }
-
- public static ChessRogueVirtualItemInfo parseFrom(final byte[] data) throws
- InvalidProtocolBufferException {
- return ProtoMessage.mergeFrom(new ChessRogueVirtualItemInfo(), data).checkInitialized();
- }
-
- public static ChessRogueVirtualItemInfo parseFrom(final ProtoSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueVirtualItemInfo(), input).checkInitialized();
- }
-
- public static ChessRogueVirtualItemInfo parseFrom(final JsonSource input) throws IOException {
- return ProtoMessage.mergeFrom(new ChessRogueVirtualItemInfo(), input).checkInitialized();
- }
-
- /**
- * @return factory for creating ChessRogueVirtualItemInfo messages
- */
- public static MessageFactoryoptional uint32 mail_id = 1;
+ * optional uint32 mail_id = 6;
*/
private int mailId;
@@ -39,7 +39,7 @@ public final class ClientMailAttachmentItemOuterClass {
}
/**
- * optional uint32 mail_id = 1;
+ * optional uint32 mail_id = 6;
* @return whether the mailId field is set
*/
public boolean hasMailId() {
@@ -47,7 +47,7 @@ public final class ClientMailAttachmentItemOuterClass {
}
/**
- * optional uint32 mail_id = 1;
+ * optional uint32 mail_id = 6;
* @return this
*/
public ClientMailAttachmentItem clearMailId() {
@@ -57,7 +57,7 @@ public final class ClientMailAttachmentItemOuterClass {
}
/**
- * optional uint32 mail_id = 1;
+ * optional uint32 mail_id = 6;
* @return the mailId
*/
public int getMailId() {
@@ -65,7 +65,7 @@ public final class ClientMailAttachmentItemOuterClass {
}
/**
- * optional uint32 mail_id = 1;
+ * optional uint32 mail_id = 6;
* @param value the mailId to set
* @return this
*/
@@ -177,7 +177,7 @@ public final class ClientMailAttachmentItemOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 8);
+ output.writeRawByte((byte) 48);
output.writeUInt32NoTag(mailId);
}
if ((bitField0_ & 0x00000002) != 0) {
@@ -205,7 +205,7 @@ public final class ClientMailAttachmentItemOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 8: {
+ case 48: {
// mailId
mailId = input.readUInt32();
bitField0_ |= 0x00000001;
diff --git a/src/generated/main/emu/lunarcore/proto/ClientMailOuterClass.java b/src/generated/main/emu/lunarcore/proto/ClientMailOuterClass.java
index 795d5eb..6e47c2a 100644
--- a/src/generated/main/emu/lunarcore/proto/ClientMailOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ClientMailOuterClass.java
@@ -21,52 +21,52 @@ public final class ClientMailOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional int64 expire_time = 3;
- */
- private long expireTime;
-
- /**
- * optional int64 time = 15;
+ * optional int64 time = 1;
*/
private long time;
/**
- * optional uint32 template_id = 8;
+ * optional int64 expire_time = 7;
*/
- private int templateId;
+ private long expireTime;
/**
- * optional uint32 id = 12;
+ * optional uint32 id = 2;
*/
private int id;
/**
- * optional bool is_read = 13;
+ * optional uint32 template_id = 10;
+ */
+ private int templateId;
+
+ /**
+ * optional bool is_read = 3;
*/
private boolean isRead;
/**
- * optional .ItemList attachment = 14;
+ * optional .ItemList attachment = 15;
*/
private final ItemListOuterClass.ItemList attachment = ItemListOuterClass.ItemList.newInstance();
/**
- * optional string title = 1;
- */
- private final Utf8String title = Utf8String.newEmptyInstance();
-
- /**
- * optional string sender = 7;
- */
- private final Utf8String sender = Utf8String.newEmptyInstance();
-
- /**
- * optional string content = 11;
+ * optional string content = 4;
*/
private final Utf8String content = Utf8String.newEmptyInstance();
/**
- * repeated string para_list = 9;
+ * optional string sender = 11;
+ */
+ private final Utf8String sender = Utf8String.newEmptyInstance();
+
+ /**
+ * optional string title = 12;
+ */
+ private final Utf8String title = Utf8String.newEmptyInstance();
+
+ /**
+ * repeated string para_list = 6;
*/
private final RepeatedString paraList = RepeatedString.newEmptyInstance();
@@ -81,62 +81,25 @@ public final class ClientMailOuterClass {
}
/**
- * optional int64 expire_time = 3;
- * @return whether the expireTime field is set
+ * optional int64 time = 1;
+ * @return whether the time field is set
*/
- public boolean hasExpireTime() {
+ public boolean hasTime() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional int64 expire_time = 3;
- * @return this
- */
- public ClientMail clearExpireTime() {
- bitField0_ &= ~0x00000001;
- expireTime = 0L;
- return this;
- }
-
- /**
- * optional int64 expire_time = 3;
- * @return the expireTime
- */
- public long getExpireTime() {
- return expireTime;
- }
-
- /**
- * optional int64 expire_time = 3;
- * @param value the expireTime to set
- * @return this
- */
- public ClientMail setExpireTime(final long value) {
- bitField0_ |= 0x00000001;
- expireTime = value;
- return this;
- }
-
- /**
- * optional int64 time = 15;
- * @return whether the time field is set
- */
- public boolean hasTime() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional int64 time = 15;
+ * optional int64 time = 1;
* @return this
*/
public ClientMail clearTime() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000001;
time = 0L;
return this;
}
/**
- * optional int64 time = 15;
+ * optional int64 time = 1;
* @return the time
*/
public long getTime() {
@@ -144,73 +107,73 @@ public final class ClientMailOuterClass {
}
/**
- * optional int64 time = 15;
+ * optional int64 time = 1;
* @param value the time to set
* @return this
*/
public ClientMail setTime(final long value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
time = value;
return this;
}
/**
- * optional uint32 template_id = 8;
- * @return whether the templateId field is set
+ * optional int64 expire_time = 7;
+ * @return whether the expireTime field is set
*/
- public boolean hasTemplateId() {
+ public boolean hasExpireTime() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional int64 expire_time = 7;
+ * @return this
+ */
+ public ClientMail clearExpireTime() {
+ bitField0_ &= ~0x00000002;
+ expireTime = 0L;
+ return this;
+ }
+
+ /**
+ * optional int64 expire_time = 7;
+ * @return the expireTime
+ */
+ public long getExpireTime() {
+ return expireTime;
+ }
+
+ /**
+ * optional int64 expire_time = 7;
+ * @param value the expireTime to set
+ * @return this
+ */
+ public ClientMail setExpireTime(final long value) {
+ bitField0_ |= 0x00000002;
+ expireTime = value;
+ return this;
+ }
+
+ /**
+ * optional uint32 id = 2;
+ * @return whether the id field is set
+ */
+ public boolean hasId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
- * optional uint32 template_id = 8;
- * @return this
- */
- public ClientMail clearTemplateId() {
- bitField0_ &= ~0x00000004;
- templateId = 0;
- return this;
- }
-
- /**
- * optional uint32 template_id = 8;
- * @return the templateId
- */
- public int getTemplateId() {
- return templateId;
- }
-
- /**
- * optional uint32 template_id = 8;
- * @param value the templateId to set
- * @return this
- */
- public ClientMail setTemplateId(final int value) {
- bitField0_ |= 0x00000004;
- templateId = value;
- return this;
- }
-
- /**
- * optional uint32 id = 12;
- * @return whether the id field is set
- */
- public boolean hasId() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional uint32 id = 12;
+ * optional uint32 id = 2;
* @return this
*/
public ClientMail clearId() {
- bitField0_ &= ~0x00000008;
+ bitField0_ &= ~0x00000004;
id = 0;
return this;
}
/**
- * optional uint32 id = 12;
+ * optional uint32 id = 2;
* @return the id
*/
public int getId() {
@@ -218,18 +181,55 @@ public final class ClientMailOuterClass {
}
/**
- * optional uint32 id = 12;
+ * optional uint32 id = 2;
* @param value the id to set
* @return this
*/
public ClientMail setId(final int value) {
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000004;
id = value;
return this;
}
/**
- * optional bool is_read = 13;
+ * optional uint32 template_id = 10;
+ * @return whether the templateId field is set
+ */
+ public boolean hasTemplateId() {
+ return (bitField0_ & 0x00000008) != 0;
+ }
+
+ /**
+ * optional uint32 template_id = 10;
+ * @return this
+ */
+ public ClientMail clearTemplateId() {
+ bitField0_ &= ~0x00000008;
+ templateId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 template_id = 10;
+ * @return the templateId
+ */
+ public int getTemplateId() {
+ return templateId;
+ }
+
+ /**
+ * optional uint32 template_id = 10;
+ * @param value the templateId to set
+ * @return this
+ */
+ public ClientMail setTemplateId(final int value) {
+ bitField0_ |= 0x00000008;
+ templateId = value;
+ return this;
+ }
+
+ /**
+ * optional bool is_read = 3;
* @return whether the isRead field is set
*/
public boolean hasIsRead() {
@@ -237,7 +237,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional bool is_read = 13;
+ * optional bool is_read = 3;
* @return this
*/
public ClientMail clearIsRead() {
@@ -247,7 +247,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional bool is_read = 13;
+ * optional bool is_read = 3;
* @return the isRead
*/
public boolean getIsRead() {
@@ -255,7 +255,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional bool is_read = 13;
+ * optional bool is_read = 3;
* @param value the isRead to set
* @return this
*/
@@ -266,7 +266,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional .ItemList attachment = 14;
+ * optional .ItemList attachment = 15;
* @return whether the attachment field is set
*/
public boolean hasAttachment() {
@@ -274,7 +274,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional .ItemList attachment = 14;
+ * optional .ItemList attachment = 15;
* @return this
*/
public ClientMail clearAttachment() {
@@ -284,7 +284,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional .ItemList attachment = 14;
+ * optional .ItemList attachment = 15;
*
* 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.
@@ -298,7 +298,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional .ItemList attachment = 14;
+ * optional .ItemList attachment = 15;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -312,7 +312,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional .ItemList attachment = 14;
+ * optional .ItemList attachment = 15;
* @param value the attachment to set
* @return this
*/
@@ -323,72 +323,72 @@ public final class ClientMailOuterClass {
}
/**
- * optional string title = 1;
- * @return whether the title field is set
+ * optional string content = 4;
+ * @return whether the content field is set
*/
- public boolean hasTitle() {
+ public boolean hasContent() {
return (bitField0_ & 0x00000040) != 0;
}
/**
- * optional string title = 1;
+ * optional string content = 4;
* @return this
*/
- public ClientMail clearTitle() {
+ public ClientMail clearContent() {
bitField0_ &= ~0x00000040;
- title.clear();
+ content.clear();
return this;
}
/**
- * optional string title = 1;
- * @return the title
+ * optional string content = 4;
+ * @return the content
*/
- public String getTitle() {
- return title.getString();
+ public String getContent() {
+ return content.getString();
}
/**
- * optional string title = 1;
- * @return internal {@code Utf8String} representation of title for reading
+ * optional string content = 4;
+ * @return internal {@code Utf8String} representation of content for reading
*/
- public Utf8String getTitleBytes() {
- return this.title;
+ public Utf8String getContentBytes() {
+ return this.content;
}
/**
- * optional string title = 1;
- * @return internal {@code Utf8String} representation of title for modifications
+ * optional string content = 4;
+ * @return internal {@code Utf8String} representation of content for modifications
*/
- public Utf8String getMutableTitleBytes() {
+ public Utf8String getMutableContentBytes() {
bitField0_ |= 0x00000040;
- return this.title;
+ return this.content;
}
/**
- * optional string title = 1;
- * @param value the title to set
+ * optional string content = 4;
+ * @param value the content to set
* @return this
*/
- public ClientMail setTitle(final CharSequence value) {
+ public ClientMail setContent(final CharSequence value) {
bitField0_ |= 0x00000040;
- title.copyFrom(value);
+ content.copyFrom(value);
return this;
}
/**
- * optional string title = 1;
- * @param value the title to set
+ * optional string content = 4;
+ * @param value the content to set
* @return this
*/
- public ClientMail setTitle(final Utf8String value) {
+ public ClientMail setContent(final Utf8String value) {
bitField0_ |= 0x00000040;
- title.copyFrom(value);
+ content.copyFrom(value);
return this;
}
/**
- * optional string sender = 7;
+ * optional string sender = 11;
* @return whether the sender field is set
*/
public boolean hasSender() {
@@ -396,7 +396,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional string sender = 7;
+ * optional string sender = 11;
* @return this
*/
public ClientMail clearSender() {
@@ -406,7 +406,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional string sender = 7;
+ * optional string sender = 11;
* @return the sender
*/
public String getSender() {
@@ -414,7 +414,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional string sender = 7;
+ * optional string sender = 11;
* @return internal {@code Utf8String} representation of sender for reading
*/
public Utf8String getSenderBytes() {
@@ -422,7 +422,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional string sender = 7;
+ * optional string sender = 11;
* @return internal {@code Utf8String} representation of sender for modifications
*/
public Utf8String getMutableSenderBytes() {
@@ -431,7 +431,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional string sender = 7;
+ * optional string sender = 11;
* @param value the sender to set
* @return this
*/
@@ -442,7 +442,7 @@ public final class ClientMailOuterClass {
}
/**
- * optional string sender = 7;
+ * optional string sender = 11;
* @param value the sender to set
* @return this
*/
@@ -453,72 +453,72 @@ public final class ClientMailOuterClass {
}
/**
- * optional string content = 11;
- * @return whether the content field is set
+ * optional string title = 12;
+ * @return whether the title field is set
*/
- public boolean hasContent() {
+ public boolean hasTitle() {
return (bitField0_ & 0x00000100) != 0;
}
/**
- * optional string content = 11;
+ * optional string title = 12;
* @return this
*/
- public ClientMail clearContent() {
+ public ClientMail clearTitle() {
bitField0_ &= ~0x00000100;
- content.clear();
+ title.clear();
return this;
}
/**
- * optional string content = 11;
- * @return the content
+ * optional string title = 12;
+ * @return the title
*/
- public String getContent() {
- return content.getString();
+ public String getTitle() {
+ return title.getString();
}
/**
- * optional string content = 11;
- * @return internal {@code Utf8String} representation of content for reading
+ * optional string title = 12;
+ * @return internal {@code Utf8String} representation of title for reading
*/
- public Utf8String getContentBytes() {
- return this.content;
+ public Utf8String getTitleBytes() {
+ return this.title;
}
/**
- * optional string content = 11;
- * @return internal {@code Utf8String} representation of content for modifications
+ * optional string title = 12;
+ * @return internal {@code Utf8String} representation of title for modifications
*/
- public Utf8String getMutableContentBytes() {
+ public Utf8String getMutableTitleBytes() {
bitField0_ |= 0x00000100;
- return this.content;
+ return this.title;
}
/**
- * optional string content = 11;
- * @param value the content to set
+ * optional string title = 12;
+ * @param value the title to set
* @return this
*/
- public ClientMail setContent(final CharSequence value) {
+ public ClientMail setTitle(final CharSequence value) {
bitField0_ |= 0x00000100;
- content.copyFrom(value);
+ title.copyFrom(value);
return this;
}
/**
- * optional string content = 11;
- * @param value the content to set
+ * optional string title = 12;
+ * @param value the title to set
* @return this
*/
- public ClientMail setContent(final Utf8String value) {
+ public ClientMail setTitle(final Utf8String value) {
bitField0_ |= 0x00000100;
- content.copyFrom(value);
+ title.copyFrom(value);
return this;
}
/**
- * repeated string para_list = 9;
+ * repeated string para_list = 6;
* @return whether the paraList field is set
*/
public boolean hasParaList() {
@@ -526,7 +526,7 @@ public final class ClientMailOuterClass {
}
/**
- * repeated string para_list = 9;
+ * repeated string para_list = 6;
* @return this
*/
public ClientMail clearParaList() {
@@ -536,7 +536,7 @@ public final class ClientMailOuterClass {
}
/**
- * repeated string para_list = 9;
+ * repeated string para_list = 6;
*
* 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.
@@ -550,7 +550,7 @@ public final class ClientMailOuterClass {
}
/**
- * repeated string para_list = 9;
+ * repeated string para_list = 6;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -564,7 +564,7 @@ public final class ClientMailOuterClass {
}
/**
- * repeated string para_list = 9;
+ * repeated string para_list = 6;
* @param value the paraList to add
* @return this
*/
@@ -575,7 +575,7 @@ public final class ClientMailOuterClass {
}
/**
- * repeated string para_list = 9;
+ * repeated string para_list = 6;
* @param values the paraList to add
* @return this
*/
@@ -590,15 +590,15 @@ public final class ClientMailOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- expireTime = other.expireTime;
time = other.time;
- templateId = other.templateId;
+ expireTime = other.expireTime;
id = other.id;
+ templateId = other.templateId;
isRead = other.isRead;
attachment.copyFrom(other.attachment);
- title.copyFrom(other.title);
- sender.copyFrom(other.sender);
content.copyFrom(other.content);
+ sender.copyFrom(other.sender);
+ title.copyFrom(other.title);
paraList.copyFrom(other.paraList);
}
return this;
@@ -610,32 +610,32 @@ public final class ClientMailOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasExpireTime()) {
- setExpireTime(other.expireTime);
- }
if (other.hasTime()) {
setTime(other.time);
}
- if (other.hasTemplateId()) {
- setTemplateId(other.templateId);
+ if (other.hasExpireTime()) {
+ setExpireTime(other.expireTime);
}
if (other.hasId()) {
setId(other.id);
}
+ if (other.hasTemplateId()) {
+ setTemplateId(other.templateId);
+ }
if (other.hasIsRead()) {
setIsRead(other.isRead);
}
if (other.hasAttachment()) {
getMutableAttachment().mergeFrom(other.attachment);
}
- if (other.hasTitle()) {
- getMutableTitleBytes().copyFrom(other.title);
+ if (other.hasContent()) {
+ getMutableContentBytes().copyFrom(other.content);
}
if (other.hasSender()) {
getMutableSenderBytes().copyFrom(other.sender);
}
- if (other.hasContent()) {
- getMutableContentBytes().copyFrom(other.content);
+ if (other.hasTitle()) {
+ getMutableTitleBytes().copyFrom(other.title);
}
if (other.hasParaList()) {
getMutableParaList().addAll(other.paraList);
@@ -650,15 +650,15 @@ public final class ClientMailOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- expireTime = 0L;
time = 0L;
- templateId = 0;
+ expireTime = 0L;
id = 0;
+ templateId = 0;
isRead = false;
attachment.clear();
- title.clear();
- sender.clear();
content.clear();
+ sender.clear();
+ title.clear();
paraList.clear();
return this;
}
@@ -671,9 +671,9 @@ public final class ClientMailOuterClass {
cachedSize = -1;
bitField0_ = 0;
attachment.clearQuick();
- title.clear();
- sender.clear();
content.clear();
+ sender.clear();
+ title.clear();
paraList.clear();
return this;
}
@@ -688,59 +688,59 @@ public final class ClientMailOuterClass {
}
ClientMail other = (ClientMail) o;
return bitField0_ == other.bitField0_
- && (!hasExpireTime() || expireTime == other.expireTime)
&& (!hasTime() || time == other.time)
- && (!hasTemplateId() || templateId == other.templateId)
+ && (!hasExpireTime() || expireTime == other.expireTime)
&& (!hasId() || id == other.id)
+ && (!hasTemplateId() || templateId == other.templateId)
&& (!hasIsRead() || isRead == other.isRead)
&& (!hasAttachment() || attachment.equals(other.attachment))
- && (!hasTitle() || title.equals(other.title))
- && (!hasSender() || sender.equals(other.sender))
&& (!hasContent() || content.equals(other.content))
+ && (!hasSender() || sender.equals(other.sender))
+ && (!hasTitle() || title.equals(other.title))
&& (!hasParaList() || paraList.equals(other.paraList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 24);
- output.writeInt64NoTag(expireTime);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 120);
+ output.writeRawByte((byte) 8);
output.writeInt64NoTag(time);
}
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 64);
- output.writeUInt32NoTag(templateId);
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 56);
+ output.writeInt64NoTag(expireTime);
}
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 96);
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 16);
output.writeUInt32NoTag(id);
}
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 80);
+ output.writeUInt32NoTag(templateId);
+ }
if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 104);
+ output.writeRawByte((byte) 24);
output.writeBoolNoTag(isRead);
}
if ((bitField0_ & 0x00000020) != 0) {
- output.writeRawByte((byte) 114);
+ output.writeRawByte((byte) 122);
output.writeMessageNoTag(attachment);
}
if ((bitField0_ & 0x00000040) != 0) {
- output.writeRawByte((byte) 10);
- output.writeStringNoTag(title);
+ output.writeRawByte((byte) 34);
+ output.writeStringNoTag(content);
}
if ((bitField0_ & 0x00000080) != 0) {
- output.writeRawByte((byte) 58);
+ output.writeRawByte((byte) 90);
output.writeStringNoTag(sender);
}
if ((bitField0_ & 0x00000100) != 0) {
- output.writeRawByte((byte) 90);
- output.writeStringNoTag(content);
+ output.writeRawByte((byte) 98);
+ output.writeStringNoTag(title);
}
if ((bitField0_ & 0x00000200) != 0) {
for (int i = 0; i < paraList.length(); i++) {
- output.writeRawByte((byte) 74);
+ output.writeRawByte((byte) 50);
output.writeStringNoTag(paraList.get(i));
}
}
@@ -750,16 +750,16 @@ public final class ClientMailOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeInt64SizeNoTag(expireTime);
- }
- if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeInt64SizeNoTag(time);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ size += 1 + ProtoSink.computeInt64SizeNoTag(expireTime);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(templateId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(id);
}
if ((bitField0_ & 0x00000008) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(id);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(templateId);
}
if ((bitField0_ & 0x00000010) != 0) {
size += 2;
@@ -768,13 +768,13 @@ public final class ClientMailOuterClass {
size += 1 + ProtoSink.computeMessageSizeNoTag(attachment);
}
if ((bitField0_ & 0x00000040) != 0) {
- size += 1 + ProtoSink.computeStringSizeNoTag(title);
+ size += 1 + ProtoSink.computeStringSizeNoTag(content);
}
if ((bitField0_ & 0x00000080) != 0) {
size += 1 + ProtoSink.computeStringSizeNoTag(sender);
}
if ((bitField0_ & 0x00000100) != 0) {
- size += 1 + ProtoSink.computeStringSizeNoTag(content);
+ size += 1 + ProtoSink.computeStringSizeNoTag(title);
}
if ((bitField0_ & 0x00000200) != 0) {
size += (1 * paraList.length()) + ProtoSink.computeRepeatedStringSizeNoTag(paraList);
@@ -789,88 +789,88 @@ public final class ClientMailOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 24: {
- // expireTime
- expireTime = input.readInt64();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 120) {
- break;
- }
- }
- case 120: {
+ case 8: {
// time
time = input.readInt64();
+ bitField0_ |= 0x00000001;
+ tag = input.readTag();
+ if (tag != 56) {
+ break;
+ }
+ }
+ case 56: {
+ // expireTime
+ expireTime = input.readInt64();
bitField0_ |= 0x00000002;
tag = input.readTag();
- if (tag != 64) {
+ if (tag != 16) {
break;
}
}
- case 64: {
- // templateId
- templateId = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 96) {
- break;
- }
- }
- case 96: {
+ case 16: {
// id
id = input.readUInt32();
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000004;
tag = input.readTag();
- if (tag != 104) {
+ if (tag != 80) {
break;
}
}
- case 104: {
+ case 80: {
+ // templateId
+ templateId = input.readUInt32();
+ bitField0_ |= 0x00000008;
+ tag = input.readTag();
+ if (tag != 24) {
+ break;
+ }
+ }
+ case 24: {
// isRead
isRead = input.readBool();
bitField0_ |= 0x00000010;
tag = input.readTag();
- if (tag != 114) {
+ if (tag != 122) {
break;
}
}
- case 114: {
+ case 122: {
// attachment
input.readMessage(attachment);
bitField0_ |= 0x00000020;
tag = input.readTag();
- if (tag != 10) {
+ if (tag != 34) {
break;
}
}
- case 10: {
- // title
- input.readString(title);
+ case 34: {
+ // content
+ input.readString(content);
bitField0_ |= 0x00000040;
tag = input.readTag();
- if (tag != 58) {
- break;
- }
- }
- case 58: {
- // sender
- input.readString(sender);
- bitField0_ |= 0x00000080;
- tag = input.readTag();
if (tag != 90) {
break;
}
}
case 90: {
- // content
- input.readString(content);
- bitField0_ |= 0x00000100;
+ // sender
+ input.readString(sender);
+ bitField0_ |= 0x00000080;
tag = input.readTag();
- if (tag != 74) {
+ if (tag != 98) {
break;
}
}
- case 74: {
+ case 98: {
+ // title
+ input.readString(title);
+ bitField0_ |= 0x00000100;
+ tag = input.readTag();
+ if (tag != 50) {
+ break;
+ }
+ }
+ case 50: {
// paraList
tag = input.readRepeatedString(paraList, tag);
bitField0_ |= 0x00000200;
@@ -896,16 +896,16 @@ public final class ClientMailOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeInt64(FieldNames.expireTime, expireTime);
- }
- if ((bitField0_ & 0x00000002) != 0) {
output.writeInt64(FieldNames.time, time);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeInt64(FieldNames.expireTime, expireTime);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.templateId, templateId);
+ output.writeUInt32(FieldNames.id, id);
}
if ((bitField0_ & 0x00000008) != 0) {
- output.writeUInt32(FieldNames.id, id);
+ output.writeUInt32(FieldNames.templateId, templateId);
}
if ((bitField0_ & 0x00000010) != 0) {
output.writeBool(FieldNames.isRead, isRead);
@@ -914,13 +914,13 @@ public final class ClientMailOuterClass {
output.writeMessage(FieldNames.attachment, attachment);
}
if ((bitField0_ & 0x00000040) != 0) {
- output.writeString(FieldNames.title, title);
+ output.writeString(FieldNames.content, content);
}
if ((bitField0_ & 0x00000080) != 0) {
output.writeString(FieldNames.sender, sender);
}
if ((bitField0_ & 0x00000100) != 0) {
- output.writeString(FieldNames.content, content);
+ output.writeString(FieldNames.title, title);
}
if ((bitField0_ & 0x00000200) != 0) {
output.writeRepeatedString(FieldNames.paraList, paraList);
@@ -935,11 +935,10 @@ public final class ClientMailOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case -834724724:
- case -96179731: {
- if (input.isAtField(FieldNames.expireTime)) {
+ case 3560141: {
+ if (input.isAtField(FieldNames.time)) {
if (!input.trySkipNullValue()) {
- expireTime = input.readInt64();
+ time = input.readInt64();
bitField0_ |= 0x00000001;
}
} else {
@@ -947,10 +946,11 @@ public final class ClientMailOuterClass {
}
break;
}
- case 3560141: {
- if (input.isAtField(FieldNames.time)) {
+ case -834724724:
+ case -96179731: {
+ if (input.isAtField(FieldNames.expireTime)) {
if (!input.trySkipNullValue()) {
- time = input.readInt64();
+ expireTime = input.readInt64();
bitField0_ |= 0x00000002;
}
} else {
@@ -958,22 +958,22 @@ public final class ClientMailOuterClass {
}
break;
}
+ case 3355: {
+ if (input.isAtField(FieldNames.id)) {
+ if (!input.trySkipNullValue()) {
+ id = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
case 1304010549:
case 1769642752: {
if (input.isAtField(FieldNames.templateId)) {
if (!input.trySkipNullValue()) {
templateId = input.readUInt32();
- bitField0_ |= 0x00000004;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
- case 3355: {
- if (input.isAtField(FieldNames.id)) {
- if (!input.trySkipNullValue()) {
- id = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -1004,10 +1004,10 @@ public final class ClientMailOuterClass {
}
break;
}
- case 110371416: {
- if (input.isAtField(FieldNames.title)) {
+ case 951530617: {
+ if (input.isAtField(FieldNames.content)) {
if (!input.trySkipNullValue()) {
- input.readString(title);
+ input.readString(content);
bitField0_ |= 0x00000040;
}
} else {
@@ -1026,10 +1026,10 @@ public final class ClientMailOuterClass {
}
break;
}
- case 951530617: {
- if (input.isAtField(FieldNames.content)) {
+ case 110371416: {
+ if (input.isAtField(FieldNames.title)) {
if (!input.trySkipNullValue()) {
- input.readString(content);
+ input.readString(title);
bitField0_ |= 0x00000100;
}
} else {
@@ -1101,23 +1101,23 @@ public final class ClientMailOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName expireTime = FieldName.forField("expireTime", "expire_time");
-
static final FieldName time = FieldName.forField("time");
- static final FieldName templateId = FieldName.forField("templateId", "template_id");
+ static final FieldName expireTime = FieldName.forField("expireTime", "expire_time");
static final FieldName id = FieldName.forField("id");
+ static final FieldName templateId = FieldName.forField("templateId", "template_id");
+
static final FieldName isRead = FieldName.forField("isRead", "is_read");
static final FieldName attachment = FieldName.forField("attachment");
- static final FieldName title = FieldName.forField("title");
+ static final FieldName content = FieldName.forField("content");
static final FieldName sender = FieldName.forField("sender");
- static final FieldName content = FieldName.forField("content");
+ static final FieldName title = FieldName.forField("title");
static final FieldName paraList = FieldName.forField("paraList", "para_list");
}
diff --git a/src/generated/main/emu/lunarcore/proto/ComposeItemCsReqOuterClass.java b/src/generated/main/emu/lunarcore/proto/ComposeItemCsReqOuterClass.java
index a1a3139..d4d88cf 100644
--- a/src/generated/main/emu/lunarcore/proto/ComposeItemCsReqOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ComposeItemCsReqOuterClass.java
@@ -19,17 +19,17 @@ public final class ComposeItemCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 compose_id = 5;
+ * optional uint32 compose_id = 6;
*/
private int composeId;
/**
- * optional uint32 count = 6;
+ * optional uint32 count = 12;
*/
private int count;
/**
- * optional .ItemCostList compose_item_list = 3;
+ * optional .ItemCostList compose_item_list = 13;
*/
private final ItemCostListOuterClass.ItemCostList composeItemList = ItemCostListOuterClass.ItemCostList.newInstance();
@@ -44,7 +44,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional uint32 compose_id = 5;
+ * optional uint32 compose_id = 6;
* @return whether the composeId field is set
*/
public boolean hasComposeId() {
@@ -52,7 +52,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional uint32 compose_id = 5;
+ * optional uint32 compose_id = 6;
* @return this
*/
public ComposeItemCsReq clearComposeId() {
@@ -62,7 +62,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional uint32 compose_id = 5;
+ * optional uint32 compose_id = 6;
* @return the composeId
*/
public int getComposeId() {
@@ -70,7 +70,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional uint32 compose_id = 5;
+ * optional uint32 compose_id = 6;
* @param value the composeId to set
* @return this
*/
@@ -81,7 +81,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional uint32 count = 6;
+ * optional uint32 count = 12;
* @return whether the count field is set
*/
public boolean hasCount() {
@@ -89,7 +89,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional uint32 count = 6;
+ * optional uint32 count = 12;
* @return this
*/
public ComposeItemCsReq clearCount() {
@@ -99,7 +99,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional uint32 count = 6;
+ * optional uint32 count = 12;
* @return the count
*/
public int getCount() {
@@ -107,7 +107,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional uint32 count = 6;
+ * optional uint32 count = 12;
* @param value the count to set
* @return this
*/
@@ -118,7 +118,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional .ItemCostList compose_item_list = 3;
+ * optional .ItemCostList compose_item_list = 13;
* @return whether the composeItemList field is set
*/
public boolean hasComposeItemList() {
@@ -126,7 +126,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional .ItemCostList compose_item_list = 3;
+ * optional .ItemCostList compose_item_list = 13;
* @return this
*/
public ComposeItemCsReq clearComposeItemList() {
@@ -136,7 +136,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional .ItemCostList compose_item_list = 3;
+ * optional .ItemCostList compose_item_list = 13;
*
* 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.
@@ -150,7 +150,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional .ItemCostList compose_item_list = 3;
+ * optional .ItemCostList compose_item_list = 13;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -164,7 +164,7 @@ public final class ComposeItemCsReqOuterClass {
}
/**
- * optional .ItemCostList compose_item_list = 3;
+ * optional .ItemCostList compose_item_list = 13;
* @param value the composeItemList to set
* @return this
*/
@@ -246,15 +246,15 @@ public final class ComposeItemCsReqOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 40);
+ output.writeRawByte((byte) 48);
output.writeUInt32NoTag(composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 48);
+ output.writeRawByte((byte) 96);
output.writeUInt32NoTag(count);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 26);
+ output.writeRawByte((byte) 106);
output.writeMessageNoTag(composeItemList);
}
}
@@ -281,25 +281,25 @@ public final class ComposeItemCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 40: {
+ case 48: {
// composeId
composeId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 48) {
+ if (tag != 96) {
break;
}
}
- case 48: {
+ case 96: {
// count
count = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
- if (tag != 26) {
+ if (tag != 106) {
break;
}
}
- case 26: {
+ case 106: {
// composeItemList
input.readMessage(composeItemList);
bitField0_ |= 0x00000004;
diff --git a/src/generated/main/emu/lunarcore/proto/ComposeItemScRspOuterClass.java b/src/generated/main/emu/lunarcore/proto/ComposeItemScRspOuterClass.java
index 11e8e7e..66582bf 100644
--- a/src/generated/main/emu/lunarcore/proto/ComposeItemScRspOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ComposeItemScRspOuterClass.java
@@ -19,22 +19,22 @@ public final class ComposeItemScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 compose_id = 1;
- */
- private int composeId;
-
- /**
- * optional uint32 count = 2;
+ * optional uint32 count = 1;
*/
private int count;
/**
- * optional uint32 retcode = 14;
+ * optional uint32 retcode = 4;
*/
private int retcode;
/**
- * optional .ItemList return_item_list = 8;
+ * optional uint32 compose_id = 13;
+ */
+ private int composeId;
+
+ /**
+ * optional .ItemList return_item_list = 5;
*/
private final ItemListOuterClass.ItemList returnItemList = ItemListOuterClass.ItemList.newInstance();
@@ -49,62 +49,25 @@ public final class ComposeItemScRspOuterClass {
}
/**
- * optional uint32 compose_id = 1;
- * @return whether the composeId field is set
+ * optional uint32 count = 1;
+ * @return whether the count field is set
*/
- public boolean hasComposeId() {
+ public boolean hasCount() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 compose_id = 1;
- * @return this
- */
- public ComposeItemScRsp clearComposeId() {
- bitField0_ &= ~0x00000001;
- composeId = 0;
- return this;
- }
-
- /**
- * optional uint32 compose_id = 1;
- * @return the composeId
- */
- public int getComposeId() {
- return composeId;
- }
-
- /**
- * optional uint32 compose_id = 1;
- * @param value the composeId to set
- * @return this
- */
- public ComposeItemScRsp setComposeId(final int value) {
- bitField0_ |= 0x00000001;
- composeId = value;
- return this;
- }
-
- /**
- * optional uint32 count = 2;
- * @return whether the count field is set
- */
- public boolean hasCount() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 count = 2;
+ * optional uint32 count = 1;
* @return this
*/
public ComposeItemScRsp clearCount() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000001;
count = 0;
return this;
}
/**
- * optional uint32 count = 2;
+ * optional uint32 count = 1;
* @return the count
*/
public int getCount() {
@@ -112,36 +75,36 @@ public final class ComposeItemScRspOuterClass {
}
/**
- * optional uint32 count = 2;
+ * optional uint32 count = 1;
* @param value the count to set
* @return this
*/
public ComposeItemScRsp setCount(final int value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
count = value;
return this;
}
/**
- * optional uint32 retcode = 14;
+ * optional uint32 retcode = 4;
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
- return (bitField0_ & 0x00000004) != 0;
+ return (bitField0_ & 0x00000002) != 0;
}
/**
- * optional uint32 retcode = 14;
+ * optional uint32 retcode = 4;
* @return this
*/
public ComposeItemScRsp clearRetcode() {
- bitField0_ &= ~0x00000004;
+ bitField0_ &= ~0x00000002;
retcode = 0;
return this;
}
/**
- * optional uint32 retcode = 14;
+ * optional uint32 retcode = 4;
* @return the retcode
*/
public int getRetcode() {
@@ -149,18 +112,55 @@ public final class ComposeItemScRspOuterClass {
}
/**
- * optional uint32 retcode = 14;
+ * optional uint32 retcode = 4;
* @param value the retcode to set
* @return this
*/
public ComposeItemScRsp setRetcode(final int value) {
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
retcode = value;
return this;
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional uint32 compose_id = 13;
+ * @return whether the composeId field is set
+ */
+ public boolean hasComposeId() {
+ return (bitField0_ & 0x00000004) != 0;
+ }
+
+ /**
+ * optional uint32 compose_id = 13;
+ * @return this
+ */
+ public ComposeItemScRsp clearComposeId() {
+ bitField0_ &= ~0x00000004;
+ composeId = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 compose_id = 13;
+ * @return the composeId
+ */
+ public int getComposeId() {
+ return composeId;
+ }
+
+ /**
+ * optional uint32 compose_id = 13;
+ * @param value the composeId to set
+ * @return this
+ */
+ public ComposeItemScRsp setComposeId(final int value) {
+ bitField0_ |= 0x00000004;
+ composeId = value;
+ return this;
+ }
+
+ /**
+ * optional .ItemList return_item_list = 5;
* @return whether the returnItemList field is set
*/
public boolean hasReturnItemList() {
@@ -168,7 +168,7 @@ public final class ComposeItemScRspOuterClass {
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional .ItemList return_item_list = 5;
* @return this
*/
public ComposeItemScRsp clearReturnItemList() {
@@ -178,7 +178,7 @@ public final class ComposeItemScRspOuterClass {
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional .ItemList return_item_list = 5;
*
* 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.
@@ -192,7 +192,7 @@ public final class ComposeItemScRspOuterClass {
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional .ItemList return_item_list = 5;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -206,7 +206,7 @@ public final class ComposeItemScRspOuterClass {
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional .ItemList return_item_list = 5;
* @param value the returnItemList to set
* @return this
*/
@@ -221,9 +221,9 @@ public final class ComposeItemScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- composeId = other.composeId;
count = other.count;
retcode = other.retcode;
+ composeId = other.composeId;
returnItemList.copyFrom(other.returnItemList);
}
return this;
@@ -235,15 +235,15 @@ public final class ComposeItemScRspOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasComposeId()) {
- setComposeId(other.composeId);
- }
if (other.hasCount()) {
setCount(other.count);
}
if (other.hasRetcode()) {
setRetcode(other.retcode);
}
+ if (other.hasComposeId()) {
+ setComposeId(other.composeId);
+ }
if (other.hasReturnItemList()) {
getMutableReturnItemList().mergeFrom(other.returnItemList);
}
@@ -257,9 +257,9 @@ public final class ComposeItemScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- composeId = 0;
count = 0;
retcode = 0;
+ composeId = 0;
returnItemList.clear();
return this;
}
@@ -285,9 +285,9 @@ public final class ComposeItemScRspOuterClass {
}
ComposeItemScRsp other = (ComposeItemScRsp) o;
return bitField0_ == other.bitField0_
- && (!hasComposeId() || composeId == other.composeId)
&& (!hasCount() || count == other.count)
&& (!hasRetcode() || retcode == other.retcode)
+ && (!hasComposeId() || composeId == other.composeId)
&& (!hasReturnItemList() || returnItemList.equals(other.returnItemList));
}
@@ -295,18 +295,18 @@ public final class ComposeItemScRspOuterClass {
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 8);
- output.writeUInt32NoTag(composeId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 16);
output.writeUInt32NoTag(count);
}
- if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 112);
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 32);
output.writeUInt32NoTag(retcode);
}
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeRawByte((byte) 104);
+ output.writeUInt32NoTag(composeId);
+ }
if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 66);
+ output.writeRawByte((byte) 42);
output.writeMessageNoTag(returnItemList);
}
}
@@ -315,14 +315,14 @@ public final class ComposeItemScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
}
- if ((bitField0_ & 0x00000004) != 0) {
+ if ((bitField0_ & 0x00000002) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
+ if ((bitField0_ & 0x00000004) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
+ }
if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(returnItemList);
}
@@ -337,33 +337,33 @@ public final class ComposeItemScRspOuterClass {
while (true) {
switch (tag) {
case 8: {
- // composeId
- composeId = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 16) {
- break;
- }
- }
- case 16: {
// count
count = input.readUInt32();
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 112) {
+ if (tag != 32) {
break;
}
}
- case 112: {
+ case 32: {
// retcode
retcode = input.readUInt32();
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
tag = input.readTag();
- if (tag != 66) {
+ if (tag != 104) {
break;
}
}
- case 66: {
+ case 104: {
+ // composeId
+ composeId = input.readUInt32();
+ bitField0_ |= 0x00000004;
+ tag = input.readTag();
+ if (tag != 42) {
+ break;
+ }
+ }
+ case 42: {
// returnItemList
input.readMessage(returnItemList);
bitField0_ |= 0x00000008;
@@ -390,14 +390,14 @@ public final class ComposeItemScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.composeId, composeId);
- }
- if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.count, count);
}
- if ((bitField0_ & 0x00000004) != 0) {
+ if ((bitField0_ & 0x00000002) != 0) {
output.writeUInt32(FieldNames.retcode, retcode);
}
+ if ((bitField0_ & 0x00000004) != 0) {
+ output.writeUInt32(FieldNames.composeId, composeId);
+ }
if ((bitField0_ & 0x00000008) != 0) {
output.writeMessage(FieldNames.returnItemList, returnItemList);
}
@@ -411,23 +411,11 @@ public final class ComposeItemScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case -1399759283:
- case -442843416: {
- if (input.isAtField(FieldNames.composeId)) {
- if (!input.trySkipNullValue()) {
- composeId = input.readUInt32();
- bitField0_ |= 0x00000001;
- }
- } else {
- input.skipUnknownField();
- }
- break;
- }
case 94851343: {
if (input.isAtField(FieldNames.count)) {
if (!input.trySkipNullValue()) {
count = input.readUInt32();
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
} else {
input.skipUnknownField();
@@ -438,6 +426,18 @@ public final class ComposeItemScRspOuterClass {
if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
retcode = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ }
+ } else {
+ input.skipUnknownField();
+ }
+ break;
+ }
+ case -1399759283:
+ case -442843416: {
+ if (input.isAtField(FieldNames.composeId)) {
+ if (!input.trySkipNullValue()) {
+ composeId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -510,12 +510,12 @@ public final class ComposeItemScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName composeId = FieldName.forField("composeId", "compose_id");
-
static final FieldName count = FieldName.forField("count");
static final FieldName retcode = FieldName.forField("retcode");
+ static final FieldName composeId = FieldName.forField("composeId", "compose_id");
+
static final FieldName returnItemList = FieldName.forField("returnItemList", "return_item_list");
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ComposeSelectedRelicCsReqOuterClass.java b/src/generated/main/emu/lunarcore/proto/ComposeSelectedRelicCsReqOuterClass.java
index b6f6c15..87e5bed 100644
--- a/src/generated/main/emu/lunarcore/proto/ComposeSelectedRelicCsReqOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ComposeSelectedRelicCsReqOuterClass.java
@@ -10,6 +10,7 @@ import us.hebi.quickbuf.MessageFactory;
import us.hebi.quickbuf.ProtoMessage;
import us.hebi.quickbuf.ProtoSink;
import us.hebi.quickbuf.ProtoSource;
+import us.hebi.quickbuf.RepeatedInt;
public final class ComposeSelectedRelicCsReqOuterClass {
/**
@@ -19,29 +20,29 @@ public final class ComposeSelectedRelicCsReqOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 compose_relic_id = 7;
+ * optional uint32 compose_relic_id = 1;
*/
private int composeRelicId;
/**
- * optional uint32 count = 8;
+ * optional uint32 count = 2;
*/
private int count;
/**
- * optional uint32 main_affix_id = 12;
- */
- private int mainAffixId;
-
- /**
- * optional uint32 compose_id = 14;
+ * optional uint32 compose_id = 3;
*/
private int composeId;
/**
- * optional .ItemCostList compose_item_list = 10;
+ * optional uint32 main_affix_id = 11;
*/
- private final ItemCostListOuterClass.ItemCostList composeItemList = ItemCostListOuterClass.ItemCostList.newInstance();
+ private int mainAffixId;
+
+ /**
+ * repeated uint32 compose_sub_affix_list = 12;
+ */
+ private final RepeatedInt composeSubAffixList = RepeatedInt.newEmptyInstance();
private ComposeSelectedRelicCsReq() {
}
@@ -54,7 +55,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 compose_relic_id = 7;
+ * optional uint32 compose_relic_id = 1;
* @return whether the composeRelicId field is set
*/
public boolean hasComposeRelicId() {
@@ -62,7 +63,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 compose_relic_id = 7;
+ * optional uint32 compose_relic_id = 1;
* @return this
*/
public ComposeSelectedRelicCsReq clearComposeRelicId() {
@@ -72,7 +73,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 compose_relic_id = 7;
+ * optional uint32 compose_relic_id = 1;
* @return the composeRelicId
*/
public int getComposeRelicId() {
@@ -80,7 +81,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 compose_relic_id = 7;
+ * optional uint32 compose_relic_id = 1;
* @param value the composeRelicId to set
* @return this
*/
@@ -91,7 +92,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 count = 8;
+ * optional uint32 count = 2;
* @return whether the count field is set
*/
public boolean hasCount() {
@@ -99,7 +100,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 count = 8;
+ * optional uint32 count = 2;
* @return this
*/
public ComposeSelectedRelicCsReq clearCount() {
@@ -109,7 +110,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 count = 8;
+ * optional uint32 count = 2;
* @return the count
*/
public int getCount() {
@@ -117,7 +118,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 count = 8;
+ * optional uint32 count = 2;
* @param value the count to set
* @return this
*/
@@ -128,62 +129,25 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 main_affix_id = 12;
- * @return whether the mainAffixId field is set
+ * optional uint32 compose_id = 3;
+ * @return whether the composeId field is set
*/
- public boolean hasMainAffixId() {
+ public boolean hasComposeId() {
return (bitField0_ & 0x00000004) != 0;
}
/**
- * optional uint32 main_affix_id = 12;
- * @return this
- */
- public ComposeSelectedRelicCsReq clearMainAffixId() {
- bitField0_ &= ~0x00000004;
- mainAffixId = 0;
- return this;
- }
-
- /**
- * optional uint32 main_affix_id = 12;
- * @return the mainAffixId
- */
- public int getMainAffixId() {
- return mainAffixId;
- }
-
- /**
- * optional uint32 main_affix_id = 12;
- * @param value the mainAffixId to set
- * @return this
- */
- public ComposeSelectedRelicCsReq setMainAffixId(final int value) {
- bitField0_ |= 0x00000004;
- mainAffixId = value;
- return this;
- }
-
- /**
- * optional uint32 compose_id = 14;
- * @return whether the composeId field is set
- */
- public boolean hasComposeId() {
- return (bitField0_ & 0x00000008) != 0;
- }
-
- /**
- * optional uint32 compose_id = 14;
+ * optional uint32 compose_id = 3;
* @return this
*/
public ComposeSelectedRelicCsReq clearComposeId() {
- bitField0_ &= ~0x00000008;
+ bitField0_ &= ~0x00000004;
composeId = 0;
return this;
}
/**
- * optional uint32 compose_id = 14;
+ * optional uint32 compose_id = 3;
* @return the composeId
*/
public int getComposeId() {
@@ -191,50 +155,87 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
/**
- * optional uint32 compose_id = 14;
+ * optional uint32 compose_id = 3;
* @param value the composeId to set
* @return this
*/
public ComposeSelectedRelicCsReq setComposeId(final int value) {
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000004;
composeId = value;
return this;
}
/**
- * optional .ItemCostList compose_item_list = 10;
- * @return whether the composeItemList field is set
+ * optional uint32 main_affix_id = 11;
+ * @return whether the mainAffixId field is set
*/
- public boolean hasComposeItemList() {
- return (bitField0_ & 0x00000010) != 0;
+ public boolean hasMainAffixId() {
+ return (bitField0_ & 0x00000008) != 0;
}
/**
- * optional .ItemCostList compose_item_list = 10;
+ * optional uint32 main_affix_id = 11;
* @return this
*/
- public ComposeSelectedRelicCsReq clearComposeItemList() {
- bitField0_ &= ~0x00000010;
- composeItemList.clear();
+ public ComposeSelectedRelicCsReq clearMainAffixId() {
+ bitField0_ &= ~0x00000008;
+ mainAffixId = 0;
return this;
}
/**
- * optional .ItemCostList compose_item_list = 10;
+ * optional uint32 main_affix_id = 11;
+ * @return the mainAffixId
+ */
+ public int getMainAffixId() {
+ return mainAffixId;
+ }
+
+ /**
+ * optional uint32 main_affix_id = 11;
+ * @param value the mainAffixId to set
+ * @return this
+ */
+ public ComposeSelectedRelicCsReq setMainAffixId(final int value) {
+ bitField0_ |= 0x00000008;
+ mainAffixId = value;
+ return this;
+ }
+
+ /**
+ * repeated uint32 compose_sub_affix_list = 12;
+ * @return whether the composeSubAffixList field is set
+ */
+ public boolean hasComposeSubAffixList() {
+ return (bitField0_ & 0x00000010) != 0;
+ }
+
+ /**
+ * repeated uint32 compose_sub_affix_list = 12;
+ * @return this
+ */
+ public ComposeSelectedRelicCsReq clearComposeSubAffixList() {
+ bitField0_ &= ~0x00000010;
+ composeSubAffixList.clear();
+ return this;
+ }
+
+ /**
+ * repeated uint32 compose_sub_affix_list = 12;
*
* 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.
*
- * Use {@link #getMutableComposeItemList()} if you want to modify it.
+ * Use {@link #getMutableComposeSubAffixList()} if you want to modify it.
*
* @return internal storage object for reading
*/
- public ItemCostListOuterClass.ItemCostList getComposeItemList() {
- return composeItemList;
+ public RepeatedInt getComposeSubAffixList() {
+ return composeSubAffixList;
}
/**
- * optional .ItemCostList compose_item_list = 10;
+ * repeated uint32 compose_sub_affix_list = 12;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -242,20 +243,30 @@ public final class ComposeSelectedRelicCsReqOuterClass {
*
* @return internal storage object for modifications
*/
- public ItemCostListOuterClass.ItemCostList getMutableComposeItemList() {
+ public RepeatedInt getMutableComposeSubAffixList() {
bitField0_ |= 0x00000010;
- return composeItemList;
+ return composeSubAffixList;
}
/**
- * optional .ItemCostList compose_item_list = 10;
- * @param value the composeItemList to set
+ * repeated uint32 compose_sub_affix_list = 12;
+ * @param value the composeSubAffixList to add
* @return this
*/
- public ComposeSelectedRelicCsReq setComposeItemList(
- final ItemCostListOuterClass.ItemCostList value) {
+ public ComposeSelectedRelicCsReq addComposeSubAffixList(final int value) {
bitField0_ |= 0x00000010;
- composeItemList.copyFrom(value);
+ composeSubAffixList.add(value);
+ return this;
+ }
+
+ /**
+ * repeated uint32 compose_sub_affix_list = 12;
+ * @param values the composeSubAffixList to add
+ * @return this
+ */
+ public ComposeSelectedRelicCsReq addAllComposeSubAffixList(final int... values) {
+ bitField0_ |= 0x00000010;
+ composeSubAffixList.addAll(values);
return this;
}
@@ -266,9 +277,9 @@ public final class ComposeSelectedRelicCsReqOuterClass {
bitField0_ = other.bitField0_;
composeRelicId = other.composeRelicId;
count = other.count;
- mainAffixId = other.mainAffixId;
composeId = other.composeId;
- composeItemList.copyFrom(other.composeItemList);
+ mainAffixId = other.mainAffixId;
+ composeSubAffixList.copyFrom(other.composeSubAffixList);
}
return this;
}
@@ -285,14 +296,14 @@ public final class ComposeSelectedRelicCsReqOuterClass {
if (other.hasCount()) {
setCount(other.count);
}
- if (other.hasMainAffixId()) {
- setMainAffixId(other.mainAffixId);
- }
if (other.hasComposeId()) {
setComposeId(other.composeId);
}
- if (other.hasComposeItemList()) {
- getMutableComposeItemList().mergeFrom(other.composeItemList);
+ if (other.hasMainAffixId()) {
+ setMainAffixId(other.mainAffixId);
+ }
+ if (other.hasComposeSubAffixList()) {
+ getMutableComposeSubAffixList().addAll(other.composeSubAffixList);
}
return this;
}
@@ -306,9 +317,9 @@ public final class ComposeSelectedRelicCsReqOuterClass {
bitField0_ = 0;
composeRelicId = 0;
count = 0;
- mainAffixId = 0;
composeId = 0;
- composeItemList.clear();
+ mainAffixId = 0;
+ composeSubAffixList.clear();
return this;
}
@@ -319,7 +330,7 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- composeItemList.clearQuick();
+ composeSubAffixList.clear();
return this;
}
@@ -335,32 +346,34 @@ public final class ComposeSelectedRelicCsReqOuterClass {
return bitField0_ == other.bitField0_
&& (!hasComposeRelicId() || composeRelicId == other.composeRelicId)
&& (!hasCount() || count == other.count)
- && (!hasMainAffixId() || mainAffixId == other.mainAffixId)
&& (!hasComposeId() || composeId == other.composeId)
- && (!hasComposeItemList() || composeItemList.equals(other.composeItemList));
+ && (!hasMainAffixId() || mainAffixId == other.mainAffixId)
+ && (!hasComposeSubAffixList() || composeSubAffixList.equals(other.composeSubAffixList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 56);
+ output.writeRawByte((byte) 8);
output.writeUInt32NoTag(composeRelicId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 64);
+ output.writeRawByte((byte) 16);
output.writeUInt32NoTag(count);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 96);
- output.writeUInt32NoTag(mainAffixId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
- output.writeRawByte((byte) 112);
+ output.writeRawByte((byte) 24);
output.writeUInt32NoTag(composeId);
}
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeRawByte((byte) 88);
+ output.writeUInt32NoTag(mainAffixId);
+ }
if ((bitField0_ & 0x00000010) != 0) {
- output.writeRawByte((byte) 82);
- output.writeMessageNoTag(composeItemList);
+ for (int i = 0; i < composeSubAffixList.length(); i++) {
+ output.writeRawByte((byte) 96);
+ output.writeUInt32NoTag(composeSubAffixList.array()[i]);
+ }
}
}
@@ -374,13 +387,13 @@ public final class ComposeSelectedRelicCsReqOuterClass {
size += 1 + ProtoSink.computeUInt32SizeNoTag(count);
}
if ((bitField0_ & 0x00000004) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(mainAffixId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
}
+ if ((bitField0_ & 0x00000008) != 0) {
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(mainAffixId);
+ }
if ((bitField0_ & 0x00000010) != 0) {
- size += 1 + ProtoSink.computeMessageSizeNoTag(composeItemList);
+ size += (1 * composeSubAffixList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(composeSubAffixList);
}
return size;
}
@@ -392,45 +405,45 @@ public final class ComposeSelectedRelicCsReqOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 56: {
+ case 8: {
// composeRelicId
composeRelicId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 64) {
+ if (tag != 16) {
break;
}
}
- case 64: {
+ case 16: {
// count
count = input.readUInt32();
bitField0_ |= 0x00000002;
tag = input.readTag();
- if (tag != 96) {
+ if (tag != 24) {
break;
}
}
- case 96: {
- // mainAffixId
- mainAffixId = input.readUInt32();
- bitField0_ |= 0x00000004;
- tag = input.readTag();
- if (tag != 112) {
- break;
- }
- }
- case 112: {
+ case 24: {
// composeId
composeId = input.readUInt32();
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000004;
tag = input.readTag();
- if (tag != 82) {
+ if (tag != 88) {
break;
}
}
- case 82: {
- // composeItemList
- input.readMessage(composeItemList);
+ case 88: {
+ // mainAffixId
+ mainAffixId = input.readUInt32();
+ bitField0_ |= 0x00000008;
+ tag = input.readTag();
+ if (tag != 98) {
+ break;
+ }
+ }
+ case 98: {
+ // composeSubAffixList [packed=true]
+ input.readPackedUInt32(composeSubAffixList, tag);
bitField0_ |= 0x00000010;
tag = input.readTag();
if (tag != 0) {
@@ -447,6 +460,12 @@ public final class ComposeSelectedRelicCsReqOuterClass {
tag = input.readTag();
break;
}
+ case 96: {
+ // composeSubAffixList [packed=false]
+ tag = input.readRepeatedUInt32(composeSubAffixList, tag);
+ bitField0_ |= 0x00000010;
+ break;
+ }
}
}
}
@@ -461,13 +480,13 @@ public final class ComposeSelectedRelicCsReqOuterClass {
output.writeUInt32(FieldNames.count, count);
}
if ((bitField0_ & 0x00000004) != 0) {
- output.writeUInt32(FieldNames.mainAffixId, mainAffixId);
- }
- if ((bitField0_ & 0x00000008) != 0) {
output.writeUInt32(FieldNames.composeId, composeId);
}
+ if ((bitField0_ & 0x00000008) != 0) {
+ output.writeUInt32(FieldNames.mainAffixId, mainAffixId);
+ }
if ((bitField0_ & 0x00000010) != 0) {
- output.writeMessage(FieldNames.composeItemList, composeItemList);
+ output.writeRepeatedUInt32(FieldNames.composeSubAffixList, composeSubAffixList);
}
output.endObject();
}
@@ -502,11 +521,11 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
break;
}
- case -1973876974:
- case -1426712144: {
- if (input.isAtField(FieldNames.mainAffixId)) {
+ case -1399759283:
+ case -442843416: {
+ if (input.isAtField(FieldNames.composeId)) {
if (!input.trySkipNullValue()) {
- mainAffixId = input.readUInt32();
+ composeId = input.readUInt32();
bitField0_ |= 0x00000004;
}
} else {
@@ -514,11 +533,11 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
break;
}
- case -1399759283:
- case -442843416: {
- if (input.isAtField(FieldNames.composeId)) {
+ case -1973876974:
+ case -1426712144: {
+ if (input.isAtField(FieldNames.mainAffixId)) {
if (!input.trySkipNullValue()) {
- composeId = input.readUInt32();
+ mainAffixId = input.readUInt32();
bitField0_ |= 0x00000008;
}
} else {
@@ -526,11 +545,11 @@ public final class ComposeSelectedRelicCsReqOuterClass {
}
break;
}
- case -1347157501:
- case -656801827: {
- if (input.isAtField(FieldNames.composeItemList)) {
+ case 951775968:
+ case 467259225: {
+ if (input.isAtField(FieldNames.composeSubAffixList)) {
if (!input.trySkipNullValue()) {
- input.readMessage(composeItemList);
+ input.readRepeatedUInt32(composeSubAffixList);
bitField0_ |= 0x00000010;
}
} else {
@@ -595,11 +614,11 @@ public final class ComposeSelectedRelicCsReqOuterClass {
static final FieldName count = FieldName.forField("count");
- static final FieldName mainAffixId = FieldName.forField("mainAffixId", "main_affix_id");
-
static final FieldName composeId = FieldName.forField("composeId", "compose_id");
- static final FieldName composeItemList = FieldName.forField("composeItemList", "compose_item_list");
+ static final FieldName mainAffixId = FieldName.forField("mainAffixId", "main_affix_id");
+
+ static final FieldName composeSubAffixList = FieldName.forField("composeSubAffixList", "compose_sub_affix_list");
}
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ComposeSelectedRelicScRspOuterClass.java b/src/generated/main/emu/lunarcore/proto/ComposeSelectedRelicScRspOuterClass.java
index 4943389..f6ca9eb 100644
--- a/src/generated/main/emu/lunarcore/proto/ComposeSelectedRelicScRspOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ComposeSelectedRelicScRspOuterClass.java
@@ -19,17 +19,17 @@ public final class ComposeSelectedRelicScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 retcode = 10;
- */
- private int retcode;
-
- /**
- * optional uint32 compose_id = 15;
+ * optional uint32 compose_id = 2;
*/
private int composeId;
/**
- * optional .ItemList return_item_list = 8;
+ * optional uint32 retcode = 8;
+ */
+ private int retcode;
+
+ /**
+ * optional .ItemList return_item_list = 10;
*/
private final ItemListOuterClass.ItemList returnItemList = ItemListOuterClass.ItemList.newInstance();
@@ -44,62 +44,25 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
- * optional uint32 retcode = 10;
- * @return whether the retcode field is set
+ * optional uint32 compose_id = 2;
+ * @return whether the composeId field is set
*/
- public boolean hasRetcode() {
+ public boolean hasComposeId() {
return (bitField0_ & 0x00000001) != 0;
}
/**
- * optional uint32 retcode = 10;
- * @return this
- */
- public ComposeSelectedRelicScRsp clearRetcode() {
- bitField0_ &= ~0x00000001;
- retcode = 0;
- return this;
- }
-
- /**
- * optional uint32 retcode = 10;
- * @return the retcode
- */
- public int getRetcode() {
- return retcode;
- }
-
- /**
- * optional uint32 retcode = 10;
- * @param value the retcode to set
- * @return this
- */
- public ComposeSelectedRelicScRsp setRetcode(final int value) {
- bitField0_ |= 0x00000001;
- retcode = value;
- return this;
- }
-
- /**
- * optional uint32 compose_id = 15;
- * @return whether the composeId field is set
- */
- public boolean hasComposeId() {
- return (bitField0_ & 0x00000002) != 0;
- }
-
- /**
- * optional uint32 compose_id = 15;
+ * optional uint32 compose_id = 2;
* @return this
*/
public ComposeSelectedRelicScRsp clearComposeId() {
- bitField0_ &= ~0x00000002;
+ bitField0_ &= ~0x00000001;
composeId = 0;
return this;
}
/**
- * optional uint32 compose_id = 15;
+ * optional uint32 compose_id = 2;
* @return the composeId
*/
public int getComposeId() {
@@ -107,18 +70,55 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
- * optional uint32 compose_id = 15;
+ * optional uint32 compose_id = 2;
* @param value the composeId to set
* @return this
*/
public ComposeSelectedRelicScRsp setComposeId(final int value) {
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
composeId = value;
return this;
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional uint32 retcode = 8;
+ * @return whether the retcode field is set
+ */
+ public boolean hasRetcode() {
+ return (bitField0_ & 0x00000002) != 0;
+ }
+
+ /**
+ * optional uint32 retcode = 8;
+ * @return this
+ */
+ public ComposeSelectedRelicScRsp clearRetcode() {
+ bitField0_ &= ~0x00000002;
+ retcode = 0;
+ return this;
+ }
+
+ /**
+ * optional uint32 retcode = 8;
+ * @return the retcode
+ */
+ public int getRetcode() {
+ return retcode;
+ }
+
+ /**
+ * optional uint32 retcode = 8;
+ * @param value the retcode to set
+ * @return this
+ */
+ public ComposeSelectedRelicScRsp setRetcode(final int value) {
+ bitField0_ |= 0x00000002;
+ retcode = value;
+ return this;
+ }
+
+ /**
+ * optional .ItemList return_item_list = 10;
* @return whether the returnItemList field is set
*/
public boolean hasReturnItemList() {
@@ -126,7 +126,7 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional .ItemList return_item_list = 10;
* @return this
*/
public ComposeSelectedRelicScRsp clearReturnItemList() {
@@ -136,7 +136,7 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional .ItemList return_item_list = 10;
*
* 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.
@@ -150,7 +150,7 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional .ItemList return_item_list = 10;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -164,7 +164,7 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
/**
- * optional .ItemList return_item_list = 8;
+ * optional .ItemList return_item_list = 10;
* @param value the returnItemList to set
* @return this
*/
@@ -179,8 +179,8 @@ public final class ComposeSelectedRelicScRspOuterClass {
cachedSize = other.cachedSize;
if ((bitField0_ | other.bitField0_) != 0) {
bitField0_ = other.bitField0_;
- retcode = other.retcode;
composeId = other.composeId;
+ retcode = other.retcode;
returnItemList.copyFrom(other.returnItemList);
}
return this;
@@ -192,12 +192,12 @@ public final class ComposeSelectedRelicScRspOuterClass {
return this;
}
cachedSize = -1;
- if (other.hasRetcode()) {
- setRetcode(other.retcode);
- }
if (other.hasComposeId()) {
setComposeId(other.composeId);
}
+ if (other.hasRetcode()) {
+ setRetcode(other.retcode);
+ }
if (other.hasReturnItemList()) {
getMutableReturnItemList().mergeFrom(other.returnItemList);
}
@@ -211,8 +211,8 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
cachedSize = -1;
bitField0_ = 0;
- retcode = 0;
composeId = 0;
+ retcode = 0;
returnItemList.clear();
return this;
}
@@ -238,23 +238,23 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
ComposeSelectedRelicScRsp other = (ComposeSelectedRelicScRsp) o;
return bitField0_ == other.bitField0_
- && (!hasRetcode() || retcode == other.retcode)
&& (!hasComposeId() || composeId == other.composeId)
+ && (!hasRetcode() || retcode == other.retcode)
&& (!hasReturnItemList() || returnItemList.equals(other.returnItemList));
}
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 80);
- output.writeUInt32NoTag(retcode);
- }
- if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 120);
+ output.writeRawByte((byte) 16);
output.writeUInt32NoTag(composeId);
}
+ if ((bitField0_ & 0x00000002) != 0) {
+ output.writeRawByte((byte) 64);
+ output.writeUInt32NoTag(retcode);
+ }
if ((bitField0_ & 0x00000004) != 0) {
- output.writeRawByte((byte) 66);
+ output.writeRawByte((byte) 82);
output.writeMessageNoTag(returnItemList);
}
}
@@ -263,10 +263,10 @@ public final class ComposeSelectedRelicScRspOuterClass {
protected int computeSerializedSize() {
int size = 0;
if ((bitField0_ & 0x00000001) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
- size += 1 + ProtoSink.computeUInt32SizeNoTag(composeId);
+ size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
size += 1 + ProtoSink.computeMessageSizeNoTag(returnItemList);
@@ -281,25 +281,25 @@ public final class ComposeSelectedRelicScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 80: {
- // retcode
- retcode = input.readUInt32();
- bitField0_ |= 0x00000001;
- tag = input.readTag();
- if (tag != 120) {
- break;
- }
- }
- case 120: {
+ case 16: {
// composeId
composeId = input.readUInt32();
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 66) {
+ if (tag != 64) {
break;
}
}
- case 66: {
+ case 64: {
+ // retcode
+ retcode = input.readUInt32();
+ bitField0_ |= 0x00000002;
+ tag = input.readTag();
+ if (tag != 82) {
+ break;
+ }
+ }
+ case 82: {
// returnItemList
input.readMessage(returnItemList);
bitField0_ |= 0x00000004;
@@ -326,10 +326,10 @@ public final class ComposeSelectedRelicScRspOuterClass {
public void writeTo(final JsonSink output) throws IOException {
output.beginObject();
if ((bitField0_ & 0x00000001) != 0) {
- output.writeUInt32(FieldNames.retcode, retcode);
+ output.writeUInt32(FieldNames.composeId, composeId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeUInt32(FieldNames.composeId, composeId);
+ output.writeUInt32(FieldNames.retcode, retcode);
}
if ((bitField0_ & 0x00000004) != 0) {
output.writeMessage(FieldNames.returnItemList, returnItemList);
@@ -344,10 +344,11 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
while (!input.isAtEnd()) {
switch (input.readFieldHash()) {
- case 1097936398: {
- if (input.isAtField(FieldNames.retcode)) {
+ case -1399759283:
+ case -442843416: {
+ if (input.isAtField(FieldNames.composeId)) {
if (!input.trySkipNullValue()) {
- retcode = input.readUInt32();
+ composeId = input.readUInt32();
bitField0_ |= 0x00000001;
}
} else {
@@ -355,11 +356,10 @@ public final class ComposeSelectedRelicScRspOuterClass {
}
break;
}
- case -1399759283:
- case -442843416: {
- if (input.isAtField(FieldNames.composeId)) {
+ case 1097936398: {
+ if (input.isAtField(FieldNames.retcode)) {
if (!input.trySkipNullValue()) {
- composeId = input.readUInt32();
+ retcode = input.readUInt32();
bitField0_ |= 0x00000002;
}
} else {
@@ -432,10 +432,10 @@ public final class ComposeSelectedRelicScRspOuterClass {
* Contains name constants used for serializing JSON
*/
static class FieldNames {
- static final FieldName retcode = FieldName.forField("retcode");
-
static final FieldName composeId = FieldName.forField("composeId", "compose_id");
+ static final FieldName retcode = FieldName.forField("retcode");
+
static final FieldName returnItemList = FieldName.forField("returnItemList", "return_item_list");
}
}
diff --git a/src/generated/main/emu/lunarcore/proto/ContentPackageDataOuterClass.java b/src/generated/main/emu/lunarcore/proto/ContentPackageDataOuterClass.java
index 7a1fe8c..4961bcd 100644
--- a/src/generated/main/emu/lunarcore/proto/ContentPackageDataOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ContentPackageDataOuterClass.java
@@ -20,7 +20,7 @@ public final class ContentPackageDataOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 cur_content_id = 2;
+ * optional uint32 cur_content_id = 13;
*/
private int curContentId;
@@ -40,7 +40,7 @@ public final class ContentPackageDataOuterClass {
}
/**
- * optional uint32 cur_content_id = 2;
+ * optional uint32 cur_content_id = 13;
* @return whether the curContentId field is set
*/
public boolean hasCurContentId() {
@@ -48,7 +48,7 @@ public final class ContentPackageDataOuterClass {
}
/**
- * optional uint32 cur_content_id = 2;
+ * optional uint32 cur_content_id = 13;
* @return this
*/
public ContentPackageData clearCurContentId() {
@@ -58,7 +58,7 @@ public final class ContentPackageDataOuterClass {
}
/**
- * optional uint32 cur_content_id = 2;
+ * optional uint32 cur_content_id = 13;
* @return the curContentId
*/
public int getCurContentId() {
@@ -66,7 +66,7 @@ public final class ContentPackageDataOuterClass {
}
/**
- * optional uint32 cur_content_id = 2;
+ * optional uint32 cur_content_id = 13;
* @param value the curContentId to set
* @return this
*/
@@ -214,7 +214,7 @@ public final class ContentPackageDataOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 16);
+ output.writeRawByte((byte) 104);
output.writeUInt32NoTag(curContentId);
}
if ((bitField0_ & 0x00000002) != 0) {
@@ -244,7 +244,7 @@ public final class ContentPackageDataOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 16: {
+ case 104: {
// curContentId
curContentId = input.readUInt32();
bitField0_ |= 0x00000001;
diff --git a/src/generated/main/emu/lunarcore/proto/ContentPackageGetDataScRspOuterClass.java b/src/generated/main/emu/lunarcore/proto/ContentPackageGetDataScRspOuterClass.java
index 401267e..a45c872 100644
--- a/src/generated/main/emu/lunarcore/proto/ContentPackageGetDataScRspOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ContentPackageGetDataScRspOuterClass.java
@@ -19,12 +19,12 @@ public final class ContentPackageGetDataScRspOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 retcode = 8;
+ * optional uint32 retcode = 14;
*/
private int retcode;
/**
- * optional .ContentPackageData data = 6;
+ * optional .ContentPackageData data = 3;
*/
private final ContentPackageDataOuterClass.ContentPackageData data = ContentPackageDataOuterClass.ContentPackageData.newInstance();
@@ -39,7 +39,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
- * optional uint32 retcode = 8;
+ * optional uint32 retcode = 14;
* @return whether the retcode field is set
*/
public boolean hasRetcode() {
@@ -47,7 +47,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
- * optional uint32 retcode = 8;
+ * optional uint32 retcode = 14;
* @return this
*/
public ContentPackageGetDataScRsp clearRetcode() {
@@ -57,7 +57,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
- * optional uint32 retcode = 8;
+ * optional uint32 retcode = 14;
* @return the retcode
*/
public int getRetcode() {
@@ -65,7 +65,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
- * optional uint32 retcode = 8;
+ * optional uint32 retcode = 14;
* @param value the retcode to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
- * optional .ContentPackageData data = 6;
+ * optional .ContentPackageData data = 3;
* @return whether the data field is set
*/
public boolean hasData() {
@@ -84,7 +84,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
- * optional .ContentPackageData data = 6;
+ * optional .ContentPackageData data = 3;
* @return this
*/
public ContentPackageGetDataScRsp clearData() {
@@ -94,7 +94,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
- * optional .ContentPackageData data = 6;
+ * optional .ContentPackageData data = 3;
*
* 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.
@@ -108,7 +108,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
- * optional .ContentPackageData data = 6;
+ * optional .ContentPackageData data = 3;
*
* This method returns the internal storage object and sets the corresponding
* has state. The returned object will become part of this message and its
@@ -122,7 +122,7 @@ public final class ContentPackageGetDataScRspOuterClass {
}
/**
- * optional .ContentPackageData data = 6;
+ * optional .ContentPackageData data = 3;
* @param value the data to set
* @return this
*/
@@ -199,11 +199,11 @@ public final class ContentPackageGetDataScRspOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 64);
+ output.writeRawByte((byte) 112);
output.writeUInt32NoTag(retcode);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 50);
+ output.writeRawByte((byte) 26);
output.writeMessageNoTag(data);
}
}
@@ -227,16 +227,16 @@ public final class ContentPackageGetDataScRspOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 64: {
+ case 112: {
// retcode
retcode = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 50) {
+ if (tag != 26) {
break;
}
}
- case 50: {
+ case 26: {
// data
input.readMessage(data);
bitField0_ |= 0x00000002;
diff --git a/src/generated/main/emu/lunarcore/proto/ContentPackageInfoOuterClass.java b/src/generated/main/emu/lunarcore/proto/ContentPackageInfoOuterClass.java
index e6843d0..6ca6490 100644
--- a/src/generated/main/emu/lunarcore/proto/ContentPackageInfoOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ContentPackageInfoOuterClass.java
@@ -19,12 +19,12 @@ public final class ContentPackageInfoOuterClass {
private static final long serialVersionUID = 0L;
/**
- * optional uint32 content_id = 8;
+ * optional uint32 content_id = 1;
*/
private int contentId;
/**
- * optional .ContentPackageStatus status = 12;
+ * optional .ContentPackageStatus status = 15;
*/
private int status;
@@ -39,7 +39,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
- * optional uint32 content_id = 8;
+ * optional uint32 content_id = 1;
* @return whether the contentId field is set
*/
public boolean hasContentId() {
@@ -47,7 +47,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
- * optional uint32 content_id = 8;
+ * optional uint32 content_id = 1;
* @return this
*/
public ContentPackageInfo clearContentId() {
@@ -57,7 +57,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
- * optional uint32 content_id = 8;
+ * optional uint32 content_id = 1;
* @return the contentId
*/
public int getContentId() {
@@ -65,7 +65,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
- * optional uint32 content_id = 8;
+ * optional uint32 content_id = 1;
* @param value the contentId to set
* @return this
*/
@@ -76,7 +76,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
- * optional .ContentPackageStatus status = 12;
+ * optional .ContentPackageStatus status = 15;
* @return whether the status field is set
*/
public boolean hasStatus() {
@@ -84,7 +84,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
- * optional .ContentPackageStatus status = 12;
+ * optional .ContentPackageStatus status = 15;
* @return this
*/
public ContentPackageInfo clearStatus() {
@@ -94,7 +94,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
- * optional .ContentPackageStatus status = 12;
+ * optional .ContentPackageStatus status = 15;
* @return the status
*/
public ContentPackageStatusOuterClass.ContentPackageStatus getStatus() {
@@ -127,7 +127,7 @@ public final class ContentPackageInfoOuterClass {
}
/**
- * optional .ContentPackageStatus status = 12;
+ * optional .ContentPackageStatus status = 15;
* @param value the status to set
* @return this
*/
@@ -203,11 +203,11 @@ public final class ContentPackageInfoOuterClass {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
- output.writeRawByte((byte) 64);
+ output.writeRawByte((byte) 8);
output.writeUInt32NoTag(contentId);
}
if ((bitField0_ & 0x00000002) != 0) {
- output.writeRawByte((byte) 96);
+ output.writeRawByte((byte) 120);
output.writeEnumNoTag(status);
}
}
@@ -231,16 +231,16 @@ public final class ContentPackageInfoOuterClass {
int tag = input.readTag();
while (true) {
switch (tag) {
- case 64: {
+ case 8: {
// contentId
contentId = input.readUInt32();
bitField0_ |= 0x00000001;
tag = input.readTag();
- if (tag != 96) {
+ if (tag != 120) {
break;
}
}
- case 96: {
+ case 120: {
// status
final int value = input.readInt32();
if (ContentPackageStatusOuterClass.ContentPackageStatus.forNumber(value) != null) {
diff --git a/src/generated/main/emu/lunarcore/proto/ContentPackageStatusOuterClass.java b/src/generated/main/emu/lunarcore/proto/ContentPackageStatusOuterClass.java
index ab84abc..2f98556 100644
--- a/src/generated/main/emu/lunarcore/proto/ContentPackageStatusOuterClass.java
+++ b/src/generated/main/emu/lunarcore/proto/ContentPackageStatusOuterClass.java
@@ -27,7 +27,12 @@ public final class ContentPackageStatusOuterClass {
/**
* ContentPackageStatus_Finished = 3;
*/
- ContentPackageStatus_Finished("ContentPackageStatus_Finished", 3);
+ ContentPackageStatus_Finished("ContentPackageStatus_Finished", 3),
+
+ /**
+ * ContentPackageStatus_Release = 4;
+ */
+ ContentPackageStatus_Release("ContentPackageStatus_Release", 4);
/**
* ContentPackageStatus_None = 0;
@@ -49,6 +54,11 @@ public final class ContentPackageStatusOuterClass {
*/
public static final int ContentPackageStatus_Finished_VALUE = 3;
+ /**
+ * ContentPackageStatus_Release = 4;
+ */
+ public static final int ContentPackageStatus_Release_VALUE = 4;
+
private final String name;
private final int number;
@@ -102,13 +112,14 @@ public final class ContentPackageStatusOuterClass {
enum ContentPackageStatusConverter implements ProtoEnum.EnumConverter+ * KIHOKPMBJHH + *+ * * Protobuf type {@code CurPetChangedScNotify} */ public static final class CurPetChangedScNotify extends ProtoMessage