mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-24 11:14:35 +01:00
Fix rogue protos and implement rogue finish screen
This commit is contained in:
@@ -11,40 +11,45 @@ import us.hebi.quickbuf.ProtoMessage;
|
||||
import us.hebi.quickbuf.ProtoSink;
|
||||
import us.hebi.quickbuf.ProtoSource;
|
||||
|
||||
public final class QuitRogueScRspOuterClass {
|
||||
public final class LeaveRogueScRspOuterClass {
|
||||
/**
|
||||
* Protobuf type {@code QuitRogueScRsp}
|
||||
* Protobuf type {@code LeaveRogueScRsp}
|
||||
*/
|
||||
public static final class QuitRogueScRsp extends ProtoMessage<QuitRogueScRsp> implements Cloneable {
|
||||
public static final class LeaveRogueScRsp extends ProtoMessage<LeaveRogueScRsp> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 2;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
*/
|
||||
private int retcode;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||
* <code>optional .SceneInfo scene = 3;</code>
|
||||
*/
|
||||
private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
|
||||
|
||||
/**
|
||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
||||
*/
|
||||
private final RogueInfoOuterClass.RogueInfo rogueInfo = RogueInfoOuterClass.RogueInfo.newInstance();
|
||||
|
||||
/**
|
||||
* <code>optional .RogueFinishInfo finish_info = 7;</code>
|
||||
* <code>optional .LineupInfo lineup = 13;</code>
|
||||
*/
|
||||
private final RogueFinishInfoOuterClass.RogueFinishInfo finishInfo = RogueFinishInfoOuterClass.RogueFinishInfo.newInstance();
|
||||
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
|
||||
|
||||
private QuitRogueScRsp() {
|
||||
private LeaveRogueScRsp() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return a new empty instance of {@code QuitRogueScRsp}
|
||||
* @return a new empty instance of {@code LeaveRogueScRsp}
|
||||
*/
|
||||
public static QuitRogueScRsp newInstance() {
|
||||
return new QuitRogueScRsp();
|
||||
public static LeaveRogueScRsp newInstance() {
|
||||
return new LeaveRogueScRsp();
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 2;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* @return whether the retcode field is set
|
||||
*/
|
||||
public boolean hasRetcode() {
|
||||
@@ -52,17 +57,17 @@ public final class QuitRogueScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 2;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* @return this
|
||||
*/
|
||||
public QuitRogueScRsp clearRetcode() {
|
||||
public LeaveRogueScRsp clearRetcode() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
retcode = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 2;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* @return the retcode
|
||||
*/
|
||||
public int getRetcode() {
|
||||
@@ -70,36 +75,93 @@ public final class QuitRogueScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 2;</code>
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* @param value the retcode to set
|
||||
* @return this
|
||||
*/
|
||||
public QuitRogueScRsp setRetcode(final int value) {
|
||||
public LeaveRogueScRsp setRetcode(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
retcode = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||
* @return whether the rogueInfo field is set
|
||||
* <code>optional .SceneInfo scene = 3;</code>
|
||||
* @return whether the scene field is set
|
||||
*/
|
||||
public boolean hasRogueInfo() {
|
||||
public boolean hasScene() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||
* <code>optional .SceneInfo scene = 3;</code>
|
||||
* @return this
|
||||
*/
|
||||
public QuitRogueScRsp clearRogueInfo() {
|
||||
public LeaveRogueScRsp clearScene() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
scene.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .SceneInfo scene = 3;</code>
|
||||
*
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .SceneInfo scene = 3;</code>
|
||||
*
|
||||
* 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_ |= 0x00000002;
|
||||
return scene;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .SceneInfo scene = 3;</code>
|
||||
* @param value the scene to set
|
||||
* @return this
|
||||
*/
|
||||
public LeaveRogueScRsp setScene(final SceneInfoOuterClass.SceneInfo value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
scene.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
||||
* @return whether the rogueInfo field is set
|
||||
*/
|
||||
public boolean hasRogueInfo() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
||||
* @return this
|
||||
*/
|
||||
public LeaveRogueScRsp clearRogueInfo() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
rogueInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
||||
*
|
||||
* 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.
|
||||
@@ -113,7 +175,7 @@ public final class QuitRogueScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
||||
*
|
||||
* 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,55 +184,55 @@ public final class QuitRogueScRspOuterClass {
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RogueInfoOuterClass.RogueInfo getMutableRogueInfo() {
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000004;
|
||||
return rogueInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
||||
* @param value the rogueInfo to set
|
||||
* @return this
|
||||
*/
|
||||
public QuitRogueScRsp setRogueInfo(final RogueInfoOuterClass.RogueInfo value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
public LeaveRogueScRsp setRogueInfo(final RogueInfoOuterClass.RogueInfo value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
rogueInfo.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueFinishInfo finish_info = 7;</code>
|
||||
* @return whether the finishInfo field is set
|
||||
* <code>optional .LineupInfo lineup = 13;</code>
|
||||
* @return whether the lineup field is set
|
||||
*/
|
||||
public boolean hasFinishInfo() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
public boolean hasLineup() {
|
||||
return (bitField0_ & 0x00000008) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueFinishInfo finish_info = 7;</code>
|
||||
* <code>optional .LineupInfo lineup = 13;</code>
|
||||
* @return this
|
||||
*/
|
||||
public QuitRogueScRsp clearFinishInfo() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
finishInfo.clear();
|
||||
public LeaveRogueScRsp clearLineup() {
|
||||
bitField0_ &= ~0x00000008;
|
||||
lineup.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueFinishInfo finish_info = 7;</code>
|
||||
* <code>optional .LineupInfo lineup = 13;</code>
|
||||
*
|
||||
* 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 #getMutableFinishInfo()} if you want to modify it.
|
||||
* Use {@link #getMutableLineup()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RogueFinishInfoOuterClass.RogueFinishInfo getFinishInfo() {
|
||||
return finishInfo;
|
||||
public LineupInfoOuterClass.LineupInfo getLineup() {
|
||||
return lineup;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueFinishInfo finish_info = 7;</code>
|
||||
* <code>optional .LineupInfo lineup = 13;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -178,36 +240,37 @@ public final class QuitRogueScRspOuterClass {
|
||||
*
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RogueFinishInfoOuterClass.RogueFinishInfo getMutableFinishInfo() {
|
||||
bitField0_ |= 0x00000004;
|
||||
return finishInfo;
|
||||
public LineupInfoOuterClass.LineupInfo getMutableLineup() {
|
||||
bitField0_ |= 0x00000008;
|
||||
return lineup;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueFinishInfo finish_info = 7;</code>
|
||||
* @param value the finishInfo to set
|
||||
* <code>optional .LineupInfo lineup = 13;</code>
|
||||
* @param value the lineup to set
|
||||
* @return this
|
||||
*/
|
||||
public QuitRogueScRsp setFinishInfo(final RogueFinishInfoOuterClass.RogueFinishInfo value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
finishInfo.copyFrom(value);
|
||||
public LeaveRogueScRsp setLineup(final LineupInfoOuterClass.LineupInfo value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
lineup.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public QuitRogueScRsp copyFrom(final QuitRogueScRsp other) {
|
||||
public LeaveRogueScRsp copyFrom(final LeaveRogueScRsp other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
retcode = other.retcode;
|
||||
scene.copyFrom(other.scene);
|
||||
rogueInfo.copyFrom(other.rogueInfo);
|
||||
finishInfo.copyFrom(other.finishInfo);
|
||||
lineup.copyFrom(other.lineup);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public QuitRogueScRsp mergeFrom(final QuitRogueScRsp other) {
|
||||
public LeaveRogueScRsp mergeFrom(final LeaveRogueScRsp other) {
|
||||
if (other.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
@@ -215,37 +278,42 @@ public final class QuitRogueScRspOuterClass {
|
||||
if (other.hasRetcode()) {
|
||||
setRetcode(other.retcode);
|
||||
}
|
||||
if (other.hasScene()) {
|
||||
getMutableScene().mergeFrom(other.scene);
|
||||
}
|
||||
if (other.hasRogueInfo()) {
|
||||
getMutableRogueInfo().mergeFrom(other.rogueInfo);
|
||||
}
|
||||
if (other.hasFinishInfo()) {
|
||||
getMutableFinishInfo().mergeFrom(other.finishInfo);
|
||||
if (other.hasLineup()) {
|
||||
getMutableLineup().mergeFrom(other.lineup);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public QuitRogueScRsp clear() {
|
||||
public LeaveRogueScRsp clear() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
retcode = 0;
|
||||
scene.clear();
|
||||
rogueInfo.clear();
|
||||
finishInfo.clear();
|
||||
lineup.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public QuitRogueScRsp clearQuick() {
|
||||
public LeaveRogueScRsp clearQuick() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
scene.clearQuick();
|
||||
rogueInfo.clearQuick();
|
||||
finishInfo.clearQuick();
|
||||
lineup.clearQuick();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -254,29 +322,34 @@ public final class QuitRogueScRspOuterClass {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof QuitRogueScRsp)) {
|
||||
if (!(o instanceof LeaveRogueScRsp)) {
|
||||
return false;
|
||||
}
|
||||
QuitRogueScRsp other = (QuitRogueScRsp) o;
|
||||
LeaveRogueScRsp other = (LeaveRogueScRsp) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasRetcode() || retcode == other.retcode)
|
||||
&& (!hasScene() || scene.equals(other.scene))
|
||||
&& (!hasRogueInfo() || rogueInfo.equals(other.rogueInfo))
|
||||
&& (!hasFinishInfo() || finishInfo.equals(other.finishInfo));
|
||||
&& (!hasLineup() || lineup.equals(other.lineup));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 16);
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeUInt32NoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 50);
|
||||
output.writeMessageNoTag(rogueInfo);
|
||||
output.writeRawByte((byte) 26);
|
||||
output.writeMessageNoTag(scene);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRawByte((byte) 58);
|
||||
output.writeMessageNoTag(finishInfo);
|
||||
output.writeRawByte((byte) 42);
|
||||
output.writeMessageNoTag(rogueInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeRawByte((byte) 106);
|
||||
output.writeMessageNoTag(lineup);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -287,44 +360,56 @@ public final class QuitRogueScRspOuterClass {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueInfo);
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(finishInfo);
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("fallthrough")
|
||||
public QuitRogueScRsp mergeFrom(final ProtoSource input) throws IOException {
|
||||
public LeaveRogueScRsp mergeFrom(final ProtoSource input) throws IOException {
|
||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 16: {
|
||||
case 64: {
|
||||
// retcode
|
||||
retcode = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 50) {
|
||||
if (tag != 26) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 50: {
|
||||
// rogueInfo
|
||||
input.readMessage(rogueInfo);
|
||||
case 26: {
|
||||
// scene
|
||||
input.readMessage(scene);
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 58) {
|
||||
if (tag != 42) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 58: {
|
||||
// finishInfo
|
||||
input.readMessage(finishInfo);
|
||||
case 42: {
|
||||
// rogueInfo
|
||||
input.readMessage(rogueInfo);
|
||||
bitField0_ |= 0x00000004;
|
||||
tag = input.readTag();
|
||||
if (tag != 106) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 106: {
|
||||
// lineup
|
||||
input.readMessage(lineup);
|
||||
bitField0_ |= 0x00000008;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
@@ -350,16 +435,19 @@ public final class QuitRogueScRspOuterClass {
|
||||
output.writeUInt32(FieldNames.retcode, retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeMessage(FieldNames.rogueInfo, rogueInfo);
|
||||
output.writeMessage(FieldNames.scene, scene);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeMessage(FieldNames.finishInfo, finishInfo);
|
||||
output.writeMessage(FieldNames.rogueInfo, rogueInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeMessage(FieldNames.lineup, lineup);
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public QuitRogueScRsp mergeFrom(final JsonSource input) throws IOException {
|
||||
public LeaveRogueScRsp mergeFrom(final JsonSource input) throws IOException {
|
||||
if (!input.beginObject()) {
|
||||
return this;
|
||||
}
|
||||
@@ -376,11 +464,10 @@ public final class QuitRogueScRspOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 655808936:
|
||||
case -1124583437: {
|
||||
if (input.isAtField(FieldNames.rogueInfo)) {
|
||||
case 109254796: {
|
||||
if (input.isAtField(FieldNames.scene)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(rogueInfo);
|
||||
input.readMessage(scene);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
@@ -388,11 +475,11 @@ public final class QuitRogueScRspOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1151198177:
|
||||
case 1347581146: {
|
||||
if (input.isAtField(FieldNames.finishInfo)) {
|
||||
case 655808936:
|
||||
case -1124583437: {
|
||||
if (input.isAtField(FieldNames.rogueInfo)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(finishInfo);
|
||||
input.readMessage(rogueInfo);
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
} else {
|
||||
@@ -400,6 +487,17 @@ public final class QuitRogueScRspOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1102671473: {
|
||||
if (input.isAtField(FieldNames.lineup)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(lineup);
|
||||
bitField0_ |= 0x00000008;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
@@ -411,8 +509,8 @@ public final class QuitRogueScRspOuterClass {
|
||||
}
|
||||
|
||||
@Override
|
||||
public QuitRogueScRsp clone() {
|
||||
return new QuitRogueScRsp().copyFrom(this);
|
||||
public LeaveRogueScRsp clone() {
|
||||
return new LeaveRogueScRsp().copyFrom(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -420,32 +518,32 @@ public final class QuitRogueScRspOuterClass {
|
||||
return ((bitField0_) == 0);
|
||||
}
|
||||
|
||||
public static QuitRogueScRsp parseFrom(final byte[] data) throws
|
||||
public static LeaveRogueScRsp parseFrom(final byte[] data) throws
|
||||
InvalidProtocolBufferException {
|
||||
return ProtoMessage.mergeFrom(new QuitRogueScRsp(), data).checkInitialized();
|
||||
return ProtoMessage.mergeFrom(new LeaveRogueScRsp(), data).checkInitialized();
|
||||
}
|
||||
|
||||
public static QuitRogueScRsp parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new QuitRogueScRsp(), input).checkInitialized();
|
||||
public static LeaveRogueScRsp parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new LeaveRogueScRsp(), input).checkInitialized();
|
||||
}
|
||||
|
||||
public static QuitRogueScRsp parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new QuitRogueScRsp(), input).checkInitialized();
|
||||
public static LeaveRogueScRsp parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new LeaveRogueScRsp(), input).checkInitialized();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return factory for creating QuitRogueScRsp messages
|
||||
* @return factory for creating LeaveRogueScRsp messages
|
||||
*/
|
||||
public static MessageFactory<QuitRogueScRsp> getFactory() {
|
||||
return QuitRogueScRspFactory.INSTANCE;
|
||||
public static MessageFactory<LeaveRogueScRsp> getFactory() {
|
||||
return LeaveRogueScRspFactory.INSTANCE;
|
||||
}
|
||||
|
||||
private enum QuitRogueScRspFactory implements MessageFactory<QuitRogueScRsp> {
|
||||
private enum LeaveRogueScRspFactory implements MessageFactory<LeaveRogueScRsp> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public QuitRogueScRsp create() {
|
||||
return QuitRogueScRsp.newInstance();
|
||||
public LeaveRogueScRsp create() {
|
||||
return LeaveRogueScRsp.newInstance();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -455,9 +553,11 @@ public final class QuitRogueScRspOuterClass {
|
||||
static class FieldNames {
|
||||
static final FieldName retcode = FieldName.forField("retcode");
|
||||
|
||||
static final FieldName scene = FieldName.forField("scene");
|
||||
|
||||
static final FieldName rogueInfo = FieldName.forField("rogueInfo", "rogue_info");
|
||||
|
||||
static final FieldName finishInfo = FieldName.forField("finishInfo", "finish_info");
|
||||
static final FieldName lineup = FieldName.forField("lineup");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -20,22 +20,7 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 ELJOPPNAKDB = 5;</code>
|
||||
*/
|
||||
private int eLJOPPNAKDB;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 JPHPAELAOJI = 11;</code>
|
||||
*/
|
||||
private int jPHPAELAOJI;
|
||||
|
||||
/**
|
||||
* <code>optional bool PBKHAECJLNG = 9;</code>
|
||||
*/
|
||||
private boolean pBKHAECJLNG;
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 7;</code>
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueMiracleOuterClass.RogueMiracle> rogueMiracleList = RepeatedMessage.newEmptyInstance(RogueMiracleOuterClass.RogueMiracle.getFactory());
|
||||
|
||||
@@ -50,136 +35,25 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 ELJOPPNAKDB = 5;</code>
|
||||
* @return whether the eLJOPPNAKDB field is set
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* @return whether the rogueMiracleList field is set
|
||||
*/
|
||||
public boolean hasELJOPPNAKDB() {
|
||||
public boolean hasRogueMiracleList() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 ELJOPPNAKDB = 5;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo clearELJOPPNAKDB() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
eLJOPPNAKDB = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 ELJOPPNAKDB = 5;</code>
|
||||
* @return the eLJOPPNAKDB
|
||||
*/
|
||||
public int getELJOPPNAKDB() {
|
||||
return eLJOPPNAKDB;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 ELJOPPNAKDB = 5;</code>
|
||||
* @param value the eLJOPPNAKDB to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo setELJOPPNAKDB(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
eLJOPPNAKDB = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 JPHPAELAOJI = 11;</code>
|
||||
* @return whether the jPHPAELAOJI field is set
|
||||
*/
|
||||
public boolean hasJPHPAELAOJI() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 JPHPAELAOJI = 11;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo clearJPHPAELAOJI() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
jPHPAELAOJI = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 JPHPAELAOJI = 11;</code>
|
||||
* @return the jPHPAELAOJI
|
||||
*/
|
||||
public int getJPHPAELAOJI() {
|
||||
return jPHPAELAOJI;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 JPHPAELAOJI = 11;</code>
|
||||
* @param value the jPHPAELAOJI to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo setJPHPAELAOJI(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
jPHPAELAOJI = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool PBKHAECJLNG = 9;</code>
|
||||
* @return whether the pBKHAECJLNG field is set
|
||||
*/
|
||||
public boolean hasPBKHAECJLNG() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool PBKHAECJLNG = 9;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo clearPBKHAECJLNG() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
pBKHAECJLNG = false;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool PBKHAECJLNG = 9;</code>
|
||||
* @return the pBKHAECJLNG
|
||||
*/
|
||||
public boolean getPBKHAECJLNG() {
|
||||
return pBKHAECJLNG;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool PBKHAECJLNG = 9;</code>
|
||||
* @param value the pBKHAECJLNG to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo setPBKHAECJLNG(final boolean value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
pBKHAECJLNG = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 7;</code>
|
||||
* @return whether the rogueMiracleList field is set
|
||||
*/
|
||||
public boolean hasRogueMiracleList() {
|
||||
return (bitField0_ & 0x00000008) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 7;</code>
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo clearRogueMiracleList() {
|
||||
bitField0_ &= ~0x00000008;
|
||||
bitField0_ &= ~0x00000001;
|
||||
rogueMiracleList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 7;</code>
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
*
|
||||
* 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.
|
||||
@@ -193,7 +67,7 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 7;</code>
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -202,30 +76,30 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RepeatedMessage<RogueMiracleOuterClass.RogueMiracle> getMutableRogueMiracleList() {
|
||||
bitField0_ |= 0x00000008;
|
||||
bitField0_ |= 0x00000001;
|
||||
return rogueMiracleList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 7;</code>
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* @param value the rogueMiracleList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo addRogueMiracleList(
|
||||
final RogueMiracleOuterClass.RogueMiracle value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
bitField0_ |= 0x00000001;
|
||||
rogueMiracleList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 7;</code>
|
||||
* <code>repeated .RogueMiracle rogue_miracle_list = 13;</code>
|
||||
* @param values the rogueMiracleList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueAchivedMiracleInfo addAllRogueMiracleList(
|
||||
final RogueMiracleOuterClass.RogueMiracle... values) {
|
||||
bitField0_ |= 0x00000008;
|
||||
bitField0_ |= 0x00000001;
|
||||
rogueMiracleList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
@@ -235,9 +109,6 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
eLJOPPNAKDB = other.eLJOPPNAKDB;
|
||||
jPHPAELAOJI = other.jPHPAELAOJI;
|
||||
pBKHAECJLNG = other.pBKHAECJLNG;
|
||||
rogueMiracleList.copyFrom(other.rogueMiracleList);
|
||||
}
|
||||
return this;
|
||||
@@ -249,15 +120,6 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasELJOPPNAKDB()) {
|
||||
setELJOPPNAKDB(other.eLJOPPNAKDB);
|
||||
}
|
||||
if (other.hasJPHPAELAOJI()) {
|
||||
setJPHPAELAOJI(other.jPHPAELAOJI);
|
||||
}
|
||||
if (other.hasPBKHAECJLNG()) {
|
||||
setPBKHAECJLNG(other.pBKHAECJLNG);
|
||||
}
|
||||
if (other.hasRogueMiracleList()) {
|
||||
getMutableRogueMiracleList().addAll(other.rogueMiracleList);
|
||||
}
|
||||
@@ -271,9 +133,6 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
eLJOPPNAKDB = 0;
|
||||
jPHPAELAOJI = 0;
|
||||
pBKHAECJLNG = false;
|
||||
rogueMiracleList.clear();
|
||||
return this;
|
||||
}
|
||||
@@ -299,29 +158,14 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
RogueAchivedMiracleInfo other = (RogueAchivedMiracleInfo) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasELJOPPNAKDB() || eLJOPPNAKDB == other.eLJOPPNAKDB)
|
||||
&& (!hasJPHPAELAOJI() || jPHPAELAOJI == other.jPHPAELAOJI)
|
||||
&& (!hasPBKHAECJLNG() || pBKHAECJLNG == other.pBKHAECJLNG)
|
||||
&& (!hasRogueMiracleList() || rogueMiracleList.equals(other.rogueMiracleList));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 40);
|
||||
output.writeUInt32NoTag(eLJOPPNAKDB);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 88);
|
||||
output.writeUInt32NoTag(jPHPAELAOJI);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRawByte((byte) 72);
|
||||
output.writeBoolNoTag(pBKHAECJLNG);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
for (int i = 0; i < rogueMiracleList.length(); i++) {
|
||||
output.writeRawByte((byte) 58);
|
||||
output.writeRawByte((byte) 106);
|
||||
output.writeMessageNoTag(rogueMiracleList.get(i));
|
||||
}
|
||||
}
|
||||
@@ -331,15 +175,6 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(eLJOPPNAKDB);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(jPHPAELAOJI);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += 2;
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
size += (1 * rogueMiracleList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueMiracleList);
|
||||
}
|
||||
return size;
|
||||
@@ -352,37 +187,10 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 40: {
|
||||
// eLJOPPNAKDB
|
||||
eLJOPPNAKDB = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 88) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 88: {
|
||||
// jPHPAELAOJI
|
||||
jPHPAELAOJI = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 72) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 72: {
|
||||
// pBKHAECJLNG
|
||||
pBKHAECJLNG = input.readBool();
|
||||
bitField0_ |= 0x00000004;
|
||||
tag = input.readTag();
|
||||
if (tag != 58) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 58: {
|
||||
case 106: {
|
||||
// rogueMiracleList
|
||||
tag = input.readRepeatedMessage(rogueMiracleList, tag);
|
||||
bitField0_ |= 0x00000008;
|
||||
bitField0_ |= 0x00000001;
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
@@ -405,15 +213,6 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.eLJOPPNAKDB, eLJOPPNAKDB);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.jPHPAELAOJI, jPHPAELAOJI);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeBool(FieldNames.pBKHAECJLNG, pBKHAECJLNG);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.rogueMiracleList, rogueMiracleList);
|
||||
}
|
||||
output.endObject();
|
||||
@@ -426,45 +225,12 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case -1500069942: {
|
||||
if (input.isAtField(FieldNames.eLJOPPNAKDB)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
eLJOPPNAKDB = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1932356103: {
|
||||
if (input.isAtField(FieldNames.jPHPAELAOJI)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
jPHPAELAOJI = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 298748395: {
|
||||
if (input.isAtField(FieldNames.pBKHAECJLNG)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
pBKHAECJLNG = input.readBool();
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -452426123:
|
||||
case 1925521905: {
|
||||
if (input.isAtField(FieldNames.rogueMiracleList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(rogueMiracleList);
|
||||
bitField0_ |= 0x00000008;
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -524,12 +290,6 @@ public final class RogueAchivedMiracleInfoOuterClass {
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName eLJOPPNAKDB = FieldName.forField("ELJOPPNAKDB");
|
||||
|
||||
static final FieldName jPHPAELAOJI = FieldName.forField("JPHPAELAOJI");
|
||||
|
||||
static final FieldName pBKHAECJLNG = FieldName.forField("PBKHAECJLNG");
|
||||
|
||||
static final FieldName rogueMiracleList = FieldName.forField("rogueMiracleList", "rogue_miracle_list");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,27 +20,22 @@ public final class RogueAeonInfoOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 1;</code>
|
||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
||||
*/
|
||||
private int unlockAeonNum;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
||||
*/
|
||||
private int unlockAeonEnhanceNum;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlocked_aeon_num = 4;</code>
|
||||
*/
|
||||
private int unlockedAeonNum;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 selected_aeon_id = 8;</code>
|
||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
||||
*/
|
||||
private int selectedAeonId;
|
||||
|
||||
/**
|
||||
* <code>optional bool AFPFIHKLELP = 9;</code>
|
||||
*/
|
||||
private boolean aFPFIHKLELP;
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 aeon_id_list = 5;</code>
|
||||
* <code>repeated uint32 aeon_id_list = 8;</code>
|
||||
*/
|
||||
private final RepeatedInt aeonIdList = RepeatedInt.newEmptyInstance();
|
||||
|
||||
@@ -55,25 +50,62 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 1;</code>
|
||||
* @return whether the unlockAeonEnhanceNum field is set
|
||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
||||
* @return whether the unlockAeonNum field is set
|
||||
*/
|
||||
public boolean hasUnlockAeonEnhanceNum() {
|
||||
public boolean hasUnlockAeonNum() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 1;</code>
|
||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo clearUnlockAeonNum() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
unlockAeonNum = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
||||
* @return the unlockAeonNum
|
||||
*/
|
||||
public int getUnlockAeonNum() {
|
||||
return unlockAeonNum;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
||||
* @param value the unlockAeonNum to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo setUnlockAeonNum(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
unlockAeonNum = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
||||
* @return whether the unlockAeonEnhanceNum field is set
|
||||
*/
|
||||
public boolean hasUnlockAeonEnhanceNum() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo clearUnlockAeonEnhanceNum() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
bitField0_ &= ~0x00000002;
|
||||
unlockAeonEnhanceNum = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 1;</code>
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
||||
* @return the unlockAeonEnhanceNum
|
||||
*/
|
||||
public int getUnlockAeonEnhanceNum() {
|
||||
@@ -81,55 +113,18 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 1;</code>
|
||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
||||
* @param value the unlockAeonEnhanceNum to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo setUnlockAeonEnhanceNum(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
bitField0_ |= 0x00000002;
|
||||
unlockAeonEnhanceNum = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlocked_aeon_num = 4;</code>
|
||||
* @return whether the unlockedAeonNum field is set
|
||||
*/
|
||||
public boolean hasUnlockedAeonNum() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlocked_aeon_num = 4;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo clearUnlockedAeonNum() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
unlockedAeonNum = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlocked_aeon_num = 4;</code>
|
||||
* @return the unlockedAeonNum
|
||||
*/
|
||||
public int getUnlockedAeonNum() {
|
||||
return unlockedAeonNum;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 unlocked_aeon_num = 4;</code>
|
||||
* @param value the unlockedAeonNum to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo setUnlockedAeonNum(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
unlockedAeonNum = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 selected_aeon_id = 8;</code>
|
||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
||||
* @return whether the selectedAeonId field is set
|
||||
*/
|
||||
public boolean hasSelectedAeonId() {
|
||||
@@ -137,7 +132,7 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 selected_aeon_id = 8;</code>
|
||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo clearSelectedAeonId() {
|
||||
@@ -147,7 +142,7 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 selected_aeon_id = 8;</code>
|
||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
||||
* @return the selectedAeonId
|
||||
*/
|
||||
public int getSelectedAeonId() {
|
||||
@@ -155,7 +150,7 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 selected_aeon_id = 8;</code>
|
||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
||||
* @param value the selectedAeonId to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -166,62 +161,25 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool AFPFIHKLELP = 9;</code>
|
||||
* @return whether the aFPFIHKLELP field is set
|
||||
* <code>repeated uint32 aeon_id_list = 8;</code>
|
||||
* @return whether the aeonIdList field is set
|
||||
*/
|
||||
public boolean hasAFPFIHKLELP() {
|
||||
public boolean hasAeonIdList() {
|
||||
return (bitField0_ & 0x00000008) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool AFPFIHKLELP = 9;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo clearAFPFIHKLELP() {
|
||||
bitField0_ &= ~0x00000008;
|
||||
aFPFIHKLELP = false;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool AFPFIHKLELP = 9;</code>
|
||||
* @return the aFPFIHKLELP
|
||||
*/
|
||||
public boolean getAFPFIHKLELP() {
|
||||
return aFPFIHKLELP;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool AFPFIHKLELP = 9;</code>
|
||||
* @param value the aFPFIHKLELP to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo setAFPFIHKLELP(final boolean value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
aFPFIHKLELP = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 aeon_id_list = 5;</code>
|
||||
* @return whether the aeonIdList field is set
|
||||
*/
|
||||
public boolean hasAeonIdList() {
|
||||
return (bitField0_ & 0x00000010) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 aeon_id_list = 5;</code>
|
||||
* <code>repeated uint32 aeon_id_list = 8;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo clearAeonIdList() {
|
||||
bitField0_ &= ~0x00000010;
|
||||
bitField0_ &= ~0x00000008;
|
||||
aeonIdList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 aeon_id_list = 5;</code>
|
||||
* <code>repeated uint32 aeon_id_list = 8;</code>
|
||||
*
|
||||
* 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.
|
||||
@@ -235,7 +193,7 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 aeon_id_list = 5;</code>
|
||||
* <code>repeated uint32 aeon_id_list = 8;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -244,28 +202,28 @@ public final class RogueAeonInfoOuterClass {
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RepeatedInt getMutableAeonIdList() {
|
||||
bitField0_ |= 0x00000010;
|
||||
bitField0_ |= 0x00000008;
|
||||
return aeonIdList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 aeon_id_list = 5;</code>
|
||||
* <code>repeated uint32 aeon_id_list = 8;</code>
|
||||
* @param value the aeonIdList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo addAeonIdList(final int value) {
|
||||
bitField0_ |= 0x00000010;
|
||||
bitField0_ |= 0x00000008;
|
||||
aeonIdList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 aeon_id_list = 5;</code>
|
||||
* <code>repeated uint32 aeon_id_list = 8;</code>
|
||||
* @param values the aeonIdList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueAeonInfo addAllAeonIdList(final int... values) {
|
||||
bitField0_ |= 0x00000010;
|
||||
bitField0_ |= 0x00000008;
|
||||
aeonIdList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
@@ -275,10 +233,9 @@ public final class RogueAeonInfoOuterClass {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
unlockAeonNum = other.unlockAeonNum;
|
||||
unlockAeonEnhanceNum = other.unlockAeonEnhanceNum;
|
||||
unlockedAeonNum = other.unlockedAeonNum;
|
||||
selectedAeonId = other.selectedAeonId;
|
||||
aFPFIHKLELP = other.aFPFIHKLELP;
|
||||
aeonIdList.copyFrom(other.aeonIdList);
|
||||
}
|
||||
return this;
|
||||
@@ -290,18 +247,15 @@ public final class RogueAeonInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasUnlockAeonNum()) {
|
||||
setUnlockAeonNum(other.unlockAeonNum);
|
||||
}
|
||||
if (other.hasUnlockAeonEnhanceNum()) {
|
||||
setUnlockAeonEnhanceNum(other.unlockAeonEnhanceNum);
|
||||
}
|
||||
if (other.hasUnlockedAeonNum()) {
|
||||
setUnlockedAeonNum(other.unlockedAeonNum);
|
||||
}
|
||||
if (other.hasSelectedAeonId()) {
|
||||
setSelectedAeonId(other.selectedAeonId);
|
||||
}
|
||||
if (other.hasAFPFIHKLELP()) {
|
||||
setAFPFIHKLELP(other.aFPFIHKLELP);
|
||||
}
|
||||
if (other.hasAeonIdList()) {
|
||||
getMutableAeonIdList().addAll(other.aeonIdList);
|
||||
}
|
||||
@@ -315,10 +269,9 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
unlockAeonNum = 0;
|
||||
unlockAeonEnhanceNum = 0;
|
||||
unlockedAeonNum = 0;
|
||||
selectedAeonId = 0;
|
||||
aFPFIHKLELP = false;
|
||||
aeonIdList.clear();
|
||||
return this;
|
||||
}
|
||||
@@ -344,34 +297,29 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
RogueAeonInfo other = (RogueAeonInfo) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasUnlockAeonNum() || unlockAeonNum == other.unlockAeonNum)
|
||||
&& (!hasUnlockAeonEnhanceNum() || unlockAeonEnhanceNum == other.unlockAeonEnhanceNum)
|
||||
&& (!hasUnlockedAeonNum() || unlockedAeonNum == other.unlockedAeonNum)
|
||||
&& (!hasSelectedAeonId() || selectedAeonId == other.selectedAeonId)
|
||||
&& (!hasAFPFIHKLELP() || aFPFIHKLELP == other.aFPFIHKLELP)
|
||||
&& (!hasAeonIdList() || aeonIdList.equals(other.aeonIdList));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 8);
|
||||
output.writeUInt32NoTag(unlockAeonEnhanceNum);
|
||||
output.writeRawByte((byte) 32);
|
||||
output.writeUInt32NoTag(unlockAeonNum);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 32);
|
||||
output.writeUInt32NoTag(unlockedAeonNum);
|
||||
output.writeRawByte((byte) 40);
|
||||
output.writeUInt32NoTag(unlockAeonEnhanceNum);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeRawByte((byte) 96);
|
||||
output.writeUInt32NoTag(selectedAeonId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeRawByte((byte) 72);
|
||||
output.writeBoolNoTag(aFPFIHKLELP);
|
||||
}
|
||||
if ((bitField0_ & 0x00000010) != 0) {
|
||||
for (int i = 0; i < aeonIdList.length(); i++) {
|
||||
output.writeRawByte((byte) 40);
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeUInt32NoTag(aeonIdList.array()[i]);
|
||||
}
|
||||
}
|
||||
@@ -381,18 +329,15 @@ public final class RogueAeonInfoOuterClass {
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockAeonEnhanceNum);
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockAeonNum);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockedAeonNum);
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockAeonEnhanceNum);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(selectedAeonId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
size += 2;
|
||||
}
|
||||
if ((bitField0_ & 0x00000010) != 0) {
|
||||
size += (1 * aeonIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(aeonIdList);
|
||||
}
|
||||
return size;
|
||||
@@ -405,46 +350,37 @@ public final class RogueAeonInfoOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 8: {
|
||||
// unlockAeonEnhanceNum
|
||||
unlockAeonEnhanceNum = input.readUInt32();
|
||||
case 32: {
|
||||
// unlockAeonNum
|
||||
unlockAeonNum = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 32) {
|
||||
if (tag != 40) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 32: {
|
||||
// unlockedAeonNum
|
||||
unlockedAeonNum = input.readUInt32();
|
||||
case 40: {
|
||||
// unlockAeonEnhanceNum
|
||||
unlockAeonEnhanceNum = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 64) {
|
||||
if (tag != 96) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 64: {
|
||||
case 96: {
|
||||
// selectedAeonId
|
||||
selectedAeonId = input.readUInt32();
|
||||
bitField0_ |= 0x00000004;
|
||||
tag = input.readTag();
|
||||
if (tag != 72) {
|
||||
if (tag != 66) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 72: {
|
||||
// aFPFIHKLELP
|
||||
aFPFIHKLELP = input.readBool();
|
||||
bitField0_ |= 0x00000008;
|
||||
tag = input.readTag();
|
||||
if (tag != 42) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 42: {
|
||||
case 66: {
|
||||
// aeonIdList [packed=true]
|
||||
input.readPackedUInt32(aeonIdList, tag);
|
||||
bitField0_ |= 0x00000010;
|
||||
bitField0_ |= 0x00000008;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
@@ -460,10 +396,10 @@ public final class RogueAeonInfoOuterClass {
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
case 64: {
|
||||
// aeonIdList [packed=false]
|
||||
tag = input.readRepeatedUInt32(aeonIdList, tag);
|
||||
bitField0_ |= 0x00000010;
|
||||
bitField0_ |= 0x00000008;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -474,18 +410,15 @@ public final class RogueAeonInfoOuterClass {
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.unlockAeonEnhanceNum, unlockAeonEnhanceNum);
|
||||
output.writeUInt32(FieldNames.unlockAeonNum, unlockAeonNum);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.unlockedAeonNum, unlockedAeonNum);
|
||||
output.writeUInt32(FieldNames.unlockAeonEnhanceNum, unlockAeonEnhanceNum);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeUInt32(FieldNames.selectedAeonId, selectedAeonId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeBool(FieldNames.aFPFIHKLELP, aFPFIHKLELP);
|
||||
}
|
||||
if ((bitField0_ & 0x00000010) != 0) {
|
||||
output.writeRepeatedUInt32(FieldNames.aeonIdList, aeonIdList);
|
||||
}
|
||||
output.endObject();
|
||||
@@ -498,11 +431,11 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case 1040991167:
|
||||
case 7773396: {
|
||||
if (input.isAtField(FieldNames.unlockAeonEnhanceNum)) {
|
||||
case -281209953:
|
||||
case -952729371: {
|
||||
if (input.isAtField(FieldNames.unlockAeonNum)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
unlockAeonEnhanceNum = input.readUInt32();
|
||||
unlockAeonNum = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
@@ -510,11 +443,11 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -149403872:
|
||||
case 1158862886: {
|
||||
if (input.isAtField(FieldNames.unlockedAeonNum)) {
|
||||
case 1040991167:
|
||||
case 7773396: {
|
||||
if (input.isAtField(FieldNames.unlockAeonEnhanceNum)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
unlockedAeonNum = input.readUInt32();
|
||||
unlockAeonEnhanceNum = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
@@ -534,23 +467,12 @@ public final class RogueAeonInfoOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -337406834: {
|
||||
if (input.isAtField(FieldNames.aFPFIHKLELP)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
aFPFIHKLELP = input.readBool();
|
||||
bitField0_ |= 0x00000008;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1452976956:
|
||||
case 953805318: {
|
||||
if (input.isAtField(FieldNames.aeonIdList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedUInt32(aeonIdList);
|
||||
bitField0_ |= 0x00000010;
|
||||
bitField0_ |= 0x00000008;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -609,14 +531,12 @@ public final class RogueAeonInfoOuterClass {
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName unlockAeonNum = FieldName.forField("unlockAeonNum", "unlock_aeon_num");
|
||||
|
||||
static final FieldName unlockAeonEnhanceNum = FieldName.forField("unlockAeonEnhanceNum", "unlock_aeon_enhance_num");
|
||||
|
||||
static final FieldName unlockedAeonNum = FieldName.forField("unlockedAeonNum", "unlocked_aeon_num");
|
||||
|
||||
static final FieldName selectedAeonId = FieldName.forField("selectedAeonId", "selected_aeon_id");
|
||||
|
||||
static final FieldName aFPFIHKLELP = FieldName.forField("AFPFIHKLELP");
|
||||
|
||||
static final FieldName aeonIdList = FieldName.forField("aeonIdList", "aeon_id_list");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,36 @@ public final class RogueFinishInfoOuterClass {
|
||||
public static final class RogueFinishInfo extends ProtoMessage<RogueFinishInfo> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 pass_room_count = 4;</code>
|
||||
*/
|
||||
private int passRoomCount;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_coin = 8;</code>
|
||||
*/
|
||||
private int talentCoin;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_score = 10;</code>
|
||||
*/
|
||||
private int totalScore;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 room_score = 11;</code>
|
||||
*/
|
||||
private int roomScore;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 area_first_pass_score = 14;</code>
|
||||
*/
|
||||
private int areaFirstPassScore;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 reach_room_count = 1056;</code>
|
||||
*/
|
||||
private int reachRoomCount;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 area_id = 1731;</code>
|
||||
*/
|
||||
@@ -28,6 +58,16 @@ public final class RogueFinishInfoOuterClass {
|
||||
*/
|
||||
private boolean isWin;
|
||||
|
||||
/**
|
||||
* <code>optional .ItemList finish_reward_list = 1;</code>
|
||||
*/
|
||||
private final ItemListOuterClass.ItemList finishRewardList = ItemListOuterClass.ItemList.newInstance();
|
||||
|
||||
/**
|
||||
* <code>optional .RogueRecordInfo record_info = 7;</code>
|
||||
*/
|
||||
private final RogueRecordInfoOuterClass.RogueRecordInfo recordInfo = RogueRecordInfoOuterClass.RogueRecordInfo.newInstance();
|
||||
|
||||
private RogueFinishInfo() {
|
||||
}
|
||||
|
||||
@@ -38,12 +78,234 @@ public final class RogueFinishInfoOuterClass {
|
||||
return new RogueFinishInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 pass_room_count = 4;</code>
|
||||
* @return whether the passRoomCount field is set
|
||||
*/
|
||||
public boolean hasPassRoomCount() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 pass_room_count = 4;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearPassRoomCount() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
passRoomCount = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 pass_room_count = 4;</code>
|
||||
* @return the passRoomCount
|
||||
*/
|
||||
public int getPassRoomCount() {
|
||||
return passRoomCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 pass_room_count = 4;</code>
|
||||
* @param value the passRoomCount to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setPassRoomCount(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
passRoomCount = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_coin = 8;</code>
|
||||
* @return whether the talentCoin field is set
|
||||
*/
|
||||
public boolean hasTalentCoin() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_coin = 8;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearTalentCoin() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
talentCoin = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_coin = 8;</code>
|
||||
* @return the talentCoin
|
||||
*/
|
||||
public int getTalentCoin() {
|
||||
return talentCoin;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 talent_coin = 8;</code>
|
||||
* @param value the talentCoin to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setTalentCoin(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
talentCoin = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_score = 10;</code>
|
||||
* @return whether the totalScore field is set
|
||||
*/
|
||||
public boolean hasTotalScore() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_score = 10;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearTotalScore() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
totalScore = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_score = 10;</code>
|
||||
* @return the totalScore
|
||||
*/
|
||||
public int getTotalScore() {
|
||||
return totalScore;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 total_score = 10;</code>
|
||||
* @param value the totalScore to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setTotalScore(final int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
totalScore = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 room_score = 11;</code>
|
||||
* @return whether the roomScore field is set
|
||||
*/
|
||||
public boolean hasRoomScore() {
|
||||
return (bitField0_ & 0x00000008) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 room_score = 11;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearRoomScore() {
|
||||
bitField0_ &= ~0x00000008;
|
||||
roomScore = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 room_score = 11;</code>
|
||||
* @return the roomScore
|
||||
*/
|
||||
public int getRoomScore() {
|
||||
return roomScore;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 room_score = 11;</code>
|
||||
* @param value the roomScore to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setRoomScore(final int value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
roomScore = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 area_first_pass_score = 14;</code>
|
||||
* @return whether the areaFirstPassScore field is set
|
||||
*/
|
||||
public boolean hasAreaFirstPassScore() {
|
||||
return (bitField0_ & 0x00000010) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 area_first_pass_score = 14;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearAreaFirstPassScore() {
|
||||
bitField0_ &= ~0x00000010;
|
||||
areaFirstPassScore = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 area_first_pass_score = 14;</code>
|
||||
* @return the areaFirstPassScore
|
||||
*/
|
||||
public int getAreaFirstPassScore() {
|
||||
return areaFirstPassScore;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 area_first_pass_score = 14;</code>
|
||||
* @param value the areaFirstPassScore to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setAreaFirstPassScore(final int value) {
|
||||
bitField0_ |= 0x00000010;
|
||||
areaFirstPassScore = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 reach_room_count = 1056;</code>
|
||||
* @return whether the reachRoomCount field is set
|
||||
*/
|
||||
public boolean hasReachRoomCount() {
|
||||
return (bitField0_ & 0x00000020) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 reach_room_count = 1056;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearReachRoomCount() {
|
||||
bitField0_ &= ~0x00000020;
|
||||
reachRoomCount = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 reach_room_count = 1056;</code>
|
||||
* @return the reachRoomCount
|
||||
*/
|
||||
public int getReachRoomCount() {
|
||||
return reachRoomCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 reach_room_count = 1056;</code>
|
||||
* @param value the reachRoomCount to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setReachRoomCount(final int value) {
|
||||
bitField0_ |= 0x00000020;
|
||||
reachRoomCount = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 area_id = 1731;</code>
|
||||
* @return whether the areaId field is set
|
||||
*/
|
||||
public boolean hasAreaId() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
return (bitField0_ & 0x00000040) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -51,7 +313,7 @@ public final class RogueFinishInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearAreaId() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
bitField0_ &= ~0x00000040;
|
||||
areaId = 0;
|
||||
return this;
|
||||
}
|
||||
@@ -70,7 +332,7 @@ public final class RogueFinishInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setAreaId(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
bitField0_ |= 0x00000040;
|
||||
areaId = value;
|
||||
return this;
|
||||
}
|
||||
@@ -80,7 +342,7 @@ public final class RogueFinishInfoOuterClass {
|
||||
* @return whether the isWin field is set
|
||||
*/
|
||||
public boolean hasIsWin() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
return (bitField0_ & 0x00000080) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -88,7 +350,7 @@ public final class RogueFinishInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearIsWin() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
bitField0_ &= ~0x00000080;
|
||||
isWin = false;
|
||||
return this;
|
||||
}
|
||||
@@ -107,18 +369,140 @@ public final class RogueFinishInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setIsWin(final boolean value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000080;
|
||||
isWin = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .ItemList finish_reward_list = 1;</code>
|
||||
* @return whether the finishRewardList field is set
|
||||
*/
|
||||
public boolean hasFinishRewardList() {
|
||||
return (bitField0_ & 0x00000100) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .ItemList finish_reward_list = 1;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearFinishRewardList() {
|
||||
bitField0_ &= ~0x00000100;
|
||||
finishRewardList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .ItemList finish_reward_list = 1;</code>
|
||||
*
|
||||
* 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 #getMutableFinishRewardList()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public ItemListOuterClass.ItemList getFinishRewardList() {
|
||||
return finishRewardList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .ItemList finish_reward_list = 1;</code>
|
||||
*
|
||||
* 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 ItemListOuterClass.ItemList getMutableFinishRewardList() {
|
||||
bitField0_ |= 0x00000100;
|
||||
return finishRewardList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .ItemList finish_reward_list = 1;</code>
|
||||
* @param value the finishRewardList to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setFinishRewardList(final ItemListOuterClass.ItemList value) {
|
||||
bitField0_ |= 0x00000100;
|
||||
finishRewardList.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueRecordInfo record_info = 7;</code>
|
||||
* @return whether the recordInfo field is set
|
||||
*/
|
||||
public boolean hasRecordInfo() {
|
||||
return (bitField0_ & 0x00000200) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueRecordInfo record_info = 7;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo clearRecordInfo() {
|
||||
bitField0_ &= ~0x00000200;
|
||||
recordInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueRecordInfo record_info = 7;</code>
|
||||
*
|
||||
* 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 RogueRecordInfoOuterClass.RogueRecordInfo getRecordInfo() {
|
||||
return recordInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueRecordInfo record_info = 7;</code>
|
||||
*
|
||||
* 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 RogueRecordInfoOuterClass.RogueRecordInfo getMutableRecordInfo() {
|
||||
bitField0_ |= 0x00000200;
|
||||
return recordInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueRecordInfo record_info = 7;</code>
|
||||
* @param value the recordInfo to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueFinishInfo setRecordInfo(final RogueRecordInfoOuterClass.RogueRecordInfo value) {
|
||||
bitField0_ |= 0x00000200;
|
||||
recordInfo.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueFinishInfo copyFrom(final RogueFinishInfo other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
passRoomCount = other.passRoomCount;
|
||||
talentCoin = other.talentCoin;
|
||||
totalScore = other.totalScore;
|
||||
roomScore = other.roomScore;
|
||||
areaFirstPassScore = other.areaFirstPassScore;
|
||||
reachRoomCount = other.reachRoomCount;
|
||||
areaId = other.areaId;
|
||||
isWin = other.isWin;
|
||||
finishRewardList.copyFrom(other.finishRewardList);
|
||||
recordInfo.copyFrom(other.recordInfo);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -129,12 +513,36 @@ public final class RogueFinishInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasPassRoomCount()) {
|
||||
setPassRoomCount(other.passRoomCount);
|
||||
}
|
||||
if (other.hasTalentCoin()) {
|
||||
setTalentCoin(other.talentCoin);
|
||||
}
|
||||
if (other.hasTotalScore()) {
|
||||
setTotalScore(other.totalScore);
|
||||
}
|
||||
if (other.hasRoomScore()) {
|
||||
setRoomScore(other.roomScore);
|
||||
}
|
||||
if (other.hasAreaFirstPassScore()) {
|
||||
setAreaFirstPassScore(other.areaFirstPassScore);
|
||||
}
|
||||
if (other.hasReachRoomCount()) {
|
||||
setReachRoomCount(other.reachRoomCount);
|
||||
}
|
||||
if (other.hasAreaId()) {
|
||||
setAreaId(other.areaId);
|
||||
}
|
||||
if (other.hasIsWin()) {
|
||||
setIsWin(other.isWin);
|
||||
}
|
||||
if (other.hasFinishRewardList()) {
|
||||
getMutableFinishRewardList().mergeFrom(other.finishRewardList);
|
||||
}
|
||||
if (other.hasRecordInfo()) {
|
||||
getMutableRecordInfo().mergeFrom(other.recordInfo);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -145,8 +553,16 @@ public final class RogueFinishInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
passRoomCount = 0;
|
||||
talentCoin = 0;
|
||||
totalScore = 0;
|
||||
roomScore = 0;
|
||||
areaFirstPassScore = 0;
|
||||
reachRoomCount = 0;
|
||||
areaId = 0;
|
||||
isWin = false;
|
||||
finishRewardList.clear();
|
||||
recordInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -157,6 +573,8 @@ public final class RogueFinishInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
finishRewardList.clearQuick();
|
||||
recordInfo.clearQuick();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -170,31 +588,95 @@ public final class RogueFinishInfoOuterClass {
|
||||
}
|
||||
RogueFinishInfo other = (RogueFinishInfo) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasPassRoomCount() || passRoomCount == other.passRoomCount)
|
||||
&& (!hasTalentCoin() || talentCoin == other.talentCoin)
|
||||
&& (!hasTotalScore() || totalScore == other.totalScore)
|
||||
&& (!hasRoomScore() || roomScore == other.roomScore)
|
||||
&& (!hasAreaFirstPassScore() || areaFirstPassScore == other.areaFirstPassScore)
|
||||
&& (!hasReachRoomCount() || reachRoomCount == other.reachRoomCount)
|
||||
&& (!hasAreaId() || areaId == other.areaId)
|
||||
&& (!hasIsWin() || isWin == other.isWin);
|
||||
&& (!hasIsWin() || isWin == other.isWin)
|
||||
&& (!hasFinishRewardList() || finishRewardList.equals(other.finishRewardList))
|
||||
&& (!hasRecordInfo() || recordInfo.equals(other.recordInfo));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 32);
|
||||
output.writeUInt32NoTag(passRoomCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeUInt32NoTag(talentCoin);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRawByte((byte) 80);
|
||||
output.writeUInt32NoTag(totalScore);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeRawByte((byte) 88);
|
||||
output.writeUInt32NoTag(roomScore);
|
||||
}
|
||||
if ((bitField0_ & 0x00000010) != 0) {
|
||||
output.writeRawByte((byte) 112);
|
||||
output.writeUInt32NoTag(areaFirstPassScore);
|
||||
}
|
||||
if ((bitField0_ & 0x00000020) != 0) {
|
||||
output.writeRawLittleEndian16((short) 17024);
|
||||
output.writeUInt32NoTag(reachRoomCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000040) != 0) {
|
||||
output.writeRawLittleEndian16((short) 27800);
|
||||
output.writeUInt32NoTag(areaId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
if ((bitField0_ & 0x00000080) != 0) {
|
||||
output.writeRawByte((byte) 120);
|
||||
output.writeBoolNoTag(isWin);
|
||||
}
|
||||
if ((bitField0_ & 0x00000100) != 0) {
|
||||
output.writeRawByte((byte) 10);
|
||||
output.writeMessageNoTag(finishRewardList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000200) != 0) {
|
||||
output.writeRawByte((byte) 58);
|
||||
output.writeMessageNoTag(recordInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 2 + ProtoSink.computeUInt32SizeNoTag(areaId);
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(passRoomCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(talentCoin);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(totalScore);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomScore);
|
||||
}
|
||||
if ((bitField0_ & 0x00000010) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(areaFirstPassScore);
|
||||
}
|
||||
if ((bitField0_ & 0x00000020) != 0) {
|
||||
size += 2 + ProtoSink.computeUInt32SizeNoTag(reachRoomCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000040) != 0) {
|
||||
size += 2 + ProtoSink.computeUInt32SizeNoTag(areaId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000080) != 0) {
|
||||
size += 2;
|
||||
}
|
||||
if ((bitField0_ & 0x00000100) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(finishRewardList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000200) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(recordInfo);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
@@ -205,10 +687,64 @@ public final class RogueFinishInfoOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 32: {
|
||||
// passRoomCount
|
||||
passRoomCount = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 64) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 64: {
|
||||
// talentCoin
|
||||
talentCoin = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 80) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 80: {
|
||||
// totalScore
|
||||
totalScore = input.readUInt32();
|
||||
bitField0_ |= 0x00000004;
|
||||
tag = input.readTag();
|
||||
if (tag != 88) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 88: {
|
||||
// roomScore
|
||||
roomScore = input.readUInt32();
|
||||
bitField0_ |= 0x00000008;
|
||||
tag = input.readTag();
|
||||
if (tag != 112) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 112: {
|
||||
// areaFirstPassScore
|
||||
areaFirstPassScore = input.readUInt32();
|
||||
bitField0_ |= 0x00000010;
|
||||
tag = input.readTag();
|
||||
if (tag != 8448) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 8448: {
|
||||
// reachRoomCount
|
||||
reachRoomCount = input.readUInt32();
|
||||
bitField0_ |= 0x00000020;
|
||||
tag = input.readTag();
|
||||
if (tag != 13848) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 13848: {
|
||||
// areaId
|
||||
areaId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
bitField0_ |= 0x00000040;
|
||||
tag = input.readTag();
|
||||
if (tag != 120) {
|
||||
break;
|
||||
@@ -217,7 +753,25 @@ public final class RogueFinishInfoOuterClass {
|
||||
case 120: {
|
||||
// isWin
|
||||
isWin = input.readBool();
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000080;
|
||||
tag = input.readTag();
|
||||
if (tag != 10) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 10: {
|
||||
// finishRewardList
|
||||
input.readMessage(finishRewardList);
|
||||
bitField0_ |= 0x00000100;
|
||||
tag = input.readTag();
|
||||
if (tag != 58) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 58: {
|
||||
// recordInfo
|
||||
input.readMessage(recordInfo);
|
||||
bitField0_ |= 0x00000200;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
@@ -241,11 +795,35 @@ public final class RogueFinishInfoOuterClass {
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.areaId, areaId);
|
||||
output.writeUInt32(FieldNames.passRoomCount, passRoomCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.talentCoin, talentCoin);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeUInt32(FieldNames.totalScore, totalScore);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeUInt32(FieldNames.roomScore, roomScore);
|
||||
}
|
||||
if ((bitField0_ & 0x00000010) != 0) {
|
||||
output.writeUInt32(FieldNames.areaFirstPassScore, areaFirstPassScore);
|
||||
}
|
||||
if ((bitField0_ & 0x00000020) != 0) {
|
||||
output.writeUInt32(FieldNames.reachRoomCount, reachRoomCount);
|
||||
}
|
||||
if ((bitField0_ & 0x00000040) != 0) {
|
||||
output.writeUInt32(FieldNames.areaId, areaId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000080) != 0) {
|
||||
output.writeBool(FieldNames.isWin, isWin);
|
||||
}
|
||||
if ((bitField0_ & 0x00000100) != 0) {
|
||||
output.writeMessage(FieldNames.finishRewardList, finishRewardList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000200) != 0) {
|
||||
output.writeMessage(FieldNames.recordInfo, recordInfo);
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
@@ -256,12 +834,84 @@ public final class RogueFinishInfoOuterClass {
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case 430108643:
|
||||
case 173887897: {
|
||||
if (input.isAtField(FieldNames.passRoomCount)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
passRoomCount = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1396800925:
|
||||
case 376662532: {
|
||||
if (input.isAtField(FieldNames.talentCoin)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
talentCoin = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -716972626:
|
||||
case -393348649: {
|
||||
if (input.isAtField(FieldNames.totalScore)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
totalScore = input.readUInt32();
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1078976905:
|
||||
case 1269420590: {
|
||||
if (input.isAtField(FieldNames.roomScore)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
roomScore = input.readUInt32();
|
||||
bitField0_ |= 0x00000008;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1195131422:
|
||||
case -789838011: {
|
||||
if (input.isAtField(FieldNames.areaFirstPassScore)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
areaFirstPassScore = input.readUInt32();
|
||||
bitField0_ |= 0x00000010;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1588434751:
|
||||
case 1678904055: {
|
||||
if (input.isAtField(FieldNames.reachRoomCount)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
reachRoomCount = input.readUInt32();
|
||||
bitField0_ |= 0x00000020;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1409553784:
|
||||
case -746472947: {
|
||||
if (input.isAtField(FieldNames.areaId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
areaId = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
bitField0_ |= 0x00000040;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -273,7 +923,31 @@ public final class RogueFinishInfoOuterClass {
|
||||
if (input.isAtField(FieldNames.isWin)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
isWin = input.readBool();
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000080;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1769558368:
|
||||
case -1681136126: {
|
||||
if (input.isAtField(FieldNames.finishRewardList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(finishRewardList);
|
||||
bitField0_ |= 0x00000100;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 734573727:
|
||||
case 1317125084: {
|
||||
if (input.isAtField(FieldNames.recordInfo)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(recordInfo);
|
||||
bitField0_ |= 0x00000200;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -333,9 +1007,25 @@ public final class RogueFinishInfoOuterClass {
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName passRoomCount = FieldName.forField("passRoomCount", "pass_room_count");
|
||||
|
||||
static final FieldName talentCoin = FieldName.forField("talentCoin", "talent_coin");
|
||||
|
||||
static final FieldName totalScore = FieldName.forField("totalScore", "total_score");
|
||||
|
||||
static final FieldName roomScore = FieldName.forField("roomScore", "room_score");
|
||||
|
||||
static final FieldName areaFirstPassScore = FieldName.forField("areaFirstPassScore", "area_first_pass_score");
|
||||
|
||||
static final FieldName reachRoomCount = FieldName.forField("reachRoomCount", "reach_room_count");
|
||||
|
||||
static final FieldName areaId = FieldName.forField("areaId", "area_id");
|
||||
|
||||
static final FieldName isWin = FieldName.forField("isWin", "is_win");
|
||||
|
||||
static final FieldName finishRewardList = FieldName.forField("finishRewardList", "finish_reward_list");
|
||||
|
||||
static final FieldName recordInfo = FieldName.forField("recordInfo", "record_info");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,12 +19,12 @@ public final class RogueInfoDataOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
||||
*/
|
||||
private final RogueSeasonInfoOuterClass.RogueSeasonInfo rogueSeasonInfo = RogueSeasonInfoOuterClass.RogueSeasonInfo.newInstance();
|
||||
|
||||
/**
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 6;</code>
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
||||
*/
|
||||
private final RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo rogueScoreInfo = RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.newInstance();
|
||||
|
||||
@@ -39,7 +39,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
||||
* @return whether the rogueSeasonInfo field is set
|
||||
*/
|
||||
public boolean hasRogueSeasonInfo() {
|
||||
@@ -47,7 +47,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueInfoData clearRogueSeasonInfo() {
|
||||
@@ -57,7 +57,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
||||
*
|
||||
* 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.
|
||||
@@ -71,7 +71,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -85,7 +85,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
||||
* @param value the rogueSeasonInfo to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -96,7 +96,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 6;</code>
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
||||
* @return whether the rogueScoreInfo field is set
|
||||
*/
|
||||
public boolean hasRogueScoreInfo() {
|
||||
@@ -104,7 +104,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 6;</code>
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueInfoData clearRogueScoreInfo() {
|
||||
@@ -114,7 +114,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 6;</code>
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
||||
*
|
||||
* 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.
|
||||
@@ -128,7 +128,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 6;</code>
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -142,7 +142,7 @@ public final class RogueInfoDataOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 6;</code>
|
||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
||||
* @param value the rogueScoreInfo to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -220,11 +220,11 @@ public final class RogueInfoDataOuterClass {
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 26);
|
||||
output.writeRawByte((byte) 50);
|
||||
output.writeMessageNoTag(rogueSeasonInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 50);
|
||||
output.writeRawByte((byte) 122);
|
||||
output.writeMessageNoTag(rogueScoreInfo);
|
||||
}
|
||||
}
|
||||
@@ -248,16 +248,16 @@ public final class RogueInfoDataOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 26: {
|
||||
case 50: {
|
||||
// rogueSeasonInfo
|
||||
input.readMessage(rogueSeasonInfo);
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 50) {
|
||||
if (tag != 122) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 50: {
|
||||
case 122: {
|
||||
// rogueScoreInfo
|
||||
input.readMessage(rogueScoreInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -19,14 +19,14 @@ public final class RogueMiracleInfoOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 6;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
||||
*/
|
||||
private final RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo miracleSelectInfo = RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo.newInstance();
|
||||
private final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo rogueMiracleInfo = RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo.newInstance();
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 10;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 3;</code>
|
||||
*/
|
||||
private final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo achivedMiracleInfo = RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo.newInstance();
|
||||
private final RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo miracleSelectInfo = RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo.newInstance();
|
||||
|
||||
private RogueMiracleInfo() {
|
||||
}
|
||||
@@ -39,25 +39,83 @@ public final class RogueMiracleInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 6;</code>
|
||||
* @return whether the miracleSelectInfo field is set
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
||||
* @return whether the rogueMiracleInfo field is set
|
||||
*/
|
||||
public boolean hasMiracleSelectInfo() {
|
||||
public boolean hasRogueMiracleInfo() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 6;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleInfo clearRogueMiracleInfo() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
rogueMiracleInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
||||
*
|
||||
* 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 #getMutableRogueMiracleInfo()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getRogueMiracleInfo() {
|
||||
return rogueMiracleInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
||||
*
|
||||
* 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 RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getMutableRogueMiracleInfo() {
|
||||
bitField0_ |= 0x00000001;
|
||||
return rogueMiracleInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
||||
* @param value the rogueMiracleInfo to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleInfo setRogueMiracleInfo(
|
||||
final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
rogueMiracleInfo.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 3;</code>
|
||||
* @return whether the miracleSelectInfo field is set
|
||||
*/
|
||||
public boolean hasMiracleSelectInfo() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 3;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleInfo clearMiracleSelectInfo() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
bitField0_ &= ~0x00000002;
|
||||
miracleSelectInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 6;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 3;</code>
|
||||
*
|
||||
* 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.
|
||||
@@ -71,7 +129,7 @@ public final class RogueMiracleInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 6;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 3;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -80,88 +138,29 @@ public final class RogueMiracleInfoOuterClass {
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo getMutableMiracleSelectInfo() {
|
||||
bitField0_ |= 0x00000001;
|
||||
bitField0_ |= 0x00000002;
|
||||
return miracleSelectInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 6;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 3;</code>
|
||||
* @param value the miracleSelectInfo to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleInfo setMiracleSelectInfo(
|
||||
final RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
bitField0_ |= 0x00000002;
|
||||
miracleSelectInfo.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 10;</code>
|
||||
* @return whether the achivedMiracleInfo field is set
|
||||
*/
|
||||
public boolean hasAchivedMiracleInfo() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 10;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleInfo clearAchivedMiracleInfo() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
achivedMiracleInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 10;</code>
|
||||
*
|
||||
* 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 #getMutableAchivedMiracleInfo()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getAchivedMiracleInfo() {
|
||||
return achivedMiracleInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 10;</code>
|
||||
*
|
||||
* 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 RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getMutableAchivedMiracleInfo(
|
||||
) {
|
||||
bitField0_ |= 0x00000002;
|
||||
return achivedMiracleInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 10;</code>
|
||||
* @param value the achivedMiracleInfo to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleInfo setAchivedMiracleInfo(
|
||||
final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
achivedMiracleInfo.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueMiracleInfo copyFrom(final RogueMiracleInfo other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
rogueMiracleInfo.copyFrom(other.rogueMiracleInfo);
|
||||
miracleSelectInfo.copyFrom(other.miracleSelectInfo);
|
||||
achivedMiracleInfo.copyFrom(other.achivedMiracleInfo);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -172,12 +171,12 @@ public final class RogueMiracleInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasRogueMiracleInfo()) {
|
||||
getMutableRogueMiracleInfo().mergeFrom(other.rogueMiracleInfo);
|
||||
}
|
||||
if (other.hasMiracleSelectInfo()) {
|
||||
getMutableMiracleSelectInfo().mergeFrom(other.miracleSelectInfo);
|
||||
}
|
||||
if (other.hasAchivedMiracleInfo()) {
|
||||
getMutableAchivedMiracleInfo().mergeFrom(other.achivedMiracleInfo);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -188,8 +187,8 @@ public final class RogueMiracleInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
rogueMiracleInfo.clear();
|
||||
miracleSelectInfo.clear();
|
||||
achivedMiracleInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -200,8 +199,8 @@ public final class RogueMiracleInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
rogueMiracleInfo.clearQuick();
|
||||
miracleSelectInfo.clearQuick();
|
||||
achivedMiracleInfo.clearQuick();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -215,19 +214,19 @@ public final class RogueMiracleInfoOuterClass {
|
||||
}
|
||||
RogueMiracleInfo other = (RogueMiracleInfo) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasMiracleSelectInfo() || miracleSelectInfo.equals(other.miracleSelectInfo))
|
||||
&& (!hasAchivedMiracleInfo() || achivedMiracleInfo.equals(other.achivedMiracleInfo));
|
||||
&& (!hasRogueMiracleInfo() || rogueMiracleInfo.equals(other.rogueMiracleInfo))
|
||||
&& (!hasMiracleSelectInfo() || miracleSelectInfo.equals(other.miracleSelectInfo));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 50);
|
||||
output.writeMessageNoTag(miracleSelectInfo);
|
||||
output.writeRawByte((byte) 18);
|
||||
output.writeMessageNoTag(rogueMiracleInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 82);
|
||||
output.writeMessageNoTag(achivedMiracleInfo);
|
||||
output.writeRawByte((byte) 26);
|
||||
output.writeMessageNoTag(miracleSelectInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -235,10 +234,10 @@ public final class RogueMiracleInfoOuterClass {
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(miracleSelectInfo);
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueMiracleInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(achivedMiracleInfo);
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(miracleSelectInfo);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
@@ -250,18 +249,18 @@ public final class RogueMiracleInfoOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 50: {
|
||||
// miracleSelectInfo
|
||||
input.readMessage(miracleSelectInfo);
|
||||
case 18: {
|
||||
// rogueMiracleInfo
|
||||
input.readMessage(rogueMiracleInfo);
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 82) {
|
||||
if (tag != 26) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 82: {
|
||||
// achivedMiracleInfo
|
||||
input.readMessage(achivedMiracleInfo);
|
||||
case 26: {
|
||||
// miracleSelectInfo
|
||||
input.readMessage(miracleSelectInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
@@ -286,10 +285,10 @@ public final class RogueMiracleInfoOuterClass {
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeMessage(FieldNames.miracleSelectInfo, miracleSelectInfo);
|
||||
output.writeMessage(FieldNames.rogueMiracleInfo, rogueMiracleInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeMessage(FieldNames.achivedMiracleInfo, achivedMiracleInfo);
|
||||
output.writeMessage(FieldNames.miracleSelectInfo, miracleSelectInfo);
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
@@ -301,11 +300,11 @@ public final class RogueMiracleInfoOuterClass {
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case -1009314021:
|
||||
case -1608054973: {
|
||||
if (input.isAtField(FieldNames.miracleSelectInfo)) {
|
||||
case -452511099:
|
||||
case 1925436929: {
|
||||
if (input.isAtField(FieldNames.rogueMiracleInfo)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(miracleSelectInfo);
|
||||
input.readMessage(rogueMiracleInfo);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
@@ -313,11 +312,11 @@ public final class RogueMiracleInfoOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -213623475:
|
||||
case -431790391: {
|
||||
if (input.isAtField(FieldNames.achivedMiracleInfo)) {
|
||||
case -1009314021:
|
||||
case -1608054973: {
|
||||
if (input.isAtField(FieldNames.miracleSelectInfo)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(achivedMiracleInfo);
|
||||
input.readMessage(miracleSelectInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
@@ -378,9 +377,9 @@ public final class RogueMiracleInfoOuterClass {
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName miracleSelectInfo = FieldName.forField("miracleSelectInfo", "miracle_select_info");
|
||||
static final FieldName rogueMiracleInfo = FieldName.forField("rogueMiracleInfo", "rogue_miracle_info");
|
||||
|
||||
static final FieldName achivedMiracleInfo = FieldName.forField("achivedMiracleInfo", "achived_miracle_info");
|
||||
static final FieldName miracleSelectInfo = FieldName.forField("miracleSelectInfo", "miracle_select_info");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,25 +20,20 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional bool show_handbook_hint = 15;</code>
|
||||
* <code>optional bool show_handbook_hint = 7;</code>
|
||||
*/
|
||||
private boolean showHandbookHint;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 7;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
||||
*/
|
||||
private final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo achivedMiracleInfo = RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo.newInstance();
|
||||
private final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo rogueMiracleInfo = RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo.newInstance();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 miracle_id_list = 8;</code>
|
||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
||||
*/
|
||||
private final RepeatedInt miracleIdList = RepeatedInt.newEmptyInstance();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 FBCFOBKNEJB = 12;</code>
|
||||
*/
|
||||
private final RepeatedInt fBCFOBKNEJB = RepeatedInt.newEmptyInstance();
|
||||
|
||||
private RogueMiracleSelectInfo() {
|
||||
}
|
||||
|
||||
@@ -50,7 +45,7 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool show_handbook_hint = 15;</code>
|
||||
* <code>optional bool show_handbook_hint = 7;</code>
|
||||
* @return whether the showHandbookHint field is set
|
||||
*/
|
||||
public boolean hasShowHandbookHint() {
|
||||
@@ -58,7 +53,7 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool show_handbook_hint = 15;</code>
|
||||
* <code>optional bool show_handbook_hint = 7;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleSelectInfo clearShowHandbookHint() {
|
||||
@@ -68,7 +63,7 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool show_handbook_hint = 15;</code>
|
||||
* <code>optional bool show_handbook_hint = 7;</code>
|
||||
* @return the showHandbookHint
|
||||
*/
|
||||
public boolean getShowHandbookHint() {
|
||||
@@ -76,7 +71,7 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional bool show_handbook_hint = 15;</code>
|
||||
* <code>optional bool show_handbook_hint = 7;</code>
|
||||
* @param value the showHandbookHint to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -87,39 +82,39 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 7;</code>
|
||||
* @return whether the achivedMiracleInfo field is set
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
||||
* @return whether the rogueMiracleInfo field is set
|
||||
*/
|
||||
public boolean hasAchivedMiracleInfo() {
|
||||
public boolean hasRogueMiracleInfo() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 7;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleSelectInfo clearAchivedMiracleInfo() {
|
||||
public RogueMiracleSelectInfo clearRogueMiracleInfo() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
achivedMiracleInfo.clear();
|
||||
rogueMiracleInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 7;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
||||
*
|
||||
* 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 #getMutableAchivedMiracleInfo()} if you want to modify it.
|
||||
* Use {@link #getMutableRogueMiracleInfo()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getAchivedMiracleInfo() {
|
||||
return achivedMiracleInfo;
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getRogueMiracleInfo() {
|
||||
return rogueMiracleInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 7;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -127,26 +122,25 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
*
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getMutableAchivedMiracleInfo(
|
||||
) {
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getMutableRogueMiracleInfo() {
|
||||
bitField0_ |= 0x00000002;
|
||||
return achivedMiracleInfo;
|
||||
return rogueMiracleInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 7;</code>
|
||||
* @param value the achivedMiracleInfo to set
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
||||
* @param value the rogueMiracleInfo to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleSelectInfo setAchivedMiracleInfo(
|
||||
public RogueMiracleSelectInfo setRogueMiracleInfo(
|
||||
final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
achivedMiracleInfo.copyFrom(value);
|
||||
rogueMiracleInfo.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 miracle_id_list = 8;</code>
|
||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
||||
* @return whether the miracleIdList field is set
|
||||
*/
|
||||
public boolean hasMiracleIdList() {
|
||||
@@ -154,7 +148,7 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 miracle_id_list = 8;</code>
|
||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleSelectInfo clearMiracleIdList() {
|
||||
@@ -164,7 +158,7 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 miracle_id_list = 8;</code>
|
||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
||||
*
|
||||
* 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.
|
||||
@@ -178,7 +172,7 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 miracle_id_list = 8;</code>
|
||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -192,7 +186,7 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 miracle_id_list = 8;</code>
|
||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
||||
* @param value the miracleIdList to add
|
||||
* @return this
|
||||
*/
|
||||
@@ -203,7 +197,7 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 miracle_id_list = 8;</code>
|
||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
||||
* @param values the miracleIdList to add
|
||||
* @return this
|
||||
*/
|
||||
@@ -213,83 +207,14 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 FBCFOBKNEJB = 12;</code>
|
||||
* @return whether the fBCFOBKNEJB field is set
|
||||
*/
|
||||
public boolean hasFBCFOBKNEJB() {
|
||||
return (bitField0_ & 0x00000008) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 FBCFOBKNEJB = 12;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleSelectInfo clearFBCFOBKNEJB() {
|
||||
bitField0_ &= ~0x00000008;
|
||||
fBCFOBKNEJB.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 FBCFOBKNEJB = 12;</code>
|
||||
*
|
||||
* 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 #getMutableFBCFOBKNEJB()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RepeatedInt getFBCFOBKNEJB() {
|
||||
return fBCFOBKNEJB;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 FBCFOBKNEJB = 12;</code>
|
||||
*
|
||||
* 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 getMutableFBCFOBKNEJB() {
|
||||
bitField0_ |= 0x00000008;
|
||||
return fBCFOBKNEJB;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 FBCFOBKNEJB = 12;</code>
|
||||
* @param value the fBCFOBKNEJB to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleSelectInfo addFBCFOBKNEJB(final int value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
fBCFOBKNEJB.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 FBCFOBKNEJB = 12;</code>
|
||||
* @param values the fBCFOBKNEJB to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueMiracleSelectInfo addAllFBCFOBKNEJB(final int... values) {
|
||||
bitField0_ |= 0x00000008;
|
||||
fBCFOBKNEJB.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueMiracleSelectInfo copyFrom(final RogueMiracleSelectInfo other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
showHandbookHint = other.showHandbookHint;
|
||||
achivedMiracleInfo.copyFrom(other.achivedMiracleInfo);
|
||||
rogueMiracleInfo.copyFrom(other.rogueMiracleInfo);
|
||||
miracleIdList.copyFrom(other.miracleIdList);
|
||||
fBCFOBKNEJB.copyFrom(other.fBCFOBKNEJB);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -303,15 +228,12 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
if (other.hasShowHandbookHint()) {
|
||||
setShowHandbookHint(other.showHandbookHint);
|
||||
}
|
||||
if (other.hasAchivedMiracleInfo()) {
|
||||
getMutableAchivedMiracleInfo().mergeFrom(other.achivedMiracleInfo);
|
||||
if (other.hasRogueMiracleInfo()) {
|
||||
getMutableRogueMiracleInfo().mergeFrom(other.rogueMiracleInfo);
|
||||
}
|
||||
if (other.hasMiracleIdList()) {
|
||||
getMutableMiracleIdList().addAll(other.miracleIdList);
|
||||
}
|
||||
if (other.hasFBCFOBKNEJB()) {
|
||||
getMutableFBCFOBKNEJB().addAll(other.fBCFOBKNEJB);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -323,9 +245,8 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
showHandbookHint = false;
|
||||
achivedMiracleInfo.clear();
|
||||
rogueMiracleInfo.clear();
|
||||
miracleIdList.clear();
|
||||
fBCFOBKNEJB.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -336,9 +257,8 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
achivedMiracleInfo.clearQuick();
|
||||
rogueMiracleInfo.clearQuick();
|
||||
miracleIdList.clear();
|
||||
fBCFOBKNEJB.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -353,31 +273,24 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
RogueMiracleSelectInfo other = (RogueMiracleSelectInfo) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasShowHandbookHint() || showHandbookHint == other.showHandbookHint)
|
||||
&& (!hasAchivedMiracleInfo() || achivedMiracleInfo.equals(other.achivedMiracleInfo))
|
||||
&& (!hasMiracleIdList() || miracleIdList.equals(other.miracleIdList))
|
||||
&& (!hasFBCFOBKNEJB() || fBCFOBKNEJB.equals(other.fBCFOBKNEJB));
|
||||
&& (!hasRogueMiracleInfo() || rogueMiracleInfo.equals(other.rogueMiracleInfo))
|
||||
&& (!hasMiracleIdList() || miracleIdList.equals(other.miracleIdList));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 120);
|
||||
output.writeRawByte((byte) 56);
|
||||
output.writeBoolNoTag(showHandbookHint);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 58);
|
||||
output.writeMessageNoTag(achivedMiracleInfo);
|
||||
output.writeRawByte((byte) 106);
|
||||
output.writeMessageNoTag(rogueMiracleInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
for (int i = 0; i < miracleIdList.length(); i++) {
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeUInt32NoTag(miracleIdList.array()[i]);
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
for (int i = 0; i < fBCFOBKNEJB.length(); i++) {
|
||||
output.writeRawByte((byte) 96);
|
||||
output.writeUInt32NoTag(fBCFOBKNEJB.array()[i]);
|
||||
output.writeUInt32NoTag(miracleIdList.array()[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -389,14 +302,11 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
size += 2;
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(achivedMiracleInfo);
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueMiracleInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += (1 * miracleIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(miracleIdList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
size += (1 * fBCFOBKNEJB.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(fBCFOBKNEJB);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
@@ -407,37 +317,28 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 120: {
|
||||
case 56: {
|
||||
// showHandbookHint
|
||||
showHandbookHint = input.readBool();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 58) {
|
||||
if (tag != 106) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 58: {
|
||||
// achivedMiracleInfo
|
||||
input.readMessage(achivedMiracleInfo);
|
||||
case 106: {
|
||||
// rogueMiracleInfo
|
||||
input.readMessage(rogueMiracleInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 66) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 66: {
|
||||
// miracleIdList [packed=true]
|
||||
input.readPackedUInt32(miracleIdList, tag);
|
||||
bitField0_ |= 0x00000004;
|
||||
tag = input.readTag();
|
||||
if (tag != 98) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 98: {
|
||||
// fBCFOBKNEJB [packed=true]
|
||||
input.readPackedUInt32(fBCFOBKNEJB, tag);
|
||||
bitField0_ |= 0x00000008;
|
||||
// miracleIdList [packed=true]
|
||||
input.readPackedUInt32(miracleIdList, tag);
|
||||
bitField0_ |= 0x00000004;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
@@ -453,18 +354,12 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 96: {
|
||||
// miracleIdList [packed=false]
|
||||
tag = input.readRepeatedUInt32(miracleIdList, tag);
|
||||
bitField0_ |= 0x00000004;
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
// fBCFOBKNEJB [packed=false]
|
||||
tag = input.readRepeatedUInt32(fBCFOBKNEJB, tag);
|
||||
bitField0_ |= 0x00000008;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -476,14 +371,11 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
output.writeBool(FieldNames.showHandbookHint, showHandbookHint);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeMessage(FieldNames.achivedMiracleInfo, achivedMiracleInfo);
|
||||
output.writeMessage(FieldNames.rogueMiracleInfo, rogueMiracleInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRepeatedUInt32(FieldNames.miracleIdList, miracleIdList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeRepeatedUInt32(FieldNames.fBCFOBKNEJB, fBCFOBKNEJB);
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
@@ -506,11 +398,11 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -213623475:
|
||||
case -431790391: {
|
||||
if (input.isAtField(FieldNames.achivedMiracleInfo)) {
|
||||
case -452511099:
|
||||
case 1925436929: {
|
||||
if (input.isAtField(FieldNames.rogueMiracleInfo)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(achivedMiracleInfo);
|
||||
input.readMessage(rogueMiracleInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
@@ -530,17 +422,6 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1360731384: {
|
||||
if (input.isAtField(FieldNames.fBCFOBKNEJB)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedUInt32(fBCFOBKNEJB);
|
||||
bitField0_ |= 0x00000008;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
@@ -596,11 +477,9 @@ public final class RogueMiracleSelectInfoOuterClass {
|
||||
static class FieldNames {
|
||||
static final FieldName showHandbookHint = FieldName.forField("showHandbookHint", "show_handbook_hint");
|
||||
|
||||
static final FieldName achivedMiracleInfo = FieldName.forField("achivedMiracleInfo", "achived_miracle_info");
|
||||
static final FieldName rogueMiracleInfo = FieldName.forField("rogueMiracleInfo", "rogue_miracle_info");
|
||||
|
||||
static final FieldName miracleIdList = FieldName.forField("miracleIdList", "miracle_id_list");
|
||||
|
||||
static final FieldName fBCFOBKNEJB = FieldName.forField("FBCFOBKNEJB");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,453 @@
|
||||
// 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 RogueRecordAvatarOuterClass {
|
||||
/**
|
||||
* Protobuf type {@code RogueRecordAvatar}
|
||||
*/
|
||||
public static final class RogueRecordAvatar extends ProtoMessage<RogueRecordAvatar> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 slot = 8;</code>
|
||||
*/
|
||||
private int slot;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 id = 13;</code>
|
||||
*/
|
||||
private int id;
|
||||
|
||||
/**
|
||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
||||
*/
|
||||
private int avatarType;
|
||||
|
||||
private RogueRecordAvatar() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return a new empty instance of {@code RogueRecordAvatar}
|
||||
*/
|
||||
public static RogueRecordAvatar newInstance() {
|
||||
return new RogueRecordAvatar();
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 slot = 8;</code>
|
||||
* @return whether the slot field is set
|
||||
*/
|
||||
public boolean hasSlot() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 slot = 8;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordAvatar clearSlot() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
slot = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 slot = 8;</code>
|
||||
* @return the slot
|
||||
*/
|
||||
public int getSlot() {
|
||||
return slot;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 slot = 8;</code>
|
||||
* @param value the slot to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordAvatar setSlot(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
slot = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 id = 13;</code>
|
||||
* @return whether the id field is set
|
||||
*/
|
||||
public boolean hasId() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 id = 13;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordAvatar clearId() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
id = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 id = 13;</code>
|
||||
* @return the id
|
||||
*/
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 id = 13;</code>
|
||||
* @param value the id to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordAvatar setId(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
id = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
||||
* @return whether the avatarType field is set
|
||||
*/
|
||||
public boolean hasAvatarType() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordAvatar clearAvatarType() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
avatarType = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
||||
* @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 RogueRecordAvatar#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 RogueRecordAvatar#getAvatarType()} to return null
|
||||
*
|
||||
* @param value the numeric wire value to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordAvatar setAvatarTypeValue(final int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
avatarType = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
||||
* @param value the avatarType to set
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordAvatar setAvatarType(final AvatarTypeOuterClass.AvatarType value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
avatarType = value.getNumber();
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordAvatar copyFrom(final RogueRecordAvatar other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
slot = other.slot;
|
||||
id = other.id;
|
||||
avatarType = other.avatarType;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordAvatar mergeFrom(final RogueRecordAvatar other) {
|
||||
if (other.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasSlot()) {
|
||||
setSlot(other.slot);
|
||||
}
|
||||
if (other.hasId()) {
|
||||
setId(other.id);
|
||||
}
|
||||
if (other.hasAvatarType()) {
|
||||
setAvatarTypeValue(other.avatarType);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordAvatar clear() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
slot = 0;
|
||||
id = 0;
|
||||
avatarType = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordAvatar 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 RogueRecordAvatar)) {
|
||||
return false;
|
||||
}
|
||||
RogueRecordAvatar other = (RogueRecordAvatar) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!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) 64);
|
||||
output.writeUInt32NoTag(slot);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 104);
|
||||
output.writeUInt32NoTag(id);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRawByte((byte) 48);
|
||||
output.writeEnumNoTag(avatarType);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(slot);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(id);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += 1 + ProtoSink.computeEnumSizeNoTag(avatarType);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("fallthrough")
|
||||
public RogueRecordAvatar mergeFrom(final ProtoSource input) throws IOException {
|
||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 64: {
|
||||
// slot
|
||||
slot = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 104) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 104: {
|
||||
// id
|
||||
id = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 48) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 48: {
|
||||
// avatarType
|
||||
final int value = input.readInt32();
|
||||
if (AvatarTypeOuterClass.AvatarType.forNumber(value) != null) {
|
||||
avatarType = value;
|
||||
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.writeUInt32(FieldNames.slot, slot);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.id, id);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeEnum(FieldNames.avatarType, avatarType, AvatarTypeOuterClass.AvatarType.converter());
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordAvatar mergeFrom(final JsonSource input) throws IOException {
|
||||
if (!input.beginObject()) {
|
||||
return this;
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case 3533310: {
|
||||
if (input.isAtField(FieldNames.slot)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
slot = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 3355: {
|
||||
if (input.isAtField(FieldNames.id)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
id = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} 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_ |= 0x00000004;
|
||||
} else {
|
||||
input.skipUnknownEnumValue();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
input.endObject();
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordAvatar clone() {
|
||||
return new RogueRecordAvatar().copyFrom(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return ((bitField0_) == 0);
|
||||
}
|
||||
|
||||
public static RogueRecordAvatar parseFrom(final byte[] data) throws
|
||||
InvalidProtocolBufferException {
|
||||
return ProtoMessage.mergeFrom(new RogueRecordAvatar(), data).checkInitialized();
|
||||
}
|
||||
|
||||
public static RogueRecordAvatar parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new RogueRecordAvatar(), input).checkInitialized();
|
||||
}
|
||||
|
||||
public static RogueRecordAvatar parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new RogueRecordAvatar(), input).checkInitialized();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return factory for creating RogueRecordAvatar messages
|
||||
*/
|
||||
public static MessageFactory<RogueRecordAvatar> getFactory() {
|
||||
return RogueRecordAvatarFactory.INSTANCE;
|
||||
}
|
||||
|
||||
private enum RogueRecordAvatarFactory implements MessageFactory<RogueRecordAvatar> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public RogueRecordAvatar create() {
|
||||
return RogueRecordAvatar.newInstance();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName slot = FieldName.forField("slot");
|
||||
|
||||
static final FieldName id = FieldName.forField("id");
|
||||
|
||||
static final FieldName avatarType = FieldName.forField("avatarType", "avatar_type");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,532 @@
|
||||
// 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.RepeatedInt;
|
||||
import us.hebi.quickbuf.RepeatedMessage;
|
||||
|
||||
public final class RogueRecordInfoOuterClass {
|
||||
/**
|
||||
* Protobuf type {@code RogueRecordInfo}
|
||||
*/
|
||||
public static final class RogueRecordInfo extends ProtoMessage<RogueRecordInfo> implements Cloneable {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
||||
*/
|
||||
private final RepeatedInt rogueMiracleList = RepeatedInt.newEmptyInstance();
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueBuffOuterClass.RogueBuff> buffList = RepeatedMessage.newEmptyInstance(RogueBuffOuterClass.RogueBuff.getFactory());
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
||||
*/
|
||||
private final RepeatedMessage<RogueRecordAvatarOuterClass.RogueRecordAvatar> avatarList = RepeatedMessage.newEmptyInstance(RogueRecordAvatarOuterClass.RogueRecordAvatar.getFactory());
|
||||
|
||||
private RogueRecordInfo() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return a new empty instance of {@code RogueRecordInfo}
|
||||
*/
|
||||
public static RogueRecordInfo newInstance() {
|
||||
return new RogueRecordInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
||||
* @return whether the rogueMiracleList field is set
|
||||
*/
|
||||
public boolean hasRogueMiracleList() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordInfo clearRogueMiracleList() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
rogueMiracleList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
||||
*
|
||||
* 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 #getMutableRogueMiracleList()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RepeatedInt getRogueMiracleList() {
|
||||
return rogueMiracleList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
||||
*
|
||||
* 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 getMutableRogueMiracleList() {
|
||||
bitField0_ |= 0x00000001;
|
||||
return rogueMiracleList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
||||
* @param value the rogueMiracleList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordInfo addRogueMiracleList(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
rogueMiracleList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
||||
* @param values the rogueMiracleList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordInfo addAllRogueMiracleList(final int... values) {
|
||||
bitField0_ |= 0x00000001;
|
||||
rogueMiracleList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
||||
* @return whether the buffList field is set
|
||||
*/
|
||||
public boolean hasBuffList() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordInfo clearBuffList() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
buffList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
||||
*
|
||||
* 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 #getMutableBuffList()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RepeatedMessage<RogueBuffOuterClass.RogueBuff> getBuffList() {
|
||||
return buffList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
||||
*
|
||||
* 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<RogueBuffOuterClass.RogueBuff> getMutableBuffList() {
|
||||
bitField0_ |= 0x00000002;
|
||||
return buffList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
||||
* @param value the buffList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordInfo addBuffList(final RogueBuffOuterClass.RogueBuff value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
buffList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
||||
* @param values the buffList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordInfo addAllBuffList(final RogueBuffOuterClass.RogueBuff... values) {
|
||||
bitField0_ |= 0x00000002;
|
||||
buffList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
||||
* @return whether the avatarList field is set
|
||||
*/
|
||||
public boolean hasAvatarList() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordInfo clearAvatarList() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
avatarList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
||||
*
|
||||
* 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 RepeatedMessage<RogueRecordAvatarOuterClass.RogueRecordAvatar> getAvatarList() {
|
||||
return avatarList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
||||
*
|
||||
* 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<RogueRecordAvatarOuterClass.RogueRecordAvatar> getMutableAvatarList() {
|
||||
bitField0_ |= 0x00000004;
|
||||
return avatarList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
||||
* @param value the avatarList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordInfo addAvatarList(
|
||||
final RogueRecordAvatarOuterClass.RogueRecordAvatar value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
avatarList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
||||
* @param values the avatarList to add
|
||||
* @return this
|
||||
*/
|
||||
public RogueRecordInfo addAllAvatarList(
|
||||
final RogueRecordAvatarOuterClass.RogueRecordAvatar... values) {
|
||||
bitField0_ |= 0x00000004;
|
||||
avatarList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordInfo copyFrom(final RogueRecordInfo other) {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
rogueMiracleList.copyFrom(other.rogueMiracleList);
|
||||
buffList.copyFrom(other.buffList);
|
||||
avatarList.copyFrom(other.avatarList);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordInfo mergeFrom(final RogueRecordInfo other) {
|
||||
if (other.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasRogueMiracleList()) {
|
||||
getMutableRogueMiracleList().addAll(other.rogueMiracleList);
|
||||
}
|
||||
if (other.hasBuffList()) {
|
||||
getMutableBuffList().addAll(other.buffList);
|
||||
}
|
||||
if (other.hasAvatarList()) {
|
||||
getMutableAvatarList().addAll(other.avatarList);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordInfo clear() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
rogueMiracleList.clear();
|
||||
buffList.clear();
|
||||
avatarList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordInfo clearQuick() {
|
||||
if (isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
rogueMiracleList.clear();
|
||||
buffList.clearQuick();
|
||||
avatarList.clearQuick();
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof RogueRecordInfo)) {
|
||||
return false;
|
||||
}
|
||||
RogueRecordInfo other = (RogueRecordInfo) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasRogueMiracleList() || rogueMiracleList.equals(other.rogueMiracleList))
|
||||
&& (!hasBuffList() || buffList.equals(other.buffList))
|
||||
&& (!hasAvatarList() || avatarList.equals(other.avatarList));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
for (int i = 0; i < rogueMiracleList.length(); i++) {
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeUInt32NoTag(rogueMiracleList.array()[i]);
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
for (int i = 0; i < buffList.length(); i++) {
|
||||
output.writeRawByte((byte) 50);
|
||||
output.writeMessageNoTag(buffList.get(i));
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 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 * rogueMiracleList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(rogueMiracleList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += (1 * buffList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(buffList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += (1 * avatarList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(avatarList);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("fallthrough")
|
||||
public RogueRecordInfo mergeFrom(final ProtoSource input) throws IOException {
|
||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 66: {
|
||||
// rogueMiracleList [packed=true]
|
||||
input.readPackedUInt32(rogueMiracleList, tag);
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 50) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 50: {
|
||||
// buffList
|
||||
tag = input.readRepeatedMessage(buffList, tag);
|
||||
bitField0_ |= 0x00000002;
|
||||
if (tag != 58) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 58: {
|
||||
// avatarList
|
||||
tag = input.readRepeatedMessage(avatarList, tag);
|
||||
bitField0_ |= 0x00000004;
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 0: {
|
||||
return this;
|
||||
}
|
||||
default: {
|
||||
if (!input.skipField(tag)) {
|
||||
return this;
|
||||
}
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
// rogueMiracleList [packed=false]
|
||||
tag = input.readRepeatedUInt32(rogueMiracleList, tag);
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRepeatedUInt32(FieldNames.rogueMiracleList, rogueMiracleList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.buffList, buffList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.avatarList, avatarList);
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordInfo mergeFrom(final JsonSource input) throws IOException {
|
||||
if (!input.beginObject()) {
|
||||
return this;
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case -452426123:
|
||||
case 1925521905: {
|
||||
if (input.isAtField(FieldNames.rogueMiracleList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedUInt32(rogueMiracleList);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1522789487:
|
||||
case 55792906: {
|
||||
if (input.isAtField(FieldNames.buffList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(buffList);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -403402345:
|
||||
case 397055940: {
|
||||
if (input.isAtField(FieldNames.avatarList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(avatarList);
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
input.skipUnknownField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
input.endObject();
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RogueRecordInfo clone() {
|
||||
return new RogueRecordInfo().copyFrom(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return ((bitField0_) == 0);
|
||||
}
|
||||
|
||||
public static RogueRecordInfo parseFrom(final byte[] data) throws
|
||||
InvalidProtocolBufferException {
|
||||
return ProtoMessage.mergeFrom(new RogueRecordInfo(), data).checkInitialized();
|
||||
}
|
||||
|
||||
public static RogueRecordInfo parseFrom(final ProtoSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new RogueRecordInfo(), input).checkInitialized();
|
||||
}
|
||||
|
||||
public static RogueRecordInfo parseFrom(final JsonSource input) throws IOException {
|
||||
return ProtoMessage.mergeFrom(new RogueRecordInfo(), input).checkInitialized();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return factory for creating RogueRecordInfo messages
|
||||
*/
|
||||
public static MessageFactory<RogueRecordInfo> getFactory() {
|
||||
return RogueRecordInfoFactory.INSTANCE;
|
||||
}
|
||||
|
||||
private enum RogueRecordInfoFactory implements MessageFactory<RogueRecordInfo> {
|
||||
INSTANCE;
|
||||
|
||||
@Override
|
||||
public RogueRecordInfo create() {
|
||||
return RogueRecordInfo.newInstance();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName rogueMiracleList = FieldName.forField("rogueMiracleList", "rogue_miracle_list");
|
||||
|
||||
static final FieldName buffList = FieldName.forField("buffList", "buff_list");
|
||||
|
||||
static final FieldName avatarList = FieldName.forField("avatarList", "avatar_list");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,14 +19,14 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 14;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
*/
|
||||
private int retcode;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo rogue_buff_select_info = 10;</code>
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 5;</code>
|
||||
*/
|
||||
private final RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo rogueBuffSelectInfo = RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo.newInstance();
|
||||
private final RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo buffSelectInfo = RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo.newInstance();
|
||||
|
||||
private RollRogueBuffScRsp() {
|
||||
}
|
||||
@@ -39,7 +39,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 14;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
* @return whether the retcode field is set
|
||||
*/
|
||||
public boolean hasRetcode() {
|
||||
@@ -47,7 +47,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 14;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RollRogueBuffScRsp clearRetcode() {
|
||||
@@ -57,7 +57,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 14;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
* @return the retcode
|
||||
*/
|
||||
public int getRetcode() {
|
||||
@@ -65,7 +65,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 14;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
* @param value the retcode to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -76,39 +76,39 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo rogue_buff_select_info = 10;</code>
|
||||
* @return whether the rogueBuffSelectInfo field is set
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 5;</code>
|
||||
* @return whether the buffSelectInfo field is set
|
||||
*/
|
||||
public boolean hasRogueBuffSelectInfo() {
|
||||
public boolean hasBuffSelectInfo() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo rogue_buff_select_info = 10;</code>
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 5;</code>
|
||||
* @return this
|
||||
*/
|
||||
public RollRogueBuffScRsp clearRogueBuffSelectInfo() {
|
||||
public RollRogueBuffScRsp clearBuffSelectInfo() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
rogueBuffSelectInfo.clear();
|
||||
buffSelectInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo rogue_buff_select_info = 10;</code>
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 5;</code>
|
||||
*
|
||||
* 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 #getMutableRogueBuffSelectInfo()} if you want to modify it.
|
||||
* Use {@link #getMutableBuffSelectInfo()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo getRogueBuffSelectInfo() {
|
||||
return rogueBuffSelectInfo;
|
||||
public RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo getBuffSelectInfo() {
|
||||
return buffSelectInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo rogue_buff_select_info = 10;</code>
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 5;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -116,20 +116,20 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
*
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo getMutableRogueBuffSelectInfo() {
|
||||
public RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo getMutableBuffSelectInfo() {
|
||||
bitField0_ |= 0x00000002;
|
||||
return rogueBuffSelectInfo;
|
||||
return buffSelectInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo rogue_buff_select_info = 10;</code>
|
||||
* @param value the rogueBuffSelectInfo to set
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 5;</code>
|
||||
* @param value the buffSelectInfo to set
|
||||
* @return this
|
||||
*/
|
||||
public RollRogueBuffScRsp setRogueBuffSelectInfo(
|
||||
public RollRogueBuffScRsp setBuffSelectInfo(
|
||||
final RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
rogueBuffSelectInfo.copyFrom(value);
|
||||
buffSelectInfo.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
retcode = other.retcode;
|
||||
rogueBuffSelectInfo.copyFrom(other.rogueBuffSelectInfo);
|
||||
buffSelectInfo.copyFrom(other.buffSelectInfo);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -153,8 +153,8 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
if (other.hasRetcode()) {
|
||||
setRetcode(other.retcode);
|
||||
}
|
||||
if (other.hasRogueBuffSelectInfo()) {
|
||||
getMutableRogueBuffSelectInfo().mergeFrom(other.rogueBuffSelectInfo);
|
||||
if (other.hasBuffSelectInfo()) {
|
||||
getMutableBuffSelectInfo().mergeFrom(other.buffSelectInfo);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -167,7 +167,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
retcode = 0;
|
||||
rogueBuffSelectInfo.clear();
|
||||
buffSelectInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
rogueBuffSelectInfo.clearQuick();
|
||||
buffSelectInfo.clearQuick();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -193,18 +193,18 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
RollRogueBuffScRsp other = (RollRogueBuffScRsp) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasRetcode() || retcode == other.retcode)
|
||||
&& (!hasRogueBuffSelectInfo() || rogueBuffSelectInfo.equals(other.rogueBuffSelectInfo));
|
||||
&& (!hasBuffSelectInfo() || buffSelectInfo.equals(other.buffSelectInfo));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 112);
|
||||
output.writeRawByte((byte) 8);
|
||||
output.writeUInt32NoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 82);
|
||||
output.writeMessageNoTag(rogueBuffSelectInfo);
|
||||
output.writeRawByte((byte) 42);
|
||||
output.writeMessageNoTag(buffSelectInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -215,7 +215,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueBuffSelectInfo);
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(buffSelectInfo);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
@@ -227,18 +227,18 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 112: {
|
||||
case 8: {
|
||||
// retcode
|
||||
retcode = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 82) {
|
||||
if (tag != 42) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 82: {
|
||||
// rogueBuffSelectInfo
|
||||
input.readMessage(rogueBuffSelectInfo);
|
||||
case 42: {
|
||||
// buffSelectInfo
|
||||
input.readMessage(buffSelectInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
@@ -266,7 +266,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
output.writeUInt32(FieldNames.retcode, retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeMessage(FieldNames.rogueBuffSelectInfo, rogueBuffSelectInfo);
|
||||
output.writeMessage(FieldNames.buffSelectInfo, buffSelectInfo);
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
@@ -289,11 +289,11 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -2050730761:
|
||||
case 1692632042: {
|
||||
if (input.isAtField(FieldNames.rogueBuffSelectInfo)) {
|
||||
case -255242115:
|
||||
case 1500540965: {
|
||||
if (input.isAtField(FieldNames.buffSelectInfo)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(rogueBuffSelectInfo);
|
||||
input.readMessage(buffSelectInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
@@ -356,7 +356,7 @@ public final class RollRogueBuffScRspOuterClass {
|
||||
static class FieldNames {
|
||||
static final FieldName retcode = FieldName.forField("retcode");
|
||||
|
||||
static final FieldName rogueBuffSelectInfo = FieldName.forField("rogueBuffSelectInfo", "rogue_buff_select_info");
|
||||
static final FieldName buffSelectInfo = FieldName.forField("buffSelectInfo", "buff_select_info");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
import us.hebi.quickbuf.RepeatedMessage;
|
||||
|
||||
public final class SceneInfoOuterClass {
|
||||
@@ -54,6 +55,16 @@ public final class SceneInfoOuterClass {
|
||||
*/
|
||||
private int entryId;
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 lighten_section_list = 4;</code>
|
||||
*/
|
||||
private final RepeatedInt lightenSectionList = RepeatedInt.newEmptyInstance();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 group_id_list = 15;</code>
|
||||
*/
|
||||
private final RepeatedInt groupIdList = RepeatedInt.newEmptyInstance();
|
||||
|
||||
/**
|
||||
* <code>repeated .SceneEntityInfo entity_list = 9;</code>
|
||||
*/
|
||||
@@ -338,12 +349,148 @@ public final class SceneInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 lighten_section_list = 4;</code>
|
||||
* @return whether the lightenSectionList field is set
|
||||
*/
|
||||
public boolean hasLightenSectionList() {
|
||||
return (bitField0_ & 0x00000080) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 lighten_section_list = 4;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo clearLightenSectionList() {
|
||||
bitField0_ &= ~0x00000080;
|
||||
lightenSectionList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 lighten_section_list = 4;</code>
|
||||
*
|
||||
* 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 #getMutableLightenSectionList()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RepeatedInt getLightenSectionList() {
|
||||
return lightenSectionList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 lighten_section_list = 4;</code>
|
||||
*
|
||||
* 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 getMutableLightenSectionList() {
|
||||
bitField0_ |= 0x00000080;
|
||||
return lightenSectionList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 lighten_section_list = 4;</code>
|
||||
* @param value the lightenSectionList to add
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo addLightenSectionList(final int value) {
|
||||
bitField0_ |= 0x00000080;
|
||||
lightenSectionList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 lighten_section_list = 4;</code>
|
||||
* @param values the lightenSectionList to add
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo addAllLightenSectionList(final int... values) {
|
||||
bitField0_ |= 0x00000080;
|
||||
lightenSectionList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 group_id_list = 15;</code>
|
||||
* @return whether the groupIdList field is set
|
||||
*/
|
||||
public boolean hasGroupIdList() {
|
||||
return (bitField0_ & 0x00000100) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 group_id_list = 15;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo clearGroupIdList() {
|
||||
bitField0_ &= ~0x00000100;
|
||||
groupIdList.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 group_id_list = 15;</code>
|
||||
*
|
||||
* 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 #getMutableGroupIdList()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RepeatedInt getGroupIdList() {
|
||||
return groupIdList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 group_id_list = 15;</code>
|
||||
*
|
||||
* 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 getMutableGroupIdList() {
|
||||
bitField0_ |= 0x00000100;
|
||||
return groupIdList;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 group_id_list = 15;</code>
|
||||
* @param value the groupIdList to add
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo addGroupIdList(final int value) {
|
||||
bitField0_ |= 0x00000100;
|
||||
groupIdList.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 group_id_list = 15;</code>
|
||||
* @param values the groupIdList to add
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo addAllGroupIdList(final int... values) {
|
||||
bitField0_ |= 0x00000100;
|
||||
groupIdList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .SceneEntityInfo entity_list = 9;</code>
|
||||
* @return whether the entityList field is set
|
||||
*/
|
||||
public boolean hasEntityList() {
|
||||
return (bitField0_ & 0x00000080) != 0;
|
||||
return (bitField0_ & 0x00000200) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -351,7 +498,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo clearEntityList() {
|
||||
bitField0_ &= ~0x00000080;
|
||||
bitField0_ &= ~0x00000200;
|
||||
entityList.clear();
|
||||
return this;
|
||||
}
|
||||
@@ -380,7 +527,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RepeatedMessage<SceneEntityInfoOuterClass.SceneEntityInfo> getMutableEntityList() {
|
||||
bitField0_ |= 0x00000080;
|
||||
bitField0_ |= 0x00000200;
|
||||
return entityList;
|
||||
}
|
||||
|
||||
@@ -390,7 +537,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo addEntityList(final SceneEntityInfoOuterClass.SceneEntityInfo value) {
|
||||
bitField0_ |= 0x00000080;
|
||||
bitField0_ |= 0x00000200;
|
||||
entityList.add(value);
|
||||
return this;
|
||||
}
|
||||
@@ -401,7 +548,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo addAllEntityList(final SceneEntityInfoOuterClass.SceneEntityInfo... values) {
|
||||
bitField0_ |= 0x00000080;
|
||||
bitField0_ |= 0x00000200;
|
||||
entityList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
@@ -411,7 +558,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return whether the entityGroupList field is set
|
||||
*/
|
||||
public boolean hasEntityGroupList() {
|
||||
return (bitField0_ & 0x00000100) != 0;
|
||||
return (bitField0_ & 0x00000400) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -419,7 +566,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo clearEntityGroupList() {
|
||||
bitField0_ &= ~0x00000100;
|
||||
bitField0_ &= ~0x00000400;
|
||||
entityGroupList.clear();
|
||||
return this;
|
||||
}
|
||||
@@ -450,7 +597,7 @@ public final class SceneInfoOuterClass {
|
||||
*/
|
||||
public RepeatedMessage<SceneEntityGroupInfoOuterClass.SceneEntityGroupInfo> getMutableEntityGroupList(
|
||||
) {
|
||||
bitField0_ |= 0x00000100;
|
||||
bitField0_ |= 0x00000400;
|
||||
return entityGroupList;
|
||||
}
|
||||
|
||||
@@ -461,7 +608,7 @@ public final class SceneInfoOuterClass {
|
||||
*/
|
||||
public SceneInfo addEntityGroupList(
|
||||
final SceneEntityGroupInfoOuterClass.SceneEntityGroupInfo value) {
|
||||
bitField0_ |= 0x00000100;
|
||||
bitField0_ |= 0x00000400;
|
||||
entityGroupList.add(value);
|
||||
return this;
|
||||
}
|
||||
@@ -473,7 +620,7 @@ public final class SceneInfoOuterClass {
|
||||
*/
|
||||
public SceneInfo addAllEntityGroupList(
|
||||
final SceneEntityGroupInfoOuterClass.SceneEntityGroupInfo... values) {
|
||||
bitField0_ |= 0x00000100;
|
||||
bitField0_ |= 0x00000400;
|
||||
entityGroupList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
@@ -483,7 +630,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return whether the groupStateList field is set
|
||||
*/
|
||||
public boolean hasGroupStateList() {
|
||||
return (bitField0_ & 0x00000200) != 0;
|
||||
return (bitField0_ & 0x00000800) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -491,7 +638,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo clearGroupStateList() {
|
||||
bitField0_ &= ~0x00000200;
|
||||
bitField0_ &= ~0x00000800;
|
||||
groupStateList.clear();
|
||||
return this;
|
||||
}
|
||||
@@ -520,7 +667,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RepeatedMessage<SceneGroupStateOuterClass.SceneGroupState> getMutableGroupStateList() {
|
||||
bitField0_ |= 0x00000200;
|
||||
bitField0_ |= 0x00000800;
|
||||
return groupStateList;
|
||||
}
|
||||
|
||||
@@ -530,7 +677,7 @@ public final class SceneInfoOuterClass {
|
||||
* @return this
|
||||
*/
|
||||
public SceneInfo addGroupStateList(final SceneGroupStateOuterClass.SceneGroupState value) {
|
||||
bitField0_ |= 0x00000200;
|
||||
bitField0_ |= 0x00000800;
|
||||
groupStateList.add(value);
|
||||
return this;
|
||||
}
|
||||
@@ -542,7 +689,7 @@ public final class SceneInfoOuterClass {
|
||||
*/
|
||||
public SceneInfo addAllGroupStateList(
|
||||
final SceneGroupStateOuterClass.SceneGroupState... values) {
|
||||
bitField0_ |= 0x00000200;
|
||||
bitField0_ |= 0x00000800;
|
||||
groupStateList.addAll(values);
|
||||
return this;
|
||||
}
|
||||
@@ -559,6 +706,8 @@ public final class SceneInfoOuterClass {
|
||||
gameModeType = other.gameModeType;
|
||||
planeId = other.planeId;
|
||||
entryId = other.entryId;
|
||||
lightenSectionList.copyFrom(other.lightenSectionList);
|
||||
groupIdList.copyFrom(other.groupIdList);
|
||||
entityList.copyFrom(other.entityList);
|
||||
entityGroupList.copyFrom(other.entityGroupList);
|
||||
groupStateList.copyFrom(other.groupStateList);
|
||||
@@ -593,6 +742,12 @@ public final class SceneInfoOuterClass {
|
||||
if (other.hasEntryId()) {
|
||||
setEntryId(other.entryId);
|
||||
}
|
||||
if (other.hasLightenSectionList()) {
|
||||
getMutableLightenSectionList().addAll(other.lightenSectionList);
|
||||
}
|
||||
if (other.hasGroupIdList()) {
|
||||
getMutableGroupIdList().addAll(other.groupIdList);
|
||||
}
|
||||
if (other.hasEntityList()) {
|
||||
getMutableEntityList().addAll(other.entityList);
|
||||
}
|
||||
@@ -619,6 +774,8 @@ public final class SceneInfoOuterClass {
|
||||
gameModeType = 0;
|
||||
planeId = 0;
|
||||
entryId = 0;
|
||||
lightenSectionList.clear();
|
||||
groupIdList.clear();
|
||||
entityList.clear();
|
||||
entityGroupList.clear();
|
||||
groupStateList.clear();
|
||||
@@ -632,6 +789,8 @@ public final class SceneInfoOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
lightenSectionList.clear();
|
||||
groupIdList.clear();
|
||||
entityList.clearQuick();
|
||||
entityGroupList.clearQuick();
|
||||
groupStateList.clearQuick();
|
||||
@@ -655,6 +814,8 @@ public final class SceneInfoOuterClass {
|
||||
&& (!hasGameModeType() || gameModeType == other.gameModeType)
|
||||
&& (!hasPlaneId() || planeId == other.planeId)
|
||||
&& (!hasEntryId() || entryId == other.entryId)
|
||||
&& (!hasLightenSectionList() || lightenSectionList.equals(other.lightenSectionList))
|
||||
&& (!hasGroupIdList() || groupIdList.equals(other.groupIdList))
|
||||
&& (!hasEntityList() || entityList.equals(other.entityList))
|
||||
&& (!hasEntityGroupList() || entityGroupList.equals(other.entityGroupList))
|
||||
&& (!hasGroupStateList() || groupStateList.equals(other.groupStateList));
|
||||
@@ -691,18 +852,30 @@ public final class SceneInfoOuterClass {
|
||||
output.writeUInt32NoTag(entryId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000080) != 0) {
|
||||
for (int i = 0; i < lightenSectionList.length(); i++) {
|
||||
output.writeRawByte((byte) 32);
|
||||
output.writeUInt32NoTag(lightenSectionList.array()[i]);
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000100) != 0) {
|
||||
for (int i = 0; i < groupIdList.length(); i++) {
|
||||
output.writeRawByte((byte) 120);
|
||||
output.writeUInt32NoTag(groupIdList.array()[i]);
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000200) != 0) {
|
||||
for (int i = 0; i < entityList.length(); i++) {
|
||||
output.writeRawByte((byte) 74);
|
||||
output.writeMessageNoTag(entityList.get(i));
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000100) != 0) {
|
||||
if ((bitField0_ & 0x00000400) != 0) {
|
||||
for (int i = 0; i < entityGroupList.length(); i++) {
|
||||
output.writeRawLittleEndian16((short) 7594);
|
||||
output.writeMessageNoTag(entityGroupList.get(i));
|
||||
}
|
||||
}
|
||||
if ((bitField0_ & 0x00000200) != 0) {
|
||||
if ((bitField0_ & 0x00000800) != 0) {
|
||||
for (int i = 0; i < groupStateList.length(); i++) {
|
||||
output.writeRawLittleEndian16((short) 11962);
|
||||
output.writeMessageNoTag(groupStateList.get(i));
|
||||
@@ -735,12 +908,18 @@ public final class SceneInfoOuterClass {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(entryId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000080) != 0) {
|
||||
size += (1 * entityList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(entityList);
|
||||
size += (1 * lightenSectionList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(lightenSectionList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000100) != 0) {
|
||||
size += (2 * entityGroupList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(entityGroupList);
|
||||
size += (1 * groupIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(groupIdList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000200) != 0) {
|
||||
size += (1 * entityList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(entityList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000400) != 0) {
|
||||
size += (2 * entityGroupList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(entityGroupList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000800) != 0) {
|
||||
size += (2 * groupStateList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(groupStateList);
|
||||
}
|
||||
return size;
|
||||
@@ -812,6 +991,24 @@ public final class SceneInfoOuterClass {
|
||||
entryId = input.readUInt32();
|
||||
bitField0_ |= 0x00000040;
|
||||
tag = input.readTag();
|
||||
if (tag != 34) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 34: {
|
||||
// lightenSectionList [packed=true]
|
||||
input.readPackedUInt32(lightenSectionList, tag);
|
||||
bitField0_ |= 0x00000080;
|
||||
tag = input.readTag();
|
||||
if (tag != 122) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 122: {
|
||||
// groupIdList [packed=true]
|
||||
input.readPackedUInt32(groupIdList, tag);
|
||||
bitField0_ |= 0x00000100;
|
||||
tag = input.readTag();
|
||||
if (tag != 74) {
|
||||
break;
|
||||
}
|
||||
@@ -819,7 +1016,7 @@ public final class SceneInfoOuterClass {
|
||||
case 74: {
|
||||
// entityList
|
||||
tag = input.readRepeatedMessage(entityList, tag);
|
||||
bitField0_ |= 0x00000080;
|
||||
bitField0_ |= 0x00000200;
|
||||
if (tag != 3754) {
|
||||
break;
|
||||
}
|
||||
@@ -827,7 +1024,7 @@ public final class SceneInfoOuterClass {
|
||||
case 3754: {
|
||||
// entityGroupList
|
||||
tag = input.readRepeatedMessage(entityGroupList, tag);
|
||||
bitField0_ |= 0x00000100;
|
||||
bitField0_ |= 0x00000400;
|
||||
if (tag != 5946) {
|
||||
break;
|
||||
}
|
||||
@@ -835,7 +1032,7 @@ public final class SceneInfoOuterClass {
|
||||
case 5946: {
|
||||
// groupStateList
|
||||
tag = input.readRepeatedMessage(groupStateList, tag);
|
||||
bitField0_ |= 0x00000200;
|
||||
bitField0_ |= 0x00000800;
|
||||
if (tag != 0) {
|
||||
break;
|
||||
}
|
||||
@@ -850,6 +1047,18 @@ public final class SceneInfoOuterClass {
|
||||
tag = input.readTag();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
// lightenSectionList [packed=false]
|
||||
tag = input.readRepeatedUInt32(lightenSectionList, tag);
|
||||
bitField0_ |= 0x00000080;
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
// groupIdList [packed=false]
|
||||
tag = input.readRepeatedUInt32(groupIdList, tag);
|
||||
bitField0_ |= 0x00000100;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -879,12 +1088,18 @@ public final class SceneInfoOuterClass {
|
||||
output.writeUInt32(FieldNames.entryId, entryId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000080) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.entityList, entityList);
|
||||
output.writeRepeatedUInt32(FieldNames.lightenSectionList, lightenSectionList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000100) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.entityGroupList, entityGroupList);
|
||||
output.writeRepeatedUInt32(FieldNames.groupIdList, groupIdList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000200) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.entityList, entityList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000400) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.entityGroupList, entityGroupList);
|
||||
}
|
||||
if ((bitField0_ & 0x00000800) != 0) {
|
||||
output.writeRepeatedMessage(FieldNames.groupStateList, groupStateList);
|
||||
}
|
||||
output.endObject();
|
||||
@@ -981,12 +1196,36 @@ public final class SceneInfoOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1942343836:
|
||||
case 1328850360: {
|
||||
if (input.isAtField(FieldNames.lightenSectionList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedUInt32(lightenSectionList);
|
||||
bitField0_ |= 0x00000080;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 457110456:
|
||||
case 1703805826: {
|
||||
if (input.isAtField(FieldNames.groupIdList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedUInt32(groupIdList);
|
||||
bitField0_ |= 0x00000100;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -1483251935:
|
||||
case 1281457018: {
|
||||
if (input.isAtField(FieldNames.entityList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(entityList);
|
||||
bitField0_ |= 0x00000080;
|
||||
bitField0_ |= 0x00000200;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -998,7 +1237,7 @@ public final class SceneInfoOuterClass {
|
||||
if (input.isAtField(FieldNames.entityGroupList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(entityGroupList);
|
||||
bitField0_ |= 0x00000100;
|
||||
bitField0_ |= 0x00000400;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -1010,7 +1249,7 @@ public final class SceneInfoOuterClass {
|
||||
if (input.isAtField(FieldNames.groupStateList)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readRepeatedMessage(groupStateList);
|
||||
bitField0_ |= 0x00000200;
|
||||
bitField0_ |= 0x00000800;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -1083,6 +1322,10 @@ public final class SceneInfoOuterClass {
|
||||
|
||||
static final FieldName entryId = FieldName.forField("entryId", "entry_id");
|
||||
|
||||
static final FieldName lightenSectionList = FieldName.forField("lightenSectionList", "lighten_section_list");
|
||||
|
||||
static final FieldName groupIdList = FieldName.forField("groupIdList", "group_id_list");
|
||||
|
||||
static final FieldName entityList = FieldName.forField("entityList", "entity_list");
|
||||
|
||||
static final FieldName entityGroupList = FieldName.forField("entityGroupList", "entity_group_list");
|
||||
|
||||
@@ -19,22 +19,22 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_level = 6;</code>
|
||||
*/
|
||||
private int mazeBuffLevel;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_id = 12;</code>
|
||||
* <code>optional uint32 maze_buff_id = 4;</code>
|
||||
*/
|
||||
private int mazeBuffId;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 15;</code>
|
||||
* <code>optional uint32 retcode = 7;</code>
|
||||
*/
|
||||
private int retcode;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 2;</code>
|
||||
* <code>optional uint32 maze_buff_level = 14;</code>
|
||||
*/
|
||||
private int mazeBuffLevel;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 6;</code>
|
||||
*/
|
||||
private final RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo buffSelectInfo = RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo.newInstance();
|
||||
|
||||
@@ -49,62 +49,25 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_level = 6;</code>
|
||||
* @return whether the mazeBuffLevel field is set
|
||||
* <code>optional uint32 maze_buff_id = 4;</code>
|
||||
* @return whether the mazeBuffId field is set
|
||||
*/
|
||||
public boolean hasMazeBuffLevel() {
|
||||
public boolean hasMazeBuffId() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_level = 6;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueBuffScRsp clearMazeBuffLevel() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
mazeBuffLevel = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_level = 6;</code>
|
||||
* @return the mazeBuffLevel
|
||||
*/
|
||||
public int getMazeBuffLevel() {
|
||||
return mazeBuffLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_level = 6;</code>
|
||||
* @param value the mazeBuffLevel to set
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueBuffScRsp setMazeBuffLevel(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
mazeBuffLevel = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_id = 12;</code>
|
||||
* @return whether the mazeBuffId field is set
|
||||
*/
|
||||
public boolean hasMazeBuffId() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_id = 12;</code>
|
||||
* <code>optional uint32 maze_buff_id = 4;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueBuffScRsp clearMazeBuffId() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
bitField0_ &= ~0x00000001;
|
||||
mazeBuffId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_id = 12;</code>
|
||||
* <code>optional uint32 maze_buff_id = 4;</code>
|
||||
* @return the mazeBuffId
|
||||
*/
|
||||
public int getMazeBuffId() {
|
||||
@@ -112,36 +75,36 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_id = 12;</code>
|
||||
* <code>optional uint32 maze_buff_id = 4;</code>
|
||||
* @param value the mazeBuffId to set
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueBuffScRsp setMazeBuffId(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
mazeBuffId = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 15;</code>
|
||||
* <code>optional uint32 retcode = 7;</code>
|
||||
* @return whether the retcode field is set
|
||||
*/
|
||||
public boolean hasRetcode() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 15;</code>
|
||||
* <code>optional uint32 retcode = 7;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueBuffScRsp clearRetcode() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
bitField0_ &= ~0x00000002;
|
||||
retcode = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 15;</code>
|
||||
* <code>optional uint32 retcode = 7;</code>
|
||||
* @return the retcode
|
||||
*/
|
||||
public int getRetcode() {
|
||||
@@ -149,18 +112,55 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 15;</code>
|
||||
* <code>optional uint32 retcode = 7;</code>
|
||||
* @param value the retcode to set
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueBuffScRsp setRetcode(final int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
bitField0_ |= 0x00000002;
|
||||
retcode = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 2;</code>
|
||||
* <code>optional uint32 maze_buff_level = 14;</code>
|
||||
* @return whether the mazeBuffLevel field is set
|
||||
*/
|
||||
public boolean hasMazeBuffLevel() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_level = 14;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueBuffScRsp clearMazeBuffLevel() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
mazeBuffLevel = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_level = 14;</code>
|
||||
* @return the mazeBuffLevel
|
||||
*/
|
||||
public int getMazeBuffLevel() {
|
||||
return mazeBuffLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 maze_buff_level = 14;</code>
|
||||
* @param value the mazeBuffLevel to set
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueBuffScRsp setMazeBuffLevel(final int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
mazeBuffLevel = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 6;</code>
|
||||
* @return whether the buffSelectInfo field is set
|
||||
*/
|
||||
public boolean hasBuffSelectInfo() {
|
||||
@@ -168,7 +168,7 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 2;</code>
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 6;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueBuffScRsp clearBuffSelectInfo() {
|
||||
@@ -178,7 +178,7 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 2;</code>
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 6;</code>
|
||||
*
|
||||
* 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 SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 2;</code>
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 6;</code>
|
||||
*
|
||||
* 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 SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 2;</code>
|
||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 6;</code>
|
||||
* @param value the buffSelectInfo to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -222,9 +222,9 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
mazeBuffLevel = other.mazeBuffLevel;
|
||||
mazeBuffId = other.mazeBuffId;
|
||||
retcode = other.retcode;
|
||||
mazeBuffLevel = other.mazeBuffLevel;
|
||||
buffSelectInfo.copyFrom(other.buffSelectInfo);
|
||||
}
|
||||
return this;
|
||||
@@ -236,15 +236,15 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasMazeBuffLevel()) {
|
||||
setMazeBuffLevel(other.mazeBuffLevel);
|
||||
}
|
||||
if (other.hasMazeBuffId()) {
|
||||
setMazeBuffId(other.mazeBuffId);
|
||||
}
|
||||
if (other.hasRetcode()) {
|
||||
setRetcode(other.retcode);
|
||||
}
|
||||
if (other.hasMazeBuffLevel()) {
|
||||
setMazeBuffLevel(other.mazeBuffLevel);
|
||||
}
|
||||
if (other.hasBuffSelectInfo()) {
|
||||
getMutableBuffSelectInfo().mergeFrom(other.buffSelectInfo);
|
||||
}
|
||||
@@ -258,9 +258,9 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
mazeBuffLevel = 0;
|
||||
mazeBuffId = 0;
|
||||
retcode = 0;
|
||||
mazeBuffLevel = 0;
|
||||
buffSelectInfo.clear();
|
||||
return this;
|
||||
}
|
||||
@@ -286,28 +286,28 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
SelectRogueBuffScRsp other = (SelectRogueBuffScRsp) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasMazeBuffLevel() || mazeBuffLevel == other.mazeBuffLevel)
|
||||
&& (!hasMazeBuffId() || mazeBuffId == other.mazeBuffId)
|
||||
&& (!hasRetcode() || retcode == other.retcode)
|
||||
&& (!hasMazeBuffLevel() || mazeBuffLevel == other.mazeBuffLevel)
|
||||
&& (!hasBuffSelectInfo() || buffSelectInfo.equals(other.buffSelectInfo));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 48);
|
||||
output.writeUInt32NoTag(mazeBuffLevel);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 96);
|
||||
output.writeRawByte((byte) 32);
|
||||
output.writeUInt32NoTag(mazeBuffId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRawByte((byte) 120);
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 56);
|
||||
output.writeUInt32NoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRawByte((byte) 112);
|
||||
output.writeUInt32NoTag(mazeBuffLevel);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeRawByte((byte) 18);
|
||||
output.writeRawByte((byte) 50);
|
||||
output.writeMessageNoTag(buffSelectInfo);
|
||||
}
|
||||
}
|
||||
@@ -316,14 +316,14 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(mazeBuffLevel);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(mazeBuffId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(mazeBuffLevel);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(buffSelectInfo);
|
||||
}
|
||||
@@ -337,34 +337,34 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 48: {
|
||||
// mazeBuffLevel
|
||||
mazeBuffLevel = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 96) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 96: {
|
||||
case 32: {
|
||||
// mazeBuffId
|
||||
mazeBuffId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 120) {
|
||||
if (tag != 56) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 120: {
|
||||
case 56: {
|
||||
// retcode
|
||||
retcode = input.readUInt32();
|
||||
bitField0_ |= 0x00000004;
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 18) {
|
||||
if (tag != 112) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 18: {
|
||||
case 112: {
|
||||
// mazeBuffLevel
|
||||
mazeBuffLevel = input.readUInt32();
|
||||
bitField0_ |= 0x00000004;
|
||||
tag = input.readTag();
|
||||
if (tag != 50) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 50: {
|
||||
// buffSelectInfo
|
||||
input.readMessage(buffSelectInfo);
|
||||
bitField0_ |= 0x00000008;
|
||||
@@ -391,14 +391,14 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.mazeBuffLevel, mazeBuffLevel);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.mazeBuffId, mazeBuffId);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.retcode, retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeUInt32(FieldNames.mazeBuffLevel, mazeBuffLevel);
|
||||
}
|
||||
if ((bitField0_ & 0x00000008) != 0) {
|
||||
output.writeMessage(FieldNames.buffSelectInfo, buffSelectInfo);
|
||||
}
|
||||
@@ -412,24 +412,12 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case 1204221426:
|
||||
case 854643992: {
|
||||
if (input.isAtField(FieldNames.mazeBuffLevel)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
mazeBuffLevel = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 144210285:
|
||||
case 896621575: {
|
||||
if (input.isAtField(FieldNames.mazeBuffId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
mazeBuffId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -440,6 +428,18 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
if (input.isAtField(FieldNames.retcode)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
retcode = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1204221426:
|
||||
case 854643992: {
|
||||
if (input.isAtField(FieldNames.mazeBuffLevel)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
mazeBuffLevel = input.readUInt32();
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
} else {
|
||||
@@ -512,12 +512,12 @@ public final class SelectRogueBuffScRspOuterClass {
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName mazeBuffLevel = FieldName.forField("mazeBuffLevel", "maze_buff_level");
|
||||
|
||||
static final FieldName mazeBuffId = FieldName.forField("mazeBuffId", "maze_buff_id");
|
||||
|
||||
static final FieldName retcode = FieldName.forField("retcode");
|
||||
|
||||
static final FieldName mazeBuffLevel = FieldName.forField("mazeBuffLevel", "maze_buff_level");
|
||||
|
||||
static final FieldName buffSelectInfo = FieldName.forField("buffSelectInfo", "buff_select_info");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,12 +19,7 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 COMHCIAONKJ = 4;</code>
|
||||
*/
|
||||
private int cOMHCIAONKJ;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 dialogue_event_id = 15;</code>
|
||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
||||
*/
|
||||
private int dialogueEventId;
|
||||
|
||||
@@ -39,62 +34,25 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 COMHCIAONKJ = 4;</code>
|
||||
* @return whether the cOMHCIAONKJ field is set
|
||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
||||
* @return whether the dialogueEventId field is set
|
||||
*/
|
||||
public boolean hasCOMHCIAONKJ() {
|
||||
public boolean hasDialogueEventId() {
|
||||
return (bitField0_ & 0x00000001) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 COMHCIAONKJ = 4;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueDialogueEventCsReq clearCOMHCIAONKJ() {
|
||||
bitField0_ &= ~0x00000001;
|
||||
cOMHCIAONKJ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 COMHCIAONKJ = 4;</code>
|
||||
* @return the cOMHCIAONKJ
|
||||
*/
|
||||
public int getCOMHCIAONKJ() {
|
||||
return cOMHCIAONKJ;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 COMHCIAONKJ = 4;</code>
|
||||
* @param value the cOMHCIAONKJ to set
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueDialogueEventCsReq setCOMHCIAONKJ(final int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
cOMHCIAONKJ = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 dialogue_event_id = 15;</code>
|
||||
* @return whether the dialogueEventId field is set
|
||||
*/
|
||||
public boolean hasDialogueEventId() {
|
||||
return (bitField0_ & 0x00000002) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 dialogue_event_id = 15;</code>
|
||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueDialogueEventCsReq clearDialogueEventId() {
|
||||
bitField0_ &= ~0x00000002;
|
||||
bitField0_ &= ~0x00000001;
|
||||
dialogueEventId = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 dialogue_event_id = 15;</code>
|
||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
||||
* @return the dialogueEventId
|
||||
*/
|
||||
public int getDialogueEventId() {
|
||||
@@ -102,12 +60,12 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 dialogue_event_id = 15;</code>
|
||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
||||
* @param value the dialogueEventId to set
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueDialogueEventCsReq setDialogueEventId(final int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
dialogueEventId = value;
|
||||
return this;
|
||||
}
|
||||
@@ -117,7 +75,6 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
cachedSize = other.cachedSize;
|
||||
if ((bitField0_ | other.bitField0_) != 0) {
|
||||
bitField0_ = other.bitField0_;
|
||||
cOMHCIAONKJ = other.cOMHCIAONKJ;
|
||||
dialogueEventId = other.dialogueEventId;
|
||||
}
|
||||
return this;
|
||||
@@ -129,9 +86,6 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
cachedSize = -1;
|
||||
if (other.hasCOMHCIAONKJ()) {
|
||||
setCOMHCIAONKJ(other.cOMHCIAONKJ);
|
||||
}
|
||||
if (other.hasDialogueEventId()) {
|
||||
setDialogueEventId(other.dialogueEventId);
|
||||
}
|
||||
@@ -145,7 +99,6 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
}
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
cOMHCIAONKJ = 0;
|
||||
dialogueEventId = 0;
|
||||
return this;
|
||||
}
|
||||
@@ -170,18 +123,13 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
}
|
||||
SelectRogueDialogueEventCsReq other = (SelectRogueDialogueEventCsReq) o;
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasCOMHCIAONKJ() || cOMHCIAONKJ == other.cOMHCIAONKJ)
|
||||
&& (!hasDialogueEventId() || dialogueEventId == other.dialogueEventId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 32);
|
||||
output.writeUInt32NoTag(cOMHCIAONKJ);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 120);
|
||||
output.writeRawByte((byte) 40);
|
||||
output.writeUInt32NoTag(dialogueEventId);
|
||||
}
|
||||
}
|
||||
@@ -190,9 +138,6 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
protected int computeSerializedSize() {
|
||||
int size = 0;
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(cOMHCIAONKJ);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(dialogueEventId);
|
||||
}
|
||||
return size;
|
||||
@@ -205,19 +150,10 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 32: {
|
||||
// cOMHCIAONKJ
|
||||
cOMHCIAONKJ = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 120) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 120: {
|
||||
case 40: {
|
||||
// dialogueEventId
|
||||
dialogueEventId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
break;
|
||||
@@ -241,9 +177,6 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
public void writeTo(final JsonSink output) throws IOException {
|
||||
output.beginObject();
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeUInt32(FieldNames.cOMHCIAONKJ, cOMHCIAONKJ);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeUInt32(FieldNames.dialogueEventId, dialogueEventId);
|
||||
}
|
||||
output.endObject();
|
||||
@@ -256,23 +189,12 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
}
|
||||
while (!input.isAtEnd()) {
|
||||
switch (input.readFieldHash()) {
|
||||
case -2097477198: {
|
||||
if (input.isAtField(FieldNames.cOMHCIAONKJ)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
cOMHCIAONKJ = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 88389725:
|
||||
case 1671736167: {
|
||||
if (input.isAtField(FieldNames.dialogueEventId)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
dialogueEventId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
} else {
|
||||
input.skipUnknownField();
|
||||
@@ -334,8 +256,6 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
||||
* Contains name constants used for serializing JSON
|
||||
*/
|
||||
static class FieldNames {
|
||||
static final FieldName cOMHCIAONKJ = FieldName.forField("COMHCIAONKJ");
|
||||
|
||||
static final FieldName dialogueEventId = FieldName.forField("dialogueEventId", "dialogue_event_id");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,17 +19,12 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
*/
|
||||
private int retcode;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* RogueDialogueEvent selected_dialogue_event = 14;
|
||||
* ODKKECCOLLB JJNBIFDOLFH = 15;
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional uint32 dialogue_event_id = 10;</code>
|
||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
||||
*/
|
||||
private int dialogueEventId;
|
||||
|
||||
@@ -44,7 +39,7 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
* @return whether the retcode field is set
|
||||
*/
|
||||
public boolean hasRetcode() {
|
||||
@@ -52,7 +47,7 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueDialogueEventScRsp clearRetcode() {
|
||||
@@ -62,7 +57,7 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
* @return the retcode
|
||||
*/
|
||||
public int getRetcode() {
|
||||
@@ -70,7 +65,7 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 8;</code>
|
||||
* <code>optional uint32 retcode = 1;</code>
|
||||
* @param value the retcode to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -81,12 +76,7 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* RogueDialogueEvent selected_dialogue_event = 14;
|
||||
* ODKKECCOLLB JJNBIFDOLFH = 15;
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional uint32 dialogue_event_id = 10;</code>
|
||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
||||
* @return whether the dialogueEventId field is set
|
||||
*/
|
||||
public boolean hasDialogueEventId() {
|
||||
@@ -94,12 +84,7 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* RogueDialogueEvent selected_dialogue_event = 14;
|
||||
* ODKKECCOLLB JJNBIFDOLFH = 15;
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional uint32 dialogue_event_id = 10;</code>
|
||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueDialogueEventScRsp clearDialogueEventId() {
|
||||
@@ -109,12 +94,7 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* RogueDialogueEvent selected_dialogue_event = 14;
|
||||
* ODKKECCOLLB JJNBIFDOLFH = 15;
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional uint32 dialogue_event_id = 10;</code>
|
||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
||||
* @return the dialogueEventId
|
||||
*/
|
||||
public int getDialogueEventId() {
|
||||
@@ -122,12 +102,7 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* RogueDialogueEvent selected_dialogue_event = 14;
|
||||
* ODKKECCOLLB JJNBIFDOLFH = 15;
|
||||
* </pre>
|
||||
*
|
||||
* <code>optional uint32 dialogue_event_id = 10;</code>
|
||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
||||
* @param value the dialogueEventId to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -202,11 +177,11 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 64);
|
||||
output.writeRawByte((byte) 8);
|
||||
output.writeUInt32NoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 80);
|
||||
output.writeRawByte((byte) 96);
|
||||
output.writeUInt32NoTag(dialogueEventId);
|
||||
}
|
||||
}
|
||||
@@ -230,16 +205,16 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 64: {
|
||||
case 8: {
|
||||
// retcode
|
||||
retcode = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 80) {
|
||||
if (tag != 96) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 80: {
|
||||
case 96: {
|
||||
// dialogueEventId
|
||||
dialogueEventId = input.readUInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
@@ -19,19 +19,19 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
private static final long serialVersionUID = 0L;
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
*/
|
||||
private int retcode;
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 2;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 8;</code>
|
||||
*/
|
||||
private final RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo miracleSelectInfo = RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo.newInstance();
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 6;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 11;</code>
|
||||
*/
|
||||
private final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo achivedMiracleInfo = RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo.newInstance();
|
||||
private final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo rogueMiracleInfo = RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo.newInstance();
|
||||
|
||||
private SelectRogueMiracleScRsp() {
|
||||
}
|
||||
@@ -44,7 +44,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
* @return whether the retcode field is set
|
||||
*/
|
||||
public boolean hasRetcode() {
|
||||
@@ -52,7 +52,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueMiracleScRsp clearRetcode() {
|
||||
@@ -62,7 +62,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
* @return the retcode
|
||||
*/
|
||||
public int getRetcode() {
|
||||
@@ -70,7 +70,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional uint32 retcode = 3;</code>
|
||||
* <code>optional uint32 retcode = 12;</code>
|
||||
* @param value the retcode to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -81,7 +81,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 2;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 8;</code>
|
||||
* @return whether the miracleSelectInfo field is set
|
||||
*/
|
||||
public boolean hasMiracleSelectInfo() {
|
||||
@@ -89,7 +89,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 2;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 8;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueMiracleScRsp clearMiracleSelectInfo() {
|
||||
@@ -99,7 +99,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 2;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 8;</code>
|
||||
*
|
||||
* 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.
|
||||
@@ -113,7 +113,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 2;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 8;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -127,7 +127,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 2;</code>
|
||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 8;</code>
|
||||
* @param value the miracleSelectInfo to set
|
||||
* @return this
|
||||
*/
|
||||
@@ -139,39 +139,39 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 6;</code>
|
||||
* @return whether the achivedMiracleInfo field is set
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 11;</code>
|
||||
* @return whether the rogueMiracleInfo field is set
|
||||
*/
|
||||
public boolean hasAchivedMiracleInfo() {
|
||||
public boolean hasRogueMiracleInfo() {
|
||||
return (bitField0_ & 0x00000004) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 6;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 11;</code>
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueMiracleScRsp clearAchivedMiracleInfo() {
|
||||
public SelectRogueMiracleScRsp clearRogueMiracleInfo() {
|
||||
bitField0_ &= ~0x00000004;
|
||||
achivedMiracleInfo.clear();
|
||||
rogueMiracleInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 6;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 11;</code>
|
||||
*
|
||||
* 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 #getMutableAchivedMiracleInfo()} if you want to modify it.
|
||||
* Use {@link #getMutableRogueMiracleInfo()} if you want to modify it.
|
||||
*
|
||||
* @return internal storage object for reading
|
||||
*/
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getAchivedMiracleInfo() {
|
||||
return achivedMiracleInfo;
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getRogueMiracleInfo() {
|
||||
return rogueMiracleInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 6;</code>
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 11;</code>
|
||||
*
|
||||
* This method returns the internal storage object and sets the corresponding
|
||||
* has state. The returned object will become part of this message and its
|
||||
@@ -179,21 +179,20 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
*
|
||||
* @return internal storage object for modifications
|
||||
*/
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getMutableAchivedMiracleInfo(
|
||||
) {
|
||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getMutableRogueMiracleInfo() {
|
||||
bitField0_ |= 0x00000004;
|
||||
return achivedMiracleInfo;
|
||||
return rogueMiracleInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .RogueAchivedMiracleInfo achived_miracle_info = 6;</code>
|
||||
* @param value the achivedMiracleInfo to set
|
||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 11;</code>
|
||||
* @param value the rogueMiracleInfo to set
|
||||
* @return this
|
||||
*/
|
||||
public SelectRogueMiracleScRsp setAchivedMiracleInfo(
|
||||
public SelectRogueMiracleScRsp setRogueMiracleInfo(
|
||||
final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
achivedMiracleInfo.copyFrom(value);
|
||||
rogueMiracleInfo.copyFrom(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -204,7 +203,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
bitField0_ = other.bitField0_;
|
||||
retcode = other.retcode;
|
||||
miracleSelectInfo.copyFrom(other.miracleSelectInfo);
|
||||
achivedMiracleInfo.copyFrom(other.achivedMiracleInfo);
|
||||
rogueMiracleInfo.copyFrom(other.rogueMiracleInfo);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -221,8 +220,8 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
if (other.hasMiracleSelectInfo()) {
|
||||
getMutableMiracleSelectInfo().mergeFrom(other.miracleSelectInfo);
|
||||
}
|
||||
if (other.hasAchivedMiracleInfo()) {
|
||||
getMutableAchivedMiracleInfo().mergeFrom(other.achivedMiracleInfo);
|
||||
if (other.hasRogueMiracleInfo()) {
|
||||
getMutableRogueMiracleInfo().mergeFrom(other.rogueMiracleInfo);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -236,7 +235,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
bitField0_ = 0;
|
||||
retcode = 0;
|
||||
miracleSelectInfo.clear();
|
||||
achivedMiracleInfo.clear();
|
||||
rogueMiracleInfo.clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -248,7 +247,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
cachedSize = -1;
|
||||
bitField0_ = 0;
|
||||
miracleSelectInfo.clearQuick();
|
||||
achivedMiracleInfo.clearQuick();
|
||||
rogueMiracleInfo.clearQuick();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -264,22 +263,22 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
return bitField0_ == other.bitField0_
|
||||
&& (!hasRetcode() || retcode == other.retcode)
|
||||
&& (!hasMiracleSelectInfo() || miracleSelectInfo.equals(other.miracleSelectInfo))
|
||||
&& (!hasAchivedMiracleInfo() || achivedMiracleInfo.equals(other.achivedMiracleInfo));
|
||||
&& (!hasRogueMiracleInfo() || rogueMiracleInfo.equals(other.rogueMiracleInfo));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeTo(final ProtoSink output) throws IOException {
|
||||
if ((bitField0_ & 0x00000001) != 0) {
|
||||
output.writeRawByte((byte) 24);
|
||||
output.writeRawByte((byte) 96);
|
||||
output.writeUInt32NoTag(retcode);
|
||||
}
|
||||
if ((bitField0_ & 0x00000002) != 0) {
|
||||
output.writeRawByte((byte) 18);
|
||||
output.writeRawByte((byte) 66);
|
||||
output.writeMessageNoTag(miracleSelectInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeRawByte((byte) 50);
|
||||
output.writeMessageNoTag(achivedMiracleInfo);
|
||||
output.writeRawByte((byte) 90);
|
||||
output.writeMessageNoTag(rogueMiracleInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -293,7 +292,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(miracleSelectInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(achivedMiracleInfo);
|
||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueMiracleInfo);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
@@ -305,27 +304,27 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
int tag = input.readTag();
|
||||
while (true) {
|
||||
switch (tag) {
|
||||
case 24: {
|
||||
case 96: {
|
||||
// retcode
|
||||
retcode = input.readUInt32();
|
||||
bitField0_ |= 0x00000001;
|
||||
tag = input.readTag();
|
||||
if (tag != 18) {
|
||||
if (tag != 66) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 18: {
|
||||
case 66: {
|
||||
// miracleSelectInfo
|
||||
input.readMessage(miracleSelectInfo);
|
||||
bitField0_ |= 0x00000002;
|
||||
tag = input.readTag();
|
||||
if (tag != 50) {
|
||||
if (tag != 90) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 50: {
|
||||
// achivedMiracleInfo
|
||||
input.readMessage(achivedMiracleInfo);
|
||||
case 90: {
|
||||
// rogueMiracleInfo
|
||||
input.readMessage(rogueMiracleInfo);
|
||||
bitField0_ |= 0x00000004;
|
||||
tag = input.readTag();
|
||||
if (tag != 0) {
|
||||
@@ -356,7 +355,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
output.writeMessage(FieldNames.miracleSelectInfo, miracleSelectInfo);
|
||||
}
|
||||
if ((bitField0_ & 0x00000004) != 0) {
|
||||
output.writeMessage(FieldNames.achivedMiracleInfo, achivedMiracleInfo);
|
||||
output.writeMessage(FieldNames.rogueMiracleInfo, rogueMiracleInfo);
|
||||
}
|
||||
output.endObject();
|
||||
}
|
||||
@@ -391,11 +390,11 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case -213623475:
|
||||
case -431790391: {
|
||||
if (input.isAtField(FieldNames.achivedMiracleInfo)) {
|
||||
case -452511099:
|
||||
case 1925436929: {
|
||||
if (input.isAtField(FieldNames.rogueMiracleInfo)) {
|
||||
if (!input.trySkipNullValue()) {
|
||||
input.readMessage(achivedMiracleInfo);
|
||||
input.readMessage(rogueMiracleInfo);
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
} else {
|
||||
@@ -460,7 +459,7 @@ public final class SelectRogueMiracleScRspOuterClass {
|
||||
|
||||
static final FieldName miracleSelectInfo = FieldName.forField("miracleSelectInfo", "miracle_select_info");
|
||||
|
||||
static final FieldName achivedMiracleInfo = FieldName.forField("achivedMiracleInfo", "achived_miracle_info");
|
||||
static final FieldName rogueMiracleInfo = FieldName.forField("rogueMiracleInfo", "rogue_miracle_info");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,15 +9,21 @@ import emu.lunarcore.data.excel.RogueAreaExcel;
|
||||
import emu.lunarcore.data.excel.RogueMapExcel;
|
||||
import emu.lunarcore.game.battle.Battle;
|
||||
import emu.lunarcore.game.player.Player;
|
||||
import emu.lunarcore.game.player.lineup.PlayerLineup;
|
||||
import emu.lunarcore.proto.AvatarTypeOuterClass.AvatarType;
|
||||
import emu.lunarcore.proto.BattleEndStatusOuterClass.BattleEndStatus;
|
||||
import emu.lunarcore.proto.BattleStatisticsOuterClass.BattleStatistics;
|
||||
import emu.lunarcore.proto.ExtraLineupTypeOuterClass.ExtraLineupType;
|
||||
import emu.lunarcore.proto.RogueAvatarInfoOuterClass.RogueAvatarInfo;
|
||||
import emu.lunarcore.proto.RogueBuffInfoOuterClass.RogueBuffInfo;
|
||||
import emu.lunarcore.proto.RogueBuffSourceOuterClass.RogueBuffSource;
|
||||
import emu.lunarcore.proto.RogueCurrentInfoOuterClass.RogueCurrentInfo;
|
||||
import emu.lunarcore.proto.RogueFinishInfoOuterClass.RogueFinishInfo;
|
||||
import emu.lunarcore.proto.RogueMapInfoOuterClass.RogueMapInfo;
|
||||
import emu.lunarcore.proto.RogueMiracleInfoOuterClass.RogueMiracleInfo;
|
||||
import emu.lunarcore.proto.RogueMiracleSourceOuterClass.RogueMiracleSource;
|
||||
import emu.lunarcore.proto.RogueRecordAvatarOuterClass.RogueRecordAvatar;
|
||||
import emu.lunarcore.proto.RogueRecordInfoOuterClass.RogueRecordInfo;
|
||||
import emu.lunarcore.proto.RogueRoomStatusOuterClass.RogueRoomStatus;
|
||||
import emu.lunarcore.proto.RogueStatusOuterClass.RogueStatus;
|
||||
import emu.lunarcore.server.packet.send.*;
|
||||
@@ -46,6 +52,7 @@ public class RogueInstance {
|
||||
|
||||
private int aeonId;
|
||||
private int aeonBuffType;
|
||||
private boolean isWin;
|
||||
|
||||
@Deprecated // Morphia only!
|
||||
public RogueInstance() {}
|
||||
@@ -324,13 +331,48 @@ public class RogueInstance {
|
||||
}
|
||||
|
||||
// Set flag for this so it gets serialized
|
||||
proto.getMutableAchivedMiracleInfo();
|
||||
proto.getMutableRogueMiracleInfo();
|
||||
|
||||
for (var miracle : this.getMiracles().values()) {
|
||||
proto.getMutableAchivedMiracleInfo().addRogueMiracleList(miracle.toProto());
|
||||
proto.getMutableRogueMiracleInfo().addRogueMiracleList(miracle.toProto());
|
||||
}
|
||||
|
||||
return proto;
|
||||
}
|
||||
|
||||
public RogueFinishInfo toFinishInfoProto() {
|
||||
// Rogue record info
|
||||
var recordInfo = RogueRecordInfo.newInstance();
|
||||
|
||||
for (var buff : this.getBuffs().values()) {
|
||||
recordInfo.addBuffList(buff.toProto());
|
||||
}
|
||||
|
||||
for (var miracle : this.getMiracles().values()) {
|
||||
recordInfo.addRogueMiracleList(miracle.getId());
|
||||
}
|
||||
|
||||
PlayerLineup lineup = getPlayer().getLineupManager().getExtraLineupByType(ExtraLineupType.LINEUP_ROGUE_VALUE);
|
||||
if (lineup != null) {
|
||||
for (int i = 0; i < lineup.getAvatars().size(); i++) {
|
||||
var recordAvatar = RogueRecordAvatar.newInstance()
|
||||
.setId(lineup.getAvatars().get(i))
|
||||
.setSlot(i)
|
||||
.setAvatarType(AvatarType.AVATAR_FORMAL_TYPE);
|
||||
|
||||
recordInfo.addAvatarList(recordAvatar);
|
||||
}
|
||||
}
|
||||
|
||||
// Create rogue finish info
|
||||
var proto = RogueFinishInfo.newInstance()
|
||||
.setAreaId(this.getAreaId())
|
||||
.setIsWin(this.isWin())
|
||||
.setPassRoomCount(this.getCurrentSiteId())
|
||||
.setReachRoomCount(this.getCurrentRoomProgress())
|
||||
.setRecordInfo(recordInfo);
|
||||
|
||||
return proto;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -23,8 +23,9 @@ import emu.lunarcore.proto.RogueTalentInfoOuterClass.RogueTalentInfo;
|
||||
import emu.lunarcore.proto.RogueTalentOuterClass.RogueTalent;
|
||||
import emu.lunarcore.proto.RogueTalentStatusOuterClass.RogueTalentStatus;
|
||||
import emu.lunarcore.server.packet.CmdId;
|
||||
import emu.lunarcore.server.packet.send.PacketLeaveRogueScRsp;
|
||||
import emu.lunarcore.server.packet.send.PacketStartRogueScRsp;
|
||||
|
||||
import emu.lunarcore.server.packet.send.PacketSyncRogueFinishScNotify;
|
||||
import it.unimi.dsi.fastutil.ints.IntOpenHashSet;
|
||||
import it.unimi.dsi.fastutil.ints.IntSet;
|
||||
import lombok.Getter;
|
||||
@@ -126,15 +127,34 @@ public class RogueManager extends BasePlayerManager {
|
||||
getPlayer().sendPacket(new PacketStartRogueScRsp(getPlayer()));
|
||||
}
|
||||
|
||||
public void leaveRogue() {
|
||||
if (getPlayer().getRogueInstance() == null) {
|
||||
getPlayer().getSession().send(CmdId.LeaveRogueScRsp);
|
||||
return;
|
||||
}
|
||||
|
||||
// Clear rogue instance
|
||||
getPlayer().setRogueInstance(null);
|
||||
|
||||
// Leave scene
|
||||
getPlayer().getLineupManager().setCurrentExtraLineup(0, false);
|
||||
getPlayer().enterScene(GameConstants.ROGUE_ENTRANCE, 0, false); // Make sure we dont send an enter scene packet here
|
||||
|
||||
// Send packet
|
||||
getPlayer().sendPacket(new PacketLeaveRogueScRsp(this.getPlayer()));
|
||||
}
|
||||
|
||||
public void quitRogue() {
|
||||
if (getPlayer().getRogueInstance() == null) {
|
||||
getPlayer().getSession().send(CmdId.QuitRogueScRsp);
|
||||
return;
|
||||
}
|
||||
|
||||
getPlayer().setRogueInstance(null);
|
||||
getPlayer().enterScene(GameConstants.ROGUE_ENTRANCE, 0, true); // Test
|
||||
getPlayer().getSession().send(CmdId.QuitRogueScRsp);
|
||||
getPlayer().getSession().send(new PacketSyncRogueFinishScNotify(getPlayer()));
|
||||
|
||||
// This isnt correct behavior, but it does the job
|
||||
this.leaveRogue();
|
||||
}
|
||||
|
||||
public RogueInfo toProto() {
|
||||
@@ -163,7 +183,7 @@ public class RogueManager extends BasePlayerManager {
|
||||
.setRogueSeasonInfo(season);
|
||||
|
||||
var aeonInfo = RogueAeonInfo.newInstance()
|
||||
.setUnlockedAeonNum(GameData.getRogueAeonExcelMap().size());
|
||||
.setUnlockAeonNum(GameData.getRogueAeonExcelMap().size());
|
||||
|
||||
for (var aeonExcel : GameData.getRogueAeonExcelMap().values()) {
|
||||
aeonInfo.addAeonIdList(aeonExcel.getAeonID());
|
||||
@@ -174,7 +194,6 @@ public class RogueManager extends BasePlayerManager {
|
||||
.setRogueAeonInfo(aeonInfo)
|
||||
.setRogueData(data)
|
||||
.setRogueVirtualItemInfo(getPlayer().toRogueVirtualItemsProto())
|
||||
.setTalentPoints(getPlayer().getTalentPoints())
|
||||
.setSeasonId(seasonId)
|
||||
.setBeginTime(beginTime)
|
||||
.setEndTime(endTime);
|
||||
|
||||
@@ -10,7 +10,7 @@ public class HandlerLeaveRogueCsReq extends PacketHandler {
|
||||
|
||||
@Override
|
||||
public void handle(GameSession session, byte[] data) throws Exception {
|
||||
session.send(CmdId.LeaveRogueScRsp);
|
||||
session.getPlayer().getRogueManager().leaveRogue();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
package emu.lunarcore.server.packet.send;
|
||||
|
||||
import emu.lunarcore.game.player.Player;
|
||||
import emu.lunarcore.proto.LeaveRogueScRspOuterClass.LeaveRogueScRsp;
|
||||
import emu.lunarcore.server.packet.BasePacket;
|
||||
import emu.lunarcore.server.packet.CmdId;
|
||||
|
||||
public class PacketLeaveRogueScRsp extends BasePacket {
|
||||
|
||||
public PacketLeaveRogueScRsp(Player player) {
|
||||
super(CmdId.LeaveRogueScRsp);
|
||||
|
||||
var data = LeaveRogueScRsp.newInstance()
|
||||
.setLineup(player.getCurrentLineup().toProto())
|
||||
.setRogueInfo(player.getRogueManager().toProto())
|
||||
.setScene(player.getScene().toProto());
|
||||
|
||||
this.setData(data);
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@ public class PacketRollRogueBuffScRsp extends BasePacket {
|
||||
var data = RollRogueBuffScRsp.newInstance();
|
||||
|
||||
if (selectMenu != null) {
|
||||
data.setRogueBuffSelectInfo(selectMenu.toProto());
|
||||
data.setBuffSelectInfo(selectMenu.toProto());
|
||||
} else {
|
||||
data.setRetcode(1);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package emu.lunarcore.server.packet.send;
|
||||
|
||||
import emu.lunarcore.game.player.Player;
|
||||
import emu.lunarcore.proto.SyncRogueFinishScNotifyOuterClass.SyncRogueFinishScNotify;
|
||||
import emu.lunarcore.server.packet.BasePacket;
|
||||
import emu.lunarcore.server.packet.CmdId;
|
||||
|
||||
public class PacketSyncRogueFinishScNotify extends BasePacket {
|
||||
|
||||
public PacketSyncRogueFinishScNotify(Player player) {
|
||||
super(CmdId.SyncRogueFinishScNotify);
|
||||
|
||||
var data = SyncRogueFinishScNotify.newInstance();
|
||||
|
||||
if (player.getRogueInstance() != null) {
|
||||
data.setFinishInfo(player.getRogueInstance().toFinishInfoProto());
|
||||
}
|
||||
|
||||
this.setData(data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user