mirror of
https://github.com/Melledy/LunarCore.git
synced 2026-04-06 15:12:20 +02:00
Implement Simulated Universe
This commit is contained in:
@@ -0,0 +1,418 @@
|
|||||||
|
// 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 AKKLFHFHPFNOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code AKKLFHFHPFN}
|
||||||
|
*/
|
||||||
|
public static final class AKKLFHFHPFN extends ProtoMessage<AKKLFHFHPFN> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 7;</code>
|
||||||
|
*/
|
||||||
|
private int jPEBPGIEGPO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
*/
|
||||||
|
private int oFBCBEIEAEC;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
*/
|
||||||
|
private boolean cGAFFPHCNEA;
|
||||||
|
|
||||||
|
private AKKLFHFHPFN() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code AKKLFHFHPFN}
|
||||||
|
*/
|
||||||
|
public static AKKLFHFHPFN newInstance() {
|
||||||
|
return new AKKLFHFHPFN();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 7;</code>
|
||||||
|
* @return whether the jPEBPGIEGPO field is set
|
||||||
|
*/
|
||||||
|
public boolean hasJPEBPGIEGPO() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public AKKLFHFHPFN clearJPEBPGIEGPO() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
jPEBPGIEGPO = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 7;</code>
|
||||||
|
* @return the jPEBPGIEGPO
|
||||||
|
*/
|
||||||
|
public int getJPEBPGIEGPO() {
|
||||||
|
return jPEBPGIEGPO;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 7;</code>
|
||||||
|
* @param value the jPEBPGIEGPO to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public AKKLFHFHPFN setJPEBPGIEGPO(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
jPEBPGIEGPO = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
* @return whether the oFBCBEIEAEC field is set
|
||||||
|
*/
|
||||||
|
public boolean hasOFBCBEIEAEC() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public AKKLFHFHPFN clearOFBCBEIEAEC() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
oFBCBEIEAEC = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
* @return the oFBCBEIEAEC
|
||||||
|
*/
|
||||||
|
public int getOFBCBEIEAEC() {
|
||||||
|
return oFBCBEIEAEC;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
* @param value the oFBCBEIEAEC to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public AKKLFHFHPFN setOFBCBEIEAEC(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
oFBCBEIEAEC = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
* @return whether the cGAFFPHCNEA field is set
|
||||||
|
*/
|
||||||
|
public boolean hasCGAFFPHCNEA() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public AKKLFHFHPFN clearCGAFFPHCNEA() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
cGAFFPHCNEA = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
* @return the cGAFFPHCNEA
|
||||||
|
*/
|
||||||
|
public boolean getCGAFFPHCNEA() {
|
||||||
|
return cGAFFPHCNEA;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
* @param value the cGAFFPHCNEA to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public AKKLFHFHPFN setCGAFFPHCNEA(final boolean value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
cGAFFPHCNEA = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AKKLFHFHPFN copyFrom(final AKKLFHFHPFN other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
jPEBPGIEGPO = other.jPEBPGIEGPO;
|
||||||
|
oFBCBEIEAEC = other.oFBCBEIEAEC;
|
||||||
|
cGAFFPHCNEA = other.cGAFFPHCNEA;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AKKLFHFHPFN mergeFrom(final AKKLFHFHPFN other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasJPEBPGIEGPO()) {
|
||||||
|
setJPEBPGIEGPO(other.jPEBPGIEGPO);
|
||||||
|
}
|
||||||
|
if (other.hasOFBCBEIEAEC()) {
|
||||||
|
setOFBCBEIEAEC(other.oFBCBEIEAEC);
|
||||||
|
}
|
||||||
|
if (other.hasCGAFFPHCNEA()) {
|
||||||
|
setCGAFFPHCNEA(other.cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AKKLFHFHPFN clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
jPEBPGIEGPO = 0;
|
||||||
|
oFBCBEIEAEC = 0;
|
||||||
|
cGAFFPHCNEA = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AKKLFHFHPFN 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 AKKLFHFHPFN)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
AKKLFHFHPFN other = (AKKLFHFHPFN) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasJPEBPGIEGPO() || jPEBPGIEGPO == other.jPEBPGIEGPO)
|
||||||
|
&& (!hasOFBCBEIEAEC() || oFBCBEIEAEC == other.oFBCBEIEAEC)
|
||||||
|
&& (!hasCGAFFPHCNEA() || cGAFFPHCNEA == other.cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 56);
|
||||||
|
output.writeUInt32NoTag(jPEBPGIEGPO);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 80);
|
||||||
|
output.writeUInt32NoTag(oFBCBEIEAEC);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 96);
|
||||||
|
output.writeBoolNoTag(cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(jPEBPGIEGPO);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(oFBCBEIEAEC);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 2;
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public AKKLFHFHPFN mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 56: {
|
||||||
|
// jPEBPGIEGPO
|
||||||
|
jPEBPGIEGPO = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 80) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 80: {
|
||||||
|
// oFBCBEIEAEC
|
||||||
|
oFBCBEIEAEC = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 96) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 96: {
|
||||||
|
// cGAFFPHCNEA
|
||||||
|
cGAFFPHCNEA = input.readBool();
|
||||||
|
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.jPEBPGIEGPO, jPEBPGIEGPO);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.oFBCBEIEAEC, oFBCBEIEAEC);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeBool(FieldNames.cGAFFPHCNEA, cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AKKLFHFHPFN mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 617496720: {
|
||||||
|
if (input.isAtField(FieldNames.jPEBPGIEGPO)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
jPEBPGIEGPO = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1165634632: {
|
||||||
|
if (input.isAtField(FieldNames.oFBCBEIEAEC)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
oFBCBEIEAEC = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -927350692: {
|
||||||
|
if (input.isAtField(FieldNames.cGAFFPHCNEA)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
cGAFFPHCNEA = input.readBool();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AKKLFHFHPFN clone() {
|
||||||
|
return new AKKLFHFHPFN().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static AKKLFHFHPFN parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new AKKLFHFHPFN(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static AKKLFHFHPFN parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new AKKLFHFHPFN(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static AKKLFHFHPFN parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new AKKLFHFHPFN(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating AKKLFHFHPFN messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<AKKLFHFHPFN> getFactory() {
|
||||||
|
return AKKLFHFHPFNFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum AKKLFHFHPFNFactory implements MessageFactory<AKKLFHFHPFN> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AKKLFHFHPFN create() {
|
||||||
|
return AKKLFHFHPFN.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName jPEBPGIEGPO = FieldName.forField("JPEBPGIEGPO");
|
||||||
|
|
||||||
|
static final FieldName oFBCBEIEAEC = FieldName.forField("OFBCBEIEAEC");
|
||||||
|
|
||||||
|
static final FieldName cGAFFPHCNEA = FieldName.forField("CGAFFPHCNEA");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,498 @@
|
|||||||
|
// 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 BELMNIPGEDNOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code BELMNIPGEDN}
|
||||||
|
*/
|
||||||
|
public static final class BELMNIPGEDN extends ProtoMessage<BELMNIPGEDN> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
*/
|
||||||
|
private int mFOPPKIBGNJ;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
*/
|
||||||
|
private int dDOPHIJMILL;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
*/
|
||||||
|
private int aCJKANLIGBM;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INGFJNPHCDL = 15;</code>
|
||||||
|
*/
|
||||||
|
private int iNGFJNPHCDL;
|
||||||
|
|
||||||
|
private BELMNIPGEDN() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code BELMNIPGEDN}
|
||||||
|
*/
|
||||||
|
public static BELMNIPGEDN newInstance() {
|
||||||
|
return new BELMNIPGEDN();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
* @return whether the mFOPPKIBGNJ field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMFOPPKIBGNJ() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public BELMNIPGEDN clearMFOPPKIBGNJ() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
mFOPPKIBGNJ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
* @return the mFOPPKIBGNJ
|
||||||
|
*/
|
||||||
|
public int getMFOPPKIBGNJ() {
|
||||||
|
return mFOPPKIBGNJ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
* @param value the mFOPPKIBGNJ to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public BELMNIPGEDN setMFOPPKIBGNJ(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
mFOPPKIBGNJ = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
* @return whether the dDOPHIJMILL field is set
|
||||||
|
*/
|
||||||
|
public boolean hasDDOPHIJMILL() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public BELMNIPGEDN clearDDOPHIJMILL() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
dDOPHIJMILL = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
* @return the dDOPHIJMILL
|
||||||
|
*/
|
||||||
|
public int getDDOPHIJMILL() {
|
||||||
|
return dDOPHIJMILL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
* @param value the dDOPHIJMILL to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public BELMNIPGEDN setDDOPHIJMILL(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
dDOPHIJMILL = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
* @return whether the aCJKANLIGBM field is set
|
||||||
|
*/
|
||||||
|
public boolean hasACJKANLIGBM() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public BELMNIPGEDN clearACJKANLIGBM() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
aCJKANLIGBM = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
* @return the aCJKANLIGBM
|
||||||
|
*/
|
||||||
|
public int getACJKANLIGBM() {
|
||||||
|
return aCJKANLIGBM;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
* @param value the aCJKANLIGBM to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public BELMNIPGEDN setACJKANLIGBM(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
aCJKANLIGBM = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INGFJNPHCDL = 15;</code>
|
||||||
|
* @return whether the iNGFJNPHCDL field is set
|
||||||
|
*/
|
||||||
|
public boolean hasINGFJNPHCDL() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INGFJNPHCDL = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public BELMNIPGEDN clearINGFJNPHCDL() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
iNGFJNPHCDL = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INGFJNPHCDL = 15;</code>
|
||||||
|
* @return the iNGFJNPHCDL
|
||||||
|
*/
|
||||||
|
public int getINGFJNPHCDL() {
|
||||||
|
return iNGFJNPHCDL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INGFJNPHCDL = 15;</code>
|
||||||
|
* @param value the iNGFJNPHCDL to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public BELMNIPGEDN setINGFJNPHCDL(final int value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
iNGFJNPHCDL = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BELMNIPGEDN copyFrom(final BELMNIPGEDN other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
mFOPPKIBGNJ = other.mFOPPKIBGNJ;
|
||||||
|
dDOPHIJMILL = other.dDOPHIJMILL;
|
||||||
|
aCJKANLIGBM = other.aCJKANLIGBM;
|
||||||
|
iNGFJNPHCDL = other.iNGFJNPHCDL;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BELMNIPGEDN mergeFrom(final BELMNIPGEDN other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasMFOPPKIBGNJ()) {
|
||||||
|
setMFOPPKIBGNJ(other.mFOPPKIBGNJ);
|
||||||
|
}
|
||||||
|
if (other.hasDDOPHIJMILL()) {
|
||||||
|
setDDOPHIJMILL(other.dDOPHIJMILL);
|
||||||
|
}
|
||||||
|
if (other.hasACJKANLIGBM()) {
|
||||||
|
setACJKANLIGBM(other.aCJKANLIGBM);
|
||||||
|
}
|
||||||
|
if (other.hasINGFJNPHCDL()) {
|
||||||
|
setINGFJNPHCDL(other.iNGFJNPHCDL);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BELMNIPGEDN clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
mFOPPKIBGNJ = 0;
|
||||||
|
dDOPHIJMILL = 0;
|
||||||
|
aCJKANLIGBM = 0;
|
||||||
|
iNGFJNPHCDL = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BELMNIPGEDN 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 BELMNIPGEDN)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
BELMNIPGEDN other = (BELMNIPGEDN) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasMFOPPKIBGNJ() || mFOPPKIBGNJ == other.mFOPPKIBGNJ)
|
||||||
|
&& (!hasDDOPHIJMILL() || dDOPHIJMILL == other.dDOPHIJMILL)
|
||||||
|
&& (!hasACJKANLIGBM() || aCJKANLIGBM == other.aCJKANLIGBM)
|
||||||
|
&& (!hasINGFJNPHCDL() || iNGFJNPHCDL == other.iNGFJNPHCDL);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 64);
|
||||||
|
output.writeUInt32NoTag(mFOPPKIBGNJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 72);
|
||||||
|
output.writeUInt32NoTag(dDOPHIJMILL);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 80);
|
||||||
|
output.writeUInt32NoTag(aCJKANLIGBM);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawByte((byte) 120);
|
||||||
|
output.writeUInt32NoTag(iNGFJNPHCDL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(mFOPPKIBGNJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(dDOPHIJMILL);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(aCJKANLIGBM);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(iNGFJNPHCDL);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public BELMNIPGEDN mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 64: {
|
||||||
|
// mFOPPKIBGNJ
|
||||||
|
mFOPPKIBGNJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 72) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 72: {
|
||||||
|
// dDOPHIJMILL
|
||||||
|
dDOPHIJMILL = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 80) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 80: {
|
||||||
|
// aCJKANLIGBM
|
||||||
|
aCJKANLIGBM = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 120) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 120: {
|
||||||
|
// iNGFJNPHCDL
|
||||||
|
iNGFJNPHCDL = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.mFOPPKIBGNJ, mFOPPKIBGNJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.dDOPHIJMILL, dDOPHIJMILL);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.aCJKANLIGBM, aCJKANLIGBM);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.iNGFJNPHCDL, iNGFJNPHCDL);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BELMNIPGEDN mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -663962379: {
|
||||||
|
if (input.isAtField(FieldNames.mFOPPKIBGNJ)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
mFOPPKIBGNJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 155657604: {
|
||||||
|
if (input.isAtField(FieldNames.dDOPHIJMILL)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
dDOPHIJMILL = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1408539: {
|
||||||
|
if (input.isAtField(FieldNames.aCJKANLIGBM)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
aCJKANLIGBM = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1045739275: {
|
||||||
|
if (input.isAtField(FieldNames.iNGFJNPHCDL)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
iNGFJNPHCDL = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BELMNIPGEDN clone() {
|
||||||
|
return new BELMNIPGEDN().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static BELMNIPGEDN parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new BELMNIPGEDN(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static BELMNIPGEDN parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new BELMNIPGEDN(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static BELMNIPGEDN parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new BELMNIPGEDN(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating BELMNIPGEDN messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<BELMNIPGEDN> getFactory() {
|
||||||
|
return BELMNIPGEDNFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum BELMNIPGEDNFactory implements MessageFactory<BELMNIPGEDN> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BELMNIPGEDN create() {
|
||||||
|
return BELMNIPGEDN.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName mFOPPKIBGNJ = FieldName.forField("MFOPPKIBGNJ");
|
||||||
|
|
||||||
|
static final FieldName dDOPHIJMILL = FieldName.forField("DDOPHIJMILL");
|
||||||
|
|
||||||
|
static final FieldName aCJKANLIGBM = FieldName.forField("ACJKANLIGBM");
|
||||||
|
|
||||||
|
static final FieldName iNGFJNPHCDL = FieldName.forField("INGFJNPHCDL");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,383 @@
|
|||||||
|
// 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 CommonRogueQueryOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code CommonRogueQuery}
|
||||||
|
*/
|
||||||
|
public static final class CommonRogueQuery extends ProtoMessage<CommonRogueQuery> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueQuery rogue_query = 2;</code>
|
||||||
|
*/
|
||||||
|
private final RogueQueryOuterClass.RogueQuery rogueQuery = RogueQueryOuterClass.RogueQuery.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 6;</code>
|
||||||
|
*/
|
||||||
|
private final RogueUpdateOuterClass.RogueUpdate rogueUpdate = RogueUpdateOuterClass.RogueUpdate.newInstance();
|
||||||
|
|
||||||
|
private CommonRogueQuery() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code CommonRogueQuery}
|
||||||
|
*/
|
||||||
|
public static CommonRogueQuery newInstance() {
|
||||||
|
return new CommonRogueQuery();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueQuery rogue_query = 2;</code>
|
||||||
|
* @return whether the rogueQuery field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueQuery() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueQuery rogue_query = 2;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueQuery clearRogueQuery() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
rogueQuery.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueQuery rogue_query = 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 #getMutableRogueQuery()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueQueryOuterClass.RogueQuery getRogueQuery() {
|
||||||
|
return rogueQuery;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueQuery rogue_query = 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 RogueQueryOuterClass.RogueQuery getMutableRogueQuery() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return rogueQuery;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueQuery rogue_query = 2;</code>
|
||||||
|
* @param value the rogueQuery to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueQuery setRogueQuery(final RogueQueryOuterClass.RogueQuery value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueQuery.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 6;</code>
|
||||||
|
* @return whether the rogueUpdate field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueUpdate() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 6;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueQuery clearRogueUpdate() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
rogueUpdate.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 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 #getMutableRogueUpdate()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueUpdateOuterClass.RogueUpdate getRogueUpdate() {
|
||||||
|
return rogueUpdate;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 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 RogueUpdateOuterClass.RogueUpdate getMutableRogueUpdate() {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return rogueUpdate;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 6;</code>
|
||||||
|
* @param value the rogueUpdate to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueQuery setRogueUpdate(final RogueUpdateOuterClass.RogueUpdate value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
rogueUpdate.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQuery copyFrom(final CommonRogueQuery other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
rogueQuery.copyFrom(other.rogueQuery);
|
||||||
|
rogueUpdate.copyFrom(other.rogueUpdate);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQuery mergeFrom(final CommonRogueQuery other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRogueQuery()) {
|
||||||
|
getMutableRogueQuery().mergeFrom(other.rogueQuery);
|
||||||
|
}
|
||||||
|
if (other.hasRogueUpdate()) {
|
||||||
|
getMutableRogueUpdate().mergeFrom(other.rogueUpdate);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQuery clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueQuery.clear();
|
||||||
|
rogueUpdate.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQuery clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueQuery.clearQuick();
|
||||||
|
rogueUpdate.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof CommonRogueQuery)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
CommonRogueQuery other = (CommonRogueQuery) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRogueQuery() || rogueQuery.equals(other.rogueQuery))
|
||||||
|
&& (!hasRogueUpdate() || rogueUpdate.equals(other.rogueUpdate));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 18);
|
||||||
|
output.writeMessageNoTag(rogueQuery);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 50);
|
||||||
|
output.writeMessageNoTag(rogueUpdate);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueQuery);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueUpdate);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public CommonRogueQuery mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 18: {
|
||||||
|
// rogueQuery
|
||||||
|
input.readMessage(rogueQuery);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 50) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 50: {
|
||||||
|
// rogueUpdate
|
||||||
|
input.readMessage(rogueUpdate);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueQuery, rogueQuery);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueUpdate, rogueUpdate);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQuery mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1137163506:
|
||||||
|
case -494752221: {
|
||||||
|
if (input.isAtField(FieldNames.rogueQuery)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueQuery);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -782477501:
|
||||||
|
case 1952403150: {
|
||||||
|
if (input.isAtField(FieldNames.rogueUpdate)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueUpdate);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQuery clone() {
|
||||||
|
return new CommonRogueQuery().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CommonRogueQuery parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new CommonRogueQuery(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CommonRogueQuery parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new CommonRogueQuery(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CommonRogueQuery parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new CommonRogueQuery(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating CommonRogueQuery messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<CommonRogueQuery> getFactory() {
|
||||||
|
return CommonRogueQueryFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum CommonRogueQueryFactory implements MessageFactory<CommonRogueQuery> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQuery create() {
|
||||||
|
return CommonRogueQuery.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName rogueQuery = FieldName.forField("rogueQuery", "rogue_query");
|
||||||
|
|
||||||
|
static final FieldName rogueUpdate = FieldName.forField("rogueUpdate", "rogue_update");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,362 @@
|
|||||||
|
// 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 CommonRogueQueryScRspOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code CommonRogueQueryScRsp}
|
||||||
|
*/
|
||||||
|
public static final class CommonRogueQueryScRsp extends ProtoMessage<CommonRogueQueryScRsp> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
*/
|
||||||
|
private int retcode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .CommonRogueQuery common_rogue_query = 4;</code>
|
||||||
|
*/
|
||||||
|
private final CommonRogueQueryOuterClass.CommonRogueQuery commonRogueQuery = CommonRogueQueryOuterClass.CommonRogueQuery.newInstance();
|
||||||
|
|
||||||
|
private CommonRogueQueryScRsp() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code CommonRogueQueryScRsp}
|
||||||
|
*/
|
||||||
|
public static CommonRogueQueryScRsp newInstance() {
|
||||||
|
return new CommonRogueQueryScRsp();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
* @return whether the retcode field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRetcode() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueQueryScRsp clearRetcode() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
retcode = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
* @return the retcode
|
||||||
|
*/
|
||||||
|
public int getRetcode() {
|
||||||
|
return retcode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
* @param value the retcode to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueQueryScRsp setRetcode(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
retcode = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .CommonRogueQuery common_rogue_query = 4;</code>
|
||||||
|
* @return whether the commonRogueQuery field is set
|
||||||
|
*/
|
||||||
|
public boolean hasCommonRogueQuery() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .CommonRogueQuery common_rogue_query = 4;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueQueryScRsp clearCommonRogueQuery() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
commonRogueQuery.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .CommonRogueQuery common_rogue_query = 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 #getMutableCommonRogueQuery()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public CommonRogueQueryOuterClass.CommonRogueQuery getCommonRogueQuery() {
|
||||||
|
return commonRogueQuery;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .CommonRogueQuery common_rogue_query = 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 CommonRogueQueryOuterClass.CommonRogueQuery getMutableCommonRogueQuery() {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return commonRogueQuery;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .CommonRogueQuery common_rogue_query = 4;</code>
|
||||||
|
* @param value the commonRogueQuery to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueQueryScRsp setCommonRogueQuery(
|
||||||
|
final CommonRogueQueryOuterClass.CommonRogueQuery value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
commonRogueQuery.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQueryScRsp copyFrom(final CommonRogueQueryScRsp other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
retcode = other.retcode;
|
||||||
|
commonRogueQuery.copyFrom(other.commonRogueQuery);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQueryScRsp mergeFrom(final CommonRogueQueryScRsp other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRetcode()) {
|
||||||
|
setRetcode(other.retcode);
|
||||||
|
}
|
||||||
|
if (other.hasCommonRogueQuery()) {
|
||||||
|
getMutableCommonRogueQuery().mergeFrom(other.commonRogueQuery);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQueryScRsp clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
retcode = 0;
|
||||||
|
commonRogueQuery.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQueryScRsp clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
commonRogueQuery.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof CommonRogueQueryScRsp)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
CommonRogueQueryScRsp other = (CommonRogueQueryScRsp) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRetcode() || retcode == other.retcode)
|
||||||
|
&& (!hasCommonRogueQuery() || commonRogueQuery.equals(other.commonRogueQuery));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 24);
|
||||||
|
output.writeUInt32NoTag(retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 34);
|
||||||
|
output.writeMessageNoTag(commonRogueQuery);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(commonRogueQuery);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public CommonRogueQueryScRsp mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 24: {
|
||||||
|
// retcode
|
||||||
|
retcode = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 34) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 34: {
|
||||||
|
// commonRogueQuery
|
||||||
|
input.readMessage(commonRogueQuery);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.retcode, retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeMessage(FieldNames.commonRogueQuery, commonRogueQuery);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQueryScRsp mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1097936398: {
|
||||||
|
if (input.isAtField(FieldNames.retcode)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
retcode = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1847205721:
|
||||||
|
case 1954524623: {
|
||||||
|
if (input.isAtField(FieldNames.commonRogueQuery)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(commonRogueQuery);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQueryScRsp clone() {
|
||||||
|
return new CommonRogueQueryScRsp().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CommonRogueQueryScRsp parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new CommonRogueQueryScRsp(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CommonRogueQueryScRsp parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new CommonRogueQueryScRsp(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CommonRogueQueryScRsp parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new CommonRogueQueryScRsp(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating CommonRogueQueryScRsp messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<CommonRogueQueryScRsp> getFactory() {
|
||||||
|
return CommonRogueQueryScRspFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum CommonRogueQueryScRspFactory implements MessageFactory<CommonRogueQueryScRsp> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueQueryScRsp create() {
|
||||||
|
return CommonRogueQueryScRsp.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName retcode = FieldName.forField("retcode");
|
||||||
|
|
||||||
|
static final FieldName commonRogueQuery = FieldName.forField("commonRogueQuery", "common_rogue_query");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,305 @@
|
|||||||
|
// 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 CommonRogueUpdateScNotifyOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code CommonRogueUpdateScNotify}
|
||||||
|
*/
|
||||||
|
public static final class CommonRogueUpdateScNotify extends ProtoMessage<CommonRogueUpdateScNotify> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CJFJFKJICGK NALLCHLAJPN = 10;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 15;</code>
|
||||||
|
*/
|
||||||
|
private final RogueUpdateOuterClass.RogueUpdate rogueUpdate = RogueUpdateOuterClass.RogueUpdate.newInstance();
|
||||||
|
|
||||||
|
private CommonRogueUpdateScNotify() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code CommonRogueUpdateScNotify}
|
||||||
|
*/
|
||||||
|
public static CommonRogueUpdateScNotify newInstance() {
|
||||||
|
return new CommonRogueUpdateScNotify();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CJFJFKJICGK NALLCHLAJPN = 10;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 15;</code>
|
||||||
|
* @return whether the rogueUpdate field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueUpdate() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CJFJFKJICGK NALLCHLAJPN = 10;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueUpdateScNotify clearRogueUpdate() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
rogueUpdate.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CJFJFKJICGK NALLCHLAJPN = 10;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 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 #getMutableRogueUpdate()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueUpdateOuterClass.RogueUpdate getRogueUpdate() {
|
||||||
|
return rogueUpdate;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CJFJFKJICGK NALLCHLAJPN = 10;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 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 RogueUpdateOuterClass.RogueUpdate getMutableRogueUpdate() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return rogueUpdate;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CJFJFKJICGK NALLCHLAJPN = 10;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueUpdate rogue_update = 15;</code>
|
||||||
|
* @param value the rogueUpdate to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public CommonRogueUpdateScNotify setRogueUpdate(final RogueUpdateOuterClass.RogueUpdate value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueUpdate.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueUpdateScNotify copyFrom(final CommonRogueUpdateScNotify other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
rogueUpdate.copyFrom(other.rogueUpdate);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueUpdateScNotify mergeFrom(final CommonRogueUpdateScNotify other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRogueUpdate()) {
|
||||||
|
getMutableRogueUpdate().mergeFrom(other.rogueUpdate);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueUpdateScNotify clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueUpdate.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueUpdateScNotify clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueUpdate.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof CommonRogueUpdateScNotify)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
CommonRogueUpdateScNotify other = (CommonRogueUpdateScNotify) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRogueUpdate() || rogueUpdate.equals(other.rogueUpdate));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 122);
|
||||||
|
output.writeMessageNoTag(rogueUpdate);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueUpdate);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public CommonRogueUpdateScNotify mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 122: {
|
||||||
|
// rogueUpdate
|
||||||
|
input.readMessage(rogueUpdate);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueUpdate, rogueUpdate);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueUpdateScNotify mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -782477501:
|
||||||
|
case 1952403150: {
|
||||||
|
if (input.isAtField(FieldNames.rogueUpdate)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueUpdate);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueUpdateScNotify clone() {
|
||||||
|
return new CommonRogueUpdateScNotify().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CommonRogueUpdateScNotify parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new CommonRogueUpdateScNotify(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CommonRogueUpdateScNotify parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new CommonRogueUpdateScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CommonRogueUpdateScNotify parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new CommonRogueUpdateScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating CommonRogueUpdateScNotify messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<CommonRogueUpdateScNotify> getFactory() {
|
||||||
|
return CommonRogueUpdateScNotifyFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum CommonRogueUpdateScNotifyFactory implements MessageFactory<CommonRogueUpdateScNotify> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CommonRogueUpdateScNotify create() {
|
||||||
|
return CommonRogueUpdateScNotify.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName rogueUpdate = FieldName.forField("rogueUpdate", "rogue_update");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,358 @@
|
|||||||
|
// 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 DMBBFODODOFOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code DMBBFODODOF}
|
||||||
|
*/
|
||||||
|
public static final class DMBBFODODOF extends ProtoMessage<DMBBFODODOF> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 4
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 BLPICCBCKPK = 2;</code>
|
||||||
|
*/
|
||||||
|
private int bLPICCBCKPK;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 BCKPHBOPCCN = 6;</code>
|
||||||
|
*/
|
||||||
|
private int bCKPHBOPCCN;
|
||||||
|
|
||||||
|
private DMBBFODODOF() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code DMBBFODODOF}
|
||||||
|
*/
|
||||||
|
public static DMBBFODODOF newInstance() {
|
||||||
|
return new DMBBFODODOF();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 4
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 BLPICCBCKPK = 2;</code>
|
||||||
|
* @return whether the bLPICCBCKPK field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBLPICCBCKPK() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 4
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 BLPICCBCKPK = 2;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public DMBBFODODOF clearBLPICCBCKPK() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
bLPICCBCKPK = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 4
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 BLPICCBCKPK = 2;</code>
|
||||||
|
* @return the bLPICCBCKPK
|
||||||
|
*/
|
||||||
|
public int getBLPICCBCKPK() {
|
||||||
|
return bLPICCBCKPK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 4
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 BLPICCBCKPK = 2;</code>
|
||||||
|
* @param value the bLPICCBCKPK to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public DMBBFODODOF setBLPICCBCKPK(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
bLPICCBCKPK = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 BCKPHBOPCCN = 6;</code>
|
||||||
|
* @return whether the bCKPHBOPCCN field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBCKPHBOPCCN() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 BCKPHBOPCCN = 6;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public DMBBFODODOF clearBCKPHBOPCCN() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
bCKPHBOPCCN = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 BCKPHBOPCCN = 6;</code>
|
||||||
|
* @return the bCKPHBOPCCN
|
||||||
|
*/
|
||||||
|
public int getBCKPHBOPCCN() {
|
||||||
|
return bCKPHBOPCCN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 BCKPHBOPCCN = 6;</code>
|
||||||
|
* @param value the bCKPHBOPCCN to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public DMBBFODODOF setBCKPHBOPCCN(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
bCKPHBOPCCN = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DMBBFODODOF copyFrom(final DMBBFODODOF other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
bLPICCBCKPK = other.bLPICCBCKPK;
|
||||||
|
bCKPHBOPCCN = other.bCKPHBOPCCN;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DMBBFODODOF mergeFrom(final DMBBFODODOF other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBLPICCBCKPK()) {
|
||||||
|
setBLPICCBCKPK(other.bLPICCBCKPK);
|
||||||
|
}
|
||||||
|
if (other.hasBCKPHBOPCCN()) {
|
||||||
|
setBCKPHBOPCCN(other.bCKPHBOPCCN);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DMBBFODODOF clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
bLPICCBCKPK = 0;
|
||||||
|
bCKPHBOPCCN = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DMBBFODODOF 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 DMBBFODODOF)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
DMBBFODODOF other = (DMBBFODODOF) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBLPICCBCKPK() || bLPICCBCKPK == other.bLPICCBCKPK)
|
||||||
|
&& (!hasBCKPHBOPCCN() || bCKPHBOPCCN == other.bCKPHBOPCCN);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 16);
|
||||||
|
output.writeUInt32NoTag(bLPICCBCKPK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 48);
|
||||||
|
output.writeUInt32NoTag(bCKPHBOPCCN);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(bLPICCBCKPK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(bCKPHBOPCCN);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public DMBBFODODOF mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 16: {
|
||||||
|
// bLPICCBCKPK
|
||||||
|
bLPICCBCKPK = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 48) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 48: {
|
||||||
|
// bCKPHBOPCCN
|
||||||
|
bCKPHBOPCCN = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.bLPICCBCKPK, bLPICCBCKPK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.bCKPHBOPCCN, bCKPHBOPCCN);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DMBBFODODOF mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 733217314: {
|
||||||
|
if (input.isAtField(FieldNames.bLPICCBCKPK)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
bLPICCBCKPK = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1904713331: {
|
||||||
|
if (input.isAtField(FieldNames.bCKPHBOPCCN)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
bCKPHBOPCCN = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DMBBFODODOF clone() {
|
||||||
|
return new DMBBFODODOF().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static DMBBFODODOF parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new DMBBFODODOF(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static DMBBFODODOF parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new DMBBFODODOF(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static DMBBFODODOF parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new DMBBFODODOF(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating DMBBFODODOF messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<DMBBFODODOF> getFactory() {
|
||||||
|
return DMBBFODODOFFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum DMBBFODODOFFactory implements MessageFactory<DMBBFODODOF> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DMBBFODODOF create() {
|
||||||
|
return DMBBFODODOF.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName bLPICCBCKPK = FieldName.forField("BLPICCBCKPK");
|
||||||
|
|
||||||
|
static final FieldName bCKPHBOPCCN = FieldName.forField("BCKPHBOPCCN");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,15 +19,15 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 site_id = 7;</code>
|
* <code>optional uint32 room_id = 2;</code>
|
||||||
*/
|
|
||||||
private int siteId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 room_id = 11;</code>
|
|
||||||
*/
|
*/
|
||||||
private int roomId;
|
private int roomId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 5;</code>
|
||||||
|
*/
|
||||||
|
private int siteId;
|
||||||
|
|
||||||
private EnterRogueMapRoomCsReq() {
|
private EnterRogueMapRoomCsReq() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -39,62 +39,25 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 site_id = 7;</code>
|
* <code>optional uint32 room_id = 2;</code>
|
||||||
* @return whether the siteId field is set
|
* @return whether the roomId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasSiteId() {
|
public boolean hasRoomId() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 site_id = 7;</code>
|
* <code>optional uint32 room_id = 2;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public EnterRogueMapRoomCsReq clearSiteId() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
siteId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 site_id = 7;</code>
|
|
||||||
* @return the siteId
|
|
||||||
*/
|
|
||||||
public int getSiteId() {
|
|
||||||
return siteId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 site_id = 7;</code>
|
|
||||||
* @param value the siteId to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public EnterRogueMapRoomCsReq setSiteId(final int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
siteId = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 room_id = 11;</code>
|
|
||||||
* @return whether the roomId field is set
|
|
||||||
*/
|
|
||||||
public boolean hasRoomId() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 room_id = 11;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EnterRogueMapRoomCsReq clearRoomId() {
|
public EnterRogueMapRoomCsReq clearRoomId() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000001;
|
||||||
roomId = 0;
|
roomId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 room_id = 11;</code>
|
* <code>optional uint32 room_id = 2;</code>
|
||||||
* @return the roomId
|
* @return the roomId
|
||||||
*/
|
*/
|
||||||
public int getRoomId() {
|
public int getRoomId() {
|
||||||
@@ -102,23 +65,60 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 room_id = 11;</code>
|
* <code>optional uint32 room_id = 2;</code>
|
||||||
* @param value the roomId to set
|
* @param value the roomId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EnterRogueMapRoomCsReq setRoomId(final int value) {
|
public EnterRogueMapRoomCsReq setRoomId(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
roomId = value;
|
roomId = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 5;</code>
|
||||||
|
* @return whether the siteId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasSiteId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 5;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public EnterRogueMapRoomCsReq clearSiteId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
siteId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 5;</code>
|
||||||
|
* @return the siteId
|
||||||
|
*/
|
||||||
|
public int getSiteId() {
|
||||||
|
return siteId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 5;</code>
|
||||||
|
* @param value the siteId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public EnterRogueMapRoomCsReq setSiteId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
siteId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EnterRogueMapRoomCsReq copyFrom(final EnterRogueMapRoomCsReq other) {
|
public EnterRogueMapRoomCsReq copyFrom(final EnterRogueMapRoomCsReq other) {
|
||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
siteId = other.siteId;
|
|
||||||
roomId = other.roomId;
|
roomId = other.roomId;
|
||||||
|
siteId = other.siteId;
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -129,12 +129,12 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasSiteId()) {
|
|
||||||
setSiteId(other.siteId);
|
|
||||||
}
|
|
||||||
if (other.hasRoomId()) {
|
if (other.hasRoomId()) {
|
||||||
setRoomId(other.roomId);
|
setRoomId(other.roomId);
|
||||||
}
|
}
|
||||||
|
if (other.hasSiteId()) {
|
||||||
|
setSiteId(other.siteId);
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -145,8 +145,8 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
siteId = 0;
|
|
||||||
roomId = 0;
|
roomId = 0;
|
||||||
|
siteId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,19 +170,19 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
EnterRogueMapRoomCsReq other = (EnterRogueMapRoomCsReq) o;
|
EnterRogueMapRoomCsReq other = (EnterRogueMapRoomCsReq) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasSiteId() || siteId == other.siteId)
|
&& (!hasRoomId() || roomId == other.roomId)
|
||||||
&& (!hasRoomId() || roomId == other.roomId);
|
&& (!hasSiteId() || siteId == other.siteId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 56);
|
output.writeRawByte((byte) 16);
|
||||||
output.writeUInt32NoTag(siteId);
|
output.writeUInt32NoTag(roomId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 88);
|
output.writeRawByte((byte) 40);
|
||||||
output.writeUInt32NoTag(roomId);
|
output.writeUInt32NoTag(siteId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,10 +190,10 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(siteId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(siteId);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
@@ -205,18 +205,18 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 56: {
|
case 16: {
|
||||||
// siteId
|
// roomId
|
||||||
siteId = input.readUInt32();
|
roomId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 88) {
|
if (tag != 40) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 88: {
|
case 40: {
|
||||||
// roomId
|
// siteId
|
||||||
roomId = input.readUInt32();
|
siteId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
@@ -241,10 +241,10 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.siteId, siteId);
|
output.writeUInt32(FieldNames.roomId, roomId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.roomId, roomId);
|
output.writeUInt32(FieldNames.siteId, siteId);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -256,11 +256,11 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case -902090046:
|
case -925319338:
|
||||||
case 2100001043: {
|
case 1379892991: {
|
||||||
if (input.isAtField(FieldNames.siteId)) {
|
if (input.isAtField(FieldNames.roomId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
siteId = input.readUInt32();
|
roomId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -268,11 +268,11 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -925319338:
|
case -902090046:
|
||||||
case 1379892991: {
|
case 2100001043: {
|
||||||
if (input.isAtField(FieldNames.roomId)) {
|
if (input.isAtField(FieldNames.siteId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
roomId = input.readUInt32();
|
siteId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -333,9 +333,9 @@ public final class EnterRogueMapRoomCsReqOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName siteId = FieldName.forField("siteId", "site_id");
|
|
||||||
|
|
||||||
static final FieldName roomId = FieldName.forField("roomId", "room_id");
|
static final FieldName roomId = FieldName.forField("roomId", "room_id");
|
||||||
|
|
||||||
|
static final FieldName siteId = FieldName.forField("siteId", "site_id");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,23 +18,23 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
public static final class EnterRogueMapRoomScRsp extends ProtoMessage<EnterRogueMapRoomScRsp> implements Cloneable {
|
public static final class EnterRogueMapRoomScRsp extends ProtoMessage<EnterRogueMapRoomScRsp> implements Cloneable {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_site_id = 2;</code>
|
||||||
|
*/
|
||||||
|
private int curSiteId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 5;</code>
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
*/
|
*/
|
||||||
private int retcode;
|
private int retcode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 cur_site_id = 8;</code>
|
* <code>optional .LineupInfo lineup = 4;</code>
|
||||||
*/
|
|
||||||
private int curSiteId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .LineupInfo lineup = 2;</code>
|
|
||||||
*/
|
*/
|
||||||
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
|
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 15;</code>
|
* <code>optional .SceneInfo scene = 7;</code>
|
||||||
*/
|
*/
|
||||||
private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
|
private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
|
||||||
|
|
||||||
@@ -48,12 +48,49 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
return new EnterRogueMapRoomScRsp();
|
return new EnterRogueMapRoomScRsp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_site_id = 2;</code>
|
||||||
|
* @return whether the curSiteId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasCurSiteId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_site_id = 2;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public EnterRogueMapRoomScRsp clearCurSiteId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
curSiteId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_site_id = 2;</code>
|
||||||
|
* @return the curSiteId
|
||||||
|
*/
|
||||||
|
public int getCurSiteId() {
|
||||||
|
return curSiteId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_site_id = 2;</code>
|
||||||
|
* @param value the curSiteId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public EnterRogueMapRoomScRsp setCurSiteId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
curSiteId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 5;</code>
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
* @return whether the retcode field is set
|
* @return whether the retcode field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRetcode() {
|
public boolean hasRetcode() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -61,7 +98,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EnterRogueMapRoomScRsp clearRetcode() {
|
public EnterRogueMapRoomScRsp clearRetcode() {
|
||||||
bitField0_ &= ~0x00000001;
|
bitField0_ &= ~0x00000002;
|
||||||
retcode = 0;
|
retcode = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -80,50 +117,13 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EnterRogueMapRoomScRsp setRetcode(final int value) {
|
public EnterRogueMapRoomScRsp setRetcode(final int value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000002;
|
||||||
retcode = value;
|
retcode = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 cur_site_id = 8;</code>
|
* <code>optional .LineupInfo lineup = 4;</code>
|
||||||
* @return whether the curSiteId field is set
|
|
||||||
*/
|
|
||||||
public boolean hasCurSiteId() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_site_id = 8;</code>
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public EnterRogueMapRoomScRsp clearCurSiteId() {
|
|
||||||
bitField0_ &= ~0x00000002;
|
|
||||||
curSiteId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_site_id = 8;</code>
|
|
||||||
* @return the curSiteId
|
|
||||||
*/
|
|
||||||
public int getCurSiteId() {
|
|
||||||
return curSiteId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_site_id = 8;</code>
|
|
||||||
* @param value the curSiteId to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public EnterRogueMapRoomScRsp setCurSiteId(final int value) {
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
curSiteId = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .LineupInfo lineup = 2;</code>
|
|
||||||
* @return whether the lineup field is set
|
* @return whether the lineup field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasLineup() {
|
public boolean hasLineup() {
|
||||||
@@ -131,7 +131,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 2;</code>
|
* <code>optional .LineupInfo lineup = 4;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EnterRogueMapRoomScRsp clearLineup() {
|
public EnterRogueMapRoomScRsp clearLineup() {
|
||||||
@@ -141,7 +141,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 2;</code>
|
* <code>optional .LineupInfo lineup = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -155,7 +155,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 2;</code>
|
* <code>optional .LineupInfo lineup = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -169,7 +169,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 2;</code>
|
* <code>optional .LineupInfo lineup = 4;</code>
|
||||||
* @param value the lineup to set
|
* @param value the lineup to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -180,7 +180,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 15;</code>
|
* <code>optional .SceneInfo scene = 7;</code>
|
||||||
* @return whether the scene field is set
|
* @return whether the scene field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasScene() {
|
public boolean hasScene() {
|
||||||
@@ -188,7 +188,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 15;</code>
|
* <code>optional .SceneInfo scene = 7;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EnterRogueMapRoomScRsp clearScene() {
|
public EnterRogueMapRoomScRsp clearScene() {
|
||||||
@@ -198,7 +198,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 15;</code>
|
* <code>optional .SceneInfo scene = 7;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -212,7 +212,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 15;</code>
|
* <code>optional .SceneInfo scene = 7;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -226,7 +226,7 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 15;</code>
|
* <code>optional .SceneInfo scene = 7;</code>
|
||||||
* @param value the scene to set
|
* @param value the scene to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -241,8 +241,8 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
retcode = other.retcode;
|
|
||||||
curSiteId = other.curSiteId;
|
curSiteId = other.curSiteId;
|
||||||
|
retcode = other.retcode;
|
||||||
lineup.copyFrom(other.lineup);
|
lineup.copyFrom(other.lineup);
|
||||||
scene.copyFrom(other.scene);
|
scene.copyFrom(other.scene);
|
||||||
}
|
}
|
||||||
@@ -255,12 +255,12 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasRetcode()) {
|
|
||||||
setRetcode(other.retcode);
|
|
||||||
}
|
|
||||||
if (other.hasCurSiteId()) {
|
if (other.hasCurSiteId()) {
|
||||||
setCurSiteId(other.curSiteId);
|
setCurSiteId(other.curSiteId);
|
||||||
}
|
}
|
||||||
|
if (other.hasRetcode()) {
|
||||||
|
setRetcode(other.retcode);
|
||||||
|
}
|
||||||
if (other.hasLineup()) {
|
if (other.hasLineup()) {
|
||||||
getMutableLineup().mergeFrom(other.lineup);
|
getMutableLineup().mergeFrom(other.lineup);
|
||||||
}
|
}
|
||||||
@@ -277,8 +277,8 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
retcode = 0;
|
|
||||||
curSiteId = 0;
|
curSiteId = 0;
|
||||||
|
retcode = 0;
|
||||||
lineup.clear();
|
lineup.clear();
|
||||||
scene.clear();
|
scene.clear();
|
||||||
return this;
|
return this;
|
||||||
@@ -306,8 +306,8 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
EnterRogueMapRoomScRsp other = (EnterRogueMapRoomScRsp) o;
|
EnterRogueMapRoomScRsp other = (EnterRogueMapRoomScRsp) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRetcode() || retcode == other.retcode)
|
|
||||||
&& (!hasCurSiteId() || curSiteId == other.curSiteId)
|
&& (!hasCurSiteId() || curSiteId == other.curSiteId)
|
||||||
|
&& (!hasRetcode() || retcode == other.retcode)
|
||||||
&& (!hasLineup() || lineup.equals(other.lineup))
|
&& (!hasLineup() || lineup.equals(other.lineup))
|
||||||
&& (!hasScene() || scene.equals(other.scene));
|
&& (!hasScene() || scene.equals(other.scene));
|
||||||
}
|
}
|
||||||
@@ -315,19 +315,19 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 16);
|
||||||
|
output.writeUInt32NoTag(curSiteId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 40);
|
output.writeRawByte((byte) 40);
|
||||||
output.writeUInt32NoTag(retcode);
|
output.writeUInt32NoTag(retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 64);
|
|
||||||
output.writeUInt32NoTag(curSiteId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 18);
|
output.writeRawByte((byte) 34);
|
||||||
output.writeMessageNoTag(lineup);
|
output.writeMessageNoTag(lineup);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeRawByte((byte) 122);
|
output.writeRawByte((byte) 58);
|
||||||
output.writeMessageNoTag(scene);
|
output.writeMessageNoTag(scene);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -336,10 +336,10 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(curSiteId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(curSiteId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
|
size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
|
||||||
@@ -357,34 +357,34 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
|
case 16: {
|
||||||
|
// curSiteId
|
||||||
|
curSiteId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 40) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
case 40: {
|
case 40: {
|
||||||
// retcode
|
// retcode
|
||||||
retcode = input.readUInt32();
|
retcode = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 64) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 64: {
|
|
||||||
// curSiteId
|
|
||||||
curSiteId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 18) {
|
if (tag != 34) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 18: {
|
case 34: {
|
||||||
// lineup
|
// lineup
|
||||||
input.readMessage(lineup);
|
input.readMessage(lineup);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 122) {
|
if (tag != 58) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 122: {
|
case 58: {
|
||||||
// scene
|
// scene
|
||||||
input.readMessage(scene);
|
input.readMessage(scene);
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
@@ -411,10 +411,10 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.retcode, retcode);
|
output.writeUInt32(FieldNames.curSiteId, curSiteId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.curSiteId, curSiteId);
|
output.writeUInt32(FieldNames.retcode, retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeMessage(FieldNames.lineup, lineup);
|
output.writeMessage(FieldNames.lineup, lineup);
|
||||||
@@ -432,10 +432,11 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case 1097936398: {
|
case -226037470:
|
||||||
if (input.isAtField(FieldNames.retcode)) {
|
case 1245078036: {
|
||||||
|
if (input.isAtField(FieldNames.curSiteId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
retcode = input.readUInt32();
|
curSiteId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -443,11 +444,10 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -226037470:
|
case 1097936398: {
|
||||||
case 1245078036: {
|
if (input.isAtField(FieldNames.retcode)) {
|
||||||
if (input.isAtField(FieldNames.curSiteId)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
curSiteId = input.readUInt32();
|
retcode = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -530,10 +530,10 @@ public final class EnterRogueMapRoomScRspOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName retcode = FieldName.forField("retcode");
|
|
||||||
|
|
||||||
static final FieldName curSiteId = FieldName.forField("curSiteId", "cur_site_id");
|
static final FieldName curSiteId = FieldName.forField("curSiteId", "cur_site_id");
|
||||||
|
|
||||||
|
static final FieldName retcode = FieldName.forField("retcode");
|
||||||
|
|
||||||
static final FieldName lineup = FieldName.forField("lineup");
|
static final FieldName lineup = FieldName.forField("lineup");
|
||||||
|
|
||||||
static final FieldName scene = FieldName.forField("scene");
|
static final FieldName scene = FieldName.forField("scene");
|
||||||
|
|||||||
@@ -0,0 +1,340 @@
|
|||||||
|
// 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 FirstNpcTalkInfoOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code FirstNpcTalkInfo}
|
||||||
|
*/
|
||||||
|
public static final class FirstNpcTalkInfo extends ProtoMessage<FirstNpcTalkInfo> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 3;</code>
|
||||||
|
*/
|
||||||
|
private int npcId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool KGCJMBBFBIA = 7;</code>
|
||||||
|
*/
|
||||||
|
private boolean kGCJMBBFBIA;
|
||||||
|
|
||||||
|
private FirstNpcTalkInfo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code FirstNpcTalkInfo}
|
||||||
|
*/
|
||||||
|
public static FirstNpcTalkInfo newInstance() {
|
||||||
|
return new FirstNpcTalkInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 3;</code>
|
||||||
|
* @return whether the npcId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasNpcId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public FirstNpcTalkInfo clearNpcId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
npcId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 3;</code>
|
||||||
|
* @return the npcId
|
||||||
|
*/
|
||||||
|
public int getNpcId() {
|
||||||
|
return npcId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 3;</code>
|
||||||
|
* @param value the npcId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public FirstNpcTalkInfo setNpcId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
npcId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool KGCJMBBFBIA = 7;</code>
|
||||||
|
* @return whether the kGCJMBBFBIA field is set
|
||||||
|
*/
|
||||||
|
public boolean hasKGCJMBBFBIA() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool KGCJMBBFBIA = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public FirstNpcTalkInfo clearKGCJMBBFBIA() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
kGCJMBBFBIA = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool KGCJMBBFBIA = 7;</code>
|
||||||
|
* @return the kGCJMBBFBIA
|
||||||
|
*/
|
||||||
|
public boolean getKGCJMBBFBIA() {
|
||||||
|
return kGCJMBBFBIA;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool KGCJMBBFBIA = 7;</code>
|
||||||
|
* @param value the kGCJMBBFBIA to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public FirstNpcTalkInfo setKGCJMBBFBIA(final boolean value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
kGCJMBBFBIA = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FirstNpcTalkInfo copyFrom(final FirstNpcTalkInfo other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
npcId = other.npcId;
|
||||||
|
kGCJMBBFBIA = other.kGCJMBBFBIA;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FirstNpcTalkInfo mergeFrom(final FirstNpcTalkInfo other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasNpcId()) {
|
||||||
|
setNpcId(other.npcId);
|
||||||
|
}
|
||||||
|
if (other.hasKGCJMBBFBIA()) {
|
||||||
|
setKGCJMBBFBIA(other.kGCJMBBFBIA);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FirstNpcTalkInfo clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
npcId = 0;
|
||||||
|
kGCJMBBFBIA = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FirstNpcTalkInfo 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 FirstNpcTalkInfo)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
FirstNpcTalkInfo other = (FirstNpcTalkInfo) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasNpcId() || npcId == other.npcId)
|
||||||
|
&& (!hasKGCJMBBFBIA() || kGCJMBBFBIA == other.kGCJMBBFBIA);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 24);
|
||||||
|
output.writeUInt32NoTag(npcId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 56);
|
||||||
|
output.writeBoolNoTag(kGCJMBBFBIA);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(npcId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 2;
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public FirstNpcTalkInfo mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 24: {
|
||||||
|
// npcId
|
||||||
|
npcId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 56) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 56: {
|
||||||
|
// kGCJMBBFBIA
|
||||||
|
kGCJMBBFBIA = input.readBool();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.npcId, npcId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeBool(FieldNames.kGCJMBBFBIA, kGCJMBBFBIA);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FirstNpcTalkInfo mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 105021404:
|
||||||
|
case -1039282375: {
|
||||||
|
if (input.isAtField(FieldNames.npcId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
npcId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1845407362: {
|
||||||
|
if (input.isAtField(FieldNames.kGCJMBBFBIA)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
kGCJMBBFBIA = input.readBool();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FirstNpcTalkInfo clone() {
|
||||||
|
return new FirstNpcTalkInfo().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static FirstNpcTalkInfo parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new FirstNpcTalkInfo(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static FirstNpcTalkInfo parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new FirstNpcTalkInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static FirstNpcTalkInfo parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new FirstNpcTalkInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating FirstNpcTalkInfo messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<FirstNpcTalkInfo> getFactory() {
|
||||||
|
return FirstNpcTalkInfoFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum FirstNpcTalkInfoFactory implements MessageFactory<FirstNpcTalkInfo> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FirstNpcTalkInfo create() {
|
||||||
|
return FirstNpcTalkInfo.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName npcId = FieldName.forField("npcId", "npc_id");
|
||||||
|
|
||||||
|
static final FieldName kGCJMBBFBIA = FieldName.forField("KGCJMBBFBIA");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,301 @@
|
|||||||
|
// 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;
|
||||||
|
|
||||||
|
public final class GetFirstTalkNpcCsReqOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code GetFirstTalkNpcCsReq}
|
||||||
|
*/
|
||||||
|
public static final class GetFirstTalkNpcCsReq extends ProtoMessage<GetFirstTalkNpcCsReq> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 npc_id = 12;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt npcId = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
private GetFirstTalkNpcCsReq() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code GetFirstTalkNpcCsReq}
|
||||||
|
*/
|
||||||
|
public static GetFirstTalkNpcCsReq newInstance() {
|
||||||
|
return new GetFirstTalkNpcCsReq();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 npc_id = 12;</code>
|
||||||
|
* @return whether the npcId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasNpcId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 npc_id = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public GetFirstTalkNpcCsReq clearNpcId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
npcId.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 npc_id = 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 #getMutableNpcId()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getNpcId() {
|
||||||
|
return npcId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 npc_id = 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 getMutableNpcId() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return npcId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 npc_id = 12;</code>
|
||||||
|
* @param value the npcId to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public GetFirstTalkNpcCsReq addNpcId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
npcId.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 npc_id = 12;</code>
|
||||||
|
* @param values the npcId to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public GetFirstTalkNpcCsReq addAllNpcId(final int... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
npcId.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcCsReq copyFrom(final GetFirstTalkNpcCsReq other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
npcId.copyFrom(other.npcId);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcCsReq mergeFrom(final GetFirstTalkNpcCsReq other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasNpcId()) {
|
||||||
|
getMutableNpcId().addAll(other.npcId);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcCsReq clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
npcId.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcCsReq clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
npcId.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof GetFirstTalkNpcCsReq)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
GetFirstTalkNpcCsReq other = (GetFirstTalkNpcCsReq) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasNpcId() || npcId.equals(other.npcId));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
for (int i = 0; i < npcId.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 96);
|
||||||
|
output.writeUInt32NoTag(npcId.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += (1 * npcId.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(npcId);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public GetFirstTalkNpcCsReq mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 98: {
|
||||||
|
// npcId [packed=true]
|
||||||
|
input.readPackedUInt32(npcId, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 96: {
|
||||||
|
// npcId [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(npcId, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.npcId, npcId);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcCsReq mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 105021404:
|
||||||
|
case -1039282375: {
|
||||||
|
if (input.isAtField(FieldNames.npcId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(npcId);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcCsReq clone() {
|
||||||
|
return new GetFirstTalkNpcCsReq().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static GetFirstTalkNpcCsReq parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new GetFirstTalkNpcCsReq(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static GetFirstTalkNpcCsReq parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new GetFirstTalkNpcCsReq(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static GetFirstTalkNpcCsReq parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new GetFirstTalkNpcCsReq(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating GetFirstTalkNpcCsReq messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<GetFirstTalkNpcCsReq> getFactory() {
|
||||||
|
return GetFirstTalkNpcCsReqFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum GetFirstTalkNpcCsReqFactory implements MessageFactory<GetFirstTalkNpcCsReq> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcCsReq create() {
|
||||||
|
return GetFirstTalkNpcCsReq.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName npcId = FieldName.forField("npcId", "npc_id");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,377 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import us.hebi.quickbuf.FieldName;
|
||||||
|
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||||
|
import us.hebi.quickbuf.JsonSink;
|
||||||
|
import us.hebi.quickbuf.JsonSource;
|
||||||
|
import us.hebi.quickbuf.MessageFactory;
|
||||||
|
import us.hebi.quickbuf.ProtoMessage;
|
||||||
|
import us.hebi.quickbuf.ProtoSink;
|
||||||
|
import us.hebi.quickbuf.ProtoSource;
|
||||||
|
import us.hebi.quickbuf.RepeatedMessage;
|
||||||
|
|
||||||
|
public final class GetFirstTalkNpcScRspOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code GetFirstTalkNpcScRsp}
|
||||||
|
*/
|
||||||
|
public static final class GetFirstTalkNpcScRsp extends ProtoMessage<GetFirstTalkNpcScRsp> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
|
*/
|
||||||
|
private int retcode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .FirstNpcTalkInfo npc_talk_info_list = 3;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedMessage<FirstNpcTalkInfoOuterClass.FirstNpcTalkInfo> npcTalkInfoList = RepeatedMessage.newEmptyInstance(FirstNpcTalkInfoOuterClass.FirstNpcTalkInfo.getFactory());
|
||||||
|
|
||||||
|
private GetFirstTalkNpcScRsp() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code GetFirstTalkNpcScRsp}
|
||||||
|
*/
|
||||||
|
public static GetFirstTalkNpcScRsp newInstance() {
|
||||||
|
return new GetFirstTalkNpcScRsp();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
|
* @return whether the retcode field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRetcode() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public GetFirstTalkNpcScRsp clearRetcode() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
retcode = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
|
* @return the retcode
|
||||||
|
*/
|
||||||
|
public int getRetcode() {
|
||||||
|
return retcode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 5;</code>
|
||||||
|
* @param value the retcode to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public GetFirstTalkNpcScRsp setRetcode(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
retcode = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .FirstNpcTalkInfo npc_talk_info_list = 3;</code>
|
||||||
|
* @return whether the npcTalkInfoList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasNpcTalkInfoList() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .FirstNpcTalkInfo npc_talk_info_list = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public GetFirstTalkNpcScRsp clearNpcTalkInfoList() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
npcTalkInfoList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .FirstNpcTalkInfo npc_talk_info_list = 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 #getMutableNpcTalkInfoList()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedMessage<FirstNpcTalkInfoOuterClass.FirstNpcTalkInfo> getNpcTalkInfoList() {
|
||||||
|
return npcTalkInfoList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .FirstNpcTalkInfo npc_talk_info_list = 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 RepeatedMessage<FirstNpcTalkInfoOuterClass.FirstNpcTalkInfo> getMutableNpcTalkInfoList(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return npcTalkInfoList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .FirstNpcTalkInfo npc_talk_info_list = 3;</code>
|
||||||
|
* @param value the npcTalkInfoList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public GetFirstTalkNpcScRsp addNpcTalkInfoList(
|
||||||
|
final FirstNpcTalkInfoOuterClass.FirstNpcTalkInfo value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
npcTalkInfoList.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .FirstNpcTalkInfo npc_talk_info_list = 3;</code>
|
||||||
|
* @param values the npcTalkInfoList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public GetFirstTalkNpcScRsp addAllNpcTalkInfoList(
|
||||||
|
final FirstNpcTalkInfoOuterClass.FirstNpcTalkInfo... values) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
npcTalkInfoList.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcScRsp copyFrom(final GetFirstTalkNpcScRsp other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
retcode = other.retcode;
|
||||||
|
npcTalkInfoList.copyFrom(other.npcTalkInfoList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcScRsp mergeFrom(final GetFirstTalkNpcScRsp other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRetcode()) {
|
||||||
|
setRetcode(other.retcode);
|
||||||
|
}
|
||||||
|
if (other.hasNpcTalkInfoList()) {
|
||||||
|
getMutableNpcTalkInfoList().addAll(other.npcTalkInfoList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcScRsp clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
retcode = 0;
|
||||||
|
npcTalkInfoList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcScRsp clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
npcTalkInfoList.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof GetFirstTalkNpcScRsp)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
GetFirstTalkNpcScRsp other = (GetFirstTalkNpcScRsp) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRetcode() || retcode == other.retcode)
|
||||||
|
&& (!hasNpcTalkInfoList() || npcTalkInfoList.equals(other.npcTalkInfoList));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 40);
|
||||||
|
output.writeUInt32NoTag(retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
for (int i = 0; i < npcTalkInfoList.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 26);
|
||||||
|
output.writeMessageNoTag(npcTalkInfoList.get(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += (1 * npcTalkInfoList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(npcTalkInfoList);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public GetFirstTalkNpcScRsp mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 40: {
|
||||||
|
// retcode
|
||||||
|
retcode = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 26) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 26: {
|
||||||
|
// npcTalkInfoList
|
||||||
|
tag = input.readRepeatedMessage(npcTalkInfoList, tag);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.retcode, retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRepeatedMessage(FieldNames.npcTalkInfoList, npcTalkInfoList);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcScRsp mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1097936398: {
|
||||||
|
if (input.isAtField(FieldNames.retcode)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
retcode = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1326095175:
|
||||||
|
case 2015989466: {
|
||||||
|
if (input.isAtField(FieldNames.npcTalkInfoList)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedMessage(npcTalkInfoList);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcScRsp clone() {
|
||||||
|
return new GetFirstTalkNpcScRsp().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static GetFirstTalkNpcScRsp parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new GetFirstTalkNpcScRsp(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static GetFirstTalkNpcScRsp parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new GetFirstTalkNpcScRsp(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static GetFirstTalkNpcScRsp parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new GetFirstTalkNpcScRsp(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating GetFirstTalkNpcScRsp messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<GetFirstTalkNpcScRsp> getFactory() {
|
||||||
|
return GetFirstTalkNpcScRspFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum GetFirstTalkNpcScRspFactory implements MessageFactory<GetFirstTalkNpcScRsp> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GetFirstTalkNpcScRsp create() {
|
||||||
|
return GetFirstTalkNpcScRsp.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName retcode = FieldName.forField("retcode");
|
||||||
|
|
||||||
|
static final FieldName npcTalkInfoList = FieldName.forField("npcTalkInfoList", "npc_talk_info_list");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,671 @@
|
|||||||
|
// 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 HandleRogueCommonPendingActionCsReqOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code HandleRogueCommonPendingActionCsReq}
|
||||||
|
*/
|
||||||
|
public static final class HandleRogueCommonPendingActionCsReq extends ProtoMessage<HandleRogueCommonPendingActionCsReq> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PHDCDDGMOJD MKNBOHDIBMC = 1285;
|
||||||
|
* LNKCIHHBMCN LMGOMLNGOCL = 1618;
|
||||||
|
* ECNFHANMIJD PCEFILHFHDH = 368;
|
||||||
|
* GOGIJMPCNAO FBDCGDPCBNL = 569;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectResult bonus_select_result = 136;</code>
|
||||||
|
*/
|
||||||
|
private final RogueBonusSelectResultOuterClass.RogueBonusSelectResult bonusSelectResult = RogueBonusSelectResultOuterClass.RogueBonusSelectResult.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelectResult miracle_select_result = 194;</code>
|
||||||
|
*/
|
||||||
|
private final RogueMiracleSelectResultOuterClass.RogueMiracleSelectResult miracleSelectResult = RogueMiracleSelectResultOuterClass.RogueMiracleSelectResult.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* KINJFMEPCKE LIIGPIFDPLK = 1157;
|
||||||
|
* CKGDDAIDEMO OECLKHEGBFM = 1521;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffRollInfo roll_buff = 689;</code>
|
||||||
|
*/
|
||||||
|
private final RogueBuffRollInfoOuterClass.RogueBuffRollInfo rollBuff = RogueBuffRollInfoOuterClass.RogueBuffRollInfo.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectResult buff_select_result = 1139;</code>
|
||||||
|
*/
|
||||||
|
private final RogueCommonBuffSelectResultOuterClass.RogueCommonBuffSelectResult buffSelectResult = RogueCommonBuffSelectResultOuterClass.RogueCommonBuffSelectResult.newInstance();
|
||||||
|
|
||||||
|
private HandleRogueCommonPendingActionCsReq() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code HandleRogueCommonPendingActionCsReq}
|
||||||
|
*/
|
||||||
|
public static HandleRogueCommonPendingActionCsReq newInstance() {
|
||||||
|
return new HandleRogueCommonPendingActionCsReq();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PHDCDDGMOJD MKNBOHDIBMC = 1285;
|
||||||
|
* LNKCIHHBMCN LMGOMLNGOCL = 1618;
|
||||||
|
* ECNFHANMIJD PCEFILHFHDH = 368;
|
||||||
|
* GOGIJMPCNAO FBDCGDPCBNL = 569;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectResult bonus_select_result = 136;</code>
|
||||||
|
* @return whether the bonusSelectResult field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBonusSelectResult() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PHDCDDGMOJD MKNBOHDIBMC = 1285;
|
||||||
|
* LNKCIHHBMCN LMGOMLNGOCL = 1618;
|
||||||
|
* ECNFHANMIJD PCEFILHFHDH = 368;
|
||||||
|
* GOGIJMPCNAO FBDCGDPCBNL = 569;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectResult bonus_select_result = 136;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionCsReq clearBonusSelectResult() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
bonusSelectResult.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PHDCDDGMOJD MKNBOHDIBMC = 1285;
|
||||||
|
* LNKCIHHBMCN LMGOMLNGOCL = 1618;
|
||||||
|
* ECNFHANMIJD PCEFILHFHDH = 368;
|
||||||
|
* GOGIJMPCNAO FBDCGDPCBNL = 569;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectResult bonus_select_result = 136;</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 #getMutableBonusSelectResult()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueBonusSelectResultOuterClass.RogueBonusSelectResult getBonusSelectResult() {
|
||||||
|
return bonusSelectResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PHDCDDGMOJD MKNBOHDIBMC = 1285;
|
||||||
|
* LNKCIHHBMCN LMGOMLNGOCL = 1618;
|
||||||
|
* ECNFHANMIJD PCEFILHFHDH = 368;
|
||||||
|
* GOGIJMPCNAO FBDCGDPCBNL = 569;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectResult bonus_select_result = 136;</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 RogueBonusSelectResultOuterClass.RogueBonusSelectResult getMutableBonusSelectResult() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return bonusSelectResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PHDCDDGMOJD MKNBOHDIBMC = 1285;
|
||||||
|
* LNKCIHHBMCN LMGOMLNGOCL = 1618;
|
||||||
|
* ECNFHANMIJD PCEFILHFHDH = 368;
|
||||||
|
* GOGIJMPCNAO FBDCGDPCBNL = 569;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectResult bonus_select_result = 136;</code>
|
||||||
|
* @param value the bonusSelectResult to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionCsReq setBonusSelectResult(
|
||||||
|
final RogueBonusSelectResultOuterClass.RogueBonusSelectResult value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
bonusSelectResult.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelectResult miracle_select_result = 194;</code>
|
||||||
|
* @return whether the miracleSelectResult field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMiracleSelectResult() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelectResult miracle_select_result = 194;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionCsReq clearMiracleSelectResult() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
miracleSelectResult.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelectResult miracle_select_result = 194;</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 #getMutableMiracleSelectResult()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueMiracleSelectResultOuterClass.RogueMiracleSelectResult getMiracleSelectResult() {
|
||||||
|
return miracleSelectResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelectResult miracle_select_result = 194;</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 RogueMiracleSelectResultOuterClass.RogueMiracleSelectResult getMutableMiracleSelectResult(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return miracleSelectResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelectResult miracle_select_result = 194;</code>
|
||||||
|
* @param value the miracleSelectResult to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionCsReq setMiracleSelectResult(
|
||||||
|
final RogueMiracleSelectResultOuterClass.RogueMiracleSelectResult value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
miracleSelectResult.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* KINJFMEPCKE LIIGPIFDPLK = 1157;
|
||||||
|
* CKGDDAIDEMO OECLKHEGBFM = 1521;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffRollInfo roll_buff = 689;</code>
|
||||||
|
* @return whether the rollBuff field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRollBuff() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* KINJFMEPCKE LIIGPIFDPLK = 1157;
|
||||||
|
* CKGDDAIDEMO OECLKHEGBFM = 1521;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffRollInfo roll_buff = 689;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionCsReq clearRollBuff() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
rollBuff.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* KINJFMEPCKE LIIGPIFDPLK = 1157;
|
||||||
|
* CKGDDAIDEMO OECLKHEGBFM = 1521;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffRollInfo roll_buff = 689;</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 #getMutableRollBuff()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueBuffRollInfoOuterClass.RogueBuffRollInfo getRollBuff() {
|
||||||
|
return rollBuff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* KINJFMEPCKE LIIGPIFDPLK = 1157;
|
||||||
|
* CKGDDAIDEMO OECLKHEGBFM = 1521;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffRollInfo roll_buff = 689;</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 RogueBuffRollInfoOuterClass.RogueBuffRollInfo getMutableRollBuff() {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return rollBuff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* KINJFMEPCKE LIIGPIFDPLK = 1157;
|
||||||
|
* CKGDDAIDEMO OECLKHEGBFM = 1521;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffRollInfo roll_buff = 689;</code>
|
||||||
|
* @param value the rollBuff to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionCsReq setRollBuff(
|
||||||
|
final RogueBuffRollInfoOuterClass.RogueBuffRollInfo value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
rollBuff.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectResult buff_select_result = 1139;</code>
|
||||||
|
* @return whether the buffSelectResult field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBuffSelectResult() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectResult buff_select_result = 1139;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionCsReq clearBuffSelectResult() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
buffSelectResult.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectResult buff_select_result = 1139;</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 #getMutableBuffSelectResult()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueCommonBuffSelectResultOuterClass.RogueCommonBuffSelectResult getBuffSelectResult() {
|
||||||
|
return buffSelectResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectResult buff_select_result = 1139;</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 RogueCommonBuffSelectResultOuterClass.RogueCommonBuffSelectResult getMutableBuffSelectResult(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
return buffSelectResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectResult buff_select_result = 1139;</code>
|
||||||
|
* @param value the buffSelectResult to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionCsReq setBuffSelectResult(
|
||||||
|
final RogueCommonBuffSelectResultOuterClass.RogueCommonBuffSelectResult value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
buffSelectResult.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionCsReq copyFrom(
|
||||||
|
final HandleRogueCommonPendingActionCsReq other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
bonusSelectResult.copyFrom(other.bonusSelectResult);
|
||||||
|
miracleSelectResult.copyFrom(other.miracleSelectResult);
|
||||||
|
rollBuff.copyFrom(other.rollBuff);
|
||||||
|
buffSelectResult.copyFrom(other.buffSelectResult);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionCsReq mergeFrom(
|
||||||
|
final HandleRogueCommonPendingActionCsReq other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBonusSelectResult()) {
|
||||||
|
getMutableBonusSelectResult().mergeFrom(other.bonusSelectResult);
|
||||||
|
}
|
||||||
|
if (other.hasMiracleSelectResult()) {
|
||||||
|
getMutableMiracleSelectResult().mergeFrom(other.miracleSelectResult);
|
||||||
|
}
|
||||||
|
if (other.hasRollBuff()) {
|
||||||
|
getMutableRollBuff().mergeFrom(other.rollBuff);
|
||||||
|
}
|
||||||
|
if (other.hasBuffSelectResult()) {
|
||||||
|
getMutableBuffSelectResult().mergeFrom(other.buffSelectResult);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionCsReq clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
bonusSelectResult.clear();
|
||||||
|
miracleSelectResult.clear();
|
||||||
|
rollBuff.clear();
|
||||||
|
buffSelectResult.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionCsReq clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
bonusSelectResult.clearQuick();
|
||||||
|
miracleSelectResult.clearQuick();
|
||||||
|
rollBuff.clearQuick();
|
||||||
|
buffSelectResult.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof HandleRogueCommonPendingActionCsReq)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
HandleRogueCommonPendingActionCsReq other = (HandleRogueCommonPendingActionCsReq) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBonusSelectResult() || bonusSelectResult.equals(other.bonusSelectResult))
|
||||||
|
&& (!hasMiracleSelectResult() || miracleSelectResult.equals(other.miracleSelectResult))
|
||||||
|
&& (!hasRollBuff() || rollBuff.equals(other.rollBuff))
|
||||||
|
&& (!hasBuffSelectResult() || buffSelectResult.equals(other.buffSelectResult));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 2242);
|
||||||
|
output.writeMessageNoTag(bonusSelectResult);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 3218);
|
||||||
|
output.writeMessageNoTag(miracleSelectResult);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 11146);
|
||||||
|
output.writeMessageNoTag(rollBuff);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 18330);
|
||||||
|
output.writeMessageNoTag(buffSelectResult);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(bonusSelectResult);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(miracleSelectResult);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(rollBuff);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(buffSelectResult);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public HandleRogueCommonPendingActionCsReq mergeFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 1090: {
|
||||||
|
// bonusSelectResult
|
||||||
|
input.readMessage(bonusSelectResult);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 1554) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 1554: {
|
||||||
|
// miracleSelectResult
|
||||||
|
input.readMessage(miracleSelectResult);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 5514) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 5514: {
|
||||||
|
// rollBuff
|
||||||
|
input.readMessage(rollBuff);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 9114) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 9114: {
|
||||||
|
// buffSelectResult
|
||||||
|
input.readMessage(buffSelectResult);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeMessage(FieldNames.bonusSelectResult, bonusSelectResult);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeMessage(FieldNames.miracleSelectResult, miracleSelectResult);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rollBuff, rollBuff);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeMessage(FieldNames.buffSelectResult, buffSelectResult);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionCsReq mergeFrom(final JsonSource input) throws
|
||||||
|
IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 732920312:
|
||||||
|
case 396692640: {
|
||||||
|
if (input.isAtField(FieldNames.bonusSelectResult)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(bonusSelectResult);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 961581898:
|
||||||
|
case 1097144690: {
|
||||||
|
if (input.isAtField(FieldNames.miracleSelectResult)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(miracleSelectResult);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -260653456:
|
||||||
|
case 535908053: {
|
||||||
|
if (input.isAtField(FieldNames.rollBuff)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rollBuff);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -224789460:
|
||||||
|
case -839396908: {
|
||||||
|
if (input.isAtField(FieldNames.buffSelectResult)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(buffSelectResult);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionCsReq clone() {
|
||||||
|
return new HandleRogueCommonPendingActionCsReq().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HandleRogueCommonPendingActionCsReq parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new HandleRogueCommonPendingActionCsReq(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HandleRogueCommonPendingActionCsReq parseFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new HandleRogueCommonPendingActionCsReq(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HandleRogueCommonPendingActionCsReq parseFrom(final JsonSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new HandleRogueCommonPendingActionCsReq(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating HandleRogueCommonPendingActionCsReq messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<HandleRogueCommonPendingActionCsReq> getFactory() {
|
||||||
|
return HandleRogueCommonPendingActionCsReqFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum HandleRogueCommonPendingActionCsReqFactory implements MessageFactory<HandleRogueCommonPendingActionCsReq> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionCsReq create() {
|
||||||
|
return HandleRogueCommonPendingActionCsReq.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName bonusSelectResult = FieldName.forField("bonusSelectResult", "bonus_select_result");
|
||||||
|
|
||||||
|
static final FieldName miracleSelectResult = FieldName.forField("miracleSelectResult", "miracle_select_result");
|
||||||
|
|
||||||
|
static final FieldName rollBuff = FieldName.forField("rollBuff", "roll_buff");
|
||||||
|
|
||||||
|
static final FieldName buffSelectResult = FieldName.forField("buffSelectResult", "buff_select_result");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,829 @@
|
|||||||
|
// 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 HandleRogueCommonPendingActionScRspOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code HandleRogueCommonPendingActionScRsp}
|
||||||
|
*/
|
||||||
|
public static final class HandleRogueCommonPendingActionScRsp extends ProtoMessage<HandleRogueCommonPendingActionScRsp> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
*/
|
||||||
|
private int retcode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 times = 6;</code>
|
||||||
|
*/
|
||||||
|
private int times;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* JNFKIKEOCDJ PMKFBIDBNMD = 278;
|
||||||
|
* NBBNKDNALML NHMMLPMPOGJ = 1188;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRerollBuff rogue_reroll_buff = 726;</code>
|
||||||
|
*/
|
||||||
|
private final RogueRerollBuffOuterClass.RogueRerollBuff rogueRerollBuff = RogueRerollBuffOuterClass.RogueRerollBuff.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CAJPKNLHPKI EDNKJDKBFBK = 1063;
|
||||||
|
* HAAFONHLFGK LMMCDOMELIG = 703;
|
||||||
|
* CFEFNJGJLMO CLLEHKCPKPF = 337;
|
||||||
|
* IAAPDOPPHGN NIMIHAMIMDC = 283;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelect bonus_select = 1149;</code>
|
||||||
|
*/
|
||||||
|
private final RogueBonusSelectOuterClass.RogueBonusSelect bonusSelect = RogueBonusSelectOuterClass.RogueBonusSelect.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSelect rogue_buff_select = 1258;</code>
|
||||||
|
*/
|
||||||
|
private final RogueBuffSelectOuterClass.RogueBuffSelect rogueBuffSelect = RogueBuffSelectOuterClass.RogueBuffSelect.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelect miracle_select = 1655;</code>
|
||||||
|
*/
|
||||||
|
private final RogueMiracleSelectOuterClass.RogueMiracleSelect miracleSelect = RogueMiracleSelectOuterClass.RogueMiracleSelect.newInstance();
|
||||||
|
|
||||||
|
private HandleRogueCommonPendingActionScRsp() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code HandleRogueCommonPendingActionScRsp}
|
||||||
|
*/
|
||||||
|
public static HandleRogueCommonPendingActionScRsp newInstance() {
|
||||||
|
return new HandleRogueCommonPendingActionScRsp();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
* @return whether the retcode field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRetcode() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp clearRetcode() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
retcode = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
* @return the retcode
|
||||||
|
*/
|
||||||
|
public int getRetcode() {
|
||||||
|
return retcode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 3;</code>
|
||||||
|
* @param value the retcode to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp setRetcode(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
retcode = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 times = 6;</code>
|
||||||
|
* @return whether the times field is set
|
||||||
|
*/
|
||||||
|
public boolean hasTimes() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 times = 6;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp clearTimes() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
times = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 times = 6;</code>
|
||||||
|
* @return the times
|
||||||
|
*/
|
||||||
|
public int getTimes() {
|
||||||
|
return times;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 times = 6;</code>
|
||||||
|
* @param value the times to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp setTimes(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
times = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* JNFKIKEOCDJ PMKFBIDBNMD = 278;
|
||||||
|
* NBBNKDNALML NHMMLPMPOGJ = 1188;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRerollBuff rogue_reroll_buff = 726;</code>
|
||||||
|
* @return whether the rogueRerollBuff field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueRerollBuff() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* JNFKIKEOCDJ PMKFBIDBNMD = 278;
|
||||||
|
* NBBNKDNALML NHMMLPMPOGJ = 1188;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRerollBuff rogue_reroll_buff = 726;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp clearRogueRerollBuff() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
rogueRerollBuff.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* JNFKIKEOCDJ PMKFBIDBNMD = 278;
|
||||||
|
* NBBNKDNALML NHMMLPMPOGJ = 1188;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRerollBuff rogue_reroll_buff = 726;</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 #getMutableRogueRerollBuff()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueRerollBuffOuterClass.RogueRerollBuff getRogueRerollBuff() {
|
||||||
|
return rogueRerollBuff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* JNFKIKEOCDJ PMKFBIDBNMD = 278;
|
||||||
|
* NBBNKDNALML NHMMLPMPOGJ = 1188;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRerollBuff rogue_reroll_buff = 726;</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 RogueRerollBuffOuterClass.RogueRerollBuff getMutableRogueRerollBuff() {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return rogueRerollBuff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* JNFKIKEOCDJ PMKFBIDBNMD = 278;
|
||||||
|
* NBBNKDNALML NHMMLPMPOGJ = 1188;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRerollBuff rogue_reroll_buff = 726;</code>
|
||||||
|
* @param value the rogueRerollBuff to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp setRogueRerollBuff(
|
||||||
|
final RogueRerollBuffOuterClass.RogueRerollBuff value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
rogueRerollBuff.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CAJPKNLHPKI EDNKJDKBFBK = 1063;
|
||||||
|
* HAAFONHLFGK LMMCDOMELIG = 703;
|
||||||
|
* CFEFNJGJLMO CLLEHKCPKPF = 337;
|
||||||
|
* IAAPDOPPHGN NIMIHAMIMDC = 283;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelect bonus_select = 1149;</code>
|
||||||
|
* @return whether the bonusSelect field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBonusSelect() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CAJPKNLHPKI EDNKJDKBFBK = 1063;
|
||||||
|
* HAAFONHLFGK LMMCDOMELIG = 703;
|
||||||
|
* CFEFNJGJLMO CLLEHKCPKPF = 337;
|
||||||
|
* IAAPDOPPHGN NIMIHAMIMDC = 283;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelect bonus_select = 1149;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp clearBonusSelect() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
bonusSelect.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CAJPKNLHPKI EDNKJDKBFBK = 1063;
|
||||||
|
* HAAFONHLFGK LMMCDOMELIG = 703;
|
||||||
|
* CFEFNJGJLMO CLLEHKCPKPF = 337;
|
||||||
|
* IAAPDOPPHGN NIMIHAMIMDC = 283;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelect bonus_select = 1149;</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 #getMutableBonusSelect()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueBonusSelectOuterClass.RogueBonusSelect getBonusSelect() {
|
||||||
|
return bonusSelect;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CAJPKNLHPKI EDNKJDKBFBK = 1063;
|
||||||
|
* HAAFONHLFGK LMMCDOMELIG = 703;
|
||||||
|
* CFEFNJGJLMO CLLEHKCPKPF = 337;
|
||||||
|
* IAAPDOPPHGN NIMIHAMIMDC = 283;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelect bonus_select = 1149;</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 RogueBonusSelectOuterClass.RogueBonusSelect getMutableBonusSelect() {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
return bonusSelect;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CAJPKNLHPKI EDNKJDKBFBK = 1063;
|
||||||
|
* HAAFONHLFGK LMMCDOMELIG = 703;
|
||||||
|
* CFEFNJGJLMO CLLEHKCPKPF = 337;
|
||||||
|
* IAAPDOPPHGN NIMIHAMIMDC = 283;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelect bonus_select = 1149;</code>
|
||||||
|
* @param value the bonusSelect to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp setBonusSelect(
|
||||||
|
final RogueBonusSelectOuterClass.RogueBonusSelect value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
bonusSelect.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSelect rogue_buff_select = 1258;</code>
|
||||||
|
* @return whether the rogueBuffSelect field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueBuffSelect() {
|
||||||
|
return (bitField0_ & 0x00000010) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSelect rogue_buff_select = 1258;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp clearRogueBuffSelect() {
|
||||||
|
bitField0_ &= ~0x00000010;
|
||||||
|
rogueBuffSelect.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSelect rogue_buff_select = 1258;</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 #getMutableRogueBuffSelect()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueBuffSelectOuterClass.RogueBuffSelect getRogueBuffSelect() {
|
||||||
|
return rogueBuffSelect;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSelect rogue_buff_select = 1258;</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 RogueBuffSelectOuterClass.RogueBuffSelect getMutableRogueBuffSelect() {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
return rogueBuffSelect;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSelect rogue_buff_select = 1258;</code>
|
||||||
|
* @param value the rogueBuffSelect to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp setRogueBuffSelect(
|
||||||
|
final RogueBuffSelectOuterClass.RogueBuffSelect value) {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
rogueBuffSelect.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelect miracle_select = 1655;</code>
|
||||||
|
* @return whether the miracleSelect field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMiracleSelect() {
|
||||||
|
return (bitField0_ & 0x00000020) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelect miracle_select = 1655;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp clearMiracleSelect() {
|
||||||
|
bitField0_ &= ~0x00000020;
|
||||||
|
miracleSelect.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelect miracle_select = 1655;</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 #getMutableMiracleSelect()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueMiracleSelectOuterClass.RogueMiracleSelect getMiracleSelect() {
|
||||||
|
return miracleSelect;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelect miracle_select = 1655;</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 RogueMiracleSelectOuterClass.RogueMiracleSelect getMutableMiracleSelect() {
|
||||||
|
bitField0_ |= 0x00000020;
|
||||||
|
return miracleSelect;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracleSelect miracle_select = 1655;</code>
|
||||||
|
* @param value the miracleSelect to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HandleRogueCommonPendingActionScRsp setMiracleSelect(
|
||||||
|
final RogueMiracleSelectOuterClass.RogueMiracleSelect value) {
|
||||||
|
bitField0_ |= 0x00000020;
|
||||||
|
miracleSelect.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionScRsp copyFrom(
|
||||||
|
final HandleRogueCommonPendingActionScRsp other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
retcode = other.retcode;
|
||||||
|
times = other.times;
|
||||||
|
rogueRerollBuff.copyFrom(other.rogueRerollBuff);
|
||||||
|
bonusSelect.copyFrom(other.bonusSelect);
|
||||||
|
rogueBuffSelect.copyFrom(other.rogueBuffSelect);
|
||||||
|
miracleSelect.copyFrom(other.miracleSelect);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionScRsp mergeFrom(
|
||||||
|
final HandleRogueCommonPendingActionScRsp other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRetcode()) {
|
||||||
|
setRetcode(other.retcode);
|
||||||
|
}
|
||||||
|
if (other.hasTimes()) {
|
||||||
|
setTimes(other.times);
|
||||||
|
}
|
||||||
|
if (other.hasRogueRerollBuff()) {
|
||||||
|
getMutableRogueRerollBuff().mergeFrom(other.rogueRerollBuff);
|
||||||
|
}
|
||||||
|
if (other.hasBonusSelect()) {
|
||||||
|
getMutableBonusSelect().mergeFrom(other.bonusSelect);
|
||||||
|
}
|
||||||
|
if (other.hasRogueBuffSelect()) {
|
||||||
|
getMutableRogueBuffSelect().mergeFrom(other.rogueBuffSelect);
|
||||||
|
}
|
||||||
|
if (other.hasMiracleSelect()) {
|
||||||
|
getMutableMiracleSelect().mergeFrom(other.miracleSelect);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionScRsp clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
retcode = 0;
|
||||||
|
times = 0;
|
||||||
|
rogueRerollBuff.clear();
|
||||||
|
bonusSelect.clear();
|
||||||
|
rogueBuffSelect.clear();
|
||||||
|
miracleSelect.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionScRsp clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueRerollBuff.clearQuick();
|
||||||
|
bonusSelect.clearQuick();
|
||||||
|
rogueBuffSelect.clearQuick();
|
||||||
|
miracleSelect.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof HandleRogueCommonPendingActionScRsp)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
HandleRogueCommonPendingActionScRsp other = (HandleRogueCommonPendingActionScRsp) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRetcode() || retcode == other.retcode)
|
||||||
|
&& (!hasTimes() || times == other.times)
|
||||||
|
&& (!hasRogueRerollBuff() || rogueRerollBuff.equals(other.rogueRerollBuff))
|
||||||
|
&& (!hasBonusSelect() || bonusSelect.equals(other.bonusSelect))
|
||||||
|
&& (!hasRogueBuffSelect() || rogueBuffSelect.equals(other.rogueBuffSelect))
|
||||||
|
&& (!hasMiracleSelect() || miracleSelect.equals(other.miracleSelect));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 24);
|
||||||
|
output.writeUInt32NoTag(retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 48);
|
||||||
|
output.writeUInt32NoTag(times);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 11698);
|
||||||
|
output.writeMessageNoTag(rogueRerollBuff);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 18410);
|
||||||
|
output.writeMessageNoTag(bonusSelect);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 20178);
|
||||||
|
output.writeMessageNoTag(rogueBuffSelect);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000020) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 26554);
|
||||||
|
output.writeMessageNoTag(miracleSelect);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(times);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(rogueRerollBuff);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(bonusSelect);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(rogueBuffSelect);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000020) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(miracleSelect);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public HandleRogueCommonPendingActionScRsp mergeFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 24: {
|
||||||
|
// retcode
|
||||||
|
retcode = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 48) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 48: {
|
||||||
|
// times
|
||||||
|
times = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 5810) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 5810: {
|
||||||
|
// rogueRerollBuff
|
||||||
|
input.readMessage(rogueRerollBuff);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 9194) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 9194: {
|
||||||
|
// bonusSelect
|
||||||
|
input.readMessage(bonusSelect);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 10066) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 10066: {
|
||||||
|
// rogueBuffSelect
|
||||||
|
input.readMessage(rogueBuffSelect);
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 13242) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 13242: {
|
||||||
|
// miracleSelect
|
||||||
|
input.readMessage(miracleSelect);
|
||||||
|
bitField0_ |= 0x00000020;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.retcode, retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.times, times);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueRerollBuff, rogueRerollBuff);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeMessage(FieldNames.bonusSelect, bonusSelect);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueBuffSelect, rogueBuffSelect);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000020) != 0) {
|
||||||
|
output.writeMessage(FieldNames.miracleSelect, miracleSelect);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionScRsp mergeFrom(final JsonSource input) throws
|
||||||
|
IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1097936398: {
|
||||||
|
if (input.isAtField(FieldNames.retcode)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
retcode = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 110364486: {
|
||||||
|
if (input.isAtField(FieldNames.times)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
times = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -620807395:
|
||||||
|
case -555127011: {
|
||||||
|
if (input.isAtField(FieldNames.rogueRerollBuff)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueRerollBuff);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1904635387:
|
||||||
|
case 1368817948: {
|
||||||
|
if (input.isAtField(FieldNames.bonusSelect)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(bonusSelect);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -183502679:
|
||||||
|
case -1750117501: {
|
||||||
|
if (input.isAtField(FieldNames.rogueBuffSelect)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueBuffSelect);
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 788622541:
|
||||||
|
case 1132158090: {
|
||||||
|
if (input.isAtField(FieldNames.miracleSelect)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(miracleSelect);
|
||||||
|
bitField0_ |= 0x00000020;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionScRsp clone() {
|
||||||
|
return new HandleRogueCommonPendingActionScRsp().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HandleRogueCommonPendingActionScRsp parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new HandleRogueCommonPendingActionScRsp(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HandleRogueCommonPendingActionScRsp parseFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new HandleRogueCommonPendingActionScRsp(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HandleRogueCommonPendingActionScRsp parseFrom(final JsonSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new HandleRogueCommonPendingActionScRsp(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating HandleRogueCommonPendingActionScRsp messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<HandleRogueCommonPendingActionScRsp> getFactory() {
|
||||||
|
return HandleRogueCommonPendingActionScRspFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum HandleRogueCommonPendingActionScRspFactory implements MessageFactory<HandleRogueCommonPendingActionScRsp> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandleRogueCommonPendingActionScRsp create() {
|
||||||
|
return HandleRogueCommonPendingActionScRsp.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName retcode = FieldName.forField("retcode");
|
||||||
|
|
||||||
|
static final FieldName times = FieldName.forField("times");
|
||||||
|
|
||||||
|
static final FieldName rogueRerollBuff = FieldName.forField("rogueRerollBuff", "rogue_reroll_buff");
|
||||||
|
|
||||||
|
static final FieldName bonusSelect = FieldName.forField("bonusSelect", "bonus_select");
|
||||||
|
|
||||||
|
static final FieldName rogueBuffSelect = FieldName.forField("rogueBuffSelect", "rogue_buff_select");
|
||||||
|
|
||||||
|
static final FieldName miracleSelect = FieldName.forField("miracleSelect", "miracle_select");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -31,7 +31,7 @@ public final class ItemCostOuterClass {
|
|||||||
/**
|
/**
|
||||||
* <code>optional .PileItem pile_item = 6;</code>
|
* <code>optional .PileItem pile_item = 6;</code>
|
||||||
*/
|
*/
|
||||||
private final PileItemOuterClass.PileItem pileItem = PileItemOuterClass.PileItem.newInstance();
|
private final PileItem pileItem = PileItem.newInstance();
|
||||||
|
|
||||||
private ItemCost() {
|
private ItemCost() {
|
||||||
}
|
}
|
||||||
@@ -145,7 +145,7 @@ public final class ItemCostOuterClass {
|
|||||||
*
|
*
|
||||||
* @return internal storage object for reading
|
* @return internal storage object for reading
|
||||||
*/
|
*/
|
||||||
public PileItemOuterClass.PileItem getPileItem() {
|
public PileItem getPileItem() {
|
||||||
return pileItem;
|
return pileItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -158,7 +158,7 @@ public final class ItemCostOuterClass {
|
|||||||
*
|
*
|
||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public PileItemOuterClass.PileItem getMutablePileItem() {
|
public PileItem getMutablePileItem() {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
return pileItem;
|
return pileItem;
|
||||||
}
|
}
|
||||||
@@ -168,7 +168,7 @@ public final class ItemCostOuterClass {
|
|||||||
* @param value the pileItem to set
|
* @param value the pileItem to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public ItemCost setPileItem(final PileItemOuterClass.PileItem value) {
|
public ItemCost setPileItem(final PileItem value) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
pileItem.copyFrom(value);
|
pileItem.copyFrom(value);
|
||||||
return this;
|
return this;
|
||||||
@@ -439,4 +439,330 @@ public final class ItemCostOuterClass {
|
|||||||
static final FieldName pileItem = FieldName.forField("pileItem", "pile_item");
|
static final FieldName pileItem = FieldName.forField("pileItem", "pile_item");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code PileItem}
|
||||||
|
*/
|
||||||
|
public static final class PileItem extends ProtoMessage<PileItem> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_id = 10;</code>
|
||||||
|
*/
|
||||||
|
private int itemId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_num = 12;</code>
|
||||||
|
*/
|
||||||
|
private int itemNum;
|
||||||
|
|
||||||
|
private PileItem() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code PileItem}
|
||||||
|
*/
|
||||||
|
public static PileItem newInstance() {
|
||||||
|
return new PileItem();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_id = 10;</code>
|
||||||
|
* @return whether the itemId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasItemId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_id = 10;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PileItem clearItemId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
itemId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_id = 10;</code>
|
||||||
|
* @return the itemId
|
||||||
|
*/
|
||||||
|
public int getItemId() {
|
||||||
|
return itemId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_id = 10;</code>
|
||||||
|
* @param value the itemId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PileItem setItemId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
itemId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_num = 12;</code>
|
||||||
|
* @return whether the itemNum field is set
|
||||||
|
*/
|
||||||
|
public boolean hasItemNum() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_num = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PileItem clearItemNum() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
itemNum = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_num = 12;</code>
|
||||||
|
* @return the itemNum
|
||||||
|
*/
|
||||||
|
public int getItemNum() {
|
||||||
|
return itemNum;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 item_num = 12;</code>
|
||||||
|
* @param value the itemNum to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PileItem setItemNum(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
itemNum = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PileItem copyFrom(final PileItem other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
itemId = other.itemId;
|
||||||
|
itemNum = other.itemNum;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PileItem mergeFrom(final PileItem other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasItemId()) {
|
||||||
|
setItemId(other.itemId);
|
||||||
|
}
|
||||||
|
if (other.hasItemNum()) {
|
||||||
|
setItemNum(other.itemNum);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PileItem clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
itemId = 0;
|
||||||
|
itemNum = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PileItem 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 PileItem)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
PileItem other = (PileItem) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasItemId() || itemId == other.itemId)
|
||||||
|
&& (!hasItemNum() || itemNum == other.itemNum);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 80);
|
||||||
|
output.writeUInt32NoTag(itemId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 96);
|
||||||
|
output.writeUInt32NoTag(itemNum);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(itemId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(itemNum);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public PileItem mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 80: {
|
||||||
|
// itemId
|
||||||
|
itemId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 96) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 96: {
|
||||||
|
// itemNum
|
||||||
|
itemNum = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.itemId, itemId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.itemNum, itemNum);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PileItem mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1178662002:
|
||||||
|
case 2116204999: {
|
||||||
|
if (input.isAtField(FieldNames.itemId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
itemId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 2116189043:
|
||||||
|
case 1177850970: {
|
||||||
|
if (input.isAtField(FieldNames.itemNum)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
itemNum = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PileItem clone() {
|
||||||
|
return new PileItem().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PileItem parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new PileItem(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PileItem parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new PileItem(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PileItem parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new PileItem(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating PileItem messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<PileItem> getFactory() {
|
||||||
|
return PileItemFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum PileItemFactory implements MessageFactory<PileItem> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PileItem create() {
|
||||||
|
return PileItem.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName itemId = FieldName.forField("itemId", "item_id");
|
||||||
|
|
||||||
|
static final FieldName itemNum = FieldName.forField("itemNum", "item_num");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,600 @@
|
|||||||
|
// 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;
|
||||||
|
|
||||||
|
public final class JHAHJFNNGHIOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code JHAHJFNNGHI}
|
||||||
|
*/
|
||||||
|
public static final class JHAHJFNNGHI extends ProtoMessage<JHAHJFNNGHI> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
*/
|
||||||
|
private int jPEBPGIEGPO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OIJBOCHMDKA = 15;</code>
|
||||||
|
*/
|
||||||
|
private int oIJBOCHMDKA;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* true
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 1;</code>
|
||||||
|
*/
|
||||||
|
private boolean cGAFFPHCNEA;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 maze_unlocked = 8;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt mazeUnlocked = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
private JHAHJFNNGHI() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code JHAHJFNNGHI}
|
||||||
|
*/
|
||||||
|
public static JHAHJFNNGHI newInstance() {
|
||||||
|
return new JHAHJFNNGHI();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
* @return whether the jPEBPGIEGPO field is set
|
||||||
|
*/
|
||||||
|
public boolean hasJPEBPGIEGPO() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public JHAHJFNNGHI clearJPEBPGIEGPO() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
jPEBPGIEGPO = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
* @return the jPEBPGIEGPO
|
||||||
|
*/
|
||||||
|
public int getJPEBPGIEGPO() {
|
||||||
|
return jPEBPGIEGPO;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
* @param value the jPEBPGIEGPO to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public JHAHJFNNGHI setJPEBPGIEGPO(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
jPEBPGIEGPO = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OIJBOCHMDKA = 15;</code>
|
||||||
|
* @return whether the oIJBOCHMDKA field is set
|
||||||
|
*/
|
||||||
|
public boolean hasOIJBOCHMDKA() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OIJBOCHMDKA = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public JHAHJFNNGHI clearOIJBOCHMDKA() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
oIJBOCHMDKA = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OIJBOCHMDKA = 15;</code>
|
||||||
|
* @return the oIJBOCHMDKA
|
||||||
|
*/
|
||||||
|
public int getOIJBOCHMDKA() {
|
||||||
|
return oIJBOCHMDKA;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OIJBOCHMDKA = 15;</code>
|
||||||
|
* @param value the oIJBOCHMDKA to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public JHAHJFNNGHI setOIJBOCHMDKA(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
oIJBOCHMDKA = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* true
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 1;</code>
|
||||||
|
* @return whether the cGAFFPHCNEA field is set
|
||||||
|
*/
|
||||||
|
public boolean hasCGAFFPHCNEA() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* true
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 1;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public JHAHJFNNGHI clearCGAFFPHCNEA() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
cGAFFPHCNEA = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* true
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 1;</code>
|
||||||
|
* @return the cGAFFPHCNEA
|
||||||
|
*/
|
||||||
|
public boolean getCGAFFPHCNEA() {
|
||||||
|
return cGAFFPHCNEA;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* true
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 1;</code>
|
||||||
|
* @param value the cGAFFPHCNEA to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public JHAHJFNNGHI setCGAFFPHCNEA(final boolean value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
cGAFFPHCNEA = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 maze_unlocked = 8;</code>
|
||||||
|
* @return whether the mazeUnlocked field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMazeUnlocked() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 maze_unlocked = 8;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public JHAHJFNNGHI clearMazeUnlocked() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
mazeUnlocked.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 maze_unlocked = 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 #getMutableMazeUnlocked()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getMazeUnlocked() {
|
||||||
|
return mazeUnlocked;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 maze_unlocked = 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 getMutableMazeUnlocked() {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
return mazeUnlocked;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 maze_unlocked = 8;</code>
|
||||||
|
* @param value the mazeUnlocked to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public JHAHJFNNGHI addMazeUnlocked(final int value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
mazeUnlocked.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 maze_unlocked = 8;</code>
|
||||||
|
* @param values the mazeUnlocked to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public JHAHJFNNGHI addAllMazeUnlocked(final int... values) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
mazeUnlocked.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public JHAHJFNNGHI copyFrom(final JHAHJFNNGHI other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
jPEBPGIEGPO = other.jPEBPGIEGPO;
|
||||||
|
oIJBOCHMDKA = other.oIJBOCHMDKA;
|
||||||
|
cGAFFPHCNEA = other.cGAFFPHCNEA;
|
||||||
|
mazeUnlocked.copyFrom(other.mazeUnlocked);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public JHAHJFNNGHI mergeFrom(final JHAHJFNNGHI other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasJPEBPGIEGPO()) {
|
||||||
|
setJPEBPGIEGPO(other.jPEBPGIEGPO);
|
||||||
|
}
|
||||||
|
if (other.hasOIJBOCHMDKA()) {
|
||||||
|
setOIJBOCHMDKA(other.oIJBOCHMDKA);
|
||||||
|
}
|
||||||
|
if (other.hasCGAFFPHCNEA()) {
|
||||||
|
setCGAFFPHCNEA(other.cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
if (other.hasMazeUnlocked()) {
|
||||||
|
getMutableMazeUnlocked().addAll(other.mazeUnlocked);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public JHAHJFNNGHI clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
jPEBPGIEGPO = 0;
|
||||||
|
oIJBOCHMDKA = 0;
|
||||||
|
cGAFFPHCNEA = false;
|
||||||
|
mazeUnlocked.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public JHAHJFNNGHI clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
mazeUnlocked.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof JHAHJFNNGHI)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
JHAHJFNNGHI other = (JHAHJFNNGHI) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasJPEBPGIEGPO() || jPEBPGIEGPO == other.jPEBPGIEGPO)
|
||||||
|
&& (!hasOIJBOCHMDKA() || oIJBOCHMDKA == other.oIJBOCHMDKA)
|
||||||
|
&& (!hasCGAFFPHCNEA() || cGAFFPHCNEA == other.cGAFFPHCNEA)
|
||||||
|
&& (!hasMazeUnlocked() || mazeUnlocked.equals(other.mazeUnlocked));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 112);
|
||||||
|
output.writeUInt32NoTag(jPEBPGIEGPO);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 120);
|
||||||
|
output.writeUInt32NoTag(oIJBOCHMDKA);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 8);
|
||||||
|
output.writeBoolNoTag(cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
for (int i = 0; i < mazeUnlocked.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 64);
|
||||||
|
output.writeUInt32NoTag(mazeUnlocked.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(jPEBPGIEGPO);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(oIJBOCHMDKA);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 2;
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += (1 * mazeUnlocked.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(mazeUnlocked);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public JHAHJFNNGHI mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 112: {
|
||||||
|
// jPEBPGIEGPO
|
||||||
|
jPEBPGIEGPO = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 120) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 120: {
|
||||||
|
// oIJBOCHMDKA
|
||||||
|
oIJBOCHMDKA = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 8) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 8: {
|
||||||
|
// cGAFFPHCNEA
|
||||||
|
cGAFFPHCNEA = input.readBool();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 66) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 66: {
|
||||||
|
// mazeUnlocked [packed=true]
|
||||||
|
input.readPackedUInt32(mazeUnlocked, tag);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 64: {
|
||||||
|
// mazeUnlocked [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(mazeUnlocked, tag);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.jPEBPGIEGPO, jPEBPGIEGPO);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.oIJBOCHMDKA, oIJBOCHMDKA);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeBool(FieldNames.cGAFFPHCNEA, cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.mazeUnlocked, mazeUnlocked);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public JHAHJFNNGHI mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 617496720: {
|
||||||
|
if (input.isAtField(FieldNames.jPEBPGIEGPO)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
jPEBPGIEGPO = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 148222799: {
|
||||||
|
if (input.isAtField(FieldNames.oIJBOCHMDKA)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
oIJBOCHMDKA = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -927350692: {
|
||||||
|
if (input.isAtField(FieldNames.cGAFFPHCNEA)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
cGAFFPHCNEA = input.readBool();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1835898942:
|
||||||
|
case -958227613: {
|
||||||
|
if (input.isAtField(FieldNames.mazeUnlocked)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(mazeUnlocked);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public JHAHJFNNGHI clone() {
|
||||||
|
return new JHAHJFNNGHI().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JHAHJFNNGHI parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new JHAHJFNNGHI(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JHAHJFNNGHI parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new JHAHJFNNGHI(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JHAHJFNNGHI parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new JHAHJFNNGHI(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating JHAHJFNNGHI messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<JHAHJFNNGHI> getFactory() {
|
||||||
|
return JHAHJFNNGHIFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum JHAHJFNNGHIFactory implements MessageFactory<JHAHJFNNGHI> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public JHAHJFNNGHI create() {
|
||||||
|
return JHAHJFNNGHI.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName jPEBPGIEGPO = FieldName.forField("JPEBPGIEGPO");
|
||||||
|
|
||||||
|
static final FieldName oIJBOCHMDKA = FieldName.forField("OIJBOCHMDKA");
|
||||||
|
|
||||||
|
static final FieldName cGAFFPHCNEA = FieldName.forField("CGAFFPHCNEA");
|
||||||
|
|
||||||
|
static final FieldName mazeUnlocked = FieldName.forField("mazeUnlocked", "maze_unlocked");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,598 @@
|
|||||||
|
// 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 KDHBAHABJMPOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code KDHBAHABJMP}
|
||||||
|
*/
|
||||||
|
public static final class KDHBAHABJMP extends ProtoMessage<KDHBAHABJMP> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 HFCDDCPJGAK = 2;</code>
|
||||||
|
*/
|
||||||
|
private int hFCDDCPJGAK;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KAKJHOEBIOA = 5;</code>
|
||||||
|
*/
|
||||||
|
private int kAKJHOEBIOA;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LIHAFMAOKMG = 7;</code>
|
||||||
|
*/
|
||||||
|
private int lIHAFMAOKMG;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FNNEECKAFKK = 8;</code>
|
||||||
|
*/
|
||||||
|
private int fNNEECKAFKK;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
|
*/
|
||||||
|
private boolean cMJFDLMBIOK;
|
||||||
|
|
||||||
|
private KDHBAHABJMP() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code KDHBAHABJMP}
|
||||||
|
*/
|
||||||
|
public static KDHBAHABJMP newInstance() {
|
||||||
|
return new KDHBAHABJMP();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 HFCDDCPJGAK = 2;</code>
|
||||||
|
* @return whether the hFCDDCPJGAK field is set
|
||||||
|
*/
|
||||||
|
public boolean hasHFCDDCPJGAK() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 HFCDDCPJGAK = 2;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP clearHFCDDCPJGAK() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
hFCDDCPJGAK = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 HFCDDCPJGAK = 2;</code>
|
||||||
|
* @return the hFCDDCPJGAK
|
||||||
|
*/
|
||||||
|
public int getHFCDDCPJGAK() {
|
||||||
|
return hFCDDCPJGAK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 HFCDDCPJGAK = 2;</code>
|
||||||
|
* @param value the hFCDDCPJGAK to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP setHFCDDCPJGAK(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
hFCDDCPJGAK = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KAKJHOEBIOA = 5;</code>
|
||||||
|
* @return whether the kAKJHOEBIOA field is set
|
||||||
|
*/
|
||||||
|
public boolean hasKAKJHOEBIOA() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KAKJHOEBIOA = 5;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP clearKAKJHOEBIOA() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
kAKJHOEBIOA = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KAKJHOEBIOA = 5;</code>
|
||||||
|
* @return the kAKJHOEBIOA
|
||||||
|
*/
|
||||||
|
public int getKAKJHOEBIOA() {
|
||||||
|
return kAKJHOEBIOA;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KAKJHOEBIOA = 5;</code>
|
||||||
|
* @param value the kAKJHOEBIOA to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP setKAKJHOEBIOA(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
kAKJHOEBIOA = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LIHAFMAOKMG = 7;</code>
|
||||||
|
* @return whether the lIHAFMAOKMG field is set
|
||||||
|
*/
|
||||||
|
public boolean hasLIHAFMAOKMG() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LIHAFMAOKMG = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP clearLIHAFMAOKMG() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
lIHAFMAOKMG = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LIHAFMAOKMG = 7;</code>
|
||||||
|
* @return the lIHAFMAOKMG
|
||||||
|
*/
|
||||||
|
public int getLIHAFMAOKMG() {
|
||||||
|
return lIHAFMAOKMG;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LIHAFMAOKMG = 7;</code>
|
||||||
|
* @param value the lIHAFMAOKMG to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP setLIHAFMAOKMG(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
lIHAFMAOKMG = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FNNEECKAFKK = 8;</code>
|
||||||
|
* @return whether the fNNEECKAFKK field is set
|
||||||
|
*/
|
||||||
|
public boolean hasFNNEECKAFKK() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FNNEECKAFKK = 8;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP clearFNNEECKAFKK() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
fNNEECKAFKK = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FNNEECKAFKK = 8;</code>
|
||||||
|
* @return the fNNEECKAFKK
|
||||||
|
*/
|
||||||
|
public int getFNNEECKAFKK() {
|
||||||
|
return fNNEECKAFKK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FNNEECKAFKK = 8;</code>
|
||||||
|
* @param value the fNNEECKAFKK to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP setFNNEECKAFKK(final int value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
fNNEECKAFKK = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
|
* @return whether the cMJFDLMBIOK field is set
|
||||||
|
*/
|
||||||
|
public boolean hasCMJFDLMBIOK() {
|
||||||
|
return (bitField0_ & 0x00000010) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP clearCMJFDLMBIOK() {
|
||||||
|
bitField0_ &= ~0x00000010;
|
||||||
|
cMJFDLMBIOK = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
|
* @return the cMJFDLMBIOK
|
||||||
|
*/
|
||||||
|
public boolean getCMJFDLMBIOK() {
|
||||||
|
return cMJFDLMBIOK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
|
* @param value the cMJFDLMBIOK to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public KDHBAHABJMP setCMJFDLMBIOK(final boolean value) {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
cMJFDLMBIOK = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public KDHBAHABJMP copyFrom(final KDHBAHABJMP other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
hFCDDCPJGAK = other.hFCDDCPJGAK;
|
||||||
|
kAKJHOEBIOA = other.kAKJHOEBIOA;
|
||||||
|
lIHAFMAOKMG = other.lIHAFMAOKMG;
|
||||||
|
fNNEECKAFKK = other.fNNEECKAFKK;
|
||||||
|
cMJFDLMBIOK = other.cMJFDLMBIOK;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public KDHBAHABJMP mergeFrom(final KDHBAHABJMP other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasHFCDDCPJGAK()) {
|
||||||
|
setHFCDDCPJGAK(other.hFCDDCPJGAK);
|
||||||
|
}
|
||||||
|
if (other.hasKAKJHOEBIOA()) {
|
||||||
|
setKAKJHOEBIOA(other.kAKJHOEBIOA);
|
||||||
|
}
|
||||||
|
if (other.hasLIHAFMAOKMG()) {
|
||||||
|
setLIHAFMAOKMG(other.lIHAFMAOKMG);
|
||||||
|
}
|
||||||
|
if (other.hasFNNEECKAFKK()) {
|
||||||
|
setFNNEECKAFKK(other.fNNEECKAFKK);
|
||||||
|
}
|
||||||
|
if (other.hasCMJFDLMBIOK()) {
|
||||||
|
setCMJFDLMBIOK(other.cMJFDLMBIOK);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public KDHBAHABJMP clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
hFCDDCPJGAK = 0;
|
||||||
|
kAKJHOEBIOA = 0;
|
||||||
|
lIHAFMAOKMG = 0;
|
||||||
|
fNNEECKAFKK = 0;
|
||||||
|
cMJFDLMBIOK = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public KDHBAHABJMP 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 KDHBAHABJMP)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
KDHBAHABJMP other = (KDHBAHABJMP) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasHFCDDCPJGAK() || hFCDDCPJGAK == other.hFCDDCPJGAK)
|
||||||
|
&& (!hasKAKJHOEBIOA() || kAKJHOEBIOA == other.kAKJHOEBIOA)
|
||||||
|
&& (!hasLIHAFMAOKMG() || lIHAFMAOKMG == other.lIHAFMAOKMG)
|
||||||
|
&& (!hasFNNEECKAFKK() || fNNEECKAFKK == other.fNNEECKAFKK)
|
||||||
|
&& (!hasCMJFDLMBIOK() || cMJFDLMBIOK == other.cMJFDLMBIOK);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 16);
|
||||||
|
output.writeUInt32NoTag(hFCDDCPJGAK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 40);
|
||||||
|
output.writeUInt32NoTag(kAKJHOEBIOA);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 56);
|
||||||
|
output.writeUInt32NoTag(lIHAFMAOKMG);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawByte((byte) 64);
|
||||||
|
output.writeUInt32NoTag(fNNEECKAFKK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeRawByte((byte) 112);
|
||||||
|
output.writeBoolNoTag(cMJFDLMBIOK);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(hFCDDCPJGAK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(kAKJHOEBIOA);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(lIHAFMAOKMG);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(fNNEECKAFKK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
size += 2;
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public KDHBAHABJMP mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 16: {
|
||||||
|
// hFCDDCPJGAK
|
||||||
|
hFCDDCPJGAK = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 40) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 40: {
|
||||||
|
// kAKJHOEBIOA
|
||||||
|
kAKJHOEBIOA = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 56) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 56: {
|
||||||
|
// lIHAFMAOKMG
|
||||||
|
lIHAFMAOKMG = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 64) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 64: {
|
||||||
|
// fNNEECKAFKK
|
||||||
|
fNNEECKAFKK = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 112) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 112: {
|
||||||
|
// cMJFDLMBIOK
|
||||||
|
cMJFDLMBIOK = input.readBool();
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.hFCDDCPJGAK, hFCDDCPJGAK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.kAKJHOEBIOA, kAKJHOEBIOA);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.lIHAFMAOKMG, lIHAFMAOKMG);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.fNNEECKAFKK, fNNEECKAFKK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeBool(FieldNames.cMJFDLMBIOK, cMJFDLMBIOK);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public KDHBAHABJMP mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1775850855: {
|
||||||
|
if (input.isAtField(FieldNames.hFCDDCPJGAK)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
hFCDDCPJGAK = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -2008773982: {
|
||||||
|
if (input.isAtField(FieldNames.kAKJHOEBIOA)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
kAKJHOEBIOA = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -296464422: {
|
||||||
|
if (input.isAtField(FieldNames.lIHAFMAOKMG)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
lIHAFMAOKMG = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 169241555: {
|
||||||
|
if (input.isAtField(FieldNames.fNNEECKAFKK)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
fNNEECKAFKK = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1216373954: {
|
||||||
|
if (input.isAtField(FieldNames.cMJFDLMBIOK)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
cMJFDLMBIOK = input.readBool();
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public KDHBAHABJMP clone() {
|
||||||
|
return new KDHBAHABJMP().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static KDHBAHABJMP parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new KDHBAHABJMP(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static KDHBAHABJMP parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new KDHBAHABJMP(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static KDHBAHABJMP parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new KDHBAHABJMP(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating KDHBAHABJMP messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<KDHBAHABJMP> getFactory() {
|
||||||
|
return KDHBAHABJMPFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum KDHBAHABJMPFactory implements MessageFactory<KDHBAHABJMP> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public KDHBAHABJMP create() {
|
||||||
|
return KDHBAHABJMP.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName hFCDDCPJGAK = FieldName.forField("HFCDDCPJGAK");
|
||||||
|
|
||||||
|
static final FieldName kAKJHOEBIOA = FieldName.forField("KAKJHOEBIOA");
|
||||||
|
|
||||||
|
static final FieldName lIHAFMAOKMG = FieldName.forField("LIHAFMAOKMG");
|
||||||
|
|
||||||
|
static final FieldName fNNEECKAFKK = FieldName.forField("FNNEECKAFKK");
|
||||||
|
|
||||||
|
static final FieldName cMJFDLMBIOK = FieldName.forField("CMJFDLMBIOK");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,299 @@
|
|||||||
|
// 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;
|
||||||
|
|
||||||
|
public final class LMDFPHAHJGLOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code LMDFPHAHJGL}
|
||||||
|
*/
|
||||||
|
public static final class LMDFPHAHJGL extends ProtoMessage<LMDFPHAHJGL> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 PFOIMEJPCIP = 12;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt pFOIMEJPCIP = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
private LMDFPHAHJGL() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code LMDFPHAHJGL}
|
||||||
|
*/
|
||||||
|
public static LMDFPHAHJGL newInstance() {
|
||||||
|
return new LMDFPHAHJGL();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 PFOIMEJPCIP = 12;</code>
|
||||||
|
* @return whether the pFOIMEJPCIP field is set
|
||||||
|
*/
|
||||||
|
public boolean hasPFOIMEJPCIP() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 PFOIMEJPCIP = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public LMDFPHAHJGL clearPFOIMEJPCIP() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
pFOIMEJPCIP.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 PFOIMEJPCIP = 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 #getMutablePFOIMEJPCIP()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getPFOIMEJPCIP() {
|
||||||
|
return pFOIMEJPCIP;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 PFOIMEJPCIP = 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 getMutablePFOIMEJPCIP() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return pFOIMEJPCIP;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 PFOIMEJPCIP = 12;</code>
|
||||||
|
* @param value the pFOIMEJPCIP to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public LMDFPHAHJGL addPFOIMEJPCIP(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
pFOIMEJPCIP.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 PFOIMEJPCIP = 12;</code>
|
||||||
|
* @param values the pFOIMEJPCIP to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public LMDFPHAHJGL addAllPFOIMEJPCIP(final int... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
pFOIMEJPCIP.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public LMDFPHAHJGL copyFrom(final LMDFPHAHJGL other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
pFOIMEJPCIP.copyFrom(other.pFOIMEJPCIP);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public LMDFPHAHJGL mergeFrom(final LMDFPHAHJGL other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasPFOIMEJPCIP()) {
|
||||||
|
getMutablePFOIMEJPCIP().addAll(other.pFOIMEJPCIP);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public LMDFPHAHJGL clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
pFOIMEJPCIP.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public LMDFPHAHJGL clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
pFOIMEJPCIP.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof LMDFPHAHJGL)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
LMDFPHAHJGL other = (LMDFPHAHJGL) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasPFOIMEJPCIP() || pFOIMEJPCIP.equals(other.pFOIMEJPCIP));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
for (int i = 0; i < pFOIMEJPCIP.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 96);
|
||||||
|
output.writeUInt32NoTag(pFOIMEJPCIP.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += (1 * pFOIMEJPCIP.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(pFOIMEJPCIP);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public LMDFPHAHJGL mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 98: {
|
||||||
|
// pFOIMEJPCIP [packed=true]
|
||||||
|
input.readPackedUInt32(pFOIMEJPCIP, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 96: {
|
||||||
|
// pFOIMEJPCIP [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(pFOIMEJPCIP, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.pFOIMEJPCIP, pFOIMEJPCIP);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public LMDFPHAHJGL mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 387398332: {
|
||||||
|
if (input.isAtField(FieldNames.pFOIMEJPCIP)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(pFOIMEJPCIP);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public LMDFPHAHJGL clone() {
|
||||||
|
return new LMDFPHAHJGL().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static LMDFPHAHJGL parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new LMDFPHAHJGL(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static LMDFPHAHJGL parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new LMDFPHAHJGL(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static LMDFPHAHJGL parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new LMDFPHAHJGL(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating LMDFPHAHJGL messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<LMDFPHAHJGL> getFactory() {
|
||||||
|
return LMDFPHAHJGLFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum LMDFPHAHJGLFactory implements MessageFactory<LMDFPHAHJGL> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public LMDFPHAHJGL create() {
|
||||||
|
return LMDFPHAHJGL.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName pFOIMEJPCIP = FieldName.forField("PFOIMEJPCIP");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,25 +19,25 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
* <code>optional uint32 retcode = 2;</code>
|
||||||
*/
|
*/
|
||||||
private int retcode;
|
private int retcode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 3;</code>
|
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||||
*/
|
|
||||||
private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
|
||||||
*/
|
*/
|
||||||
private final RogueInfoOuterClass.RogueInfo rogueInfo = RogueInfoOuterClass.RogueInfo.newInstance();
|
private final RogueInfoOuterClass.RogueInfo rogueInfo = RogueInfoOuterClass.RogueInfo.newInstance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 13;</code>
|
* <code>optional .LineupInfo lineup = 12;</code>
|
||||||
*/
|
*/
|
||||||
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
|
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 15;</code>
|
||||||
|
*/
|
||||||
|
private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
|
||||||
|
|
||||||
private LeaveRogueScRsp() {
|
private LeaveRogueScRsp() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
* <code>optional uint32 retcode = 2;</code>
|
||||||
* @return whether the retcode field is set
|
* @return whether the retcode field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRetcode() {
|
public boolean hasRetcode() {
|
||||||
@@ -57,7 +57,7 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
* <code>optional uint32 retcode = 2;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public LeaveRogueScRsp clearRetcode() {
|
public LeaveRogueScRsp clearRetcode() {
|
||||||
@@ -67,7 +67,7 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
* <code>optional uint32 retcode = 2;</code>
|
||||||
* @return the retcode
|
* @return the retcode
|
||||||
*/
|
*/
|
||||||
public int getRetcode() {
|
public int getRetcode() {
|
||||||
@@ -75,7 +75,7 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 8;</code>
|
* <code>optional uint32 retcode = 2;</code>
|
||||||
* @param value the retcode to set
|
* @param value the retcode to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -86,82 +86,25 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 3;</code>
|
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||||
* @return whether the scene field is set
|
* @return whether the rogueInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasScene() {
|
public boolean hasRogueInfo() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 3;</code>
|
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
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
|
* @return this
|
||||||
*/
|
*/
|
||||||
public LeaveRogueScRsp clearRogueInfo() {
|
public LeaveRogueScRsp clearRogueInfo() {
|
||||||
bitField0_ &= ~0x00000004;
|
bitField0_ &= ~0x00000002;
|
||||||
rogueInfo.clear();
|
rogueInfo.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -175,7 +118,7 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -184,41 +127,41 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public RogueInfoOuterClass.RogueInfo getMutableRogueInfo() {
|
public RogueInfoOuterClass.RogueInfo getMutableRogueInfo() {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000002;
|
||||||
return rogueInfo;
|
return rogueInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueInfo rogue_info = 5;</code>
|
* <code>optional .RogueInfo rogue_info = 6;</code>
|
||||||
* @param value the rogueInfo to set
|
* @param value the rogueInfo to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public LeaveRogueScRsp setRogueInfo(final RogueInfoOuterClass.RogueInfo value) {
|
public LeaveRogueScRsp setRogueInfo(final RogueInfoOuterClass.RogueInfo value) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000002;
|
||||||
rogueInfo.copyFrom(value);
|
rogueInfo.copyFrom(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 13;</code>
|
* <code>optional .LineupInfo lineup = 12;</code>
|
||||||
* @return whether the lineup field is set
|
* @return whether the lineup field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasLineup() {
|
public boolean hasLineup() {
|
||||||
return (bitField0_ & 0x00000008) != 0;
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 13;</code>
|
* <code>optional .LineupInfo lineup = 12;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public LeaveRogueScRsp clearLineup() {
|
public LeaveRogueScRsp clearLineup() {
|
||||||
bitField0_ &= ~0x00000008;
|
bitField0_ &= ~0x00000004;
|
||||||
lineup.clear();
|
lineup.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 13;</code>
|
* <code>optional .LineupInfo lineup = 12;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -232,7 +175,7 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 13;</code>
|
* <code>optional .LineupInfo lineup = 12;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -241,30 +184,87 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public LineupInfoOuterClass.LineupInfo getMutableLineup() {
|
public LineupInfoOuterClass.LineupInfo getMutableLineup() {
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000004;
|
||||||
return lineup;
|
return lineup;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 13;</code>
|
* <code>optional .LineupInfo lineup = 12;</code>
|
||||||
* @param value the lineup to set
|
* @param value the lineup to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public LeaveRogueScRsp setLineup(final LineupInfoOuterClass.LineupInfo value) {
|
public LeaveRogueScRsp setLineup(final LineupInfoOuterClass.LineupInfo value) {
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000004;
|
||||||
lineup.copyFrom(value);
|
lineup.copyFrom(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 15;</code>
|
||||||
|
* @return whether the scene field is set
|
||||||
|
*/
|
||||||
|
public boolean hasScene() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public LeaveRogueScRsp clearScene() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
scene.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 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 #getMutableScene()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public SceneInfoOuterClass.SceneInfo getScene() {
|
||||||
|
return scene;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 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 SceneInfoOuterClass.SceneInfo getMutableScene() {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
return scene;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 15;</code>
|
||||||
|
* @param value the scene to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public LeaveRogueScRsp setScene(final SceneInfoOuterClass.SceneInfo value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
scene.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LeaveRogueScRsp copyFrom(final LeaveRogueScRsp other) {
|
public LeaveRogueScRsp copyFrom(final LeaveRogueScRsp other) {
|
||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
retcode = other.retcode;
|
retcode = other.retcode;
|
||||||
scene.copyFrom(other.scene);
|
|
||||||
rogueInfo.copyFrom(other.rogueInfo);
|
rogueInfo.copyFrom(other.rogueInfo);
|
||||||
lineup.copyFrom(other.lineup);
|
lineup.copyFrom(other.lineup);
|
||||||
|
scene.copyFrom(other.scene);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -278,15 +278,15 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
if (other.hasRetcode()) {
|
if (other.hasRetcode()) {
|
||||||
setRetcode(other.retcode);
|
setRetcode(other.retcode);
|
||||||
}
|
}
|
||||||
if (other.hasScene()) {
|
|
||||||
getMutableScene().mergeFrom(other.scene);
|
|
||||||
}
|
|
||||||
if (other.hasRogueInfo()) {
|
if (other.hasRogueInfo()) {
|
||||||
getMutableRogueInfo().mergeFrom(other.rogueInfo);
|
getMutableRogueInfo().mergeFrom(other.rogueInfo);
|
||||||
}
|
}
|
||||||
if (other.hasLineup()) {
|
if (other.hasLineup()) {
|
||||||
getMutableLineup().mergeFrom(other.lineup);
|
getMutableLineup().mergeFrom(other.lineup);
|
||||||
}
|
}
|
||||||
|
if (other.hasScene()) {
|
||||||
|
getMutableScene().mergeFrom(other.scene);
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -298,9 +298,9 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
retcode = 0;
|
retcode = 0;
|
||||||
scene.clear();
|
|
||||||
rogueInfo.clear();
|
rogueInfo.clear();
|
||||||
lineup.clear();
|
lineup.clear();
|
||||||
|
scene.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -311,9 +311,9 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
scene.clearQuick();
|
|
||||||
rogueInfo.clearQuick();
|
rogueInfo.clearQuick();
|
||||||
lineup.clearQuick();
|
lineup.clearQuick();
|
||||||
|
scene.clearQuick();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -328,29 +328,29 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
LeaveRogueScRsp other = (LeaveRogueScRsp) o;
|
LeaveRogueScRsp other = (LeaveRogueScRsp) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRetcode() || retcode == other.retcode)
|
&& (!hasRetcode() || retcode == other.retcode)
|
||||||
&& (!hasScene() || scene.equals(other.scene))
|
|
||||||
&& (!hasRogueInfo() || rogueInfo.equals(other.rogueInfo))
|
&& (!hasRogueInfo() || rogueInfo.equals(other.rogueInfo))
|
||||||
&& (!hasLineup() || lineup.equals(other.lineup));
|
&& (!hasLineup() || lineup.equals(other.lineup))
|
||||||
|
&& (!hasScene() || scene.equals(other.scene));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 64);
|
output.writeRawByte((byte) 16);
|
||||||
output.writeUInt32NoTag(retcode);
|
output.writeUInt32NoTag(retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 26);
|
output.writeRawByte((byte) 50);
|
||||||
output.writeMessageNoTag(scene);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
|
||||||
output.writeRawByte((byte) 42);
|
|
||||||
output.writeMessageNoTag(rogueInfo);
|
output.writeMessageNoTag(rogueInfo);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 106);
|
output.writeRawByte((byte) 98);
|
||||||
output.writeMessageNoTag(lineup);
|
output.writeMessageNoTag(lineup);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawByte((byte) 122);
|
||||||
|
output.writeMessageNoTag(scene);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -360,14 +360,14 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueInfo);
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueInfo);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
|
size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
|
||||||
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -378,36 +378,36 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 64: {
|
case 16: {
|
||||||
// retcode
|
// retcode
|
||||||
retcode = input.readUInt32();
|
retcode = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 26) {
|
if (tag != 50) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 26: {
|
case 50: {
|
||||||
// scene
|
|
||||||
input.readMessage(scene);
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 42) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 42: {
|
|
||||||
// rogueInfo
|
// rogueInfo
|
||||||
input.readMessage(rogueInfo);
|
input.readMessage(rogueInfo);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 106) {
|
if (tag != 98) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 106: {
|
case 98: {
|
||||||
// lineup
|
// lineup
|
||||||
input.readMessage(lineup);
|
input.readMessage(lineup);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 122) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 122: {
|
||||||
|
// scene
|
||||||
|
input.readMessage(scene);
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
@@ -435,14 +435,14 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
output.writeUInt32(FieldNames.retcode, retcode);
|
output.writeUInt32(FieldNames.retcode, retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeMessage(FieldNames.scene, scene);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
|
||||||
output.writeMessage(FieldNames.rogueInfo, rogueInfo);
|
output.writeMessage(FieldNames.rogueInfo, rogueInfo);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeMessage(FieldNames.lineup, lineup);
|
output.writeMessage(FieldNames.lineup, lineup);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeMessage(FieldNames.scene, scene);
|
||||||
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -464,23 +464,12 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 109254796: {
|
|
||||||
if (input.isAtField(FieldNames.scene)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
input.readMessage(scene);
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 655808936:
|
case 655808936:
|
||||||
case -1124583437: {
|
case -1124583437: {
|
||||||
if (input.isAtField(FieldNames.rogueInfo)) {
|
if (input.isAtField(FieldNames.rogueInfo)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readMessage(rogueInfo);
|
input.readMessage(rogueInfo);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -491,6 +480,17 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
if (input.isAtField(FieldNames.lineup)) {
|
if (input.isAtField(FieldNames.lineup)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readMessage(lineup);
|
input.readMessage(lineup);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 109254796: {
|
||||||
|
if (input.isAtField(FieldNames.scene)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(scene);
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -553,11 +553,11 @@ public final class LeaveRogueScRspOuterClass {
|
|||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName retcode = FieldName.forField("retcode");
|
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 rogueInfo = FieldName.forField("rogueInfo", "rogue_info");
|
||||||
|
|
||||||
static final FieldName lineup = FieldName.forField("lineup");
|
static final FieldName lineup = FieldName.forField("lineup");
|
||||||
|
|
||||||
|
static final FieldName scene = FieldName.forField("scene");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,278 @@
|
|||||||
|
// 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 MECNPEEJJDEOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code MECNPEEJJDE}
|
||||||
|
*/
|
||||||
|
public static final class MECNPEEJJDE extends ProtoMessage<MECNPEEJJDE> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
*/
|
||||||
|
private int gLFDHAJPJDF;
|
||||||
|
|
||||||
|
private MECNPEEJJDE() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code MECNPEEJJDE}
|
||||||
|
*/
|
||||||
|
public static MECNPEEJJDE newInstance() {
|
||||||
|
return new MECNPEEJJDE();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
* @return whether the gLFDHAJPJDF field is set
|
||||||
|
*/
|
||||||
|
public boolean hasGLFDHAJPJDF() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public MECNPEEJJDE clearGLFDHAJPJDF() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
gLFDHAJPJDF = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
* @return the gLFDHAJPJDF
|
||||||
|
*/
|
||||||
|
public int getGLFDHAJPJDF() {
|
||||||
|
return gLFDHAJPJDF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
* @param value the gLFDHAJPJDF to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public MECNPEEJJDE setGLFDHAJPJDF(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
gLFDHAJPJDF = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MECNPEEJJDE copyFrom(final MECNPEEJJDE other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
gLFDHAJPJDF = other.gLFDHAJPJDF;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MECNPEEJJDE mergeFrom(final MECNPEEJJDE other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasGLFDHAJPJDF()) {
|
||||||
|
setGLFDHAJPJDF(other.gLFDHAJPJDF);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MECNPEEJJDE clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
gLFDHAJPJDF = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MECNPEEJJDE 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 MECNPEEJJDE)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
MECNPEEJJDE other = (MECNPEEJJDE) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasGLFDHAJPJDF() || gLFDHAJPJDF == other.gLFDHAJPJDF);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 24);
|
||||||
|
output.writeUInt32NoTag(gLFDHAJPJDF);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(gLFDHAJPJDF);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public MECNPEEJJDE mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 24: {
|
||||||
|
// gLFDHAJPJDF
|
||||||
|
gLFDHAJPJDF = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.gLFDHAJPJDF, gLFDHAJPJDF);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MECNPEEJJDE mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1202020394: {
|
||||||
|
if (input.isAtField(FieldNames.gLFDHAJPJDF)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
gLFDHAJPJDF = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MECNPEEJJDE clone() {
|
||||||
|
return new MECNPEEJJDE().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static MECNPEEJJDE parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new MECNPEEJJDE(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static MECNPEEJJDE parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new MECNPEEJJDE(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static MECNPEEJJDE parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new MECNPEEJJDE(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating MECNPEEJJDE messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<MECNPEEJJDE> getFactory() {
|
||||||
|
return MECNPEEJJDEFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum MECNPEEJJDEFactory implements MessageFactory<MECNPEEJJDE> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MECNPEEJJDE create() {
|
||||||
|
return MECNPEEJJDE.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName gLFDHAJPJDF = FieldName.forField("GLFDHAJPJDF");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,7 +19,7 @@ public final class NpcExtraInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .NpcRogueInfo rogue_info = 12;</code>
|
* <code>optional .NpcRogueInfo rogue_info = 14;</code>
|
||||||
*/
|
*/
|
||||||
private final NpcRogueInfoOuterClass.NpcRogueInfo rogueInfo = NpcRogueInfoOuterClass.NpcRogueInfo.newInstance();
|
private final NpcRogueInfoOuterClass.NpcRogueInfo rogueInfo = NpcRogueInfoOuterClass.NpcRogueInfo.newInstance();
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ public final class NpcExtraInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .NpcRogueInfo rogue_info = 12;</code>
|
* <code>optional .NpcRogueInfo rogue_info = 14;</code>
|
||||||
* @return whether the rogueInfo field is set
|
* @return whether the rogueInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueInfo() {
|
public boolean hasRogueInfo() {
|
||||||
@@ -42,7 +42,7 @@ public final class NpcExtraInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .NpcRogueInfo rogue_info = 12;</code>
|
* <code>optional .NpcRogueInfo rogue_info = 14;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public NpcExtraInfo clearRogueInfo() {
|
public NpcExtraInfo clearRogueInfo() {
|
||||||
@@ -52,7 +52,7 @@ public final class NpcExtraInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .NpcRogueInfo rogue_info = 12;</code>
|
* <code>optional .NpcRogueInfo rogue_info = 14;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -66,7 +66,7 @@ public final class NpcExtraInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .NpcRogueInfo rogue_info = 12;</code>
|
* <code>optional .NpcRogueInfo rogue_info = 14;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -80,7 +80,7 @@ public final class NpcExtraInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .NpcRogueInfo rogue_info = 12;</code>
|
* <code>optional .NpcRogueInfo rogue_info = 14;</code>
|
||||||
* @param value the rogueInfo to set
|
* @param value the rogueInfo to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -150,7 +150,7 @@ public final class NpcExtraInfoOuterClass {
|
|||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 98);
|
output.writeRawByte((byte) 114);
|
||||||
output.writeMessageNoTag(rogueInfo);
|
output.writeMessageNoTag(rogueInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -171,7 +171,7 @@ public final class NpcExtraInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 98: {
|
case 114: {
|
||||||
// rogueInfo
|
// rogueInfo
|
||||||
input.readMessage(rogueInfo);
|
input.readMessage(rogueInfo);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,292 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import us.hebi.quickbuf.FieldName;
|
||||||
|
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||||
|
import us.hebi.quickbuf.JsonSink;
|
||||||
|
import us.hebi.quickbuf.JsonSource;
|
||||||
|
import us.hebi.quickbuf.MessageFactory;
|
||||||
|
import us.hebi.quickbuf.ProtoMessage;
|
||||||
|
import us.hebi.quickbuf.ProtoSink;
|
||||||
|
import us.hebi.quickbuf.ProtoSource;
|
||||||
|
import us.hebi.quickbuf.RepeatedMessage;
|
||||||
|
|
||||||
|
public final class OONJMMOMFHLOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code OONJMMOMFHL}
|
||||||
|
*/
|
||||||
|
public static final class OONJMMOMFHL extends ProtoMessage<OONJMMOMFHL> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .KDHBAHABJMP AMEONEDBMDL = 7;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedMessage<KDHBAHABJMPOuterClass.KDHBAHABJMP> aMEONEDBMDL = RepeatedMessage.newEmptyInstance(KDHBAHABJMPOuterClass.KDHBAHABJMP.getFactory());
|
||||||
|
|
||||||
|
private OONJMMOMFHL() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code OONJMMOMFHL}
|
||||||
|
*/
|
||||||
|
public static OONJMMOMFHL newInstance() {
|
||||||
|
return new OONJMMOMFHL();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .KDHBAHABJMP AMEONEDBMDL = 7;</code>
|
||||||
|
* @return whether the aMEONEDBMDL field is set
|
||||||
|
*/
|
||||||
|
public boolean hasAMEONEDBMDL() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .KDHBAHABJMP AMEONEDBMDL = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public OONJMMOMFHL clearAMEONEDBMDL() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
aMEONEDBMDL.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .KDHBAHABJMP AMEONEDBMDL = 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 #getMutableAMEONEDBMDL()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedMessage<KDHBAHABJMPOuterClass.KDHBAHABJMP> getAMEONEDBMDL() {
|
||||||
|
return aMEONEDBMDL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .KDHBAHABJMP AMEONEDBMDL = 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<KDHBAHABJMPOuterClass.KDHBAHABJMP> getMutableAMEONEDBMDL() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return aMEONEDBMDL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .KDHBAHABJMP AMEONEDBMDL = 7;</code>
|
||||||
|
* @param value the aMEONEDBMDL to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public OONJMMOMFHL addAMEONEDBMDL(final KDHBAHABJMPOuterClass.KDHBAHABJMP value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
aMEONEDBMDL.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .KDHBAHABJMP AMEONEDBMDL = 7;</code>
|
||||||
|
* @param values the aMEONEDBMDL to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public OONJMMOMFHL addAllAMEONEDBMDL(final KDHBAHABJMPOuterClass.KDHBAHABJMP... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
aMEONEDBMDL.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public OONJMMOMFHL copyFrom(final OONJMMOMFHL other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
aMEONEDBMDL.copyFrom(other.aMEONEDBMDL);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public OONJMMOMFHL mergeFrom(final OONJMMOMFHL other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasAMEONEDBMDL()) {
|
||||||
|
getMutableAMEONEDBMDL().addAll(other.aMEONEDBMDL);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public OONJMMOMFHL clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
aMEONEDBMDL.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public OONJMMOMFHL clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
aMEONEDBMDL.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof OONJMMOMFHL)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
OONJMMOMFHL other = (OONJMMOMFHL) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasAMEONEDBMDL() || aMEONEDBMDL.equals(other.aMEONEDBMDL));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
for (int i = 0; i < aMEONEDBMDL.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 58);
|
||||||
|
output.writeMessageNoTag(aMEONEDBMDL.get(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += (1 * aMEONEDBMDL.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(aMEONEDBMDL);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public OONJMMOMFHL mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 58: {
|
||||||
|
// aMEONEDBMDL
|
||||||
|
tag = input.readRepeatedMessage(aMEONEDBMDL, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRepeatedMessage(FieldNames.aMEONEDBMDL, aMEONEDBMDL);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public OONJMMOMFHL mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -455539094: {
|
||||||
|
if (input.isAtField(FieldNames.aMEONEDBMDL)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedMessage(aMEONEDBMDL);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public OONJMMOMFHL clone() {
|
||||||
|
return new OONJMMOMFHL().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static OONJMMOMFHL parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new OONJMMOMFHL(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static OONJMMOMFHL parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new OONJMMOMFHL(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static OONJMMOMFHL parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new OONJMMOMFHL(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating OONJMMOMFHL messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<OONJMMOMFHL> getFactory() {
|
||||||
|
return OONJMMOMFHLFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum OONJMMOMFHLFactory implements MessageFactory<OONJMMOMFHL> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public OONJMMOMFHL create() {
|
||||||
|
return OONJMMOMFHL.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName aMEONEDBMDL = FieldName.forField("AMEONEDBMDL");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,301 @@
|
|||||||
|
// 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;
|
||||||
|
|
||||||
|
public final class PickRogueAvatarCsReqOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code PickRogueAvatarCsReq}
|
||||||
|
*/
|
||||||
|
public static final class PickRogueAvatarCsReq extends ProtoMessage<PickRogueAvatarCsReq> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 9;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt baseAvatarList = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
private PickRogueAvatarCsReq() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code PickRogueAvatarCsReq}
|
||||||
|
*/
|
||||||
|
public static PickRogueAvatarCsReq newInstance() {
|
||||||
|
return new PickRogueAvatarCsReq();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 9;</code>
|
||||||
|
* @return whether the baseAvatarList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBaseAvatarList() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 9;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PickRogueAvatarCsReq clearBaseAvatarList() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
baseAvatarList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 9;</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 #getMutableBaseAvatarList()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getBaseAvatarList() {
|
||||||
|
return baseAvatarList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 9;</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 getMutableBaseAvatarList() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return baseAvatarList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 9;</code>
|
||||||
|
* @param value the baseAvatarList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PickRogueAvatarCsReq addBaseAvatarList(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
baseAvatarList.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 9;</code>
|
||||||
|
* @param values the baseAvatarList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PickRogueAvatarCsReq addAllBaseAvatarList(final int... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
baseAvatarList.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarCsReq copyFrom(final PickRogueAvatarCsReq other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
baseAvatarList.copyFrom(other.baseAvatarList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarCsReq mergeFrom(final PickRogueAvatarCsReq other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBaseAvatarList()) {
|
||||||
|
getMutableBaseAvatarList().addAll(other.baseAvatarList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarCsReq clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
baseAvatarList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarCsReq clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
baseAvatarList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof PickRogueAvatarCsReq)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
PickRogueAvatarCsReq other = (PickRogueAvatarCsReq) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBaseAvatarList() || baseAvatarList.equals(other.baseAvatarList));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
for (int i = 0; i < baseAvatarList.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 72);
|
||||||
|
output.writeUInt32NoTag(baseAvatarList.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += (1 * baseAvatarList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(baseAvatarList);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public PickRogueAvatarCsReq mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 74: {
|
||||||
|
// baseAvatarList [packed=true]
|
||||||
|
input.readPackedUInt32(baseAvatarList, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 72: {
|
||||||
|
// baseAvatarList [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(baseAvatarList, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.baseAvatarList, baseAvatarList);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarCsReq mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1750786888:
|
||||||
|
case -387691690: {
|
||||||
|
if (input.isAtField(FieldNames.baseAvatarList)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(baseAvatarList);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarCsReq clone() {
|
||||||
|
return new PickRogueAvatarCsReq().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PickRogueAvatarCsReq parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new PickRogueAvatarCsReq(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PickRogueAvatarCsReq parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new PickRogueAvatarCsReq(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PickRogueAvatarCsReq parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new PickRogueAvatarCsReq(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating PickRogueAvatarCsReq messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<PickRogueAvatarCsReq> getFactory() {
|
||||||
|
return PickRogueAvatarCsReqFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum PickRogueAvatarCsReqFactory implements MessageFactory<PickRogueAvatarCsReq> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarCsReq create() {
|
||||||
|
return PickRogueAvatarCsReq.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName baseAvatarList = FieldName.forField("baseAvatarList", "base_avatar_list");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,301 @@
|
|||||||
|
// 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;
|
||||||
|
|
||||||
|
public final class PickRogueAvatarScRspOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code PickRogueAvatarScRsp}
|
||||||
|
*/
|
||||||
|
public static final class PickRogueAvatarScRsp extends ProtoMessage<PickRogueAvatarScRsp> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 14;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt baseAvatarList = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
private PickRogueAvatarScRsp() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code PickRogueAvatarScRsp}
|
||||||
|
*/
|
||||||
|
public static PickRogueAvatarScRsp newInstance() {
|
||||||
|
return new PickRogueAvatarScRsp();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 14;</code>
|
||||||
|
* @return whether the baseAvatarList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBaseAvatarList() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 14;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PickRogueAvatarScRsp clearBaseAvatarList() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
baseAvatarList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 14;</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 #getMutableBaseAvatarList()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getBaseAvatarList() {
|
||||||
|
return baseAvatarList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 14;</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 getMutableBaseAvatarList() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return baseAvatarList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 14;</code>
|
||||||
|
* @param value the baseAvatarList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PickRogueAvatarScRsp addBaseAvatarList(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
baseAvatarList.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_list = 14;</code>
|
||||||
|
* @param values the baseAvatarList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PickRogueAvatarScRsp addAllBaseAvatarList(final int... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
baseAvatarList.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarScRsp copyFrom(final PickRogueAvatarScRsp other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
baseAvatarList.copyFrom(other.baseAvatarList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarScRsp mergeFrom(final PickRogueAvatarScRsp other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBaseAvatarList()) {
|
||||||
|
getMutableBaseAvatarList().addAll(other.baseAvatarList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarScRsp clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
baseAvatarList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarScRsp clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
baseAvatarList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof PickRogueAvatarScRsp)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
PickRogueAvatarScRsp other = (PickRogueAvatarScRsp) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBaseAvatarList() || baseAvatarList.equals(other.baseAvatarList));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
for (int i = 0; i < baseAvatarList.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 112);
|
||||||
|
output.writeUInt32NoTag(baseAvatarList.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += (1 * baseAvatarList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(baseAvatarList);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public PickRogueAvatarScRsp mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 114: {
|
||||||
|
// baseAvatarList [packed=true]
|
||||||
|
input.readPackedUInt32(baseAvatarList, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 112: {
|
||||||
|
// baseAvatarList [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(baseAvatarList, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.baseAvatarList, baseAvatarList);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarScRsp mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1750786888:
|
||||||
|
case -387691690: {
|
||||||
|
if (input.isAtField(FieldNames.baseAvatarList)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(baseAvatarList);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarScRsp clone() {
|
||||||
|
return new PickRogueAvatarScRsp().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PickRogueAvatarScRsp parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new PickRogueAvatarScRsp(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PickRogueAvatarScRsp parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new PickRogueAvatarScRsp(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PickRogueAvatarScRsp parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new PickRogueAvatarScRsp(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating PickRogueAvatarScRsp messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<PickRogueAvatarScRsp> getFactory() {
|
||||||
|
return PickRogueAvatarScRspFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum PickRogueAvatarScRspFactory implements MessageFactory<PickRogueAvatarScRsp> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PickRogueAvatarScRsp create() {
|
||||||
|
return PickRogueAvatarScRsp.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName baseAvatarList = FieldName.forField("baseAvatarList", "base_avatar_list");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,421 @@
|
|||||||
|
// 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 PropAeonInfoOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code PropAeonInfo}
|
||||||
|
*/
|
||||||
|
public static final class PropAeonInfo extends ProtoMessage<PropAeonInfo> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
*/
|
||||||
|
private int aeonId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 add_exp = 13;</code>
|
||||||
|
*/
|
||||||
|
private int addExp;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_group_id = 14;</code>
|
||||||
|
*/
|
||||||
|
private int dialogueGroupId;
|
||||||
|
|
||||||
|
private PropAeonInfo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code PropAeonInfo}
|
||||||
|
*/
|
||||||
|
public static PropAeonInfo newInstance() {
|
||||||
|
return new PropAeonInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
* @return whether the aeonId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasAeonId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropAeonInfo clearAeonId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
aeonId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
* @return the aeonId
|
||||||
|
*/
|
||||||
|
public int getAeonId() {
|
||||||
|
return aeonId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
* @param value the aeonId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropAeonInfo setAeonId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
aeonId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 add_exp = 13;</code>
|
||||||
|
* @return whether the addExp field is set
|
||||||
|
*/
|
||||||
|
public boolean hasAddExp() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 add_exp = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropAeonInfo clearAddExp() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
addExp = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 add_exp = 13;</code>
|
||||||
|
* @return the addExp
|
||||||
|
*/
|
||||||
|
public int getAddExp() {
|
||||||
|
return addExp;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 add_exp = 13;</code>
|
||||||
|
* @param value the addExp to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropAeonInfo setAddExp(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
addExp = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_group_id = 14;</code>
|
||||||
|
* @return whether the dialogueGroupId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasDialogueGroupId() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_group_id = 14;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropAeonInfo clearDialogueGroupId() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
dialogueGroupId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_group_id = 14;</code>
|
||||||
|
* @return the dialogueGroupId
|
||||||
|
*/
|
||||||
|
public int getDialogueGroupId() {
|
||||||
|
return dialogueGroupId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_group_id = 14;</code>
|
||||||
|
* @param value the dialogueGroupId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropAeonInfo setDialogueGroupId(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
dialogueGroupId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PropAeonInfo copyFrom(final PropAeonInfo other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
aeonId = other.aeonId;
|
||||||
|
addExp = other.addExp;
|
||||||
|
dialogueGroupId = other.dialogueGroupId;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PropAeonInfo mergeFrom(final PropAeonInfo other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasAeonId()) {
|
||||||
|
setAeonId(other.aeonId);
|
||||||
|
}
|
||||||
|
if (other.hasAddExp()) {
|
||||||
|
setAddExp(other.addExp);
|
||||||
|
}
|
||||||
|
if (other.hasDialogueGroupId()) {
|
||||||
|
setDialogueGroupId(other.dialogueGroupId);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PropAeonInfo clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
aeonId = 0;
|
||||||
|
addExp = 0;
|
||||||
|
dialogueGroupId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PropAeonInfo 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 PropAeonInfo)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
PropAeonInfo other = (PropAeonInfo) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasAeonId() || aeonId == other.aeonId)
|
||||||
|
&& (!hasAddExp() || addExp == other.addExp)
|
||||||
|
&& (!hasDialogueGroupId() || dialogueGroupId == other.dialogueGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 56);
|
||||||
|
output.writeUInt32NoTag(aeonId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 104);
|
||||||
|
output.writeUInt32NoTag(addExp);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 112);
|
||||||
|
output.writeUInt32NoTag(dialogueGroupId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(aeonId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(addExp);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(dialogueGroupId);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public PropAeonInfo mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 56: {
|
||||||
|
// aeonId
|
||||||
|
aeonId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 104) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 104: {
|
||||||
|
// addExp
|
||||||
|
addExp = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 112) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 112: {
|
||||||
|
// dialogueGroupId
|
||||||
|
dialogueGroupId = input.readUInt32();
|
||||||
|
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.aeonId, aeonId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.addExp, addExp);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.dialogueGroupId, dialogueGroupId);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PropAeonInfo mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1421249154:
|
||||||
|
case -1109029417: {
|
||||||
|
if (input.isAtField(FieldNames.aeonId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
aeonId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1422538308:
|
||||||
|
case -1148257921: {
|
||||||
|
if (input.isAtField(FieldNames.addExp)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
addExp = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1758320386:
|
||||||
|
case 1899979106: {
|
||||||
|
if (input.isAtField(FieldNames.dialogueGroupId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
dialogueGroupId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PropAeonInfo clone() {
|
||||||
|
return new PropAeonInfo().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PropAeonInfo parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new PropAeonInfo(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PropAeonInfo parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new PropAeonInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PropAeonInfo parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new PropAeonInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating PropAeonInfo messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<PropAeonInfo> getFactory() {
|
||||||
|
return PropAeonInfoFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum PropAeonInfoFactory implements MessageFactory<PropAeonInfo> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PropAeonInfo create() {
|
||||||
|
return PropAeonInfo.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName aeonId = FieldName.forField("aeonId", "aeon_id");
|
||||||
|
|
||||||
|
static final FieldName addExp = FieldName.forField("addExp", "add_exp");
|
||||||
|
|
||||||
|
static final FieldName dialogueGroupId = FieldName.forField("dialogueGroupId", "dialogue_group_id");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -18,6 +18,15 @@ public final class PropExtraInfoOuterClass {
|
|||||||
public static final class PropExtraInfo extends ProtoMessage<PropExtraInfo> implements Cloneable {
|
public static final class PropExtraInfo extends ProtoMessage<PropExtraInfo> implements Cloneable {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CIJCHJHMFPM chess_rogue_info = 7;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .PropAeonInfo aeon_info = 3;</code>
|
||||||
|
*/
|
||||||
|
private final PropAeonInfoOuterClass.PropAeonInfo aeonInfo = PropAeonInfoOuterClass.PropAeonInfo.newInstance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .PropRogueInfo rogue_info = 11;</code>
|
* <code>optional .PropRogueInfo rogue_info = 11;</code>
|
||||||
*/
|
*/
|
||||||
@@ -33,12 +42,89 @@ public final class PropExtraInfoOuterClass {
|
|||||||
return new PropExtraInfo();
|
return new PropExtraInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CIJCHJHMFPM chess_rogue_info = 7;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .PropAeonInfo aeon_info = 3;</code>
|
||||||
|
* @return whether the aeonInfo field is set
|
||||||
|
*/
|
||||||
|
public boolean hasAeonInfo() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CIJCHJHMFPM chess_rogue_info = 7;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .PropAeonInfo aeon_info = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropExtraInfo clearAeonInfo() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
aeonInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CIJCHJHMFPM chess_rogue_info = 7;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .PropAeonInfo aeon_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.
|
||||||
|
*
|
||||||
|
* Use {@link #getMutableAeonInfo()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public PropAeonInfoOuterClass.PropAeonInfo getAeonInfo() {
|
||||||
|
return aeonInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CIJCHJHMFPM chess_rogue_info = 7;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .PropAeonInfo aeon_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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public PropAeonInfoOuterClass.PropAeonInfo getMutableAeonInfo() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return aeonInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* CIJCHJHMFPM chess_rogue_info = 7;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .PropAeonInfo aeon_info = 3;</code>
|
||||||
|
* @param value the aeonInfo to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropExtraInfo setAeonInfo(final PropAeonInfoOuterClass.PropAeonInfo value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
aeonInfo.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .PropRogueInfo rogue_info = 11;</code>
|
* <code>optional .PropRogueInfo rogue_info = 11;</code>
|
||||||
* @return whether the rogueInfo field is set
|
* @return whether the rogueInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueInfo() {
|
public boolean hasRogueInfo() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -46,7 +132,7 @@ public final class PropExtraInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public PropExtraInfo clearRogueInfo() {
|
public PropExtraInfo clearRogueInfo() {
|
||||||
bitField0_ &= ~0x00000001;
|
bitField0_ &= ~0x00000002;
|
||||||
rogueInfo.clear();
|
rogueInfo.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -75,7 +161,7 @@ public final class PropExtraInfoOuterClass {
|
|||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public PropRogueInfoOuterClass.PropRogueInfo getMutableRogueInfo() {
|
public PropRogueInfoOuterClass.PropRogueInfo getMutableRogueInfo() {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000002;
|
||||||
return rogueInfo;
|
return rogueInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,7 +171,7 @@ public final class PropExtraInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public PropExtraInfo setRogueInfo(final PropRogueInfoOuterClass.PropRogueInfo value) {
|
public PropExtraInfo setRogueInfo(final PropRogueInfoOuterClass.PropRogueInfo value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000002;
|
||||||
rogueInfo.copyFrom(value);
|
rogueInfo.copyFrom(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -95,6 +181,7 @@ public final class PropExtraInfoOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
|
aeonInfo.copyFrom(other.aeonInfo);
|
||||||
rogueInfo.copyFrom(other.rogueInfo);
|
rogueInfo.copyFrom(other.rogueInfo);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
@@ -106,6 +193,9 @@ public final class PropExtraInfoOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
|
if (other.hasAeonInfo()) {
|
||||||
|
getMutableAeonInfo().mergeFrom(other.aeonInfo);
|
||||||
|
}
|
||||||
if (other.hasRogueInfo()) {
|
if (other.hasRogueInfo()) {
|
||||||
getMutableRogueInfo().mergeFrom(other.rogueInfo);
|
getMutableRogueInfo().mergeFrom(other.rogueInfo);
|
||||||
}
|
}
|
||||||
@@ -119,6 +209,7 @@ public final class PropExtraInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
|
aeonInfo.clear();
|
||||||
rogueInfo.clear();
|
rogueInfo.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -130,6 +221,7 @@ public final class PropExtraInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
|
aeonInfo.clearQuick();
|
||||||
rogueInfo.clearQuick();
|
rogueInfo.clearQuick();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -144,12 +236,17 @@ public final class PropExtraInfoOuterClass {
|
|||||||
}
|
}
|
||||||
PropExtraInfo other = (PropExtraInfo) o;
|
PropExtraInfo other = (PropExtraInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasAeonInfo() || aeonInfo.equals(other.aeonInfo))
|
||||||
&& (!hasRogueInfo() || rogueInfo.equals(other.rogueInfo));
|
&& (!hasRogueInfo() || rogueInfo.equals(other.rogueInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 26);
|
||||||
|
output.writeMessageNoTag(aeonInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 90);
|
output.writeRawByte((byte) 90);
|
||||||
output.writeMessageNoTag(rogueInfo);
|
output.writeMessageNoTag(rogueInfo);
|
||||||
}
|
}
|
||||||
@@ -159,6 +256,9 @@ public final class PropExtraInfoOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(aeonInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueInfo);
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueInfo);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
@@ -171,10 +271,19 @@ public final class PropExtraInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
|
case 26: {
|
||||||
|
// aeonInfo
|
||||||
|
input.readMessage(aeonInfo);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 90) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
case 90: {
|
case 90: {
|
||||||
// rogueInfo
|
// rogueInfo
|
||||||
input.readMessage(rogueInfo);
|
input.readMessage(rogueInfo);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
@@ -198,6 +307,9 @@ public final class PropExtraInfoOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeMessage(FieldNames.aeonInfo, aeonInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeMessage(FieldNames.rogueInfo, rogueInfo);
|
output.writeMessage(FieldNames.rogueInfo, rogueInfo);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
@@ -210,12 +322,24 @@ public final class PropExtraInfoOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
|
case -20823983:
|
||||||
|
case -625367446: {
|
||||||
|
if (input.isAtField(FieldNames.aeonInfo)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(aeonInfo);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 655808936:
|
case 655808936:
|
||||||
case -1124583437: {
|
case -1124583437: {
|
||||||
if (input.isAtField(FieldNames.rogueInfo)) {
|
if (input.isAtField(FieldNames.rogueInfo)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readMessage(rogueInfo);
|
input.readMessage(rogueInfo);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -274,6 +398,8 @@ public final class PropExtraInfoOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
|
static final FieldName aeonInfo = FieldName.forField("aeonInfo", "aeon_info");
|
||||||
|
|
||||||
static final FieldName rogueInfo = FieldName.forField("rogueInfo", "rogue_info");
|
static final FieldName rogueInfo = FieldName.forField("rogueInfo", "rogue_info");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,15 +19,15 @@ public final class PropRogueInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 room_id = 2;</code>
|
* <code>optional uint32 site_id = 11;</code>
|
||||||
*/
|
|
||||||
private int roomId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 site_id = 10;</code>
|
|
||||||
*/
|
*/
|
||||||
private int siteId;
|
private int siteId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 room_id = 12;</code>
|
||||||
|
*/
|
||||||
|
private int roomId;
|
||||||
|
|
||||||
private PropRogueInfo() {
|
private PropRogueInfo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -39,62 +39,25 @@ public final class PropRogueInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 room_id = 2;</code>
|
* <code>optional uint32 site_id = 11;</code>
|
||||||
* @return whether the roomId field is set
|
* @return whether the siteId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRoomId() {
|
public boolean hasSiteId() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 room_id = 2;</code>
|
* <code>optional uint32 site_id = 11;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public PropRogueInfo clearRoomId() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
roomId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 room_id = 2;</code>
|
|
||||||
* @return the roomId
|
|
||||||
*/
|
|
||||||
public int getRoomId() {
|
|
||||||
return roomId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 room_id = 2;</code>
|
|
||||||
* @param value the roomId to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public PropRogueInfo setRoomId(final int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
roomId = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 site_id = 10;</code>
|
|
||||||
* @return whether the siteId field is set
|
|
||||||
*/
|
|
||||||
public boolean hasSiteId() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 site_id = 10;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public PropRogueInfo clearSiteId() {
|
public PropRogueInfo clearSiteId() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000001;
|
||||||
siteId = 0;
|
siteId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 site_id = 10;</code>
|
* <code>optional uint32 site_id = 11;</code>
|
||||||
* @return the siteId
|
* @return the siteId
|
||||||
*/
|
*/
|
||||||
public int getSiteId() {
|
public int getSiteId() {
|
||||||
@@ -102,23 +65,60 @@ public final class PropRogueInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 site_id = 10;</code>
|
* <code>optional uint32 site_id = 11;</code>
|
||||||
* @param value the siteId to set
|
* @param value the siteId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public PropRogueInfo setSiteId(final int value) {
|
public PropRogueInfo setSiteId(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
siteId = value;
|
siteId = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 room_id = 12;</code>
|
||||||
|
* @return whether the roomId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRoomId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 room_id = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropRogueInfo clearRoomId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
roomId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 room_id = 12;</code>
|
||||||
|
* @return the roomId
|
||||||
|
*/
|
||||||
|
public int getRoomId() {
|
||||||
|
return roomId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 room_id = 12;</code>
|
||||||
|
* @param value the roomId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public PropRogueInfo setRoomId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
roomId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public PropRogueInfo copyFrom(final PropRogueInfo other) {
|
public PropRogueInfo copyFrom(final PropRogueInfo other) {
|
||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
roomId = other.roomId;
|
|
||||||
siteId = other.siteId;
|
siteId = other.siteId;
|
||||||
|
roomId = other.roomId;
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -129,12 +129,12 @@ public final class PropRogueInfoOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasRoomId()) {
|
|
||||||
setRoomId(other.roomId);
|
|
||||||
}
|
|
||||||
if (other.hasSiteId()) {
|
if (other.hasSiteId()) {
|
||||||
setSiteId(other.siteId);
|
setSiteId(other.siteId);
|
||||||
}
|
}
|
||||||
|
if (other.hasRoomId()) {
|
||||||
|
setRoomId(other.roomId);
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -145,8 +145,8 @@ public final class PropRogueInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
roomId = 0;
|
|
||||||
siteId = 0;
|
siteId = 0;
|
||||||
|
roomId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,19 +170,19 @@ public final class PropRogueInfoOuterClass {
|
|||||||
}
|
}
|
||||||
PropRogueInfo other = (PropRogueInfo) o;
|
PropRogueInfo other = (PropRogueInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRoomId() || roomId == other.roomId)
|
&& (!hasSiteId() || siteId == other.siteId)
|
||||||
&& (!hasSiteId() || siteId == other.siteId);
|
&& (!hasRoomId() || roomId == other.roomId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 16);
|
output.writeRawByte((byte) 88);
|
||||||
output.writeUInt32NoTag(roomId);
|
output.writeUInt32NoTag(siteId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 80);
|
output.writeRawByte((byte) 96);
|
||||||
output.writeUInt32NoTag(siteId);
|
output.writeUInt32NoTag(roomId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,10 +190,10 @@ public final class PropRogueInfoOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(siteId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(siteId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
@@ -205,18 +205,18 @@ public final class PropRogueInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 16: {
|
case 88: {
|
||||||
// roomId
|
// siteId
|
||||||
roomId = input.readUInt32();
|
siteId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 80) {
|
if (tag != 96) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 80: {
|
case 96: {
|
||||||
// siteId
|
// roomId
|
||||||
siteId = input.readUInt32();
|
roomId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
@@ -241,10 +241,10 @@ public final class PropRogueInfoOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.roomId, roomId);
|
output.writeUInt32(FieldNames.siteId, siteId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.siteId, siteId);
|
output.writeUInt32(FieldNames.roomId, roomId);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -256,11 +256,11 @@ public final class PropRogueInfoOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case -925319338:
|
case -902090046:
|
||||||
case 1379892991: {
|
case 2100001043: {
|
||||||
if (input.isAtField(FieldNames.roomId)) {
|
if (input.isAtField(FieldNames.siteId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
roomId = input.readUInt32();
|
siteId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -268,11 +268,11 @@ public final class PropRogueInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -902090046:
|
case -925319338:
|
||||||
case 2100001043: {
|
case 1379892991: {
|
||||||
if (input.isAtField(FieldNames.siteId)) {
|
if (input.isAtField(FieldNames.roomId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
siteId = input.readUInt32();
|
roomId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -332,9 +332,9 @@ public final class PropRogueInfoOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName roomId = FieldName.forField("roomId", "room_id");
|
|
||||||
|
|
||||||
static final FieldName siteId = FieldName.forField("siteId", "site_id");
|
static final FieldName siteId = FieldName.forField("siteId", "site_id");
|
||||||
|
|
||||||
|
static final FieldName roomId = FieldName.forField("roomId", "room_id");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,566 @@
|
|||||||
|
// 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 RogueActionOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueAction}
|
||||||
|
*/
|
||||||
|
public static final class RogueAction extends ProtoMessage<RogueAction> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* LLFCJMIMLKM AHNMLHMDONN = 1018;
|
||||||
|
* HKNINLMGOBO KDNAICGDMPF = 300;
|
||||||
|
* MEOJKHHEBII BNCDLNBHMPB = 187;
|
||||||
|
* CPPHCDOAOMC KNNHLJKEGEJ = 746;
|
||||||
|
* FNMHPFGFAML JGLPEKLFGBM = 1274;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectInfo bonus_select_info = 1074;</code>
|
||||||
|
*/
|
||||||
|
private final RogueBonusSelectInfoOuterClass.RogueBonusSelectInfo bonusSelectInfo = RogueBonusSelectInfoOuterClass.RogueBonusSelectInfo.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 1185;</code>
|
||||||
|
*/
|
||||||
|
private final RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo buffSelectInfo = RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MJBKKJOHDBI BMIDONBKJNJ = 1111;
|
||||||
|
* APICFOIELNJ BDLINKPALNL = 1279;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 1967;</code>
|
||||||
|
*/
|
||||||
|
private final RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo miracleSelectInfo = RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo.newInstance();
|
||||||
|
|
||||||
|
private RogueAction() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueAction}
|
||||||
|
*/
|
||||||
|
public static RogueAction newInstance() {
|
||||||
|
return new RogueAction();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* LLFCJMIMLKM AHNMLHMDONN = 1018;
|
||||||
|
* HKNINLMGOBO KDNAICGDMPF = 300;
|
||||||
|
* MEOJKHHEBII BNCDLNBHMPB = 187;
|
||||||
|
* CPPHCDOAOMC KNNHLJKEGEJ = 746;
|
||||||
|
* FNMHPFGFAML JGLPEKLFGBM = 1274;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectInfo bonus_select_info = 1074;</code>
|
||||||
|
* @return whether the bonusSelectInfo field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBonusSelectInfo() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* LLFCJMIMLKM AHNMLHMDONN = 1018;
|
||||||
|
* HKNINLMGOBO KDNAICGDMPF = 300;
|
||||||
|
* MEOJKHHEBII BNCDLNBHMPB = 187;
|
||||||
|
* CPPHCDOAOMC KNNHLJKEGEJ = 746;
|
||||||
|
* FNMHPFGFAML JGLPEKLFGBM = 1274;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectInfo bonus_select_info = 1074;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAction clearBonusSelectInfo() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
bonusSelectInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* LLFCJMIMLKM AHNMLHMDONN = 1018;
|
||||||
|
* HKNINLMGOBO KDNAICGDMPF = 300;
|
||||||
|
* MEOJKHHEBII BNCDLNBHMPB = 187;
|
||||||
|
* CPPHCDOAOMC KNNHLJKEGEJ = 746;
|
||||||
|
* FNMHPFGFAML JGLPEKLFGBM = 1274;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectInfo bonus_select_info = 1074;</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 #getMutableBonusSelectInfo()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueBonusSelectInfoOuterClass.RogueBonusSelectInfo getBonusSelectInfo() {
|
||||||
|
return bonusSelectInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* LLFCJMIMLKM AHNMLHMDONN = 1018;
|
||||||
|
* HKNINLMGOBO KDNAICGDMPF = 300;
|
||||||
|
* MEOJKHHEBII BNCDLNBHMPB = 187;
|
||||||
|
* CPPHCDOAOMC KNNHLJKEGEJ = 746;
|
||||||
|
* FNMHPFGFAML JGLPEKLFGBM = 1274;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectInfo bonus_select_info = 1074;</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 RogueBonusSelectInfoOuterClass.RogueBonusSelectInfo getMutableBonusSelectInfo() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return bonusSelectInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* LLFCJMIMLKM AHNMLHMDONN = 1018;
|
||||||
|
* HKNINLMGOBO KDNAICGDMPF = 300;
|
||||||
|
* MEOJKHHEBII BNCDLNBHMPB = 187;
|
||||||
|
* CPPHCDOAOMC KNNHLJKEGEJ = 746;
|
||||||
|
* FNMHPFGFAML JGLPEKLFGBM = 1274;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBonusSelectInfo bonus_select_info = 1074;</code>
|
||||||
|
* @param value the bonusSelectInfo to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAction setBonusSelectInfo(
|
||||||
|
final RogueBonusSelectInfoOuterClass.RogueBonusSelectInfo value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
bonusSelectInfo.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 1185;</code>
|
||||||
|
* @return whether the buffSelectInfo field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBuffSelectInfo() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 1185;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAction clearBuffSelectInfo() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
buffSelectInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 1185;</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 #getMutableBuffSelectInfo()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo getBuffSelectInfo() {
|
||||||
|
return buffSelectInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 1185;</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 RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo getMutableBuffSelectInfo(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return buffSelectInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 1185;</code>
|
||||||
|
* @param value the buffSelectInfo to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAction setBuffSelectInfo(
|
||||||
|
final RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
buffSelectInfo.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MJBKKJOHDBI BMIDONBKJNJ = 1111;
|
||||||
|
* APICFOIELNJ BDLINKPALNL = 1279;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 1967;</code>
|
||||||
|
* @return whether the miracleSelectInfo field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMiracleSelectInfo() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MJBKKJOHDBI BMIDONBKJNJ = 1111;
|
||||||
|
* APICFOIELNJ BDLINKPALNL = 1279;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 1967;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAction clearMiracleSelectInfo() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
miracleSelectInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MJBKKJOHDBI BMIDONBKJNJ = 1111;
|
||||||
|
* APICFOIELNJ BDLINKPALNL = 1279;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 1967;</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 #getMutableMiracleSelectInfo()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo getMiracleSelectInfo() {
|
||||||
|
return miracleSelectInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MJBKKJOHDBI BMIDONBKJNJ = 1111;
|
||||||
|
* APICFOIELNJ BDLINKPALNL = 1279;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 1967;</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 RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo getMutableMiracleSelectInfo() {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return miracleSelectInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MJBKKJOHDBI BMIDONBKJNJ = 1111;
|
||||||
|
* APICFOIELNJ BDLINKPALNL = 1279;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 1967;</code>
|
||||||
|
* @param value the miracleSelectInfo to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAction setMiracleSelectInfo(
|
||||||
|
final RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
miracleSelectInfo.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAction copyFrom(final RogueAction other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
bonusSelectInfo.copyFrom(other.bonusSelectInfo);
|
||||||
|
buffSelectInfo.copyFrom(other.buffSelectInfo);
|
||||||
|
miracleSelectInfo.copyFrom(other.miracleSelectInfo);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAction mergeFrom(final RogueAction other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBonusSelectInfo()) {
|
||||||
|
getMutableBonusSelectInfo().mergeFrom(other.bonusSelectInfo);
|
||||||
|
}
|
||||||
|
if (other.hasBuffSelectInfo()) {
|
||||||
|
getMutableBuffSelectInfo().mergeFrom(other.buffSelectInfo);
|
||||||
|
}
|
||||||
|
if (other.hasMiracleSelectInfo()) {
|
||||||
|
getMutableMiracleSelectInfo().mergeFrom(other.miracleSelectInfo);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAction clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
bonusSelectInfo.clear();
|
||||||
|
buffSelectInfo.clear();
|
||||||
|
miracleSelectInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAction clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
bonusSelectInfo.clearQuick();
|
||||||
|
buffSelectInfo.clearQuick();
|
||||||
|
miracleSelectInfo.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueAction)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueAction other = (RogueAction) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBonusSelectInfo() || bonusSelectInfo.equals(other.bonusSelectInfo))
|
||||||
|
&& (!hasBuffSelectInfo() || buffSelectInfo.equals(other.buffSelectInfo))
|
||||||
|
&& (!hasMiracleSelectInfo() || miracleSelectInfo.equals(other.miracleSelectInfo));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 17298);
|
||||||
|
output.writeMessageNoTag(bonusSelectInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 19082);
|
||||||
|
output.writeMessageNoTag(buffSelectInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 31482);
|
||||||
|
output.writeMessageNoTag(miracleSelectInfo);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(bonusSelectInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(buffSelectInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(miracleSelectInfo);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueAction mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 8594: {
|
||||||
|
// bonusSelectInfo
|
||||||
|
input.readMessage(bonusSelectInfo);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 9482) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 9482: {
|
||||||
|
// buffSelectInfo
|
||||||
|
input.readMessage(buffSelectInfo);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 15738) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 15738: {
|
||||||
|
// miracleSelectInfo
|
||||||
|
input.readMessage(miracleSelectInfo);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeMessage(FieldNames.bonusSelectInfo, bonusSelectInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeMessage(FieldNames.buffSelectInfo, buffSelectInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeMessage(FieldNames.miracleSelectInfo, miracleSelectInfo);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAction mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1283182921:
|
||||||
|
case -1836716559: {
|
||||||
|
if (input.isAtField(FieldNames.bonusSelectInfo)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(bonusSelectInfo);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -255242115:
|
||||||
|
case 1500540965: {
|
||||||
|
if (input.isAtField(FieldNames.buffSelectInfo)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(buffSelectInfo);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1009314021:
|
||||||
|
case -1608054973: {
|
||||||
|
if (input.isAtField(FieldNames.miracleSelectInfo)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(miracleSelectInfo);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAction clone() {
|
||||||
|
return new RogueAction().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueAction parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueAction(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueAction parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueAction(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueAction parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueAction(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueAction messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueAction> getFactory() {
|
||||||
|
return RogueActionFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueActionFactory implements MessageFactory<RogueAction> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAction create() {
|
||||||
|
return RogueAction.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName bonusSelectInfo = FieldName.forField("bonusSelectInfo", "bonus_select_info");
|
||||||
|
|
||||||
|
static final FieldName buffSelectInfo = FieldName.forField("buffSelectInfo", "buff_select_info");
|
||||||
|
|
||||||
|
static final FieldName miracleSelectInfo = FieldName.forField("miracleSelectInfo", "miracle_select_info");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,571 @@
|
|||||||
|
// 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 RogueActionResultDataOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueActionResultData}
|
||||||
|
*/
|
||||||
|
public static final class RogueActionResultData extends ProtoMessage<RogueActionResultData> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MCFPILGOKJL LBHBDGKKJIJ = 167;
|
||||||
|
* PONBIJNJGJN CANDAIPCPJK = 1473;
|
||||||
|
* KALADHPCJPN CDCGLLGKBPA = 1188;
|
||||||
|
* CNEKDDFMKCK FGHCBKGDKAB = 1032;
|
||||||
|
* HICHEGNFHNG IIDMFNJOBOG = 1742;
|
||||||
|
* PGJANLDGLEM DPCCLAKMHLJ = 477;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleData add_miracle_list = 168;</code>
|
||||||
|
*/
|
||||||
|
private final RogueMiracleDataOuterClass.RogueMiracleData addMiracleList = RogueMiracleDataOuterClass.RogueMiracleData.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* EMDFCFEMMKJ NMEKCEBDBLP = 12;
|
||||||
|
* EMDFCFEMMKJ DMBEFNHGHDG = 11;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffData add_buff_list = 319;</code>
|
||||||
|
*/
|
||||||
|
private final RogueBuffDataOuterClass.RogueBuffData addBuffList = RogueBuffDataOuterClass.RogueBuffData.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffData remove_buff_list = 439;</code>
|
||||||
|
*/
|
||||||
|
private final RogueBuffDataOuterClass.RogueBuffData removeBuffList = RogueBuffDataOuterClass.RogueBuffData.newInstance();
|
||||||
|
|
||||||
|
private RogueActionResultData() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueActionResultData}
|
||||||
|
*/
|
||||||
|
public static RogueActionResultData newInstance() {
|
||||||
|
return new RogueActionResultData();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MCFPILGOKJL LBHBDGKKJIJ = 167;
|
||||||
|
* PONBIJNJGJN CANDAIPCPJK = 1473;
|
||||||
|
* KALADHPCJPN CDCGLLGKBPA = 1188;
|
||||||
|
* CNEKDDFMKCK FGHCBKGDKAB = 1032;
|
||||||
|
* HICHEGNFHNG IIDMFNJOBOG = 1742;
|
||||||
|
* PGJANLDGLEM DPCCLAKMHLJ = 477;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleData add_miracle_list = 168;</code>
|
||||||
|
* @return whether the addMiracleList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasAddMiracleList() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MCFPILGOKJL LBHBDGKKJIJ = 167;
|
||||||
|
* PONBIJNJGJN CANDAIPCPJK = 1473;
|
||||||
|
* KALADHPCJPN CDCGLLGKBPA = 1188;
|
||||||
|
* CNEKDDFMKCK FGHCBKGDKAB = 1032;
|
||||||
|
* HICHEGNFHNG IIDMFNJOBOG = 1742;
|
||||||
|
* PGJANLDGLEM DPCCLAKMHLJ = 477;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleData add_miracle_list = 168;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResultData clearAddMiracleList() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
addMiracleList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MCFPILGOKJL LBHBDGKKJIJ = 167;
|
||||||
|
* PONBIJNJGJN CANDAIPCPJK = 1473;
|
||||||
|
* KALADHPCJPN CDCGLLGKBPA = 1188;
|
||||||
|
* CNEKDDFMKCK FGHCBKGDKAB = 1032;
|
||||||
|
* HICHEGNFHNG IIDMFNJOBOG = 1742;
|
||||||
|
* PGJANLDGLEM DPCCLAKMHLJ = 477;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleData add_miracle_list = 168;</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 #getMutableAddMiracleList()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataOuterClass.RogueMiracleData getAddMiracleList() {
|
||||||
|
return addMiracleList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MCFPILGOKJL LBHBDGKKJIJ = 167;
|
||||||
|
* PONBIJNJGJN CANDAIPCPJK = 1473;
|
||||||
|
* KALADHPCJPN CDCGLLGKBPA = 1188;
|
||||||
|
* CNEKDDFMKCK FGHCBKGDKAB = 1032;
|
||||||
|
* HICHEGNFHNG IIDMFNJOBOG = 1742;
|
||||||
|
* PGJANLDGLEM DPCCLAKMHLJ = 477;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleData add_miracle_list = 168;</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 RogueMiracleDataOuterClass.RogueMiracleData getMutableAddMiracleList() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return addMiracleList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MCFPILGOKJL LBHBDGKKJIJ = 167;
|
||||||
|
* PONBIJNJGJN CANDAIPCPJK = 1473;
|
||||||
|
* KALADHPCJPN CDCGLLGKBPA = 1188;
|
||||||
|
* CNEKDDFMKCK FGHCBKGDKAB = 1032;
|
||||||
|
* HICHEGNFHNG IIDMFNJOBOG = 1742;
|
||||||
|
* PGJANLDGLEM DPCCLAKMHLJ = 477;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueMiracleData add_miracle_list = 168;</code>
|
||||||
|
* @param value the addMiracleList to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResultData setAddMiracleList(
|
||||||
|
final RogueMiracleDataOuterClass.RogueMiracleData value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
addMiracleList.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* EMDFCFEMMKJ NMEKCEBDBLP = 12;
|
||||||
|
* EMDFCFEMMKJ DMBEFNHGHDG = 11;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffData add_buff_list = 319;</code>
|
||||||
|
* @return whether the addBuffList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasAddBuffList() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* EMDFCFEMMKJ NMEKCEBDBLP = 12;
|
||||||
|
* EMDFCFEMMKJ DMBEFNHGHDG = 11;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffData add_buff_list = 319;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResultData clearAddBuffList() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
addBuffList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* EMDFCFEMMKJ NMEKCEBDBLP = 12;
|
||||||
|
* EMDFCFEMMKJ DMBEFNHGHDG = 11;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffData add_buff_list = 319;</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 #getMutableAddBuffList()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueBuffDataOuterClass.RogueBuffData getAddBuffList() {
|
||||||
|
return addBuffList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* EMDFCFEMMKJ NMEKCEBDBLP = 12;
|
||||||
|
* EMDFCFEMMKJ DMBEFNHGHDG = 11;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffData add_buff_list = 319;</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 RogueBuffDataOuterClass.RogueBuffData getMutableAddBuffList() {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return addBuffList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* EMDFCFEMMKJ NMEKCEBDBLP = 12;
|
||||||
|
* EMDFCFEMMKJ DMBEFNHGHDG = 11;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueBuffData add_buff_list = 319;</code>
|
||||||
|
* @param value the addBuffList to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResultData setAddBuffList(final RogueBuffDataOuterClass.RogueBuffData value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
addBuffList.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffData remove_buff_list = 439;</code>
|
||||||
|
* @return whether the removeBuffList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRemoveBuffList() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffData remove_buff_list = 439;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResultData clearRemoveBuffList() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
removeBuffList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffData remove_buff_list = 439;</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 #getMutableRemoveBuffList()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueBuffDataOuterClass.RogueBuffData getRemoveBuffList() {
|
||||||
|
return removeBuffList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffData remove_buff_list = 439;</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 RogueBuffDataOuterClass.RogueBuffData getMutableRemoveBuffList() {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return removeBuffList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffData remove_buff_list = 439;</code>
|
||||||
|
* @param value the removeBuffList to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResultData setRemoveBuffList(
|
||||||
|
final RogueBuffDataOuterClass.RogueBuffData value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
removeBuffList.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResultData copyFrom(final RogueActionResultData other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
addMiracleList.copyFrom(other.addMiracleList);
|
||||||
|
addBuffList.copyFrom(other.addBuffList);
|
||||||
|
removeBuffList.copyFrom(other.removeBuffList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResultData mergeFrom(final RogueActionResultData other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasAddMiracleList()) {
|
||||||
|
getMutableAddMiracleList().mergeFrom(other.addMiracleList);
|
||||||
|
}
|
||||||
|
if (other.hasAddBuffList()) {
|
||||||
|
getMutableAddBuffList().mergeFrom(other.addBuffList);
|
||||||
|
}
|
||||||
|
if (other.hasRemoveBuffList()) {
|
||||||
|
getMutableRemoveBuffList().mergeFrom(other.removeBuffList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResultData clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
addMiracleList.clear();
|
||||||
|
addBuffList.clear();
|
||||||
|
removeBuffList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResultData clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
addMiracleList.clearQuick();
|
||||||
|
addBuffList.clearQuick();
|
||||||
|
removeBuffList.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueActionResultData)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueActionResultData other = (RogueActionResultData) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasAddMiracleList() || addMiracleList.equals(other.addMiracleList))
|
||||||
|
&& (!hasAddBuffList() || addBuffList.equals(other.addBuffList))
|
||||||
|
&& (!hasRemoveBuffList() || removeBuffList.equals(other.removeBuffList));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 2754);
|
||||||
|
output.writeMessageNoTag(addMiracleList);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 5114);
|
||||||
|
output.writeMessageNoTag(addBuffList);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawLittleEndian16((short) 7098);
|
||||||
|
output.writeMessageNoTag(removeBuffList);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(addMiracleList);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(addBuffList);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 2 + ProtoSink.computeMessageSizeNoTag(removeBuffList);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueActionResultData mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 1346: {
|
||||||
|
// addMiracleList
|
||||||
|
input.readMessage(addMiracleList);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 2554) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 2554: {
|
||||||
|
// addBuffList
|
||||||
|
input.readMessage(addBuffList);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 3514) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 3514: {
|
||||||
|
// removeBuffList
|
||||||
|
input.readMessage(removeBuffList);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeMessage(FieldNames.addMiracleList, addMiracleList);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeMessage(FieldNames.addBuffList, addBuffList);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeMessage(FieldNames.removeBuffList, removeBuffList);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResultData mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1381554510:
|
||||||
|
case -850648438: {
|
||||||
|
if (input.isAtField(FieldNames.addMiracleList)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(addMiracleList);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1797898066:
|
||||||
|
case 888419052: {
|
||||||
|
if (input.isAtField(FieldNames.addBuffList)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(addBuffList);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1177726005:
|
||||||
|
case 1903522575: {
|
||||||
|
if (input.isAtField(FieldNames.removeBuffList)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(removeBuffList);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResultData clone() {
|
||||||
|
return new RogueActionResultData().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueActionResultData parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueActionResultData(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueActionResultData parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueActionResultData(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueActionResultData parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueActionResultData(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueActionResultData messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueActionResultData> getFactory() {
|
||||||
|
return RogueActionResultDataFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueActionResultDataFactory implements MessageFactory<RogueActionResultData> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResultData create() {
|
||||||
|
return RogueActionResultData.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName addMiracleList = FieldName.forField("addMiracleList", "add_miracle_list");
|
||||||
|
|
||||||
|
static final FieldName addBuffList = FieldName.forField("addBuffList", "add_buff_list");
|
||||||
|
|
||||||
|
static final FieldName removeBuffList = FieldName.forField("removeBuffList", "remove_buff_list");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,395 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import us.hebi.quickbuf.FieldName;
|
||||||
|
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||||
|
import us.hebi.quickbuf.JsonSink;
|
||||||
|
import us.hebi.quickbuf.JsonSource;
|
||||||
|
import us.hebi.quickbuf.MessageFactory;
|
||||||
|
import us.hebi.quickbuf.ProtoMessage;
|
||||||
|
import us.hebi.quickbuf.ProtoSink;
|
||||||
|
import us.hebi.quickbuf.ProtoSource;
|
||||||
|
|
||||||
|
public final class RogueActionResultOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueActionResult}
|
||||||
|
*/
|
||||||
|
public static final class RogueActionResult extends ProtoMessage<RogueActionResult> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSource source = 3;</code>
|
||||||
|
*/
|
||||||
|
private int source;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResultData action_data = 11;</code>
|
||||||
|
*/
|
||||||
|
private final RogueActionResultDataOuterClass.RogueActionResultData actionData = RogueActionResultDataOuterClass.RogueActionResultData.newInstance();
|
||||||
|
|
||||||
|
private RogueActionResult() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueActionResult}
|
||||||
|
*/
|
||||||
|
public static RogueActionResult newInstance() {
|
||||||
|
return new RogueActionResult();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSource source = 3;</code>
|
||||||
|
* @return whether the source field is set
|
||||||
|
*/
|
||||||
|
public boolean hasSource() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSource source = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResult clearSource() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
source = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSource source = 3;</code>
|
||||||
|
* @return the source
|
||||||
|
*/
|
||||||
|
public RogueBuffSourceOuterClass.RogueBuffSource getSource() {
|
||||||
|
return RogueBuffSourceOuterClass.RogueBuffSource.forNumber(source);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the value of the internal enum store. The result is
|
||||||
|
* equivalent to {@link RogueActionResult#getSource()}.getNumber().
|
||||||
|
*
|
||||||
|
* @return numeric wire representation
|
||||||
|
*/
|
||||||
|
public int getSourceValue() {
|
||||||
|
return source;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the value of the internal enum store. This does not
|
||||||
|
* do any validity checks, so be sure to use appropriate value
|
||||||
|
* constants from {@link RogueBuffSourceOuterClass.RogueBuffSource}. Setting an invalid value
|
||||||
|
* can cause {@link RogueActionResult#getSource()} to return null
|
||||||
|
*
|
||||||
|
* @param value the numeric wire value to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResult setSourceValue(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
source = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueBuffSource source = 3;</code>
|
||||||
|
* @param value the source to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResult setSource(final RogueBuffSourceOuterClass.RogueBuffSource value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
source = value.getNumber();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResultData action_data = 11;</code>
|
||||||
|
* @return whether the actionData field is set
|
||||||
|
*/
|
||||||
|
public boolean hasActionData() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResultData action_data = 11;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResult clearActionData() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
actionData.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResultData action_data = 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 #getMutableActionData()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueActionResultDataOuterClass.RogueActionResultData getActionData() {
|
||||||
|
return actionData;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResultData action_data = 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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public RogueActionResultDataOuterClass.RogueActionResultData getMutableActionData() {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return actionData;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResultData action_data = 11;</code>
|
||||||
|
* @param value the actionData to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueActionResult setActionData(
|
||||||
|
final RogueActionResultDataOuterClass.RogueActionResultData value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
actionData.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResult copyFrom(final RogueActionResult other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
source = other.source;
|
||||||
|
actionData.copyFrom(other.actionData);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResult mergeFrom(final RogueActionResult other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasSource()) {
|
||||||
|
setSourceValue(other.source);
|
||||||
|
}
|
||||||
|
if (other.hasActionData()) {
|
||||||
|
getMutableActionData().mergeFrom(other.actionData);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResult clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
source = 0;
|
||||||
|
actionData.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResult clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
actionData.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueActionResult)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueActionResult other = (RogueActionResult) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasSource() || source == other.source)
|
||||||
|
&& (!hasActionData() || actionData.equals(other.actionData));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 24);
|
||||||
|
output.writeEnumNoTag(source);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 90);
|
||||||
|
output.writeMessageNoTag(actionData);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeEnumSizeNoTag(source);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(actionData);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueActionResult mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 24: {
|
||||||
|
// source
|
||||||
|
final int value = input.readInt32();
|
||||||
|
if (RogueBuffSourceOuterClass.RogueBuffSource.forNumber(value) != null) {
|
||||||
|
source = value;
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 90) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 90: {
|
||||||
|
// actionData
|
||||||
|
input.readMessage(actionData);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeEnum(FieldNames.source, source, RogueBuffSourceOuterClass.RogueBuffSource.converter());
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeMessage(FieldNames.actionData, actionData);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResult mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -896505829: {
|
||||||
|
if (input.isAtField(FieldNames.source)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
final RogueBuffSourceOuterClass.RogueBuffSource value = input.readEnum(RogueBuffSourceOuterClass.RogueBuffSource.converter());
|
||||||
|
if (value != null) {
|
||||||
|
source = value.getNumber();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
} else {
|
||||||
|
input.skipUnknownEnumValue();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1851381504:
|
||||||
|
case 1583258643: {
|
||||||
|
if (input.isAtField(FieldNames.actionData)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(actionData);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResult clone() {
|
||||||
|
return new RogueActionResult().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueActionResult parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueActionResult(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueActionResult parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueActionResult(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueActionResult parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueActionResult(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueActionResult messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueActionResult> getFactory() {
|
||||||
|
return RogueActionResultFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueActionResultFactory implements MessageFactory<RogueActionResult> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueActionResult create() {
|
||||||
|
return RogueActionResult.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName source = FieldName.forField("source");
|
||||||
|
|
||||||
|
static final FieldName actionData = FieldName.forField("actionData", "action_data");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -20,19 +20,31 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
* <pre>
|
||||||
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
*/
|
||||||
|
private int jPEBPGIEGPO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 unlock_aeon_num = 15;</code>
|
||||||
*/
|
*/
|
||||||
private int unlockAeonNum;
|
private int unlockAeonNum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
* <pre>
|
||||||
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool is_unlocked = 1;</code>
|
||||||
*/
|
*/
|
||||||
private int unlockAeonEnhanceNum;
|
private boolean isUnlocked;
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
|
||||||
*/
|
|
||||||
private int selectedAeonId;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 aeon_id_list = 8;</code>
|
* <code>repeated uint32 aeon_id_list = 8;</code>
|
||||||
@@ -50,25 +62,90 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
* <pre>
|
||||||
* @return whether the unlockAeonNum field is set
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
* @return whether the jPEBPGIEGPO field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasUnlockAeonNum() {
|
public boolean hasJPEBPGIEGPO() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
* <pre>
|
||||||
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAeonInfo clearJPEBPGIEGPO() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
jPEBPGIEGPO = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
* @return the jPEBPGIEGPO
|
||||||
|
*/
|
||||||
|
public int getJPEBPGIEGPO() {
|
||||||
|
return jPEBPGIEGPO;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 3
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 JPEBPGIEGPO = 14;</code>
|
||||||
|
* @param value the jPEBPGIEGPO to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAeonInfo setJPEBPGIEGPO(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
jPEBPGIEGPO = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 unlock_aeon_num = 15;</code>
|
||||||
|
* @return whether the unlockAeonNum field is set
|
||||||
|
*/
|
||||||
|
public boolean hasUnlockAeonNum() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 unlock_aeon_num = 15;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueAeonInfo clearUnlockAeonNum() {
|
public RogueAeonInfo clearUnlockAeonNum() {
|
||||||
bitField0_ &= ~0x00000001;
|
bitField0_ &= ~0x00000002;
|
||||||
unlockAeonNum = 0;
|
unlockAeonNum = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 unlock_aeon_num = 15;</code>
|
||||||
* @return the unlockAeonNum
|
* @return the unlockAeonNum
|
||||||
*/
|
*/
|
||||||
public int getUnlockAeonNum() {
|
public int getUnlockAeonNum() {
|
||||||
@@ -76,87 +153,70 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 unlock_aeon_num = 4;</code>
|
* <pre>
|
||||||
|
* 9
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 unlock_aeon_num = 15;</code>
|
||||||
* @param value the unlockAeonNum to set
|
* @param value the unlockAeonNum to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueAeonInfo setUnlockAeonNum(final int value) {
|
public RogueAeonInfo setUnlockAeonNum(final int value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000002;
|
||||||
unlockAeonNum = value;
|
unlockAeonNum = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
* <pre>
|
||||||
* @return whether the unlockAeonEnhanceNum field is set
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool is_unlocked = 1;</code>
|
||||||
|
* @return whether the isUnlocked field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasUnlockAeonEnhanceNum() {
|
public boolean hasIsUnlocked() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueAeonInfo clearUnlockAeonEnhanceNum() {
|
|
||||||
bitField0_ &= ~0x00000002;
|
|
||||||
unlockAeonEnhanceNum = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
|
||||||
* @return the unlockAeonEnhanceNum
|
|
||||||
*/
|
|
||||||
public int getUnlockAeonEnhanceNum() {
|
|
||||||
return unlockAeonEnhanceNum;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 unlock_aeon_enhance_num = 5;</code>
|
|
||||||
* @param value the unlockAeonEnhanceNum to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueAeonInfo setUnlockAeonEnhanceNum(final int value) {
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
unlockAeonEnhanceNum = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
|
||||||
* @return whether the selectedAeonId field is set
|
|
||||||
*/
|
|
||||||
public boolean hasSelectedAeonId() {
|
|
||||||
return (bitField0_ & 0x00000004) != 0;
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
* <pre>
|
||||||
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool is_unlocked = 1;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueAeonInfo clearSelectedAeonId() {
|
public RogueAeonInfo clearIsUnlocked() {
|
||||||
bitField0_ &= ~0x00000004;
|
bitField0_ &= ~0x00000004;
|
||||||
selectedAeonId = 0;
|
isUnlocked = false;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
* <pre>
|
||||||
* @return the selectedAeonId
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool is_unlocked = 1;</code>
|
||||||
|
* @return the isUnlocked
|
||||||
*/
|
*/
|
||||||
public int getSelectedAeonId() {
|
public boolean getIsUnlocked() {
|
||||||
return selectedAeonId;
|
return isUnlocked;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 selected_aeon_id = 12;</code>
|
* <pre>
|
||||||
* @param value the selectedAeonId to set
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool is_unlocked = 1;</code>
|
||||||
|
* @param value the isUnlocked to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueAeonInfo setSelectedAeonId(final int value) {
|
public RogueAeonInfo setIsUnlocked(final boolean value) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
selectedAeonId = value;
|
isUnlocked = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -233,9 +293,9 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
|
jPEBPGIEGPO = other.jPEBPGIEGPO;
|
||||||
unlockAeonNum = other.unlockAeonNum;
|
unlockAeonNum = other.unlockAeonNum;
|
||||||
unlockAeonEnhanceNum = other.unlockAeonEnhanceNum;
|
isUnlocked = other.isUnlocked;
|
||||||
selectedAeonId = other.selectedAeonId;
|
|
||||||
aeonIdList.copyFrom(other.aeonIdList);
|
aeonIdList.copyFrom(other.aeonIdList);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
@@ -247,14 +307,14 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
|
if (other.hasJPEBPGIEGPO()) {
|
||||||
|
setJPEBPGIEGPO(other.jPEBPGIEGPO);
|
||||||
|
}
|
||||||
if (other.hasUnlockAeonNum()) {
|
if (other.hasUnlockAeonNum()) {
|
||||||
setUnlockAeonNum(other.unlockAeonNum);
|
setUnlockAeonNum(other.unlockAeonNum);
|
||||||
}
|
}
|
||||||
if (other.hasUnlockAeonEnhanceNum()) {
|
if (other.hasIsUnlocked()) {
|
||||||
setUnlockAeonEnhanceNum(other.unlockAeonEnhanceNum);
|
setIsUnlocked(other.isUnlocked);
|
||||||
}
|
|
||||||
if (other.hasSelectedAeonId()) {
|
|
||||||
setSelectedAeonId(other.selectedAeonId);
|
|
||||||
}
|
}
|
||||||
if (other.hasAeonIdList()) {
|
if (other.hasAeonIdList()) {
|
||||||
getMutableAeonIdList().addAll(other.aeonIdList);
|
getMutableAeonIdList().addAll(other.aeonIdList);
|
||||||
@@ -269,9 +329,9 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
|
jPEBPGIEGPO = 0;
|
||||||
unlockAeonNum = 0;
|
unlockAeonNum = 0;
|
||||||
unlockAeonEnhanceNum = 0;
|
isUnlocked = false;
|
||||||
selectedAeonId = 0;
|
|
||||||
aeonIdList.clear();
|
aeonIdList.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -297,25 +357,25 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
RogueAeonInfo other = (RogueAeonInfo) o;
|
RogueAeonInfo other = (RogueAeonInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasJPEBPGIEGPO() || jPEBPGIEGPO == other.jPEBPGIEGPO)
|
||||||
&& (!hasUnlockAeonNum() || unlockAeonNum == other.unlockAeonNum)
|
&& (!hasUnlockAeonNum() || unlockAeonNum == other.unlockAeonNum)
|
||||||
&& (!hasUnlockAeonEnhanceNum() || unlockAeonEnhanceNum == other.unlockAeonEnhanceNum)
|
&& (!hasIsUnlocked() || isUnlocked == other.isUnlocked)
|
||||||
&& (!hasSelectedAeonId() || selectedAeonId == other.selectedAeonId)
|
|
||||||
&& (!hasAeonIdList() || aeonIdList.equals(other.aeonIdList));
|
&& (!hasAeonIdList() || aeonIdList.equals(other.aeonIdList));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 32);
|
output.writeRawByte((byte) 112);
|
||||||
output.writeUInt32NoTag(unlockAeonNum);
|
output.writeUInt32NoTag(jPEBPGIEGPO);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 40);
|
output.writeRawByte((byte) 120);
|
||||||
output.writeUInt32NoTag(unlockAeonEnhanceNum);
|
output.writeUInt32NoTag(unlockAeonNum);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 96);
|
output.writeRawByte((byte) 8);
|
||||||
output.writeUInt32NoTag(selectedAeonId);
|
output.writeBoolNoTag(isUnlocked);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
for (int i = 0; i < aeonIdList.length(); i++) {
|
for (int i = 0; i < aeonIdList.length(); i++) {
|
||||||
@@ -329,13 +389,13 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockAeonNum);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(jPEBPGIEGPO);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockAeonEnhanceNum);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(unlockAeonNum);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(selectedAeonId);
|
size += 2;
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
size += (1 * aeonIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(aeonIdList);
|
size += (1 * aeonIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(aeonIdList);
|
||||||
@@ -350,27 +410,27 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 32: {
|
case 112: {
|
||||||
// unlockAeonNum
|
// jPEBPGIEGPO
|
||||||
unlockAeonNum = input.readUInt32();
|
jPEBPGIEGPO = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 40) {
|
if (tag != 120) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 40: {
|
case 120: {
|
||||||
// unlockAeonEnhanceNum
|
// unlockAeonNum
|
||||||
unlockAeonEnhanceNum = input.readUInt32();
|
unlockAeonNum = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 96) {
|
if (tag != 8) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 96: {
|
case 8: {
|
||||||
// selectedAeonId
|
// isUnlocked
|
||||||
selectedAeonId = input.readUInt32();
|
isUnlocked = input.readBool();
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 66) {
|
if (tag != 66) {
|
||||||
@@ -410,13 +470,13 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.unlockAeonNum, unlockAeonNum);
|
output.writeUInt32(FieldNames.jPEBPGIEGPO, jPEBPGIEGPO);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.unlockAeonEnhanceNum, unlockAeonEnhanceNum);
|
output.writeUInt32(FieldNames.unlockAeonNum, unlockAeonNum);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeUInt32(FieldNames.selectedAeonId, selectedAeonId);
|
output.writeBool(FieldNames.isUnlocked, isUnlocked);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeRepeatedUInt32(FieldNames.aeonIdList, aeonIdList);
|
output.writeRepeatedUInt32(FieldNames.aeonIdList, aeonIdList);
|
||||||
@@ -431,11 +491,10 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case -281209953:
|
case 617496720: {
|
||||||
case -952729371: {
|
if (input.isAtField(FieldNames.jPEBPGIEGPO)) {
|
||||||
if (input.isAtField(FieldNames.unlockAeonNum)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
unlockAeonNum = input.readUInt32();
|
jPEBPGIEGPO = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -443,11 +502,11 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 1040991167:
|
case -281209953:
|
||||||
case 7773396: {
|
case -952729371: {
|
||||||
if (input.isAtField(FieldNames.unlockAeonEnhanceNum)) {
|
if (input.isAtField(FieldNames.unlockAeonNum)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
unlockAeonEnhanceNum = input.readUInt32();
|
unlockAeonNum = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -455,11 +514,11 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 1331475449:
|
case -1004219859:
|
||||||
case 853040179: {
|
case -945979816: {
|
||||||
if (input.isAtField(FieldNames.selectedAeonId)) {
|
if (input.isAtField(FieldNames.isUnlocked)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
selectedAeonId = input.readUInt32();
|
isUnlocked = input.readBool();
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -531,11 +590,11 @@ public final class RogueAeonInfoOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
|
static final FieldName jPEBPGIEGPO = FieldName.forField("JPEBPGIEGPO");
|
||||||
|
|
||||||
static final FieldName unlockAeonNum = FieldName.forField("unlockAeonNum", "unlock_aeon_num");
|
static final FieldName unlockAeonNum = FieldName.forField("unlockAeonNum", "unlock_aeon_num");
|
||||||
|
|
||||||
static final FieldName unlockAeonEnhanceNum = FieldName.forField("unlockAeonEnhanceNum", "unlock_aeon_enhance_num");
|
static final FieldName isUnlocked = FieldName.forField("isUnlocked", "is_unlocked");
|
||||||
|
|
||||||
static final FieldName selectedAeonId = FieldName.forField("selectedAeonId", "selected_aeon_id");
|
|
||||||
|
|
||||||
static final FieldName aeonIdList = FieldName.forField("aeonIdList", "aeon_id_list");
|
static final FieldName aeonIdList = FieldName.forField("aeonIdList", "aeon_id_list");
|
||||||
}
|
}
|
||||||
|
|||||||
419
src/generated/main/emu/lunarcore/proto/RogueAeonOuterClass.java
Normal file
419
src/generated/main/emu/lunarcore/proto/RogueAeonOuterClass.java
Normal file
@@ -0,0 +1,419 @@
|
|||||||
|
// 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 RogueAeonOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueAeon}
|
||||||
|
*/
|
||||||
|
public static final class RogueAeon extends ProtoMessage<RogueAeon> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
*/
|
||||||
|
private int aeonId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
*/
|
||||||
|
private int oFBCBEIEAEC;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
*/
|
||||||
|
private boolean cGAFFPHCNEA;
|
||||||
|
|
||||||
|
private RogueAeon() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueAeon}
|
||||||
|
*/
|
||||||
|
public static RogueAeon newInstance() {
|
||||||
|
return new RogueAeon();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
* @return whether the aeonId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasAeonId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAeon clearAeonId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
aeonId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
* @return the aeonId
|
||||||
|
*/
|
||||||
|
public int getAeonId() {
|
||||||
|
return aeonId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 aeon_id = 7;</code>
|
||||||
|
* @param value the aeonId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAeon setAeonId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
aeonId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
* @return whether the oFBCBEIEAEC field is set
|
||||||
|
*/
|
||||||
|
public boolean hasOFBCBEIEAEC() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAeon clearOFBCBEIEAEC() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
oFBCBEIEAEC = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
* @return the oFBCBEIEAEC
|
||||||
|
*/
|
||||||
|
public int getOFBCBEIEAEC() {
|
||||||
|
return oFBCBEIEAEC;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OFBCBEIEAEC = 10;</code>
|
||||||
|
* @param value the oFBCBEIEAEC to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAeon setOFBCBEIEAEC(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
oFBCBEIEAEC = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
* @return whether the cGAFFPHCNEA field is set
|
||||||
|
*/
|
||||||
|
public boolean hasCGAFFPHCNEA() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAeon clearCGAFFPHCNEA() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
cGAFFPHCNEA = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
* @return the cGAFFPHCNEA
|
||||||
|
*/
|
||||||
|
public boolean getCGAFFPHCNEA() {
|
||||||
|
return cGAFFPHCNEA;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool CGAFFPHCNEA = 12;</code>
|
||||||
|
* @param value the cGAFFPHCNEA to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAeon setCGAFFPHCNEA(final boolean value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
cGAFFPHCNEA = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAeon copyFrom(final RogueAeon other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
aeonId = other.aeonId;
|
||||||
|
oFBCBEIEAEC = other.oFBCBEIEAEC;
|
||||||
|
cGAFFPHCNEA = other.cGAFFPHCNEA;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAeon mergeFrom(final RogueAeon other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasAeonId()) {
|
||||||
|
setAeonId(other.aeonId);
|
||||||
|
}
|
||||||
|
if (other.hasOFBCBEIEAEC()) {
|
||||||
|
setOFBCBEIEAEC(other.oFBCBEIEAEC);
|
||||||
|
}
|
||||||
|
if (other.hasCGAFFPHCNEA()) {
|
||||||
|
setCGAFFPHCNEA(other.cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAeon clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
aeonId = 0;
|
||||||
|
oFBCBEIEAEC = 0;
|
||||||
|
cGAFFPHCNEA = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAeon 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 RogueAeon)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueAeon other = (RogueAeon) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasAeonId() || aeonId == other.aeonId)
|
||||||
|
&& (!hasOFBCBEIEAEC() || oFBCBEIEAEC == other.oFBCBEIEAEC)
|
||||||
|
&& (!hasCGAFFPHCNEA() || cGAFFPHCNEA == other.cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 56);
|
||||||
|
output.writeUInt32NoTag(aeonId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 80);
|
||||||
|
output.writeUInt32NoTag(oFBCBEIEAEC);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 96);
|
||||||
|
output.writeBoolNoTag(cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(aeonId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(oFBCBEIEAEC);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 2;
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueAeon mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 56: {
|
||||||
|
// aeonId
|
||||||
|
aeonId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 80) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 80: {
|
||||||
|
// oFBCBEIEAEC
|
||||||
|
oFBCBEIEAEC = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 96) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 96: {
|
||||||
|
// cGAFFPHCNEA
|
||||||
|
cGAFFPHCNEA = input.readBool();
|
||||||
|
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.aeonId, aeonId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.oFBCBEIEAEC, oFBCBEIEAEC);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeBool(FieldNames.cGAFFPHCNEA, cGAFFPHCNEA);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAeon mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1421249154:
|
||||||
|
case -1109029417: {
|
||||||
|
if (input.isAtField(FieldNames.aeonId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
aeonId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1165634632: {
|
||||||
|
if (input.isAtField(FieldNames.oFBCBEIEAEC)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
oFBCBEIEAEC = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -927350692: {
|
||||||
|
if (input.isAtField(FieldNames.cGAFFPHCNEA)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
cGAFFPHCNEA = input.readBool();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAeon clone() {
|
||||||
|
return new RogueAeon().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueAeon parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueAeon(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueAeon parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueAeon(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueAeon parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueAeon(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueAeon messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueAeon> getFactory() {
|
||||||
|
return RogueAeonFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueAeonFactory implements MessageFactory<RogueAeon> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAeon create() {
|
||||||
|
return RogueAeon.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName aeonId = FieldName.forField("aeonId", "aeon_id");
|
||||||
|
|
||||||
|
static final FieldName oFBCBEIEAEC = FieldName.forField("OFBCBEIEAEC");
|
||||||
|
|
||||||
|
static final FieldName cGAFFPHCNEA = FieldName.forField("CGAFFPHCNEA");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,293 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import us.hebi.quickbuf.FieldName;
|
||||||
|
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||||
|
import us.hebi.quickbuf.JsonSink;
|
||||||
|
import us.hebi.quickbuf.JsonSource;
|
||||||
|
import us.hebi.quickbuf.MessageFactory;
|
||||||
|
import us.hebi.quickbuf.ProtoMessage;
|
||||||
|
import us.hebi.quickbuf.ProtoSink;
|
||||||
|
import us.hebi.quickbuf.ProtoSource;
|
||||||
|
import us.hebi.quickbuf.RepeatedMessage;
|
||||||
|
|
||||||
|
public final class RogueAreaInfoOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueAreaInfo}
|
||||||
|
*/
|
||||||
|
public static final class RogueAreaInfo extends ProtoMessage<RogueAreaInfo> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueArea rogue_area = 7;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedMessage<RogueAreaOuterClass.RogueArea> rogueArea = RepeatedMessage.newEmptyInstance(RogueAreaOuterClass.RogueArea.getFactory());
|
||||||
|
|
||||||
|
private RogueAreaInfo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueAreaInfo}
|
||||||
|
*/
|
||||||
|
public static RogueAreaInfo newInstance() {
|
||||||
|
return new RogueAreaInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueArea rogue_area = 7;</code>
|
||||||
|
* @return whether the rogueArea field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueArea() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueArea rogue_area = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAreaInfo clearRogueArea() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
rogueArea.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueArea rogue_area = 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 #getMutableRogueArea()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedMessage<RogueAreaOuterClass.RogueArea> getRogueArea() {
|
||||||
|
return rogueArea;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueArea rogue_area = 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<RogueAreaOuterClass.RogueArea> getMutableRogueArea() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return rogueArea;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueArea rogue_area = 7;</code>
|
||||||
|
* @param value the rogueArea to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAreaInfo addRogueArea(final RogueAreaOuterClass.RogueArea value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueArea.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueArea rogue_area = 7;</code>
|
||||||
|
* @param values the rogueArea to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueAreaInfo addAllRogueArea(final RogueAreaOuterClass.RogueArea... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueArea.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAreaInfo copyFrom(final RogueAreaInfo other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
rogueArea.copyFrom(other.rogueArea);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAreaInfo mergeFrom(final RogueAreaInfo other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRogueArea()) {
|
||||||
|
getMutableRogueArea().addAll(other.rogueArea);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAreaInfo clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueArea.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAreaInfo clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueArea.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueAreaInfo)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueAreaInfo other = (RogueAreaInfo) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRogueArea() || rogueArea.equals(other.rogueArea));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
for (int i = 0; i < rogueArea.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 58);
|
||||||
|
output.writeMessageNoTag(rogueArea.get(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += (1 * rogueArea.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueArea);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueAreaInfo mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 58: {
|
||||||
|
// rogueArea
|
||||||
|
tag = input.readRepeatedMessage(rogueArea, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRepeatedMessage(FieldNames.rogueArea, rogueArea);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAreaInfo mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 655574407:
|
||||||
|
case -1124817966: {
|
||||||
|
if (input.isAtField(FieldNames.rogueArea)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedMessage(rogueArea);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAreaInfo clone() {
|
||||||
|
return new RogueAreaInfo().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueAreaInfo parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueAreaInfo(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueAreaInfo parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueAreaInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueAreaInfo parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueAreaInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueAreaInfo messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueAreaInfo> getFactory() {
|
||||||
|
return RogueAreaInfoFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueAreaInfoFactory implements MessageFactory<RogueAreaInfo> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueAreaInfo create() {
|
||||||
|
return RogueAreaInfo.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName rogueArea = FieldName.forField("rogueArea", "rogue_area");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,34 +19,33 @@ public final class RogueAreaOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 6;</code>
|
* <code>optional uint32 cur_reach_room_num = 2;</code>
|
||||||
*/
|
|
||||||
private int mapId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_reach_room_num = 11;</code>
|
|
||||||
*/
|
*/
|
||||||
private int curReachRoomNum;
|
private int curReachRoomNum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
* <code>optional uint32 map_id = 5;</code>
|
||||||
|
*/
|
||||||
|
private int mapId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
*/
|
*/
|
||||||
private int areaId;
|
private int areaId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAreaStatus rogue_area_status = 8;</code>
|
* <code>optional uint32 rogue_area_status = 8;</code>
|
||||||
*/
|
*/
|
||||||
private int rogueAreaStatus;
|
private int rogueAreaStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueStatus rogue_status = 9;</code>
|
* <pre>
|
||||||
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
*/
|
*/
|
||||||
private int rogueStatus;
|
private boolean cMJFDLMBIOK;
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional bool is_reward_taken = 14;</code>
|
|
||||||
*/
|
|
||||||
private boolean isRewardTaken;
|
|
||||||
|
|
||||||
private RogueArea() {
|
private RogueArea() {
|
||||||
}
|
}
|
||||||
@@ -59,62 +58,25 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 6;</code>
|
* <code>optional uint32 cur_reach_room_num = 2;</code>
|
||||||
* @return whether the mapId field is set
|
* @return whether the curReachRoomNum field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasMapId() {
|
public boolean hasCurReachRoomNum() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 6;</code>
|
* <code>optional uint32 cur_reach_room_num = 2;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueArea clearMapId() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
mapId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 map_id = 6;</code>
|
|
||||||
* @return the mapId
|
|
||||||
*/
|
|
||||||
public int getMapId() {
|
|
||||||
return mapId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 map_id = 6;</code>
|
|
||||||
* @param value the mapId to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueArea setMapId(final int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
mapId = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_reach_room_num = 11;</code>
|
|
||||||
* @return whether the curReachRoomNum field is set
|
|
||||||
*/
|
|
||||||
public boolean hasCurReachRoomNum() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_reach_room_num = 11;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueArea clearCurReachRoomNum() {
|
public RogueArea clearCurReachRoomNum() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000001;
|
||||||
curReachRoomNum = 0;
|
curReachRoomNum = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 cur_reach_room_num = 11;</code>
|
* <code>optional uint32 cur_reach_room_num = 2;</code>
|
||||||
* @return the curReachRoomNum
|
* @return the curReachRoomNum
|
||||||
*/
|
*/
|
||||||
public int getCurReachRoomNum() {
|
public int getCurReachRoomNum() {
|
||||||
@@ -122,18 +84,55 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 cur_reach_room_num = 11;</code>
|
* <code>optional uint32 cur_reach_room_num = 2;</code>
|
||||||
* @param value the curReachRoomNum to set
|
* @param value the curReachRoomNum to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueArea setCurReachRoomNum(final int value) {
|
public RogueArea setCurReachRoomNum(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
curReachRoomNum = value;
|
curReachRoomNum = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
* <code>optional uint32 map_id = 5;</code>
|
||||||
|
* @return whether the mapId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMapId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 map_id = 5;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueArea clearMapId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
mapId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 map_id = 5;</code>
|
||||||
|
* @return the mapId
|
||||||
|
*/
|
||||||
|
public int getMapId() {
|
||||||
|
return mapId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 map_id = 5;</code>
|
||||||
|
* @param value the mapId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueArea setMapId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
mapId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
* @return whether the areaId field is set
|
* @return whether the areaId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasAreaId() {
|
public boolean hasAreaId() {
|
||||||
@@ -141,7 +140,7 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueArea clearAreaId() {
|
public RogueArea clearAreaId() {
|
||||||
@@ -151,7 +150,7 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
* @return the areaId
|
* @return the areaId
|
||||||
*/
|
*/
|
||||||
public int getAreaId() {
|
public int getAreaId() {
|
||||||
@@ -159,7 +158,7 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
* @param value the areaId to set
|
* @param value the areaId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -170,7 +169,7 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAreaStatus rogue_area_status = 8;</code>
|
* <code>optional uint32 rogue_area_status = 8;</code>
|
||||||
* @return whether the rogueAreaStatus field is set
|
* @return whether the rogueAreaStatus field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueAreaStatus() {
|
public boolean hasRogueAreaStatus() {
|
||||||
@@ -178,7 +177,7 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAreaStatus rogue_area_status = 8;</code>
|
* <code>optional uint32 rogue_area_status = 8;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueArea clearRogueAreaStatus() {
|
public RogueArea clearRogueAreaStatus() {
|
||||||
@@ -188,145 +187,74 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAreaStatus rogue_area_status = 8;</code>
|
* <code>optional uint32 rogue_area_status = 8;</code>
|
||||||
* @return the rogueAreaStatus
|
* @return the rogueAreaStatus
|
||||||
*/
|
*/
|
||||||
public RogueAreaStatusOuterClass.RogueAreaStatus getRogueAreaStatus() {
|
public int getRogueAreaStatus() {
|
||||||
return RogueAreaStatusOuterClass.RogueAreaStatus.forNumber(rogueAreaStatus);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the value of the internal enum store. The result is
|
|
||||||
* equivalent to {@link RogueArea#getRogueAreaStatus()}.getNumber().
|
|
||||||
*
|
|
||||||
* @return numeric wire representation
|
|
||||||
*/
|
|
||||||
public int getRogueAreaStatusValue() {
|
|
||||||
return rogueAreaStatus;
|
return rogueAreaStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the value of the internal enum store. This does not
|
* <code>optional uint32 rogue_area_status = 8;</code>
|
||||||
* do any validity checks, so be sure to use appropriate value
|
* @param value the rogueAreaStatus to set
|
||||||
* constants from {@link RogueAreaStatusOuterClass.RogueAreaStatus}. Setting an invalid value
|
|
||||||
* can cause {@link RogueArea#getRogueAreaStatus()} to return null
|
|
||||||
*
|
|
||||||
* @param value the numeric wire value to set
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueArea setRogueAreaStatusValue(final int value) {
|
public RogueArea setRogueAreaStatus(final int value) {
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
rogueAreaStatus = value;
|
rogueAreaStatus = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAreaStatus rogue_area_status = 8;</code>
|
* <pre>
|
||||||
* @param value the rogueAreaStatus to set
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
* @return this
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
|
* @return whether the cMJFDLMBIOK field is set
|
||||||
*/
|
*/
|
||||||
public RogueArea setRogueAreaStatus(final RogueAreaStatusOuterClass.RogueAreaStatus value) {
|
public boolean hasCMJFDLMBIOK() {
|
||||||
bitField0_ |= 0x00000008;
|
|
||||||
rogueAreaStatus = value.getNumber();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueStatus rogue_status = 9;</code>
|
|
||||||
* @return whether the rogueStatus field is set
|
|
||||||
*/
|
|
||||||
public boolean hasRogueStatus() {
|
|
||||||
return (bitField0_ & 0x00000010) != 0;
|
return (bitField0_ & 0x00000010) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueStatus rogue_status = 9;</code>
|
* <pre>
|
||||||
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueArea clearRogueStatus() {
|
public RogueArea clearCMJFDLMBIOK() {
|
||||||
bitField0_ &= ~0x00000010;
|
bitField0_ &= ~0x00000010;
|
||||||
rogueStatus = 0;
|
cMJFDLMBIOK = false;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueStatus rogue_status = 9;</code>
|
* <pre>
|
||||||
* @return the rogueStatus
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
*/
|
* </pre>
|
||||||
public RogueStatusOuterClass.RogueStatus getRogueStatus() {
|
|
||||||
return RogueStatusOuterClass.RogueStatus.forNumber(rogueStatus);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the value of the internal enum store. The result is
|
|
||||||
* equivalent to {@link RogueArea#getRogueStatus()}.getNumber().
|
|
||||||
*
|
*
|
||||||
* @return numeric wire representation
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
|
* @return the cMJFDLMBIOK
|
||||||
*/
|
*/
|
||||||
public int getRogueStatusValue() {
|
public boolean getCMJFDLMBIOK() {
|
||||||
return rogueStatus;
|
return cMJFDLMBIOK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the value of the internal enum store. This does not
|
* <pre>
|
||||||
* do any validity checks, so be sure to use appropriate value
|
* HJEALCCKPAO AMMMELMOKJF = 12;
|
||||||
* constants from {@link RogueStatusOuterClass.RogueStatus}. Setting an invalid value
|
* </pre>
|
||||||
* can cause {@link RogueArea#getRogueStatus()} to return null
|
|
||||||
*
|
*
|
||||||
* @param value the numeric wire value to set
|
* <code>optional bool CMJFDLMBIOK = 14;</code>
|
||||||
|
* @param value the cMJFDLMBIOK to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueArea setRogueStatusValue(final int value) {
|
public RogueArea setCMJFDLMBIOK(final boolean value) {
|
||||||
bitField0_ |= 0x00000010;
|
bitField0_ |= 0x00000010;
|
||||||
rogueStatus = value;
|
cMJFDLMBIOK = value;
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueStatus rogue_status = 9;</code>
|
|
||||||
* @param value the rogueStatus to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueArea setRogueStatus(final RogueStatusOuterClass.RogueStatus value) {
|
|
||||||
bitField0_ |= 0x00000010;
|
|
||||||
rogueStatus = value.getNumber();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional bool is_reward_taken = 14;</code>
|
|
||||||
* @return whether the isRewardTaken field is set
|
|
||||||
*/
|
|
||||||
public boolean hasIsRewardTaken() {
|
|
||||||
return (bitField0_ & 0x00000020) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional bool is_reward_taken = 14;</code>
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueArea clearIsRewardTaken() {
|
|
||||||
bitField0_ &= ~0x00000020;
|
|
||||||
isRewardTaken = false;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional bool is_reward_taken = 14;</code>
|
|
||||||
* @return the isRewardTaken
|
|
||||||
*/
|
|
||||||
public boolean getIsRewardTaken() {
|
|
||||||
return isRewardTaken;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional bool is_reward_taken = 14;</code>
|
|
||||||
* @param value the isRewardTaken to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueArea setIsRewardTaken(final boolean value) {
|
|
||||||
bitField0_ |= 0x00000020;
|
|
||||||
isRewardTaken = value;
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -335,12 +263,11 @@ public final class RogueAreaOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
mapId = other.mapId;
|
|
||||||
curReachRoomNum = other.curReachRoomNum;
|
curReachRoomNum = other.curReachRoomNum;
|
||||||
|
mapId = other.mapId;
|
||||||
areaId = other.areaId;
|
areaId = other.areaId;
|
||||||
rogueAreaStatus = other.rogueAreaStatus;
|
rogueAreaStatus = other.rogueAreaStatus;
|
||||||
rogueStatus = other.rogueStatus;
|
cMJFDLMBIOK = other.cMJFDLMBIOK;
|
||||||
isRewardTaken = other.isRewardTaken;
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -351,23 +278,20 @@ public final class RogueAreaOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasMapId()) {
|
|
||||||
setMapId(other.mapId);
|
|
||||||
}
|
|
||||||
if (other.hasCurReachRoomNum()) {
|
if (other.hasCurReachRoomNum()) {
|
||||||
setCurReachRoomNum(other.curReachRoomNum);
|
setCurReachRoomNum(other.curReachRoomNum);
|
||||||
}
|
}
|
||||||
|
if (other.hasMapId()) {
|
||||||
|
setMapId(other.mapId);
|
||||||
|
}
|
||||||
if (other.hasAreaId()) {
|
if (other.hasAreaId()) {
|
||||||
setAreaId(other.areaId);
|
setAreaId(other.areaId);
|
||||||
}
|
}
|
||||||
if (other.hasRogueAreaStatus()) {
|
if (other.hasRogueAreaStatus()) {
|
||||||
setRogueAreaStatusValue(other.rogueAreaStatus);
|
setRogueAreaStatus(other.rogueAreaStatus);
|
||||||
}
|
}
|
||||||
if (other.hasRogueStatus()) {
|
if (other.hasCMJFDLMBIOK()) {
|
||||||
setRogueStatusValue(other.rogueStatus);
|
setCMJFDLMBIOK(other.cMJFDLMBIOK);
|
||||||
}
|
|
||||||
if (other.hasIsRewardTaken()) {
|
|
||||||
setIsRewardTaken(other.isRewardTaken);
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -379,12 +303,11 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
mapId = 0;
|
|
||||||
curReachRoomNum = 0;
|
curReachRoomNum = 0;
|
||||||
|
mapId = 0;
|
||||||
areaId = 0;
|
areaId = 0;
|
||||||
rogueAreaStatus = 0;
|
rogueAreaStatus = 0;
|
||||||
rogueStatus = 0;
|
cMJFDLMBIOK = false;
|
||||||
isRewardTaken = false;
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -408,39 +331,34 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
RogueArea other = (RogueArea) o;
|
RogueArea other = (RogueArea) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasMapId() || mapId == other.mapId)
|
|
||||||
&& (!hasCurReachRoomNum() || curReachRoomNum == other.curReachRoomNum)
|
&& (!hasCurReachRoomNum() || curReachRoomNum == other.curReachRoomNum)
|
||||||
|
&& (!hasMapId() || mapId == other.mapId)
|
||||||
&& (!hasAreaId() || areaId == other.areaId)
|
&& (!hasAreaId() || areaId == other.areaId)
|
||||||
&& (!hasRogueAreaStatus() || rogueAreaStatus == other.rogueAreaStatus)
|
&& (!hasRogueAreaStatus() || rogueAreaStatus == other.rogueAreaStatus)
|
||||||
&& (!hasRogueStatus() || rogueStatus == other.rogueStatus)
|
&& (!hasCMJFDLMBIOK() || cMJFDLMBIOK == other.cMJFDLMBIOK);
|
||||||
&& (!hasIsRewardTaken() || isRewardTaken == other.isRewardTaken);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 48);
|
output.writeRawByte((byte) 16);
|
||||||
output.writeUInt32NoTag(mapId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 88);
|
|
||||||
output.writeUInt32NoTag(curReachRoomNum);
|
output.writeUInt32NoTag(curReachRoomNum);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 40);
|
||||||
|
output.writeUInt32NoTag(mapId);
|
||||||
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 96);
|
output.writeRawByte((byte) 56);
|
||||||
output.writeUInt32NoTag(areaId);
|
output.writeUInt32NoTag(areaId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeRawByte((byte) 64);
|
output.writeRawByte((byte) 64);
|
||||||
output.writeEnumNoTag(rogueAreaStatus);
|
output.writeUInt32NoTag(rogueAreaStatus);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000010) != 0) {
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
output.writeRawByte((byte) 72);
|
|
||||||
output.writeEnumNoTag(rogueStatus);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000020) != 0) {
|
|
||||||
output.writeRawByte((byte) 112);
|
output.writeRawByte((byte) 112);
|
||||||
output.writeBoolNoTag(isRewardTaken);
|
output.writeBoolNoTag(cMJFDLMBIOK);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -448,21 +366,18 @@ public final class RogueAreaOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(mapId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(curReachRoomNum);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(curReachRoomNum);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(mapId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(areaId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(areaId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
size += 1 + ProtoSink.computeEnumSizeNoTag(rogueAreaStatus);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(rogueAreaStatus);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000010) != 0) {
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
size += 1 + ProtoSink.computeEnumSizeNoTag(rogueStatus);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000020) != 0) {
|
|
||||||
size += 2;
|
size += 2;
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
@@ -475,25 +390,25 @@ public final class RogueAreaOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 48: {
|
case 16: {
|
||||||
// mapId
|
|
||||||
mapId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 88) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 88: {
|
|
||||||
// curReachRoomNum
|
// curReachRoomNum
|
||||||
curReachRoomNum = input.readUInt32();
|
curReachRoomNum = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 96) {
|
if (tag != 40) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 96: {
|
case 40: {
|
||||||
|
// mapId
|
||||||
|
mapId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 56) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 56: {
|
||||||
// areaId
|
// areaId
|
||||||
areaId = input.readUInt32();
|
areaId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
@@ -504,32 +419,17 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
case 64: {
|
case 64: {
|
||||||
// rogueAreaStatus
|
// rogueAreaStatus
|
||||||
final int value = input.readInt32();
|
rogueAreaStatus = input.readUInt32();
|
||||||
if (RogueAreaStatusOuterClass.RogueAreaStatus.forNumber(value) != null) {
|
bitField0_ |= 0x00000008;
|
||||||
rogueAreaStatus = value;
|
|
||||||
bitField0_ |= 0x00000008;
|
|
||||||
}
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 72) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 72: {
|
|
||||||
// rogueStatus
|
|
||||||
final int value = input.readInt32();
|
|
||||||
if (RogueStatusOuterClass.RogueStatus.forNumber(value) != null) {
|
|
||||||
rogueStatus = value;
|
|
||||||
bitField0_ |= 0x00000010;
|
|
||||||
}
|
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 112) {
|
if (tag != 112) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 112: {
|
case 112: {
|
||||||
// isRewardTaken
|
// cMJFDLMBIOK
|
||||||
isRewardTaken = input.readBool();
|
cMJFDLMBIOK = input.readBool();
|
||||||
bitField0_ |= 0x00000020;
|
bitField0_ |= 0x00000010;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
@@ -553,22 +453,19 @@ public final class RogueAreaOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.mapId, mapId);
|
output.writeUInt32(FieldNames.curReachRoomNum, curReachRoomNum);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.curReachRoomNum, curReachRoomNum);
|
output.writeUInt32(FieldNames.mapId, mapId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeUInt32(FieldNames.areaId, areaId);
|
output.writeUInt32(FieldNames.areaId, areaId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeEnum(FieldNames.rogueAreaStatus, rogueAreaStatus, RogueAreaStatusOuterClass.RogueAreaStatus.converter());
|
output.writeUInt32(FieldNames.rogueAreaStatus, rogueAreaStatus);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000010) != 0) {
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
output.writeEnum(FieldNames.rogueStatus, rogueStatus, RogueStatusOuterClass.RogueStatus.converter());
|
output.writeBool(FieldNames.cMJFDLMBIOK, cMJFDLMBIOK);
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000020) != 0) {
|
|
||||||
output.writeBool(FieldNames.isRewardTaken, isRewardTaken);
|
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -580,11 +477,11 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case 103663511:
|
case 888045080:
|
||||||
case -1081377058: {
|
case 328196941: {
|
||||||
if (input.isAtField(FieldNames.mapId)) {
|
if (input.isAtField(FieldNames.curReachRoomNum)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
mapId = input.readUInt32();
|
curReachRoomNum = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -592,11 +489,11 @@ public final class RogueAreaOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 888045080:
|
case 103663511:
|
||||||
case 328196941: {
|
case -1081377058: {
|
||||||
if (input.isAtField(FieldNames.curReachRoomNum)) {
|
if (input.isAtField(FieldNames.mapId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
curReachRoomNum = input.readUInt32();
|
mapId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -620,42 +517,19 @@ public final class RogueAreaOuterClass {
|
|||||||
case -1961715457: {
|
case -1961715457: {
|
||||||
if (input.isAtField(FieldNames.rogueAreaStatus)) {
|
if (input.isAtField(FieldNames.rogueAreaStatus)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
final RogueAreaStatusOuterClass.RogueAreaStatus value = input.readEnum(RogueAreaStatusOuterClass.RogueAreaStatus.converter());
|
rogueAreaStatus = input.readUInt32();
|
||||||
if (value != null) {
|
bitField0_ |= 0x00000008;
|
||||||
rogueAreaStatus = value.getNumber();
|
|
||||||
bitField0_ |= 0x00000008;
|
|
||||||
} else {
|
|
||||||
input.skipUnknownEnumValue();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -836112788:
|
case 1216373954: {
|
||||||
case 1898767863: {
|
if (input.isAtField(FieldNames.cMJFDLMBIOK)) {
|
||||||
if (input.isAtField(FieldNames.rogueStatus)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
final RogueStatusOuterClass.RogueStatus value = input.readEnum(RogueStatusOuterClass.RogueStatus.converter());
|
cMJFDLMBIOK = input.readBool();
|
||||||
if (value != null) {
|
bitField0_ |= 0x00000010;
|
||||||
rogueStatus = value.getNumber();
|
|
||||||
bitField0_ |= 0x00000010;
|
|
||||||
} else {
|
|
||||||
input.skipUnknownEnumValue();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case -522199218:
|
|
||||||
case 1351172268: {
|
|
||||||
if (input.isAtField(FieldNames.isRewardTaken)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
isRewardTaken = input.readBool();
|
|
||||||
bitField0_ |= 0x00000020;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -714,17 +588,15 @@ public final class RogueAreaOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName mapId = FieldName.forField("mapId", "map_id");
|
|
||||||
|
|
||||||
static final FieldName curReachRoomNum = FieldName.forField("curReachRoomNum", "cur_reach_room_num");
|
static final FieldName curReachRoomNum = FieldName.forField("curReachRoomNum", "cur_reach_room_num");
|
||||||
|
|
||||||
|
static final FieldName mapId = FieldName.forField("mapId", "map_id");
|
||||||
|
|
||||||
static final FieldName areaId = FieldName.forField("areaId", "area_id");
|
static final FieldName areaId = FieldName.forField("areaId", "area_id");
|
||||||
|
|
||||||
static final FieldName rogueAreaStatus = FieldName.forField("rogueAreaStatus", "rogue_area_status");
|
static final FieldName rogueAreaStatus = FieldName.forField("rogueAreaStatus", "rogue_area_status");
|
||||||
|
|
||||||
static final FieldName rogueStatus = FieldName.forField("rogueStatus", "rogue_status");
|
static final FieldName cMJFDLMBIOK = FieldName.forField("CMJFDLMBIOK");
|
||||||
|
|
||||||
static final FieldName isRewardTaken = FieldName.forField("isRewardTaken", "is_reward_taken");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,301 @@
|
|||||||
|
// 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;
|
||||||
|
|
||||||
|
public final class RogueBonusSelectInfoOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueBonusSelectInfo}
|
||||||
|
*/
|
||||||
|
public static final class RogueBonusSelectInfo extends ProtoMessage<RogueBonusSelectInfo> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 bonus_info = 5;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt bonusInfo = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
private RogueBonusSelectInfo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueBonusSelectInfo}
|
||||||
|
*/
|
||||||
|
public static RogueBonusSelectInfo newInstance() {
|
||||||
|
return new RogueBonusSelectInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 bonus_info = 5;</code>
|
||||||
|
* @return whether the bonusInfo field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBonusInfo() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 bonus_info = 5;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueBonusSelectInfo clearBonusInfo() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
bonusInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 bonus_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 #getMutableBonusInfo()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getBonusInfo() {
|
||||||
|
return bonusInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 bonus_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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public RepeatedInt getMutableBonusInfo() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return bonusInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 bonus_info = 5;</code>
|
||||||
|
* @param value the bonusInfo to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueBonusSelectInfo addBonusInfo(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
bonusInfo.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 bonus_info = 5;</code>
|
||||||
|
* @param values the bonusInfo to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueBonusSelectInfo addAllBonusInfo(final int... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
bonusInfo.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectInfo copyFrom(final RogueBonusSelectInfo other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
bonusInfo.copyFrom(other.bonusInfo);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectInfo mergeFrom(final RogueBonusSelectInfo other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBonusInfo()) {
|
||||||
|
getMutableBonusInfo().addAll(other.bonusInfo);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectInfo clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
bonusInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectInfo clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
bonusInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueBonusSelectInfo)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueBonusSelectInfo other = (RogueBonusSelectInfo) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBonusInfo() || bonusInfo.equals(other.bonusInfo));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
for (int i = 0; i < bonusInfo.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 40);
|
||||||
|
output.writeUInt32NoTag(bonusInfo.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += (1 * bonusInfo.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(bonusInfo);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueBonusSelectInfo mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 42: {
|
||||||
|
// bonusInfo [packed=true]
|
||||||
|
input.readPackedUInt32(bonusInfo, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 40: {
|
||||||
|
// bonusInfo [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(bonusInfo, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.bonusInfo, bonusInfo);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectInfo mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1440797037:
|
||||||
|
case 1735211214: {
|
||||||
|
if (input.isAtField(FieldNames.bonusInfo)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(bonusInfo);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectInfo clone() {
|
||||||
|
return new RogueBonusSelectInfo().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBonusSelectInfo parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBonusSelectInfo(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBonusSelectInfo parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBonusSelectInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBonusSelectInfo parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBonusSelectInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueBonusSelectInfo messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueBonusSelectInfo> getFactory() {
|
||||||
|
return RogueBonusSelectInfoFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueBonusSelectInfoFactory implements MessageFactory<RogueBonusSelectInfo> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectInfo create() {
|
||||||
|
return RogueBonusSelectInfo.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName bonusInfo = FieldName.forField("bonusInfo", "bonus_info");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,174 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
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 RogueBonusSelectOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueBonusSelect}
|
||||||
|
*/
|
||||||
|
public static final class RogueBonusSelect extends ProtoMessage<RogueBonusSelect> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
private RogueBonusSelect() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueBonusSelect}
|
||||||
|
*/
|
||||||
|
public static RogueBonusSelect newInstance() {
|
||||||
|
return new RogueBonusSelect();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelect copyFrom(final RogueBonusSelect other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelect mergeFrom(final RogueBonusSelect other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelect clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelect clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueBonusSelect)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueBonusSelect other = (RogueBonusSelect) o;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueBonusSelect mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelect mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelect clone() {
|
||||||
|
return new RogueBonusSelect().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBonusSelect parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBonusSelect(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBonusSelect parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBonusSelect(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBonusSelect parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBonusSelect(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueBonusSelect messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueBonusSelect> getFactory() {
|
||||||
|
return RogueBonusSelectFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueBonusSelectFactory implements MessageFactory<RogueBonusSelect> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelect create() {
|
||||||
|
return RogueBonusSelect.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,260 @@
|
|||||||
|
// 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 RogueBonusSelectResultOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueBonusSelectResult}
|
||||||
|
*/
|
||||||
|
public static final class RogueBonusSelectResult extends ProtoMessage<RogueBonusSelectResult> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 bonus_id = 9;</code>
|
||||||
|
*/
|
||||||
|
private int bonusId;
|
||||||
|
|
||||||
|
private RogueBonusSelectResult() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueBonusSelectResult}
|
||||||
|
*/
|
||||||
|
public static RogueBonusSelectResult newInstance() {
|
||||||
|
return new RogueBonusSelectResult();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 bonus_id = 9;</code>
|
||||||
|
* @return whether the bonusId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBonusId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 bonus_id = 9;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueBonusSelectResult clearBonusId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
bonusId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 bonus_id = 9;</code>
|
||||||
|
* @return the bonusId
|
||||||
|
*/
|
||||||
|
public int getBonusId() {
|
||||||
|
return bonusId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 bonus_id = 9;</code>
|
||||||
|
* @param value the bonusId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueBonusSelectResult setBonusId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
bonusId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectResult copyFrom(final RogueBonusSelectResult other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
bonusId = other.bonusId;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectResult mergeFrom(final RogueBonusSelectResult other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBonusId()) {
|
||||||
|
setBonusId(other.bonusId);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectResult clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
bonusId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectResult 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 RogueBonusSelectResult)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueBonusSelectResult other = (RogueBonusSelectResult) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBonusId() || bonusId == other.bonusId);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 72);
|
||||||
|
output.writeUInt32NoTag(bonusId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(bonusId);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueBonusSelectResult mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 72: {
|
||||||
|
// bonusId
|
||||||
|
bonusId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.bonusId, bonusId);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectResult mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 64069018:
|
||||||
|
case 1986160955: {
|
||||||
|
if (input.isAtField(FieldNames.bonusId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
bonusId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectResult clone() {
|
||||||
|
return new RogueBonusSelectResult().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBonusSelectResult parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBonusSelectResult(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBonusSelectResult parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBonusSelectResult(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBonusSelectResult parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBonusSelectResult(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueBonusSelectResult messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueBonusSelectResult> getFactory() {
|
||||||
|
return RogueBonusSelectResultFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueBonusSelectResultFactory implements MessageFactory<RogueBonusSelectResult> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBonusSelectResult create() {
|
||||||
|
return RogueBonusSelectResult.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName bonusId = FieldName.forField("bonusId", "bonus_id");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,339 @@
|
|||||||
|
// 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 RogueBuffDataOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueBuffData}
|
||||||
|
*/
|
||||||
|
public static final class RogueBuffData extends ProtoMessage<RogueBuffData> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
*/
|
||||||
|
private int buffId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
*/
|
||||||
|
private int level;
|
||||||
|
|
||||||
|
private RogueBuffData() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueBuffData}
|
||||||
|
*/
|
||||||
|
public static RogueBuffData newInstance() {
|
||||||
|
return new RogueBuffData();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
* @return whether the buffId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBuffId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueBuffData clearBuffId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
buffId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
* @return the buffId
|
||||||
|
*/
|
||||||
|
public int getBuffId() {
|
||||||
|
return buffId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
* @param value the buffId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueBuffData setBuffId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
buffId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
* @return whether the level field is set
|
||||||
|
*/
|
||||||
|
public boolean hasLevel() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueBuffData clearLevel() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
level = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
* @return the level
|
||||||
|
*/
|
||||||
|
public int getLevel() {
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
* @param value the level to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueBuffData setLevel(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
level = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffData copyFrom(final RogueBuffData other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
buffId = other.buffId;
|
||||||
|
level = other.level;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffData mergeFrom(final RogueBuffData other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBuffId()) {
|
||||||
|
setBuffId(other.buffId);
|
||||||
|
}
|
||||||
|
if (other.hasLevel()) {
|
||||||
|
setLevel(other.level);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffData clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
buffId = 0;
|
||||||
|
level = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffData 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 RogueBuffData)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueBuffData other = (RogueBuffData) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBuffId() || buffId == other.buffId)
|
||||||
|
&& (!hasLevel() || level == other.level);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 40);
|
||||||
|
output.writeUInt32NoTag(buffId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 72);
|
||||||
|
output.writeUInt32NoTag(level);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueBuffData mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 40: {
|
||||||
|
// buffId
|
||||||
|
buffId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 72) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 72: {
|
||||||
|
// level
|
||||||
|
level = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.buffId, buffId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.level, level);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffData mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1378119474:
|
||||||
|
case 227990663: {
|
||||||
|
if (input.isAtField(FieldNames.buffId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
buffId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 102865796: {
|
||||||
|
if (input.isAtField(FieldNames.level)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
level = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffData clone() {
|
||||||
|
return new RogueBuffData().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBuffData parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBuffData(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBuffData parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBuffData(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBuffData parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBuffData(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueBuffData messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueBuffData> getFactory() {
|
||||||
|
return RogueBuffDataFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueBuffDataFactory implements MessageFactory<RogueBuffData> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffData create() {
|
||||||
|
return RogueBuffData.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName buffId = FieldName.forField("buffId", "buff_id");
|
||||||
|
|
||||||
|
static final FieldName level = FieldName.forField("level");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -20,12 +20,7 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 10;</code>
|
* <code>repeated .RogueBuff maze_buff_list = 1;</code>
|
||||||
*/
|
|
||||||
private final RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo buffSelectInfo = RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo.newInstance();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>repeated .RogueBuff maze_buff_list = 7;</code>
|
|
||||||
*/
|
*/
|
||||||
private final RepeatedMessage<RogueBuffOuterClass.RogueBuff> mazeBuffList = RepeatedMessage.newEmptyInstance(RogueBuffOuterClass.RogueBuff.getFactory());
|
private final RepeatedMessage<RogueBuffOuterClass.RogueBuff> mazeBuffList = RepeatedMessage.newEmptyInstance(RogueBuffOuterClass.RogueBuff.getFactory());
|
||||||
|
|
||||||
@@ -40,83 +35,25 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 10;</code>
|
* <code>repeated .RogueBuff maze_buff_list = 1;</code>
|
||||||
* @return whether the buffSelectInfo field is set
|
* @return whether the mazeBuffList field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasBuffSelectInfo() {
|
public boolean hasMazeBuffList() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 10;</code>
|
* <code>repeated .RogueBuff maze_buff_list = 1;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueBuffInfo clearBuffSelectInfo() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
buffSelectInfo.clear();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueBuffSelectInfo buff_select_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 #getMutableBuffSelectInfo()} if you want to modify it.
|
|
||||||
*
|
|
||||||
* @return internal storage object for reading
|
|
||||||
*/
|
|
||||||
public RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo getBuffSelectInfo() {
|
|
||||||
return buffSelectInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueBuffSelectInfo buff_select_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 RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo getMutableBuffSelectInfo() {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
return buffSelectInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueBuffSelectInfo buff_select_info = 10;</code>
|
|
||||||
* @param value the buffSelectInfo to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueBuffInfo setBuffSelectInfo(
|
|
||||||
final RogueBuffSelectInfoOuterClass.RogueBuffSelectInfo value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
buffSelectInfo.copyFrom(value);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>repeated .RogueBuff maze_buff_list = 7;</code>
|
|
||||||
* @return whether the mazeBuffList field is set
|
|
||||||
*/
|
|
||||||
public boolean hasMazeBuffList() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>repeated .RogueBuff maze_buff_list = 7;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueBuffInfo clearMazeBuffList() {
|
public RogueBuffInfo clearMazeBuffList() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000001;
|
||||||
mazeBuffList.clear();
|
mazeBuffList.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueBuff maze_buff_list = 7;</code>
|
* <code>repeated .RogueBuff maze_buff_list = 1;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -130,7 +67,7 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueBuff maze_buff_list = 7;</code>
|
* <code>repeated .RogueBuff maze_buff_list = 1;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -139,28 +76,28 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public RepeatedMessage<RogueBuffOuterClass.RogueBuff> getMutableMazeBuffList() {
|
public RepeatedMessage<RogueBuffOuterClass.RogueBuff> getMutableMazeBuffList() {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
return mazeBuffList;
|
return mazeBuffList;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueBuff maze_buff_list = 7;</code>
|
* <code>repeated .RogueBuff maze_buff_list = 1;</code>
|
||||||
* @param value the mazeBuffList to add
|
* @param value the mazeBuffList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueBuffInfo addMazeBuffList(final RogueBuffOuterClass.RogueBuff value) {
|
public RogueBuffInfo addMazeBuffList(final RogueBuffOuterClass.RogueBuff value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
mazeBuffList.add(value);
|
mazeBuffList.add(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueBuff maze_buff_list = 7;</code>
|
* <code>repeated .RogueBuff maze_buff_list = 1;</code>
|
||||||
* @param values the mazeBuffList to add
|
* @param values the mazeBuffList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueBuffInfo addAllMazeBuffList(final RogueBuffOuterClass.RogueBuff... values) {
|
public RogueBuffInfo addAllMazeBuffList(final RogueBuffOuterClass.RogueBuff... values) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
mazeBuffList.addAll(values);
|
mazeBuffList.addAll(values);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -170,7 +107,6 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
buffSelectInfo.copyFrom(other.buffSelectInfo);
|
|
||||||
mazeBuffList.copyFrom(other.mazeBuffList);
|
mazeBuffList.copyFrom(other.mazeBuffList);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
@@ -182,9 +118,6 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasBuffSelectInfo()) {
|
|
||||||
getMutableBuffSelectInfo().mergeFrom(other.buffSelectInfo);
|
|
||||||
}
|
|
||||||
if (other.hasMazeBuffList()) {
|
if (other.hasMazeBuffList()) {
|
||||||
getMutableMazeBuffList().addAll(other.mazeBuffList);
|
getMutableMazeBuffList().addAll(other.mazeBuffList);
|
||||||
}
|
}
|
||||||
@@ -198,7 +131,6 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
buffSelectInfo.clear();
|
|
||||||
mazeBuffList.clear();
|
mazeBuffList.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -210,7 +142,6 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
buffSelectInfo.clearQuick();
|
|
||||||
mazeBuffList.clearQuick();
|
mazeBuffList.clearQuick();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -225,19 +156,14 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
}
|
}
|
||||||
RogueBuffInfo other = (RogueBuffInfo) o;
|
RogueBuffInfo other = (RogueBuffInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasBuffSelectInfo() || buffSelectInfo.equals(other.buffSelectInfo))
|
|
||||||
&& (!hasMazeBuffList() || mazeBuffList.equals(other.mazeBuffList));
|
&& (!hasMazeBuffList() || mazeBuffList.equals(other.mazeBuffList));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 82);
|
|
||||||
output.writeMessageNoTag(buffSelectInfo);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
for (int i = 0; i < mazeBuffList.length(); i++) {
|
for (int i = 0; i < mazeBuffList.length(); i++) {
|
||||||
output.writeRawByte((byte) 58);
|
output.writeRawByte((byte) 10);
|
||||||
output.writeMessageNoTag(mazeBuffList.get(i));
|
output.writeMessageNoTag(mazeBuffList.get(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -247,9 +173,6 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(buffSelectInfo);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
size += (1 * mazeBuffList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(mazeBuffList);
|
size += (1 * mazeBuffList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(mazeBuffList);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
@@ -262,19 +185,10 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 82: {
|
case 10: {
|
||||||
// buffSelectInfo
|
|
||||||
input.readMessage(buffSelectInfo);
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 58) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 58: {
|
|
||||||
// mazeBuffList
|
// mazeBuffList
|
||||||
tag = input.readRepeatedMessage(mazeBuffList, tag);
|
tag = input.readRepeatedMessage(mazeBuffList, tag);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -297,9 +211,6 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeMessage(FieldNames.buffSelectInfo, buffSelectInfo);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRepeatedMessage(FieldNames.mazeBuffList, mazeBuffList);
|
output.writeRepeatedMessage(FieldNames.mazeBuffList, mazeBuffList);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
@@ -312,24 +223,12 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case -255242115:
|
|
||||||
case 1500540965: {
|
|
||||||
if (input.isAtField(FieldNames.buffSelectInfo)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
input.readMessage(buffSelectInfo);
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 1147228272:
|
case 1147228272:
|
||||||
case -1634995062: {
|
case -1634995062: {
|
||||||
if (input.isAtField(FieldNames.mazeBuffList)) {
|
if (input.isAtField(FieldNames.mazeBuffList)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readRepeatedMessage(mazeBuffList);
|
input.readRepeatedMessage(mazeBuffList);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -388,8 +287,6 @@ public final class RogueBuffInfoOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName buffSelectInfo = FieldName.forField("buffSelectInfo", "buff_select_info");
|
|
||||||
|
|
||||||
static final FieldName mazeBuffList = FieldName.forField("mazeBuffList", "maze_buff_list");
|
static final FieldName mazeBuffList = FieldName.forField("mazeBuffList", "maze_buff_list");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public final class RogueBuffOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 level = 8;</code>
|
* <code>optional uint32 level = 10;</code>
|
||||||
*/
|
*/
|
||||||
private int level;
|
private int level;
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ public final class RogueBuffOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 level = 8;</code>
|
* <code>optional uint32 level = 10;</code>
|
||||||
* @return whether the level field is set
|
* @return whether the level field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasLevel() {
|
public boolean hasLevel() {
|
||||||
@@ -47,7 +47,7 @@ public final class RogueBuffOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 level = 8;</code>
|
* <code>optional uint32 level = 10;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueBuff clearLevel() {
|
public RogueBuff clearLevel() {
|
||||||
@@ -57,7 +57,7 @@ public final class RogueBuffOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 level = 8;</code>
|
* <code>optional uint32 level = 10;</code>
|
||||||
* @return the level
|
* @return the level
|
||||||
*/
|
*/
|
||||||
public int getLevel() {
|
public int getLevel() {
|
||||||
@@ -65,7 +65,7 @@ public final class RogueBuffOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 level = 8;</code>
|
* <code>optional uint32 level = 10;</code>
|
||||||
* @param value the level to set
|
* @param value the level to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -177,7 +177,7 @@ public final class RogueBuffOuterClass {
|
|||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 64);
|
output.writeRawByte((byte) 80);
|
||||||
output.writeUInt32NoTag(level);
|
output.writeUInt32NoTag(level);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
@@ -205,7 +205,7 @@ public final class RogueBuffOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 64: {
|
case 80: {
|
||||||
// level
|
// level
|
||||||
level = input.readUInt32();
|
level = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
|
|||||||
@@ -0,0 +1,174 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
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 RogueBuffRollInfoOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueBuffRollInfo}
|
||||||
|
*/
|
||||||
|
public static final class RogueBuffRollInfo extends ProtoMessage<RogueBuffRollInfo> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
private RogueBuffRollInfo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueBuffRollInfo}
|
||||||
|
*/
|
||||||
|
public static RogueBuffRollInfo newInstance() {
|
||||||
|
return new RogueBuffRollInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffRollInfo copyFrom(final RogueBuffRollInfo other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffRollInfo mergeFrom(final RogueBuffRollInfo other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffRollInfo clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffRollInfo clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueBuffRollInfo)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueBuffRollInfo other = (RogueBuffRollInfo) o;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueBuffRollInfo mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffRollInfo mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffRollInfo clone() {
|
||||||
|
return new RogueBuffRollInfo().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBuffRollInfo parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBuffRollInfo(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBuffRollInfo parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBuffRollInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBuffRollInfo parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBuffRollInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueBuffRollInfo messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueBuffRollInfo> getFactory() {
|
||||||
|
return RogueBuffRollInfoFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueBuffRollInfoFactory implements MessageFactory<RogueBuffRollInfo> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffRollInfo create() {
|
||||||
|
return RogueBuffRollInfo.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,174 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
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 RogueBuffSelectOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueBuffSelect}
|
||||||
|
*/
|
||||||
|
public static final class RogueBuffSelect extends ProtoMessage<RogueBuffSelect> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
private RogueBuffSelect() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueBuffSelect}
|
||||||
|
*/
|
||||||
|
public static RogueBuffSelect newInstance() {
|
||||||
|
return new RogueBuffSelect();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffSelect copyFrom(final RogueBuffSelect other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffSelect mergeFrom(final RogueBuffSelect other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffSelect clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffSelect clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueBuffSelect)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueBuffSelect other = (RogueBuffSelect) o;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueBuffSelect mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffSelect mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffSelect clone() {
|
||||||
|
return new RogueBuffSelect().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBuffSelect parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBuffSelect(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBuffSelect parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBuffSelect(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueBuffSelect parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueBuffSelect(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueBuffSelect messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueBuffSelect> getFactory() {
|
||||||
|
return RogueBuffSelectFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueBuffSelectFactory implements MessageFactory<RogueBuffSelect> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueBuffSelect create() {
|
||||||
|
return RogueBuffSelect.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,340 @@
|
|||||||
|
// 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 RogueCommonBuffOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueCommonBuff}
|
||||||
|
*/
|
||||||
|
public static final class RogueCommonBuff extends ProtoMessage<RogueCommonBuff> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
*/
|
||||||
|
private int buffId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
*/
|
||||||
|
private int level;
|
||||||
|
|
||||||
|
private RogueCommonBuff() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueCommonBuff}
|
||||||
|
*/
|
||||||
|
public static RogueCommonBuff newInstance() {
|
||||||
|
return new RogueCommonBuff();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
* @return whether the buffId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBuffId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonBuff clearBuffId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
buffId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
* @return the buffId
|
||||||
|
*/
|
||||||
|
public int getBuffId() {
|
||||||
|
return buffId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 5;</code>
|
||||||
|
* @param value the buffId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonBuff setBuffId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
buffId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
* @return whether the level field is set
|
||||||
|
*/
|
||||||
|
public boolean hasLevel() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonBuff clearLevel() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
level = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
* @return the level
|
||||||
|
*/
|
||||||
|
public int getLevel() {
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 level = 9;</code>
|
||||||
|
* @param value the level to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonBuff setLevel(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
level = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuff copyFrom(final RogueCommonBuff other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
buffId = other.buffId;
|
||||||
|
level = other.level;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuff mergeFrom(final RogueCommonBuff other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBuffId()) {
|
||||||
|
setBuffId(other.buffId);
|
||||||
|
}
|
||||||
|
if (other.hasLevel()) {
|
||||||
|
setLevel(other.level);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuff clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
buffId = 0;
|
||||||
|
level = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuff 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 RogueCommonBuff)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueCommonBuff other = (RogueCommonBuff) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBuffId() || buffId == other.buffId)
|
||||||
|
&& (!hasLevel() || level == other.level);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 40);
|
||||||
|
output.writeUInt32NoTag(buffId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 72);
|
||||||
|
output.writeUInt32NoTag(level);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(level);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueCommonBuff mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 40: {
|
||||||
|
// buffId
|
||||||
|
buffId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 72) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 72: {
|
||||||
|
// level
|
||||||
|
level = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.buffId, buffId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.level, level);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuff mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1378119474:
|
||||||
|
case 227990663: {
|
||||||
|
if (input.isAtField(FieldNames.buffId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
buffId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 102865796: {
|
||||||
|
if (input.isAtField(FieldNames.level)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
level = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuff clone() {
|
||||||
|
return new RogueCommonBuff().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueCommonBuff parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueCommonBuff(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueCommonBuff parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueCommonBuff(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueCommonBuff parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueCommonBuff(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueCommonBuff messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueCommonBuff> getFactory() {
|
||||||
|
return RogueCommonBuffFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueCommonBuffFactory implements MessageFactory<RogueCommonBuff> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuff create() {
|
||||||
|
return RogueCommonBuff.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName buffId = FieldName.forField("buffId", "buff_id");
|
||||||
|
|
||||||
|
static final FieldName level = FieldName.forField("level");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,261 @@
|
|||||||
|
// 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 RogueCommonBuffSelectResultOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueCommonBuffSelectResult}
|
||||||
|
*/
|
||||||
|
public static final class RogueCommonBuffSelectResult extends ProtoMessage<RogueCommonBuffSelectResult> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 12;</code>
|
||||||
|
*/
|
||||||
|
private int buffId;
|
||||||
|
|
||||||
|
private RogueCommonBuffSelectResult() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueCommonBuffSelectResult}
|
||||||
|
*/
|
||||||
|
public static RogueCommonBuffSelectResult newInstance() {
|
||||||
|
return new RogueCommonBuffSelectResult();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 12;</code>
|
||||||
|
* @return whether the buffId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBuffId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonBuffSelectResult clearBuffId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
buffId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 12;</code>
|
||||||
|
* @return the buffId
|
||||||
|
*/
|
||||||
|
public int getBuffId() {
|
||||||
|
return buffId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 12;</code>
|
||||||
|
* @param value the buffId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonBuffSelectResult setBuffId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
buffId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuffSelectResult copyFrom(final RogueCommonBuffSelectResult other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
buffId = other.buffId;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuffSelectResult mergeFrom(final RogueCommonBuffSelectResult other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBuffId()) {
|
||||||
|
setBuffId(other.buffId);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuffSelectResult clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
buffId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuffSelectResult 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 RogueCommonBuffSelectResult)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueCommonBuffSelectResult other = (RogueCommonBuffSelectResult) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBuffId() || buffId == other.buffId);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 96);
|
||||||
|
output.writeUInt32NoTag(buffId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueCommonBuffSelectResult mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 96: {
|
||||||
|
// buffId
|
||||||
|
buffId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.buffId, buffId);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuffSelectResult mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1378119474:
|
||||||
|
case 227990663: {
|
||||||
|
if (input.isAtField(FieldNames.buffId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
buffId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuffSelectResult clone() {
|
||||||
|
return new RogueCommonBuffSelectResult().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueCommonBuffSelectResult parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueCommonBuffSelectResult(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueCommonBuffSelectResult parseFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueCommonBuffSelectResult(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueCommonBuffSelectResult parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueCommonBuffSelectResult(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueCommonBuffSelectResult messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueCommonBuffSelectResult> getFactory() {
|
||||||
|
return RogueCommonBuffSelectResultFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueCommonBuffSelectResultFactory implements MessageFactory<RogueCommonBuffSelectResult> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonBuffSelectResult create() {
|
||||||
|
return RogueCommonBuffSelectResult.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName buffId = FieldName.forField("buffId", "buff_id");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,381 @@
|
|||||||
|
// 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 RogueCommonPendingActionOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueCommonPendingAction}
|
||||||
|
*/
|
||||||
|
public static final class RogueCommonPendingAction extends ProtoMessage<RogueCommonPendingAction> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
*/
|
||||||
|
private int gLFDHAJPJDF;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAction rogue_action = 7;</code>
|
||||||
|
*/
|
||||||
|
private final RogueActionOuterClass.RogueAction rogueAction = RogueActionOuterClass.RogueAction.newInstance();
|
||||||
|
|
||||||
|
private RogueCommonPendingAction() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueCommonPendingAction}
|
||||||
|
*/
|
||||||
|
public static RogueCommonPendingAction newInstance() {
|
||||||
|
return new RogueCommonPendingAction();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
* @return whether the gLFDHAJPJDF field is set
|
||||||
|
*/
|
||||||
|
public boolean hasGLFDHAJPJDF() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonPendingAction clearGLFDHAJPJDF() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
gLFDHAJPJDF = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
* @return the gLFDHAJPJDF
|
||||||
|
*/
|
||||||
|
public int getGLFDHAJPJDF() {
|
||||||
|
return gLFDHAJPJDF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 GLFDHAJPJDF = 3;</code>
|
||||||
|
* @param value the gLFDHAJPJDF to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonPendingAction setGLFDHAJPJDF(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
gLFDHAJPJDF = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAction rogue_action = 7;</code>
|
||||||
|
* @return whether the rogueAction field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueAction() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAction rogue_action = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonPendingAction clearRogueAction() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
rogueAction.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAction rogue_action = 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 #getMutableRogueAction()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueActionOuterClass.RogueAction getRogueAction() {
|
||||||
|
return rogueAction;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAction rogue_action = 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 RogueActionOuterClass.RogueAction getMutableRogueAction() {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return rogueAction;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAction rogue_action = 7;</code>
|
||||||
|
* @param value the rogueAction to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueCommonPendingAction setRogueAction(final RogueActionOuterClass.RogueAction value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
rogueAction.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonPendingAction copyFrom(final RogueCommonPendingAction other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
gLFDHAJPJDF = other.gLFDHAJPJDF;
|
||||||
|
rogueAction.copyFrom(other.rogueAction);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonPendingAction mergeFrom(final RogueCommonPendingAction other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasGLFDHAJPJDF()) {
|
||||||
|
setGLFDHAJPJDF(other.gLFDHAJPJDF);
|
||||||
|
}
|
||||||
|
if (other.hasRogueAction()) {
|
||||||
|
getMutableRogueAction().mergeFrom(other.rogueAction);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonPendingAction clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
gLFDHAJPJDF = 0;
|
||||||
|
rogueAction.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonPendingAction clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueAction.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueCommonPendingAction)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueCommonPendingAction other = (RogueCommonPendingAction) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasGLFDHAJPJDF() || gLFDHAJPJDF == other.gLFDHAJPJDF)
|
||||||
|
&& (!hasRogueAction() || rogueAction.equals(other.rogueAction));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 24);
|
||||||
|
output.writeUInt32NoTag(gLFDHAJPJDF);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 58);
|
||||||
|
output.writeMessageNoTag(rogueAction);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(gLFDHAJPJDF);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueAction);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueCommonPendingAction mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 24: {
|
||||||
|
// gLFDHAJPJDF
|
||||||
|
gLFDHAJPJDF = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 58) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 58: {
|
||||||
|
// rogueAction
|
||||||
|
input.readMessage(rogueAction);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.gLFDHAJPJDF, gLFDHAJPJDF);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueAction, rogueAction);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonPendingAction mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1202020394: {
|
||||||
|
if (input.isAtField(FieldNames.gLFDHAJPJDF)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
gLFDHAJPJDF = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1366582096:
|
||||||
|
case 1368298555: {
|
||||||
|
if (input.isAtField(FieldNames.rogueAction)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueAction);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonPendingAction clone() {
|
||||||
|
return new RogueCommonPendingAction().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueCommonPendingAction parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueCommonPendingAction(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueCommonPendingAction parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueCommonPendingAction(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueCommonPendingAction parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueCommonPendingAction(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueCommonPendingAction messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueCommonPendingAction> getFactory() {
|
||||||
|
return RogueCommonPendingActionFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueCommonPendingActionFactory implements MessageFactory<RogueCommonPendingAction> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueCommonPendingAction create() {
|
||||||
|
return RogueCommonPendingAction.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName gLFDHAJPJDF = FieldName.forField("GLFDHAJPJDF");
|
||||||
|
|
||||||
|
static final FieldName rogueAction = FieldName.forField("rogueAction", "rogue_action");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,741 @@
|
|||||||
|
// 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 RogueDialogueEventOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueDialogueEvent}
|
||||||
|
*/
|
||||||
|
public static final class RogueDialogueEvent extends ProtoMessage<RogueDialogueEvent> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 1;</code>
|
||||||
|
*/
|
||||||
|
private int npcId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 GBMDBBBMBEJ = 6;</code>
|
||||||
|
*/
|
||||||
|
private int gBMDBBBMBEJ;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INJPFALMDHJ = 7;</code>
|
||||||
|
*/
|
||||||
|
private int iNJPFALMDHJ;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 game_mode_type = 13;</code>
|
||||||
|
*/
|
||||||
|
private int gameModeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 NNOHLEAOJPP = 8;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt nNOHLEAOJPP = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEventParam rogue_dialogue_event_param = 15;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedMessage<RogueDialogueEventParamOuterClass.RogueDialogueEventParam> rogueDialogueEventParam = RepeatedMessage.newEmptyInstance(RogueDialogueEventParamOuterClass.RogueDialogueEventParam.getFactory());
|
||||||
|
|
||||||
|
private RogueDialogueEvent() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueDialogueEvent}
|
||||||
|
*/
|
||||||
|
public static RogueDialogueEvent newInstance() {
|
||||||
|
return new RogueDialogueEvent();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 1;</code>
|
||||||
|
* @return whether the npcId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasNpcId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 1;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent clearNpcId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
npcId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 1;</code>
|
||||||
|
* @return the npcId
|
||||||
|
*/
|
||||||
|
public int getNpcId() {
|
||||||
|
return npcId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 npc_id = 1;</code>
|
||||||
|
* @param value the npcId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent setNpcId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
npcId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 GBMDBBBMBEJ = 6;</code>
|
||||||
|
* @return whether the gBMDBBBMBEJ field is set
|
||||||
|
*/
|
||||||
|
public boolean hasGBMDBBBMBEJ() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 GBMDBBBMBEJ = 6;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent clearGBMDBBBMBEJ() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
gBMDBBBMBEJ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 GBMDBBBMBEJ = 6;</code>
|
||||||
|
* @return the gBMDBBBMBEJ
|
||||||
|
*/
|
||||||
|
public int getGBMDBBBMBEJ() {
|
||||||
|
return gBMDBBBMBEJ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 GBMDBBBMBEJ = 6;</code>
|
||||||
|
* @param value the gBMDBBBMBEJ to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent setGBMDBBBMBEJ(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
gBMDBBBMBEJ = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INJPFALMDHJ = 7;</code>
|
||||||
|
* @return whether the iNJPFALMDHJ field is set
|
||||||
|
*/
|
||||||
|
public boolean hasINJPFALMDHJ() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INJPFALMDHJ = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent clearINJPFALMDHJ() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
iNJPFALMDHJ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INJPFALMDHJ = 7;</code>
|
||||||
|
* @return the iNJPFALMDHJ
|
||||||
|
*/
|
||||||
|
public int getINJPFALMDHJ() {
|
||||||
|
return iNJPFALMDHJ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 INJPFALMDHJ = 7;</code>
|
||||||
|
* @param value the iNJPFALMDHJ to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent setINJPFALMDHJ(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
iNJPFALMDHJ = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 game_mode_type = 13;</code>
|
||||||
|
* @return whether the gameModeType field is set
|
||||||
|
*/
|
||||||
|
public boolean hasGameModeType() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 game_mode_type = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent clearGameModeType() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
gameModeType = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 game_mode_type = 13;</code>
|
||||||
|
* @return the gameModeType
|
||||||
|
*/
|
||||||
|
public int getGameModeType() {
|
||||||
|
return gameModeType;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 game_mode_type = 13;</code>
|
||||||
|
* @param value the gameModeType to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent setGameModeType(final int value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
gameModeType = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 NNOHLEAOJPP = 8;</code>
|
||||||
|
* @return whether the nNOHLEAOJPP field is set
|
||||||
|
*/
|
||||||
|
public boolean hasNNOHLEAOJPP() {
|
||||||
|
return (bitField0_ & 0x00000010) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 NNOHLEAOJPP = 8;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent clearNNOHLEAOJPP() {
|
||||||
|
bitField0_ &= ~0x00000010;
|
||||||
|
nNOHLEAOJPP.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 NNOHLEAOJPP = 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 #getMutableNNOHLEAOJPP()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getNNOHLEAOJPP() {
|
||||||
|
return nNOHLEAOJPP;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 NNOHLEAOJPP = 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 getMutableNNOHLEAOJPP() {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
return nNOHLEAOJPP;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 NNOHLEAOJPP = 8;</code>
|
||||||
|
* @param value the nNOHLEAOJPP to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent addNNOHLEAOJPP(final int value) {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
nNOHLEAOJPP.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 NNOHLEAOJPP = 8;</code>
|
||||||
|
* @param values the nNOHLEAOJPP to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent addAllNNOHLEAOJPP(final int... values) {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
nNOHLEAOJPP.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEventParam rogue_dialogue_event_param = 15;</code>
|
||||||
|
* @return whether the rogueDialogueEventParam field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueDialogueEventParam() {
|
||||||
|
return (bitField0_ & 0x00000020) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEventParam rogue_dialogue_event_param = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent clearRogueDialogueEventParam() {
|
||||||
|
bitField0_ &= ~0x00000020;
|
||||||
|
rogueDialogueEventParam.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEventParam rogue_dialogue_event_param = 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 #getMutableRogueDialogueEventParam()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedMessage<RogueDialogueEventParamOuterClass.RogueDialogueEventParam> getRogueDialogueEventParam(
|
||||||
|
) {
|
||||||
|
return rogueDialogueEventParam;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEventParam rogue_dialogue_event_param = 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 RepeatedMessage<RogueDialogueEventParamOuterClass.RogueDialogueEventParam> getMutableRogueDialogueEventParam(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000020;
|
||||||
|
return rogueDialogueEventParam;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEventParam rogue_dialogue_event_param = 15;</code>
|
||||||
|
* @param value the rogueDialogueEventParam to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent addRogueDialogueEventParam(
|
||||||
|
final RogueDialogueEventParamOuterClass.RogueDialogueEventParam value) {
|
||||||
|
bitField0_ |= 0x00000020;
|
||||||
|
rogueDialogueEventParam.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEventParam rogue_dialogue_event_param = 15;</code>
|
||||||
|
* @param values the rogueDialogueEventParam to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEvent addAllRogueDialogueEventParam(
|
||||||
|
final RogueDialogueEventParamOuterClass.RogueDialogueEventParam... values) {
|
||||||
|
bitField0_ |= 0x00000020;
|
||||||
|
rogueDialogueEventParam.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEvent copyFrom(final RogueDialogueEvent other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
npcId = other.npcId;
|
||||||
|
gBMDBBBMBEJ = other.gBMDBBBMBEJ;
|
||||||
|
iNJPFALMDHJ = other.iNJPFALMDHJ;
|
||||||
|
gameModeType = other.gameModeType;
|
||||||
|
nNOHLEAOJPP.copyFrom(other.nNOHLEAOJPP);
|
||||||
|
rogueDialogueEventParam.copyFrom(other.rogueDialogueEventParam);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEvent mergeFrom(final RogueDialogueEvent other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasNpcId()) {
|
||||||
|
setNpcId(other.npcId);
|
||||||
|
}
|
||||||
|
if (other.hasGBMDBBBMBEJ()) {
|
||||||
|
setGBMDBBBMBEJ(other.gBMDBBBMBEJ);
|
||||||
|
}
|
||||||
|
if (other.hasINJPFALMDHJ()) {
|
||||||
|
setINJPFALMDHJ(other.iNJPFALMDHJ);
|
||||||
|
}
|
||||||
|
if (other.hasGameModeType()) {
|
||||||
|
setGameModeType(other.gameModeType);
|
||||||
|
}
|
||||||
|
if (other.hasNNOHLEAOJPP()) {
|
||||||
|
getMutableNNOHLEAOJPP().addAll(other.nNOHLEAOJPP);
|
||||||
|
}
|
||||||
|
if (other.hasRogueDialogueEventParam()) {
|
||||||
|
getMutableRogueDialogueEventParam().addAll(other.rogueDialogueEventParam);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEvent clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
npcId = 0;
|
||||||
|
gBMDBBBMBEJ = 0;
|
||||||
|
iNJPFALMDHJ = 0;
|
||||||
|
gameModeType = 0;
|
||||||
|
nNOHLEAOJPP.clear();
|
||||||
|
rogueDialogueEventParam.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEvent clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
nNOHLEAOJPP.clear();
|
||||||
|
rogueDialogueEventParam.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueDialogueEvent)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueDialogueEvent other = (RogueDialogueEvent) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasNpcId() || npcId == other.npcId)
|
||||||
|
&& (!hasGBMDBBBMBEJ() || gBMDBBBMBEJ == other.gBMDBBBMBEJ)
|
||||||
|
&& (!hasINJPFALMDHJ() || iNJPFALMDHJ == other.iNJPFALMDHJ)
|
||||||
|
&& (!hasGameModeType() || gameModeType == other.gameModeType)
|
||||||
|
&& (!hasNNOHLEAOJPP() || nNOHLEAOJPP.equals(other.nNOHLEAOJPP))
|
||||||
|
&& (!hasRogueDialogueEventParam() || rogueDialogueEventParam.equals(other.rogueDialogueEventParam));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 8);
|
||||||
|
output.writeUInt32NoTag(npcId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 48);
|
||||||
|
output.writeUInt32NoTag(gBMDBBBMBEJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 56);
|
||||||
|
output.writeUInt32NoTag(iNJPFALMDHJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawByte((byte) 104);
|
||||||
|
output.writeUInt32NoTag(gameModeType);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
for (int i = 0; i < nNOHLEAOJPP.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 64);
|
||||||
|
output.writeUInt32NoTag(nNOHLEAOJPP.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000020) != 0) {
|
||||||
|
for (int i = 0; i < rogueDialogueEventParam.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 122);
|
||||||
|
output.writeMessageNoTag(rogueDialogueEventParam.get(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(npcId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(gBMDBBBMBEJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(iNJPFALMDHJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(gameModeType);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
size += (1 * nNOHLEAOJPP.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(nNOHLEAOJPP);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000020) != 0) {
|
||||||
|
size += (1 * rogueDialogueEventParam.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueDialogueEventParam);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueDialogueEvent mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 8: {
|
||||||
|
// npcId
|
||||||
|
npcId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 48) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 48: {
|
||||||
|
// gBMDBBBMBEJ
|
||||||
|
gBMDBBBMBEJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 56) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 56: {
|
||||||
|
// iNJPFALMDHJ
|
||||||
|
iNJPFALMDHJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 104) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 104: {
|
||||||
|
// gameModeType
|
||||||
|
gameModeType = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 66) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 66: {
|
||||||
|
// nNOHLEAOJPP [packed=true]
|
||||||
|
input.readPackedUInt32(nNOHLEAOJPP, tag);
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 122) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 122: {
|
||||||
|
// rogueDialogueEventParam
|
||||||
|
tag = input.readRepeatedMessage(rogueDialogueEventParam, tag);
|
||||||
|
bitField0_ |= 0x00000020;
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 64: {
|
||||||
|
// nNOHLEAOJPP [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(nNOHLEAOJPP, tag);
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.npcId, npcId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.gBMDBBBMBEJ, gBMDBBBMBEJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.iNJPFALMDHJ, iNJPFALMDHJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.gameModeType, gameModeType);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.nNOHLEAOJPP, nNOHLEAOJPP);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000020) != 0) {
|
||||||
|
output.writeRepeatedMessage(FieldNames.rogueDialogueEventParam, rogueDialogueEventParam);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEvent mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 105021404:
|
||||||
|
case -1039282375: {
|
||||||
|
if (input.isAtField(FieldNames.npcId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
npcId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1904002038: {
|
||||||
|
if (input.isAtField(FieldNames.gBMDBBBMBEJ)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
gBMDBBBMBEJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 535806911: {
|
||||||
|
if (input.isAtField(FieldNames.iNJPFALMDHJ)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
iNJPFALMDHJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -464498289:
|
||||||
|
case 1937775689: {
|
||||||
|
if (input.isAtField(FieldNames.gameModeType)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
gameModeType = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -229455542: {
|
||||||
|
if (input.isAtField(FieldNames.nNOHLEAOJPP)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(nNOHLEAOJPP);
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -151140987:
|
||||||
|
case -927797242: {
|
||||||
|
if (input.isAtField(FieldNames.rogueDialogueEventParam)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedMessage(rogueDialogueEventParam);
|
||||||
|
bitField0_ |= 0x00000020;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEvent clone() {
|
||||||
|
return new RogueDialogueEvent().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueDialogueEvent parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueDialogueEvent(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueDialogueEvent parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueDialogueEvent(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueDialogueEvent parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueDialogueEvent(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueDialogueEvent messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueDialogueEvent> getFactory() {
|
||||||
|
return RogueDialogueEventFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueDialogueEventFactory implements MessageFactory<RogueDialogueEvent> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEvent create() {
|
||||||
|
return RogueDialogueEvent.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName npcId = FieldName.forField("npcId", "npc_id");
|
||||||
|
|
||||||
|
static final FieldName gBMDBBBMBEJ = FieldName.forField("GBMDBBBMBEJ");
|
||||||
|
|
||||||
|
static final FieldName iNJPFALMDHJ = FieldName.forField("INJPFALMDHJ");
|
||||||
|
|
||||||
|
static final FieldName gameModeType = FieldName.forField("gameModeType", "game_mode_type");
|
||||||
|
|
||||||
|
static final FieldName nNOHLEAOJPP = FieldName.forField("NNOHLEAOJPP");
|
||||||
|
|
||||||
|
static final FieldName rogueDialogueEventParam = FieldName.forField("rogueDialogueEventParam", "rogue_dialogue_event_param");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,584 @@
|
|||||||
|
// 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.ProtoUtil;
|
||||||
|
|
||||||
|
public final class RogueDialogueEventParamOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueDialogueEventParam}
|
||||||
|
*/
|
||||||
|
public static final class RogueDialogueEventParam extends ProtoMessage<RogueDialogueEventParam> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional float ratio = 13;</code>
|
||||||
|
*/
|
||||||
|
private float ratio;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
|
*/
|
||||||
|
private int dialogueEventId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 arg_id = 9;</code>
|
||||||
|
*/
|
||||||
|
private int argId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional sint32 int_value = 4;</code>
|
||||||
|
*/
|
||||||
|
private int intValue;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_valid = 1;</code>
|
||||||
|
*/
|
||||||
|
private boolean isValid;
|
||||||
|
|
||||||
|
private RogueDialogueEventParam() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueDialogueEventParam}
|
||||||
|
*/
|
||||||
|
public static RogueDialogueEventParam newInstance() {
|
||||||
|
return new RogueDialogueEventParam();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional float ratio = 13;</code>
|
||||||
|
* @return whether the ratio field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRatio() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional float ratio = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam clearRatio() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
ratio = 0F;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional float ratio = 13;</code>
|
||||||
|
* @return the ratio
|
||||||
|
*/
|
||||||
|
public float getRatio() {
|
||||||
|
return ratio;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional float ratio = 13;</code>
|
||||||
|
* @param value the ratio to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam setRatio(final float value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
ratio = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
|
* @return whether the dialogueEventId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasDialogueEventId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam clearDialogueEventId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
dialogueEventId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
|
* @return the dialogueEventId
|
||||||
|
*/
|
||||||
|
public int getDialogueEventId() {
|
||||||
|
return dialogueEventId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
|
* @param value the dialogueEventId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam setDialogueEventId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
dialogueEventId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 arg_id = 9;</code>
|
||||||
|
* @return whether the argId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasArgId() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 arg_id = 9;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam clearArgId() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
argId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 arg_id = 9;</code>
|
||||||
|
* @return the argId
|
||||||
|
*/
|
||||||
|
public int getArgId() {
|
||||||
|
return argId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 arg_id = 9;</code>
|
||||||
|
* @param value the argId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam setArgId(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
argId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional sint32 int_value = 4;</code>
|
||||||
|
* @return whether the intValue field is set
|
||||||
|
*/
|
||||||
|
public boolean hasIntValue() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional sint32 int_value = 4;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam clearIntValue() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
intValue = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional sint32 int_value = 4;</code>
|
||||||
|
* @return the intValue
|
||||||
|
*/
|
||||||
|
public int getIntValue() {
|
||||||
|
return intValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional sint32 int_value = 4;</code>
|
||||||
|
* @param value the intValue to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam setIntValue(final int value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
intValue = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_valid = 1;</code>
|
||||||
|
* @return whether the isValid field is set
|
||||||
|
*/
|
||||||
|
public boolean hasIsValid() {
|
||||||
|
return (bitField0_ & 0x00000010) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_valid = 1;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam clearIsValid() {
|
||||||
|
bitField0_ &= ~0x00000010;
|
||||||
|
isValid = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_valid = 1;</code>
|
||||||
|
* @return the isValid
|
||||||
|
*/
|
||||||
|
public boolean getIsValid() {
|
||||||
|
return isValid;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_valid = 1;</code>
|
||||||
|
* @param value the isValid to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventParam setIsValid(final boolean value) {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
isValid = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEventParam copyFrom(final RogueDialogueEventParam other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
ratio = other.ratio;
|
||||||
|
dialogueEventId = other.dialogueEventId;
|
||||||
|
argId = other.argId;
|
||||||
|
intValue = other.intValue;
|
||||||
|
isValid = other.isValid;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEventParam mergeFrom(final RogueDialogueEventParam other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRatio()) {
|
||||||
|
setRatio(other.ratio);
|
||||||
|
}
|
||||||
|
if (other.hasDialogueEventId()) {
|
||||||
|
setDialogueEventId(other.dialogueEventId);
|
||||||
|
}
|
||||||
|
if (other.hasArgId()) {
|
||||||
|
setArgId(other.argId);
|
||||||
|
}
|
||||||
|
if (other.hasIntValue()) {
|
||||||
|
setIntValue(other.intValue);
|
||||||
|
}
|
||||||
|
if (other.hasIsValid()) {
|
||||||
|
setIsValid(other.isValid);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEventParam clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
ratio = 0F;
|
||||||
|
dialogueEventId = 0;
|
||||||
|
argId = 0;
|
||||||
|
intValue = 0;
|
||||||
|
isValid = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEventParam 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 RogueDialogueEventParam)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueDialogueEventParam other = (RogueDialogueEventParam) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRatio() || ProtoUtil.isEqual(ratio, other.ratio))
|
||||||
|
&& (!hasDialogueEventId() || dialogueEventId == other.dialogueEventId)
|
||||||
|
&& (!hasArgId() || argId == other.argId)
|
||||||
|
&& (!hasIntValue() || intValue == other.intValue)
|
||||||
|
&& (!hasIsValid() || isValid == other.isValid);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 109);
|
||||||
|
output.writeFloatNoTag(ratio);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 24);
|
||||||
|
output.writeUInt32NoTag(dialogueEventId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 72);
|
||||||
|
output.writeUInt32NoTag(argId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawByte((byte) 32);
|
||||||
|
output.writeSInt32NoTag(intValue);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeRawByte((byte) 8);
|
||||||
|
output.writeBoolNoTag(isValid);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 5;
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(dialogueEventId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(argId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeSInt32SizeNoTag(intValue);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
size += 2;
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueDialogueEventParam mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 109: {
|
||||||
|
// ratio
|
||||||
|
ratio = input.readFloat();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 24) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 24: {
|
||||||
|
// dialogueEventId
|
||||||
|
dialogueEventId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 72) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 72: {
|
||||||
|
// argId
|
||||||
|
argId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 32) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 32: {
|
||||||
|
// intValue
|
||||||
|
intValue = input.readSInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 8) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 8: {
|
||||||
|
// isValid
|
||||||
|
isValid = input.readBool();
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeFloat(FieldNames.ratio, ratio);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.dialogueEventId, dialogueEventId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.argId, argId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeSInt32(FieldNames.intValue, intValue);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeBool(FieldNames.isValid, isValid);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEventParam mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 108285963: {
|
||||||
|
if (input.isAtField(FieldNames.ratio)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
ratio = input.readFloat();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 88389725:
|
||||||
|
case 1671736167: {
|
||||||
|
if (input.isAtField(FieldNames.dialogueEventId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
dialogueEventId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 93079057:
|
||||||
|
case -1409495132: {
|
||||||
|
if (input.isAtField(FieldNames.argId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
argId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 556050114:
|
||||||
|
case 334404897: {
|
||||||
|
if (input.isAtField(FieldNames.intValue)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
intValue = input.readSInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 2073378034:
|
||||||
|
case 126941351: {
|
||||||
|
if (input.isAtField(FieldNames.isValid)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
isValid = input.readBool();
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEventParam clone() {
|
||||||
|
return new RogueDialogueEventParam().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueDialogueEventParam parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueDialogueEventParam(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueDialogueEventParam parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueDialogueEventParam(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueDialogueEventParam parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueDialogueEventParam(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueDialogueEventParam messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueDialogueEventParam> getFactory() {
|
||||||
|
return RogueDialogueEventParamFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueDialogueEventParamFactory implements MessageFactory<RogueDialogueEventParam> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueDialogueEventParam create() {
|
||||||
|
return RogueDialogueEventParam.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName ratio = FieldName.forField("ratio");
|
||||||
|
|
||||||
|
static final FieldName dialogueEventId = FieldName.forField("dialogueEventId", "dialogue_event_id");
|
||||||
|
|
||||||
|
static final FieldName argId = FieldName.forField("argId", "arg_id");
|
||||||
|
|
||||||
|
static final FieldName intValue = FieldName.forField("intValue", "int_value");
|
||||||
|
|
||||||
|
static final FieldName isValid = FieldName.forField("isValid", "is_valid");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,260 @@
|
|||||||
|
// 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 RogueHandbookBuffOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueHandbookBuff}
|
||||||
|
*/
|
||||||
|
public static final class RogueHandbookBuff extends ProtoMessage<RogueHandbookBuff> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 8;</code>
|
||||||
|
*/
|
||||||
|
private int buffId;
|
||||||
|
|
||||||
|
private RogueHandbookBuff() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueHandbookBuff}
|
||||||
|
*/
|
||||||
|
public static RogueHandbookBuff newInstance() {
|
||||||
|
return new RogueHandbookBuff();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 8;</code>
|
||||||
|
* @return whether the buffId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBuffId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 8;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookBuff clearBuffId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
buffId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 8;</code>
|
||||||
|
* @return the buffId
|
||||||
|
*/
|
||||||
|
public int getBuffId() {
|
||||||
|
return buffId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_id = 8;</code>
|
||||||
|
* @param value the buffId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookBuff setBuffId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
buffId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookBuff copyFrom(final RogueHandbookBuff other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
buffId = other.buffId;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookBuff mergeFrom(final RogueHandbookBuff other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBuffId()) {
|
||||||
|
setBuffId(other.buffId);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookBuff clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
buffId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookBuff 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 RogueHandbookBuff)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueHandbookBuff other = (RogueHandbookBuff) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBuffId() || buffId == other.buffId);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 64);
|
||||||
|
output.writeUInt32NoTag(buffId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(buffId);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueHandbookBuff mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 64: {
|
||||||
|
// buffId
|
||||||
|
buffId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.buffId, buffId);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookBuff mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1378119474:
|
||||||
|
case 227990663: {
|
||||||
|
if (input.isAtField(FieldNames.buffId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
buffId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookBuff clone() {
|
||||||
|
return new RogueHandbookBuff().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueHandbookBuff parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueHandbookBuff(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueHandbookBuff parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueHandbookBuff(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueHandbookBuff parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueHandbookBuff(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueHandbookBuff messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueHandbookBuff> getFactory() {
|
||||||
|
return RogueHandbookBuffFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueHandbookBuffFactory implements MessageFactory<RogueHandbookBuff> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookBuff create() {
|
||||||
|
return RogueHandbookBuff.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName buffId = FieldName.forField("buffId", "buff_id");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -10,6 +10,7 @@ import us.hebi.quickbuf.MessageFactory;
|
|||||||
import us.hebi.quickbuf.ProtoMessage;
|
import us.hebi.quickbuf.ProtoMessage;
|
||||||
import us.hebi.quickbuf.ProtoSink;
|
import us.hebi.quickbuf.ProtoSink;
|
||||||
import us.hebi.quickbuf.ProtoSource;
|
import us.hebi.quickbuf.ProtoSource;
|
||||||
|
import us.hebi.quickbuf.RepeatedMessage;
|
||||||
|
|
||||||
public final class RogueHandbookDataOuterClass {
|
public final class RogueHandbookDataOuterClass {
|
||||||
/**
|
/**
|
||||||
@@ -19,14 +20,23 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_current_version = 4;</code>
|
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||||
*/
|
*/
|
||||||
private int rogueCurrentVersion;
|
private final RepeatedMessage<RogueHandbookEventOuterClass.RogueHandbookEvent> rogueEvent = RepeatedMessage.newEmptyInstance(RogueHandbookEventOuterClass.RogueHandbookEvent.getFactory());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool is_miracle_unlock = 10;</code>
|
* <pre>
|
||||||
|
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||||
*/
|
*/
|
||||||
private boolean isMiracleUnlock;
|
private final RepeatedMessage<RogueHandbookBuffOuterClass.RogueHandbookBuff> buffList = RepeatedMessage.newEmptyInstance(RogueHandbookBuffOuterClass.RogueHandbookBuff.getFactory());
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedMessage<RogueHandbookMiracleOuterClass.RogueHandbookMiracle> miracleList = RepeatedMessage.newEmptyInstance(RogueHandbookMiracleOuterClass.RogueHandbookMiracle.getFactory());
|
||||||
|
|
||||||
private RogueHandbookData() {
|
private RogueHandbookData() {
|
||||||
}
|
}
|
||||||
@@ -39,76 +49,237 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_current_version = 4;</code>
|
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||||
* @return whether the rogueCurrentVersion field is set
|
* @return whether the rogueEvent field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueCurrentVersion() {
|
public boolean hasRogueEvent() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_current_version = 4;</code>
|
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueHandbookData clearRogueCurrentVersion() {
|
public RogueHandbookData clearRogueEvent() {
|
||||||
bitField0_ &= ~0x00000001;
|
bitField0_ &= ~0x00000001;
|
||||||
rogueCurrentVersion = 0;
|
rogueEvent.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_current_version = 4;</code>
|
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||||
* @return the rogueCurrentVersion
|
*
|
||||||
|
* 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 #getMutableRogueEvent()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
*/
|
*/
|
||||||
public int getRogueCurrentVersion() {
|
public RepeatedMessage<RogueHandbookEventOuterClass.RogueHandbookEvent> getRogueEvent() {
|
||||||
return rogueCurrentVersion;
|
return rogueEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_current_version = 4;</code>
|
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||||
* @param value the rogueCurrentVersion to set
|
*
|
||||||
|
* 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<RogueHandbookEventOuterClass.RogueHandbookEvent> getMutableRogueEvent() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return rogueEvent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||||
|
* @param value the rogueEvent to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueHandbookData setRogueCurrentVersion(final int value) {
|
public RogueHandbookData addRogueEvent(
|
||||||
|
final RogueHandbookEventOuterClass.RogueHandbookEvent value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
rogueCurrentVersion = value;
|
rogueEvent.add(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool is_miracle_unlock = 10;</code>
|
* <code>repeated .RogueHandbookEvent rogue_event = 2;</code>
|
||||||
* @return whether the isMiracleUnlock field is set
|
* @param values the rogueEvent to add
|
||||||
|
* @return this
|
||||||
*/
|
*/
|
||||||
public boolean hasIsMiracleUnlock() {
|
public RogueHandbookData addAllRogueEvent(
|
||||||
|
final RogueHandbookEventOuterClass.RogueHandbookEvent... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueEvent.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||||
|
* @return whether the buffList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBuffList() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool is_miracle_unlock = 10;</code>
|
* <pre>
|
||||||
|
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueHandbookData clearIsMiracleUnlock() {
|
public RogueHandbookData clearBuffList() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000002;
|
||||||
isMiracleUnlock = false;
|
buffList.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool is_miracle_unlock = 10;</code>
|
* <pre>
|
||||||
* @return the isMiracleUnlock
|
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated .RogueHandbookBuff buff_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.
|
||||||
|
*
|
||||||
|
* Use {@link #getMutableBuffList()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
*/
|
*/
|
||||||
public boolean getIsMiracleUnlock() {
|
public RepeatedMessage<RogueHandbookBuffOuterClass.RogueHandbookBuff> getBuffList() {
|
||||||
return isMiracleUnlock;
|
return buffList;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool is_miracle_unlock = 10;</code>
|
* <pre>
|
||||||
* @param value the isMiracleUnlock to set
|
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated .RogueHandbookBuff buff_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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public RepeatedMessage<RogueHandbookBuffOuterClass.RogueHandbookBuff> getMutableBuffList() {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return buffList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||||
|
* @param value the buffList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueHandbookData setIsMiracleUnlock(final boolean value) {
|
public RogueHandbookData addBuffList(
|
||||||
|
final RogueHandbookBuffOuterClass.RogueHandbookBuff value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
isMiracleUnlock = value;
|
buffList.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* repeated LDIFLJKIBPN NJOOMMNBEBP = 3;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated .RogueHandbookBuff buff_list = 13;</code>
|
||||||
|
* @param values the buffList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookData addAllBuffList(
|
||||||
|
final RogueHandbookBuffOuterClass.RogueHandbookBuff... values) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
buffList.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||||
|
* @return whether the miracleList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMiracleList() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookData clearMiracleList() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
miracleList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueHandbookMiracle miracle_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 #getMutableMiracleList()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedMessage<RogueHandbookMiracleOuterClass.RogueHandbookMiracle> getMiracleList() {
|
||||||
|
return miracleList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueHandbookMiracle miracle_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 RepeatedMessage<RogueHandbookMiracleOuterClass.RogueHandbookMiracle> getMutableMiracleList(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return miracleList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||||
|
* @param value the miracleList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookData addMiracleList(
|
||||||
|
final RogueHandbookMiracleOuterClass.RogueHandbookMiracle value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
miracleList.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueHandbookMiracle miracle_list = 15;</code>
|
||||||
|
* @param values the miracleList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookData addAllMiracleList(
|
||||||
|
final RogueHandbookMiracleOuterClass.RogueHandbookMiracle... values) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
miracleList.addAll(values);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -117,8 +288,9 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
rogueCurrentVersion = other.rogueCurrentVersion;
|
rogueEvent.copyFrom(other.rogueEvent);
|
||||||
isMiracleUnlock = other.isMiracleUnlock;
|
buffList.copyFrom(other.buffList);
|
||||||
|
miracleList.copyFrom(other.miracleList);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -129,11 +301,14 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasRogueCurrentVersion()) {
|
if (other.hasRogueEvent()) {
|
||||||
setRogueCurrentVersion(other.rogueCurrentVersion);
|
getMutableRogueEvent().addAll(other.rogueEvent);
|
||||||
}
|
}
|
||||||
if (other.hasIsMiracleUnlock()) {
|
if (other.hasBuffList()) {
|
||||||
setIsMiracleUnlock(other.isMiracleUnlock);
|
getMutableBuffList().addAll(other.buffList);
|
||||||
|
}
|
||||||
|
if (other.hasMiracleList()) {
|
||||||
|
getMutableMiracleList().addAll(other.miracleList);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -145,8 +320,9 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
rogueCurrentVersion = 0;
|
rogueEvent.clear();
|
||||||
isMiracleUnlock = false;
|
buffList.clear();
|
||||||
|
miracleList.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -157,6 +333,9 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
|
rogueEvent.clearQuick();
|
||||||
|
buffList.clearQuick();
|
||||||
|
miracleList.clearQuick();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,19 +349,30 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
}
|
}
|
||||||
RogueHandbookData other = (RogueHandbookData) o;
|
RogueHandbookData other = (RogueHandbookData) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRogueCurrentVersion() || rogueCurrentVersion == other.rogueCurrentVersion)
|
&& (!hasRogueEvent() || rogueEvent.equals(other.rogueEvent))
|
||||||
&& (!hasIsMiracleUnlock() || isMiracleUnlock == other.isMiracleUnlock);
|
&& (!hasBuffList() || buffList.equals(other.buffList))
|
||||||
|
&& (!hasMiracleList() || miracleList.equals(other.miracleList));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 32);
|
for (int i = 0; i < rogueEvent.length(); i++) {
|
||||||
output.writeUInt32NoTag(rogueCurrentVersion);
|
output.writeRawByte((byte) 18);
|
||||||
|
output.writeMessageNoTag(rogueEvent.get(i));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 80);
|
for (int i = 0; i < buffList.length(); i++) {
|
||||||
output.writeBoolNoTag(isMiracleUnlock);
|
output.writeRawByte((byte) 106);
|
||||||
|
output.writeMessageNoTag(buffList.get(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
for (int i = 0; i < miracleList.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 122);
|
||||||
|
output.writeMessageNoTag(miracleList.get(i));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,10 +380,13 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(rogueCurrentVersion);
|
size += (1 * rogueEvent.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueEvent);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 2;
|
size += (1 * buffList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(buffList);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += (1 * miracleList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(miracleList);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
@@ -205,20 +398,26 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 32: {
|
case 18: {
|
||||||
// rogueCurrentVersion
|
// rogueEvent
|
||||||
rogueCurrentVersion = input.readUInt32();
|
tag = input.readRepeatedMessage(rogueEvent, tag);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
if (tag != 106) {
|
||||||
if (tag != 80) {
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 80: {
|
case 106: {
|
||||||
// isMiracleUnlock
|
// buffList
|
||||||
isMiracleUnlock = input.readBool();
|
tag = input.readRepeatedMessage(buffList, tag);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
if (tag != 122) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 122: {
|
||||||
|
// miracleList
|
||||||
|
tag = input.readRepeatedMessage(miracleList, tag);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -241,10 +440,13 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.rogueCurrentVersion, rogueCurrentVersion);
|
output.writeRepeatedMessage(FieldNames.rogueEvent, rogueEvent);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeBool(FieldNames.isMiracleUnlock, isMiracleUnlock);
|
output.writeRepeatedMessage(FieldNames.buffList, buffList);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRepeatedMessage(FieldNames.miracleList, miracleList);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -256,11 +458,11 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case 1261212057:
|
case -1148216096:
|
||||||
case 1302648749: {
|
case -505804811: {
|
||||||
if (input.isAtField(FieldNames.rogueCurrentVersion)) {
|
if (input.isAtField(FieldNames.rogueEvent)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
rogueCurrentVersion = input.readUInt32();
|
input.readRepeatedMessage(rogueEvent);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -268,11 +470,11 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -1272353269:
|
case -1522789487:
|
||||||
case 167980679: {
|
case 55792906: {
|
||||||
if (input.isAtField(FieldNames.isMiracleUnlock)) {
|
if (input.isAtField(FieldNames.buffList)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
isMiracleUnlock = input.readBool();
|
input.readRepeatedMessage(buffList);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -280,6 +482,18 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 760391855:
|
||||||
|
case 2114937772: {
|
||||||
|
if (input.isAtField(FieldNames.miracleList)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedMessage(miracleList);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
break;
|
break;
|
||||||
@@ -333,9 +547,11 @@ public final class RogueHandbookDataOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName rogueCurrentVersion = FieldName.forField("rogueCurrentVersion", "rogue_current_version");
|
static final FieldName rogueEvent = FieldName.forField("rogueEvent", "rogue_event");
|
||||||
|
|
||||||
static final FieldName isMiracleUnlock = FieldName.forField("isMiracleUnlock", "is_miracle_unlock");
|
static final FieldName buffList = FieldName.forField("buffList", "buff_list");
|
||||||
|
|
||||||
|
static final FieldName miracleList = FieldName.forField("miracleList", "miracle_list");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,462 @@
|
|||||||
|
// 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;
|
||||||
|
|
||||||
|
public final class RogueHandbookEventOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueHandbookEvent}
|
||||||
|
*/
|
||||||
|
public static final class RogueHandbookEvent extends ProtoMessage<RogueHandbookEvent> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 event_id = 6;</code>
|
||||||
|
*/
|
||||||
|
private int eventId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 13;</code>
|
||||||
|
*/
|
||||||
|
private boolean isUnlocked;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 MPFGCHIBGMO = 3;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt mPFGCHIBGMO = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
private RogueHandbookEvent() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueHandbookEvent}
|
||||||
|
*/
|
||||||
|
public static RogueHandbookEvent newInstance() {
|
||||||
|
return new RogueHandbookEvent();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 event_id = 6;</code>
|
||||||
|
* @return whether the eventId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasEventId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 event_id = 6;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookEvent clearEventId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
eventId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 event_id = 6;</code>
|
||||||
|
* @return the eventId
|
||||||
|
*/
|
||||||
|
public int getEventId() {
|
||||||
|
return eventId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 event_id = 6;</code>
|
||||||
|
* @param value the eventId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookEvent setEventId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
eventId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 13;</code>
|
||||||
|
* @return whether the isUnlocked field is set
|
||||||
|
*/
|
||||||
|
public boolean hasIsUnlocked() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookEvent clearIsUnlocked() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
isUnlocked = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 13;</code>
|
||||||
|
* @return the isUnlocked
|
||||||
|
*/
|
||||||
|
public boolean getIsUnlocked() {
|
||||||
|
return isUnlocked;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 13;</code>
|
||||||
|
* @param value the isUnlocked to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookEvent setIsUnlocked(final boolean value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
isUnlocked = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 MPFGCHIBGMO = 3;</code>
|
||||||
|
* @return whether the mPFGCHIBGMO field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMPFGCHIBGMO() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 MPFGCHIBGMO = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookEvent clearMPFGCHIBGMO() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
mPFGCHIBGMO.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 MPFGCHIBGMO = 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 #getMutableMPFGCHIBGMO()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getMPFGCHIBGMO() {
|
||||||
|
return mPFGCHIBGMO;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 MPFGCHIBGMO = 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 RepeatedInt getMutableMPFGCHIBGMO() {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return mPFGCHIBGMO;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 MPFGCHIBGMO = 3;</code>
|
||||||
|
* @param value the mPFGCHIBGMO to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookEvent addMPFGCHIBGMO(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
mPFGCHIBGMO.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 MPFGCHIBGMO = 3;</code>
|
||||||
|
* @param values the mPFGCHIBGMO to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookEvent addAllMPFGCHIBGMO(final int... values) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
mPFGCHIBGMO.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookEvent copyFrom(final RogueHandbookEvent other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
eventId = other.eventId;
|
||||||
|
isUnlocked = other.isUnlocked;
|
||||||
|
mPFGCHIBGMO.copyFrom(other.mPFGCHIBGMO);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookEvent mergeFrom(final RogueHandbookEvent other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasEventId()) {
|
||||||
|
setEventId(other.eventId);
|
||||||
|
}
|
||||||
|
if (other.hasIsUnlocked()) {
|
||||||
|
setIsUnlocked(other.isUnlocked);
|
||||||
|
}
|
||||||
|
if (other.hasMPFGCHIBGMO()) {
|
||||||
|
getMutableMPFGCHIBGMO().addAll(other.mPFGCHIBGMO);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookEvent clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
eventId = 0;
|
||||||
|
isUnlocked = false;
|
||||||
|
mPFGCHIBGMO.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookEvent clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
mPFGCHIBGMO.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueHandbookEvent)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueHandbookEvent other = (RogueHandbookEvent) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasEventId() || eventId == other.eventId)
|
||||||
|
&& (!hasIsUnlocked() || isUnlocked == other.isUnlocked)
|
||||||
|
&& (!hasMPFGCHIBGMO() || mPFGCHIBGMO.equals(other.mPFGCHIBGMO));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 48);
|
||||||
|
output.writeUInt32NoTag(eventId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 104);
|
||||||
|
output.writeBoolNoTag(isUnlocked);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
for (int i = 0; i < mPFGCHIBGMO.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 24);
|
||||||
|
output.writeUInt32NoTag(mPFGCHIBGMO.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(eventId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 2;
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += (1 * mPFGCHIBGMO.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(mPFGCHIBGMO);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueHandbookEvent mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 48: {
|
||||||
|
// eventId
|
||||||
|
eventId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 104) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 104: {
|
||||||
|
// isUnlocked
|
||||||
|
isUnlocked = input.readBool();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 26) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 26: {
|
||||||
|
// mPFGCHIBGMO [packed=true]
|
||||||
|
input.readPackedUInt32(mPFGCHIBGMO, tag);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 24: {
|
||||||
|
// mPFGCHIBGMO [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(mPFGCHIBGMO, tag);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.eventId, eventId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeBool(FieldNames.isUnlocked, isUnlocked);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.mPFGCHIBGMO, mPFGCHIBGMO);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookEvent mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1376502443:
|
||||||
|
case 278118624: {
|
||||||
|
if (input.isAtField(FieldNames.eventId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
eventId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1004219859:
|
||||||
|
case -945979816: {
|
||||||
|
if (input.isAtField(FieldNames.isUnlocked)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
isUnlocked = input.readBool();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -785833721: {
|
||||||
|
if (input.isAtField(FieldNames.mPFGCHIBGMO)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(mPFGCHIBGMO);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookEvent clone() {
|
||||||
|
return new RogueHandbookEvent().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueHandbookEvent parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueHandbookEvent(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueHandbookEvent parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueHandbookEvent(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueHandbookEvent parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueHandbookEvent(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueHandbookEvent messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueHandbookEvent> getFactory() {
|
||||||
|
return RogueHandbookEventFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueHandbookEventFactory implements MessageFactory<RogueHandbookEvent> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookEvent create() {
|
||||||
|
return RogueHandbookEvent.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName eventId = FieldName.forField("eventId", "event_id");
|
||||||
|
|
||||||
|
static final FieldName isUnlocked = FieldName.forField("isUnlocked", "is_unlocked");
|
||||||
|
|
||||||
|
static final FieldName mPFGCHIBGMO = FieldName.forField("MPFGCHIBGMO");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,341 @@
|
|||||||
|
// 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 RogueHandbookMiracleOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueHandbookMiracle}
|
||||||
|
*/
|
||||||
|
public static final class RogueHandbookMiracle extends ProtoMessage<RogueHandbookMiracle> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 10;</code>
|
||||||
|
*/
|
||||||
|
private int miracleId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 4;</code>
|
||||||
|
*/
|
||||||
|
private boolean isUnlocked;
|
||||||
|
|
||||||
|
private RogueHandbookMiracle() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueHandbookMiracle}
|
||||||
|
*/
|
||||||
|
public static RogueHandbookMiracle newInstance() {
|
||||||
|
return new RogueHandbookMiracle();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 10;</code>
|
||||||
|
* @return whether the miracleId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMiracleId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 10;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookMiracle clearMiracleId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
miracleId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 10;</code>
|
||||||
|
* @return the miracleId
|
||||||
|
*/
|
||||||
|
public int getMiracleId() {
|
||||||
|
return miracleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 10;</code>
|
||||||
|
* @param value the miracleId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookMiracle setMiracleId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
miracleId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 4;</code>
|
||||||
|
* @return whether the isUnlocked field is set
|
||||||
|
*/
|
||||||
|
public boolean hasIsUnlocked() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 4;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookMiracle clearIsUnlocked() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
isUnlocked = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 4;</code>
|
||||||
|
* @return the isUnlocked
|
||||||
|
*/
|
||||||
|
public boolean getIsUnlocked() {
|
||||||
|
return isUnlocked;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional bool is_unlocked = 4;</code>
|
||||||
|
* @param value the isUnlocked to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueHandbookMiracle setIsUnlocked(final boolean value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
isUnlocked = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookMiracle copyFrom(final RogueHandbookMiracle other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
miracleId = other.miracleId;
|
||||||
|
isUnlocked = other.isUnlocked;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookMiracle mergeFrom(final RogueHandbookMiracle other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasMiracleId()) {
|
||||||
|
setMiracleId(other.miracleId);
|
||||||
|
}
|
||||||
|
if (other.hasIsUnlocked()) {
|
||||||
|
setIsUnlocked(other.isUnlocked);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookMiracle clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
miracleId = 0;
|
||||||
|
isUnlocked = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookMiracle 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 RogueHandbookMiracle)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueHandbookMiracle other = (RogueHandbookMiracle) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasMiracleId() || miracleId == other.miracleId)
|
||||||
|
&& (!hasIsUnlocked() || isUnlocked == other.isUnlocked);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 80);
|
||||||
|
output.writeUInt32NoTag(miracleId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 32);
|
||||||
|
output.writeBoolNoTag(isUnlocked);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(miracleId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 2;
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueHandbookMiracle mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 80: {
|
||||||
|
// miracleId
|
||||||
|
miracleId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 32) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 32: {
|
||||||
|
// isUnlocked
|
||||||
|
isUnlocked = input.readBool();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.miracleId, miracleId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeBool(FieldNames.isUnlocked, isUnlocked);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookMiracle mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -164571796:
|
||||||
|
case -806736983: {
|
||||||
|
if (input.isAtField(FieldNames.miracleId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
miracleId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1004219859:
|
||||||
|
case -945979816: {
|
||||||
|
if (input.isAtField(FieldNames.isUnlocked)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
isUnlocked = input.readBool();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookMiracle clone() {
|
||||||
|
return new RogueHandbookMiracle().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueHandbookMiracle parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueHandbookMiracle(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueHandbookMiracle parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueHandbookMiracle(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueHandbookMiracle parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueHandbookMiracle(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueHandbookMiracle messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueHandbookMiracle> getFactory() {
|
||||||
|
return RogueHandbookMiracleFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueHandbookMiracleFactory implements MessageFactory<RogueHandbookMiracle> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueHandbookMiracle create() {
|
||||||
|
return RogueHandbookMiracle.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName miracleId = FieldName.forField("miracleId", "miracle_id");
|
||||||
|
|
||||||
|
static final FieldName isUnlocked = FieldName.forField("isUnlocked", "is_unlocked");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,15 +19,30 @@ public final class RogueInfoDataOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||||
*/
|
*/
|
||||||
private final RogueSeasonInfoOuterClass.RogueSeasonInfo rogueSeasonInfo = RogueSeasonInfoOuterClass.RogueSeasonInfo.newInstance();
|
private final RogueSeasonInfoOuterClass.RogueSeasonInfo rogueSeasonInfo = RogueSeasonInfoOuterClass.RogueSeasonInfo.newInstance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
* <code>optional .RogueScoreRewardInfo rogue_score_info = 4;</code>
|
||||||
*/
|
*/
|
||||||
private final RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo rogueScoreInfo = RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.newInstance();
|
private final RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo rogueScoreInfo = RogueScoreRewardInfoOuterClass.RogueScoreRewardInfo.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAreaInfo rogue_area_info = 7;</code>
|
||||||
|
*/
|
||||||
|
private final RogueAreaInfoOuterClass.RogueAreaInfo rogueAreaInfo = RogueAreaInfoOuterClass.RogueAreaInfo.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .DMBBFODODOF EEFGNNFCDNJ = 10;</code>
|
||||||
|
*/
|
||||||
|
private final DMBBFODODOFOuterClass.DMBBFODODOF eEFGNNFCDNJ = DMBBFODODOFOuterClass.DMBBFODODOF.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAeonInfo rogue_aeon_info = 11;</code>
|
||||||
|
*/
|
||||||
|
private final RogueAeonInfoOuterClass.RogueAeonInfo rogueAeonInfo = RogueAeonInfoOuterClass.RogueAeonInfo.newInstance();
|
||||||
|
|
||||||
private RogueInfoData() {
|
private RogueInfoData() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -39,7 +54,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||||
* @return whether the rogueSeasonInfo field is set
|
* @return whether the rogueSeasonInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueSeasonInfo() {
|
public boolean hasRogueSeasonInfo() {
|
||||||
@@ -47,7 +62,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueInfoData clearRogueSeasonInfo() {
|
public RogueInfoData clearRogueSeasonInfo() {
|
||||||
@@ -57,7 +72,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -71,7 +86,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -85,7 +100,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueSeasonInfo rogue_season_info = 6;</code>
|
* <code>optional .RogueSeasonInfo rogue_season_info = 3;</code>
|
||||||
* @param value the rogueSeasonInfo to set
|
* @param value the rogueSeasonInfo to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -96,7 +111,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
* <code>optional .RogueScoreRewardInfo rogue_score_info = 4;</code>
|
||||||
* @return whether the rogueScoreInfo field is set
|
* @return whether the rogueScoreInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueScoreInfo() {
|
public boolean hasRogueScoreInfo() {
|
||||||
@@ -104,7 +119,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
* <code>optional .RogueScoreRewardInfo rogue_score_info = 4;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueInfoData clearRogueScoreInfo() {
|
public RogueInfoData clearRogueScoreInfo() {
|
||||||
@@ -114,7 +129,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
* <code>optional .RogueScoreRewardInfo rogue_score_info = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -128,7 +143,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
* <code>optional .RogueScoreRewardInfo rogue_score_info = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -142,7 +157,7 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueScoreRewardInfo rogue_score_info = 15;</code>
|
* <code>optional .RogueScoreRewardInfo rogue_score_info = 4;</code>
|
||||||
* @param value the rogueScoreInfo to set
|
* @param value the rogueScoreInfo to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -153,6 +168,177 @@ public final class RogueInfoDataOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAreaInfo rogue_area_info = 7;</code>
|
||||||
|
* @return whether the rogueAreaInfo field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueAreaInfo() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAreaInfo rogue_area_info = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueInfoData clearRogueAreaInfo() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
rogueAreaInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAreaInfo rogue_area_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 #getMutableRogueAreaInfo()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueAreaInfoOuterClass.RogueAreaInfo getRogueAreaInfo() {
|
||||||
|
return rogueAreaInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAreaInfo rogue_area_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 RogueAreaInfoOuterClass.RogueAreaInfo getMutableRogueAreaInfo() {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return rogueAreaInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAreaInfo rogue_area_info = 7;</code>
|
||||||
|
* @param value the rogueAreaInfo to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueInfoData setRogueAreaInfo(final RogueAreaInfoOuterClass.RogueAreaInfo value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
rogueAreaInfo.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .DMBBFODODOF EEFGNNFCDNJ = 10;</code>
|
||||||
|
* @return whether the eEFGNNFCDNJ field is set
|
||||||
|
*/
|
||||||
|
public boolean hasEEFGNNFCDNJ() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .DMBBFODODOF EEFGNNFCDNJ = 10;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueInfoData clearEEFGNNFCDNJ() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
eEFGNNFCDNJ.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .DMBBFODODOF EEFGNNFCDNJ = 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 #getMutableEEFGNNFCDNJ()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public DMBBFODODOFOuterClass.DMBBFODODOF getEEFGNNFCDNJ() {
|
||||||
|
return eEFGNNFCDNJ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .DMBBFODODOF EEFGNNFCDNJ = 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 DMBBFODODOFOuterClass.DMBBFODODOF getMutableEEFGNNFCDNJ() {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
return eEFGNNFCDNJ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .DMBBFODODOF EEFGNNFCDNJ = 10;</code>
|
||||||
|
* @param value the eEFGNNFCDNJ to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueInfoData setEEFGNNFCDNJ(final DMBBFODODOFOuterClass.DMBBFODODOF value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
eEFGNNFCDNJ.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAeonInfo rogue_aeon_info = 11;</code>
|
||||||
|
* @return whether the rogueAeonInfo field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueAeonInfo() {
|
||||||
|
return (bitField0_ & 0x00000010) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAeonInfo rogue_aeon_info = 11;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueInfoData clearRogueAeonInfo() {
|
||||||
|
bitField0_ &= ~0x00000010;
|
||||||
|
rogueAeonInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAeonInfo rogue_aeon_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 #getMutableRogueAeonInfo()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueAeonInfoOuterClass.RogueAeonInfo getRogueAeonInfo() {
|
||||||
|
return rogueAeonInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAeonInfo rogue_aeon_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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public RogueAeonInfoOuterClass.RogueAeonInfo getMutableRogueAeonInfo() {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
return rogueAeonInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueAeonInfo rogue_aeon_info = 11;</code>
|
||||||
|
* @param value the rogueAeonInfo to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueInfoData setRogueAeonInfo(final RogueAeonInfoOuterClass.RogueAeonInfo value) {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
rogueAeonInfo.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RogueInfoData copyFrom(final RogueInfoData other) {
|
public RogueInfoData copyFrom(final RogueInfoData other) {
|
||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
@@ -160,6 +346,9 @@ public final class RogueInfoDataOuterClass {
|
|||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
rogueSeasonInfo.copyFrom(other.rogueSeasonInfo);
|
rogueSeasonInfo.copyFrom(other.rogueSeasonInfo);
|
||||||
rogueScoreInfo.copyFrom(other.rogueScoreInfo);
|
rogueScoreInfo.copyFrom(other.rogueScoreInfo);
|
||||||
|
rogueAreaInfo.copyFrom(other.rogueAreaInfo);
|
||||||
|
eEFGNNFCDNJ.copyFrom(other.eEFGNNFCDNJ);
|
||||||
|
rogueAeonInfo.copyFrom(other.rogueAeonInfo);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -176,6 +365,15 @@ public final class RogueInfoDataOuterClass {
|
|||||||
if (other.hasRogueScoreInfo()) {
|
if (other.hasRogueScoreInfo()) {
|
||||||
getMutableRogueScoreInfo().mergeFrom(other.rogueScoreInfo);
|
getMutableRogueScoreInfo().mergeFrom(other.rogueScoreInfo);
|
||||||
}
|
}
|
||||||
|
if (other.hasRogueAreaInfo()) {
|
||||||
|
getMutableRogueAreaInfo().mergeFrom(other.rogueAreaInfo);
|
||||||
|
}
|
||||||
|
if (other.hasEEFGNNFCDNJ()) {
|
||||||
|
getMutableEEFGNNFCDNJ().mergeFrom(other.eEFGNNFCDNJ);
|
||||||
|
}
|
||||||
|
if (other.hasRogueAeonInfo()) {
|
||||||
|
getMutableRogueAeonInfo().mergeFrom(other.rogueAeonInfo);
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -188,6 +386,9 @@ public final class RogueInfoDataOuterClass {
|
|||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
rogueSeasonInfo.clear();
|
rogueSeasonInfo.clear();
|
||||||
rogueScoreInfo.clear();
|
rogueScoreInfo.clear();
|
||||||
|
rogueAreaInfo.clear();
|
||||||
|
eEFGNNFCDNJ.clear();
|
||||||
|
rogueAeonInfo.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -200,6 +401,9 @@ public final class RogueInfoDataOuterClass {
|
|||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
rogueSeasonInfo.clearQuick();
|
rogueSeasonInfo.clearQuick();
|
||||||
rogueScoreInfo.clearQuick();
|
rogueScoreInfo.clearQuick();
|
||||||
|
rogueAreaInfo.clearQuick();
|
||||||
|
eEFGNNFCDNJ.clearQuick();
|
||||||
|
rogueAeonInfo.clearQuick();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -214,19 +418,34 @@ public final class RogueInfoDataOuterClass {
|
|||||||
RogueInfoData other = (RogueInfoData) o;
|
RogueInfoData other = (RogueInfoData) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRogueSeasonInfo() || rogueSeasonInfo.equals(other.rogueSeasonInfo))
|
&& (!hasRogueSeasonInfo() || rogueSeasonInfo.equals(other.rogueSeasonInfo))
|
||||||
&& (!hasRogueScoreInfo() || rogueScoreInfo.equals(other.rogueScoreInfo));
|
&& (!hasRogueScoreInfo() || rogueScoreInfo.equals(other.rogueScoreInfo))
|
||||||
|
&& (!hasRogueAreaInfo() || rogueAreaInfo.equals(other.rogueAreaInfo))
|
||||||
|
&& (!hasEEFGNNFCDNJ() || eEFGNNFCDNJ.equals(other.eEFGNNFCDNJ))
|
||||||
|
&& (!hasRogueAeonInfo() || rogueAeonInfo.equals(other.rogueAeonInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 50);
|
output.writeRawByte((byte) 26);
|
||||||
output.writeMessageNoTag(rogueSeasonInfo);
|
output.writeMessageNoTag(rogueSeasonInfo);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 122);
|
output.writeRawByte((byte) 34);
|
||||||
output.writeMessageNoTag(rogueScoreInfo);
|
output.writeMessageNoTag(rogueScoreInfo);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 58);
|
||||||
|
output.writeMessageNoTag(rogueAreaInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawByte((byte) 82);
|
||||||
|
output.writeMessageNoTag(eEFGNNFCDNJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeRawByte((byte) 90);
|
||||||
|
output.writeMessageNoTag(rogueAeonInfo);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -238,6 +457,15 @@ public final class RogueInfoDataOuterClass {
|
|||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueScoreInfo);
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueScoreInfo);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueAreaInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(eEFGNNFCDNJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueAeonInfo);
|
||||||
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -248,20 +476,47 @@ public final class RogueInfoDataOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 50: {
|
case 26: {
|
||||||
// rogueSeasonInfo
|
// rogueSeasonInfo
|
||||||
input.readMessage(rogueSeasonInfo);
|
input.readMessage(rogueSeasonInfo);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 122) {
|
if (tag != 34) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 122: {
|
case 34: {
|
||||||
// rogueScoreInfo
|
// rogueScoreInfo
|
||||||
input.readMessage(rogueScoreInfo);
|
input.readMessage(rogueScoreInfo);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
|
if (tag != 58) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 58: {
|
||||||
|
// rogueAreaInfo
|
||||||
|
input.readMessage(rogueAreaInfo);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 82) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 82: {
|
||||||
|
// eEFGNNFCDNJ
|
||||||
|
input.readMessage(eEFGNNFCDNJ);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 90) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 90: {
|
||||||
|
// rogueAeonInfo
|
||||||
|
input.readMessage(rogueAeonInfo);
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -289,6 +544,15 @@ public final class RogueInfoDataOuterClass {
|
|||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeMessage(FieldNames.rogueScoreInfo, rogueScoreInfo);
|
output.writeMessage(FieldNames.rogueScoreInfo, rogueScoreInfo);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueAreaInfo, rogueAreaInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeMessage(FieldNames.eEFGNNFCDNJ, eEFGNNFCDNJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueAeonInfo, rogueAeonInfo);
|
||||||
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -323,6 +587,41 @@ public final class RogueInfoDataOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 964297429:
|
||||||
|
case -851505925: {
|
||||||
|
if (input.isAtField(FieldNames.rogueAreaInfo)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueAreaInfo);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -86806302: {
|
||||||
|
if (input.isAtField(FieldNames.eEFGNNFCDNJ)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(eEFGNNFCDNJ);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1685018549:
|
||||||
|
case -1375922619: {
|
||||||
|
if (input.isAtField(FieldNames.rogueAeonInfo)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueAeonInfo);
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
break;
|
break;
|
||||||
@@ -378,6 +677,12 @@ public final class RogueInfoDataOuterClass {
|
|||||||
static final FieldName rogueSeasonInfo = FieldName.forField("rogueSeasonInfo", "rogue_season_info");
|
static final FieldName rogueSeasonInfo = FieldName.forField("rogueSeasonInfo", "rogue_season_info");
|
||||||
|
|
||||||
static final FieldName rogueScoreInfo = FieldName.forField("rogueScoreInfo", "rogue_score_info");
|
static final FieldName rogueScoreInfo = FieldName.forField("rogueScoreInfo", "rogue_score_info");
|
||||||
|
|
||||||
|
static final FieldName rogueAreaInfo = FieldName.forField("rogueAreaInfo", "rogue_area_info");
|
||||||
|
|
||||||
|
static final FieldName eEFGNNFCDNJ = FieldName.forField("EEFGNNFCDNJ");
|
||||||
|
|
||||||
|
static final FieldName rogueAeonInfo = FieldName.forField("rogueAeonInfo", "rogue_aeon_info");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -20,27 +20,27 @@ public final class RogueMapInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 2;</code>
|
* <code>optional uint32 area_id = 2;</code>
|
||||||
*/
|
|
||||||
private int mapId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_room_id = 6;</code>
|
|
||||||
*/
|
|
||||||
private int curRoomId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 area_id = 7;</code>
|
|
||||||
*/
|
*/
|
||||||
private int areaId;
|
private int areaId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 cur_site_id = 10;</code>
|
* <code>optional uint32 map_id = 6;</code>
|
||||||
|
*/
|
||||||
|
private int mapId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_room_id = 11;</code>
|
||||||
|
*/
|
||||||
|
private int curRoomId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_site_id = 12;</code>
|
||||||
*/
|
*/
|
||||||
private int curSiteId;
|
private int curSiteId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRoom room_list = 8;</code>
|
* <code>repeated .RogueRoom room_list = 14;</code>
|
||||||
*/
|
*/
|
||||||
private final RepeatedMessage<RogueRoomOuterClass.RogueRoom> roomList = RepeatedMessage.newEmptyInstance(RogueRoomOuterClass.RogueRoom.getFactory());
|
private final RepeatedMessage<RogueRoomOuterClass.RogueRoom> roomList = RepeatedMessage.newEmptyInstance(RogueRoomOuterClass.RogueRoom.getFactory());
|
||||||
|
|
||||||
@@ -55,99 +55,25 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 2;</code>
|
* <code>optional uint32 area_id = 2;</code>
|
||||||
* @return whether the mapId field is set
|
* @return whether the areaId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasMapId() {
|
public boolean hasAreaId() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 2;</code>
|
* <code>optional uint32 area_id = 2;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueMapInfo clearMapId() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
mapId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 map_id = 2;</code>
|
|
||||||
* @return the mapId
|
|
||||||
*/
|
|
||||||
public int getMapId() {
|
|
||||||
return mapId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 map_id = 2;</code>
|
|
||||||
* @param value the mapId to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueMapInfo setMapId(final int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
mapId = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_room_id = 6;</code>
|
|
||||||
* @return whether the curRoomId field is set
|
|
||||||
*/
|
|
||||||
public boolean hasCurRoomId() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_room_id = 6;</code>
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueMapInfo clearCurRoomId() {
|
|
||||||
bitField0_ &= ~0x00000002;
|
|
||||||
curRoomId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_room_id = 6;</code>
|
|
||||||
* @return the curRoomId
|
|
||||||
*/
|
|
||||||
public int getCurRoomId() {
|
|
||||||
return curRoomId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 cur_room_id = 6;</code>
|
|
||||||
* @param value the curRoomId to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueMapInfo setCurRoomId(final int value) {
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
curRoomId = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 area_id = 7;</code>
|
|
||||||
* @return whether the areaId field is set
|
|
||||||
*/
|
|
||||||
public boolean hasAreaId() {
|
|
||||||
return (bitField0_ & 0x00000004) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 area_id = 7;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMapInfo clearAreaId() {
|
public RogueMapInfo clearAreaId() {
|
||||||
bitField0_ &= ~0x00000004;
|
bitField0_ &= ~0x00000001;
|
||||||
areaId = 0;
|
areaId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 area_id = 7;</code>
|
* <code>optional uint32 area_id = 2;</code>
|
||||||
* @return the areaId
|
* @return the areaId
|
||||||
*/
|
*/
|
||||||
public int getAreaId() {
|
public int getAreaId() {
|
||||||
@@ -155,18 +81,92 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 area_id = 7;</code>
|
* <code>optional uint32 area_id = 2;</code>
|
||||||
* @param value the areaId to set
|
* @param value the areaId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMapInfo setAreaId(final int value) {
|
public RogueMapInfo setAreaId(final int value) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000001;
|
||||||
areaId = value;
|
areaId = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 cur_site_id = 10;</code>
|
* <code>optional uint32 map_id = 6;</code>
|
||||||
|
* @return whether the mapId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMapId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 map_id = 6;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMapInfo clearMapId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
mapId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 map_id = 6;</code>
|
||||||
|
* @return the mapId
|
||||||
|
*/
|
||||||
|
public int getMapId() {
|
||||||
|
return mapId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 map_id = 6;</code>
|
||||||
|
* @param value the mapId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMapInfo setMapId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
mapId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_room_id = 11;</code>
|
||||||
|
* @return whether the curRoomId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasCurRoomId() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_room_id = 11;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMapInfo clearCurRoomId() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
curRoomId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_room_id = 11;</code>
|
||||||
|
* @return the curRoomId
|
||||||
|
*/
|
||||||
|
public int getCurRoomId() {
|
||||||
|
return curRoomId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_room_id = 11;</code>
|
||||||
|
* @param value the curRoomId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMapInfo setCurRoomId(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
curRoomId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 cur_site_id = 12;</code>
|
||||||
* @return whether the curSiteId field is set
|
* @return whether the curSiteId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasCurSiteId() {
|
public boolean hasCurSiteId() {
|
||||||
@@ -174,7 +174,7 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 cur_site_id = 10;</code>
|
* <code>optional uint32 cur_site_id = 12;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMapInfo clearCurSiteId() {
|
public RogueMapInfo clearCurSiteId() {
|
||||||
@@ -184,7 +184,7 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 cur_site_id = 10;</code>
|
* <code>optional uint32 cur_site_id = 12;</code>
|
||||||
* @return the curSiteId
|
* @return the curSiteId
|
||||||
*/
|
*/
|
||||||
public int getCurSiteId() {
|
public int getCurSiteId() {
|
||||||
@@ -192,7 +192,7 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 cur_site_id = 10;</code>
|
* <code>optional uint32 cur_site_id = 12;</code>
|
||||||
* @param value the curSiteId to set
|
* @param value the curSiteId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -203,7 +203,7 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRoom room_list = 8;</code>
|
* <code>repeated .RogueRoom room_list = 14;</code>
|
||||||
* @return whether the roomList field is set
|
* @return whether the roomList field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRoomList() {
|
public boolean hasRoomList() {
|
||||||
@@ -211,7 +211,7 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRoom room_list = 8;</code>
|
* <code>repeated .RogueRoom room_list = 14;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMapInfo clearRoomList() {
|
public RogueMapInfo clearRoomList() {
|
||||||
@@ -221,7 +221,7 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRoom room_list = 8;</code>
|
* <code>repeated .RogueRoom room_list = 14;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -235,7 +235,7 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRoom room_list = 8;</code>
|
* <code>repeated .RogueRoom room_list = 14;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -249,7 +249,7 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRoom room_list = 8;</code>
|
* <code>repeated .RogueRoom room_list = 14;</code>
|
||||||
* @param value the roomList to add
|
* @param value the roomList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -260,7 +260,7 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRoom room_list = 8;</code>
|
* <code>repeated .RogueRoom room_list = 14;</code>
|
||||||
* @param values the roomList to add
|
* @param values the roomList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -275,9 +275,9 @@ public final class RogueMapInfoOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
|
areaId = other.areaId;
|
||||||
mapId = other.mapId;
|
mapId = other.mapId;
|
||||||
curRoomId = other.curRoomId;
|
curRoomId = other.curRoomId;
|
||||||
areaId = other.areaId;
|
|
||||||
curSiteId = other.curSiteId;
|
curSiteId = other.curSiteId;
|
||||||
roomList.copyFrom(other.roomList);
|
roomList.copyFrom(other.roomList);
|
||||||
}
|
}
|
||||||
@@ -290,15 +290,15 @@ public final class RogueMapInfoOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
|
if (other.hasAreaId()) {
|
||||||
|
setAreaId(other.areaId);
|
||||||
|
}
|
||||||
if (other.hasMapId()) {
|
if (other.hasMapId()) {
|
||||||
setMapId(other.mapId);
|
setMapId(other.mapId);
|
||||||
}
|
}
|
||||||
if (other.hasCurRoomId()) {
|
if (other.hasCurRoomId()) {
|
||||||
setCurRoomId(other.curRoomId);
|
setCurRoomId(other.curRoomId);
|
||||||
}
|
}
|
||||||
if (other.hasAreaId()) {
|
|
||||||
setAreaId(other.areaId);
|
|
||||||
}
|
|
||||||
if (other.hasCurSiteId()) {
|
if (other.hasCurSiteId()) {
|
||||||
setCurSiteId(other.curSiteId);
|
setCurSiteId(other.curSiteId);
|
||||||
}
|
}
|
||||||
@@ -315,9 +315,9 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
|
areaId = 0;
|
||||||
mapId = 0;
|
mapId = 0;
|
||||||
curRoomId = 0;
|
curRoomId = 0;
|
||||||
areaId = 0;
|
|
||||||
curSiteId = 0;
|
curSiteId = 0;
|
||||||
roomList.clear();
|
roomList.clear();
|
||||||
return this;
|
return this;
|
||||||
@@ -344,9 +344,9 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
RogueMapInfo other = (RogueMapInfo) o;
|
RogueMapInfo other = (RogueMapInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasAreaId() || areaId == other.areaId)
|
||||||
&& (!hasMapId() || mapId == other.mapId)
|
&& (!hasMapId() || mapId == other.mapId)
|
||||||
&& (!hasCurRoomId() || curRoomId == other.curRoomId)
|
&& (!hasCurRoomId() || curRoomId == other.curRoomId)
|
||||||
&& (!hasAreaId() || areaId == other.areaId)
|
|
||||||
&& (!hasCurSiteId() || curSiteId == other.curSiteId)
|
&& (!hasCurSiteId() || curSiteId == other.curSiteId)
|
||||||
&& (!hasRoomList() || roomList.equals(other.roomList));
|
&& (!hasRoomList() || roomList.equals(other.roomList));
|
||||||
}
|
}
|
||||||
@@ -355,23 +355,23 @@ public final class RogueMapInfoOuterClass {
|
|||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 16);
|
output.writeRawByte((byte) 16);
|
||||||
output.writeUInt32NoTag(mapId);
|
output.writeUInt32NoTag(areaId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 48);
|
output.writeRawByte((byte) 48);
|
||||||
output.writeUInt32NoTag(curRoomId);
|
output.writeUInt32NoTag(mapId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 56);
|
output.writeRawByte((byte) 88);
|
||||||
output.writeUInt32NoTag(areaId);
|
output.writeUInt32NoTag(curRoomId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeRawByte((byte) 80);
|
output.writeRawByte((byte) 96);
|
||||||
output.writeUInt32NoTag(curSiteId);
|
output.writeUInt32NoTag(curSiteId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000010) != 0) {
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
for (int i = 0; i < roomList.length(); i++) {
|
for (int i = 0; i < roomList.length(); i++) {
|
||||||
output.writeRawByte((byte) 66);
|
output.writeRawByte((byte) 114);
|
||||||
output.writeMessageNoTag(roomList.get(i));
|
output.writeMessageNoTag(roomList.get(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -381,13 +381,13 @@ public final class RogueMapInfoOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(mapId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(areaId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(curRoomId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(mapId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(areaId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(curRoomId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(curSiteId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(curSiteId);
|
||||||
@@ -406,8 +406,8 @@ public final class RogueMapInfoOuterClass {
|
|||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 16: {
|
case 16: {
|
||||||
// mapId
|
// areaId
|
||||||
mapId = input.readUInt32();
|
areaId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 48) {
|
if (tag != 48) {
|
||||||
@@ -415,33 +415,33 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 48: {
|
case 48: {
|
||||||
// curRoomId
|
// mapId
|
||||||
curRoomId = input.readUInt32();
|
mapId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 56) {
|
if (tag != 88) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 56: {
|
case 88: {
|
||||||
// areaId
|
// curRoomId
|
||||||
areaId = input.readUInt32();
|
curRoomId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 80) {
|
if (tag != 96) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 80: {
|
case 96: {
|
||||||
// curSiteId
|
// curSiteId
|
||||||
curSiteId = input.readUInt32();
|
curSiteId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 66) {
|
if (tag != 114) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 66: {
|
case 114: {
|
||||||
// roomList
|
// roomList
|
||||||
tag = input.readRepeatedMessage(roomList, tag);
|
tag = input.readRepeatedMessage(roomList, tag);
|
||||||
bitField0_ |= 0x00000010;
|
bitField0_ |= 0x00000010;
|
||||||
@@ -467,13 +467,13 @@ public final class RogueMapInfoOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.mapId, mapId);
|
output.writeUInt32(FieldNames.areaId, areaId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.curRoomId, curRoomId);
|
output.writeUInt32(FieldNames.mapId, mapId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeUInt32(FieldNames.areaId, areaId);
|
output.writeUInt32(FieldNames.curRoomId, curRoomId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeUInt32(FieldNames.curSiteId, curSiteId);
|
output.writeUInt32(FieldNames.curSiteId, curSiteId);
|
||||||
@@ -491,12 +491,24 @@ public final class RogueMapInfoOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
|
case -1409553784:
|
||||||
|
case -746472947: {
|
||||||
|
if (input.isAtField(FieldNames.areaId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
areaId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 103663511:
|
case 103663511:
|
||||||
case -1081377058: {
|
case -1081377058: {
|
||||||
if (input.isAtField(FieldNames.mapId)) {
|
if (input.isAtField(FieldNames.mapId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
mapId = input.readUInt32();
|
mapId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -508,18 +520,6 @@ public final class RogueMapInfoOuterClass {
|
|||||||
if (input.isAtField(FieldNames.curRoomId)) {
|
if (input.isAtField(FieldNames.curRoomId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
curRoomId = input.readUInt32();
|
curRoomId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case -1409553784:
|
|
||||||
case -746472947: {
|
|
||||||
if (input.isAtField(FieldNames.areaId)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
areaId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -603,12 +603,12 @@ public final class RogueMapInfoOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
|
static final FieldName areaId = FieldName.forField("areaId", "area_id");
|
||||||
|
|
||||||
static final FieldName mapId = FieldName.forField("mapId", "map_id");
|
static final FieldName mapId = FieldName.forField("mapId", "map_id");
|
||||||
|
|
||||||
static final FieldName curRoomId = FieldName.forField("curRoomId", "cur_room_id");
|
static final FieldName curRoomId = FieldName.forField("curRoomId", "cur_room_id");
|
||||||
|
|
||||||
static final FieldName areaId = FieldName.forField("areaId", "area_id");
|
|
||||||
|
|
||||||
static final FieldName curSiteId = FieldName.forField("curSiteId", "cur_site_id");
|
static final FieldName curSiteId = FieldName.forField("curSiteId", "cur_site_id");
|
||||||
|
|
||||||
static final FieldName roomList = FieldName.forField("roomList", "room_list");
|
static final FieldName roomList = FieldName.forField("roomList", "room_list");
|
||||||
|
|||||||
@@ -0,0 +1,939 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import us.hebi.quickbuf.FieldName;
|
||||||
|
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||||
|
import us.hebi.quickbuf.JsonSink;
|
||||||
|
import us.hebi.quickbuf.JsonSource;
|
||||||
|
import us.hebi.quickbuf.MessageFactory;
|
||||||
|
import us.hebi.quickbuf.ProtoMessage;
|
||||||
|
import us.hebi.quickbuf.ProtoSink;
|
||||||
|
import us.hebi.quickbuf.ProtoSource;
|
||||||
|
import us.hebi.quickbuf.RepeatedMessage;
|
||||||
|
|
||||||
|
public final class RogueMiracleDataInfoOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueMiracleDataInfo}
|
||||||
|
*/
|
||||||
|
public static final class RogueMiracleDataInfo extends ProtoMessage<RogueMiracleDataInfo> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LHCJBLAECHK = 1;</code>
|
||||||
|
*/
|
||||||
|
private int lHCJBLAECHK;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 4;</code>
|
||||||
|
*/
|
||||||
|
private int miracleId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FFLMCOJAJAI = 7;</code>
|
||||||
|
*/
|
||||||
|
private int fFLMCOJAJAI;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 CNFMGJHFABD = 13;</code>
|
||||||
|
*/
|
||||||
|
private int cNFMGJHFABD;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo.HIFKDHKJGACEntry HIFKDHKJGAC = 3;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedMessage<HIFKDHKJGACEntry> hIFKDHKJGAC = RepeatedMessage.newEmptyInstance(HIFKDHKJGACEntry.getFactory());
|
||||||
|
|
||||||
|
private RogueMiracleDataInfo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueMiracleDataInfo}
|
||||||
|
*/
|
||||||
|
public static RogueMiracleDataInfo newInstance() {
|
||||||
|
return new RogueMiracleDataInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LHCJBLAECHK = 1;</code>
|
||||||
|
* @return whether the lHCJBLAECHK field is set
|
||||||
|
*/
|
||||||
|
public boolean hasLHCJBLAECHK() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LHCJBLAECHK = 1;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo clearLHCJBLAECHK() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
lHCJBLAECHK = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LHCJBLAECHK = 1;</code>
|
||||||
|
* @return the lHCJBLAECHK
|
||||||
|
*/
|
||||||
|
public int getLHCJBLAECHK() {
|
||||||
|
return lHCJBLAECHK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LHCJBLAECHK = 1;</code>
|
||||||
|
* @param value the lHCJBLAECHK to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo setLHCJBLAECHK(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
lHCJBLAECHK = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 4;</code>
|
||||||
|
* @return whether the miracleId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMiracleId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 4;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo clearMiracleId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
miracleId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 4;</code>
|
||||||
|
* @return the miracleId
|
||||||
|
*/
|
||||||
|
public int getMiracleId() {
|
||||||
|
return miracleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 4;</code>
|
||||||
|
* @param value the miracleId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo setMiracleId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
miracleId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FFLMCOJAJAI = 7;</code>
|
||||||
|
* @return whether the fFLMCOJAJAI field is set
|
||||||
|
*/
|
||||||
|
public boolean hasFFLMCOJAJAI() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FFLMCOJAJAI = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo clearFFLMCOJAJAI() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
fFLMCOJAJAI = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FFLMCOJAJAI = 7;</code>
|
||||||
|
* @return the fFLMCOJAJAI
|
||||||
|
*/
|
||||||
|
public int getFFLMCOJAJAI() {
|
||||||
|
return fFLMCOJAJAI;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FFLMCOJAJAI = 7;</code>
|
||||||
|
* @param value the fFLMCOJAJAI to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo setFFLMCOJAJAI(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
fFLMCOJAJAI = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 CNFMGJHFABD = 13;</code>
|
||||||
|
* @return whether the cNFMGJHFABD field is set
|
||||||
|
*/
|
||||||
|
public boolean hasCNFMGJHFABD() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 CNFMGJHFABD = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo clearCNFMGJHFABD() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
cNFMGJHFABD = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 CNFMGJHFABD = 13;</code>
|
||||||
|
* @return the cNFMGJHFABD
|
||||||
|
*/
|
||||||
|
public int getCNFMGJHFABD() {
|
||||||
|
return cNFMGJHFABD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 CNFMGJHFABD = 13;</code>
|
||||||
|
* @param value the cNFMGJHFABD to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo setCNFMGJHFABD(final int value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
cNFMGJHFABD = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo.HIFKDHKJGACEntry HIFKDHKJGAC = 3;</code>
|
||||||
|
* @return whether the hIFKDHKJGAC field is set
|
||||||
|
*/
|
||||||
|
public boolean hasHIFKDHKJGAC() {
|
||||||
|
return (bitField0_ & 0x00000010) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo.HIFKDHKJGACEntry HIFKDHKJGAC = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo clearHIFKDHKJGAC() {
|
||||||
|
bitField0_ &= ~0x00000010;
|
||||||
|
hIFKDHKJGAC.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo.HIFKDHKJGACEntry HIFKDHKJGAC = 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 #getMutableHIFKDHKJGAC()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedMessage<HIFKDHKJGACEntry> getHIFKDHKJGAC() {
|
||||||
|
return hIFKDHKJGAC;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo.HIFKDHKJGACEntry HIFKDHKJGAC = 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 RepeatedMessage<HIFKDHKJGACEntry> getMutableHIFKDHKJGAC() {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
return hIFKDHKJGAC;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo.HIFKDHKJGACEntry HIFKDHKJGAC = 3;</code>
|
||||||
|
* @param value the hIFKDHKJGAC to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo addHIFKDHKJGAC(final HIFKDHKJGACEntry value) {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
hIFKDHKJGAC.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo.HIFKDHKJGACEntry HIFKDHKJGAC = 3;</code>
|
||||||
|
* @param values the hIFKDHKJGAC to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleDataInfo addAllHIFKDHKJGAC(final HIFKDHKJGACEntry... values) {
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
hIFKDHKJGAC.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleDataInfo copyFrom(final RogueMiracleDataInfo other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
lHCJBLAECHK = other.lHCJBLAECHK;
|
||||||
|
miracleId = other.miracleId;
|
||||||
|
fFLMCOJAJAI = other.fFLMCOJAJAI;
|
||||||
|
cNFMGJHFABD = other.cNFMGJHFABD;
|
||||||
|
hIFKDHKJGAC.copyFrom(other.hIFKDHKJGAC);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleDataInfo mergeFrom(final RogueMiracleDataInfo other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasLHCJBLAECHK()) {
|
||||||
|
setLHCJBLAECHK(other.lHCJBLAECHK);
|
||||||
|
}
|
||||||
|
if (other.hasMiracleId()) {
|
||||||
|
setMiracleId(other.miracleId);
|
||||||
|
}
|
||||||
|
if (other.hasFFLMCOJAJAI()) {
|
||||||
|
setFFLMCOJAJAI(other.fFLMCOJAJAI);
|
||||||
|
}
|
||||||
|
if (other.hasCNFMGJHFABD()) {
|
||||||
|
setCNFMGJHFABD(other.cNFMGJHFABD);
|
||||||
|
}
|
||||||
|
if (other.hasHIFKDHKJGAC()) {
|
||||||
|
getMutableHIFKDHKJGAC().addAll(other.hIFKDHKJGAC);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleDataInfo clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
lHCJBLAECHK = 0;
|
||||||
|
miracleId = 0;
|
||||||
|
fFLMCOJAJAI = 0;
|
||||||
|
cNFMGJHFABD = 0;
|
||||||
|
hIFKDHKJGAC.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleDataInfo clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
hIFKDHKJGAC.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueMiracleDataInfo)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueMiracleDataInfo other = (RogueMiracleDataInfo) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasLHCJBLAECHK() || lHCJBLAECHK == other.lHCJBLAECHK)
|
||||||
|
&& (!hasMiracleId() || miracleId == other.miracleId)
|
||||||
|
&& (!hasFFLMCOJAJAI() || fFLMCOJAJAI == other.fFLMCOJAJAI)
|
||||||
|
&& (!hasCNFMGJHFABD() || cNFMGJHFABD == other.cNFMGJHFABD)
|
||||||
|
&& (!hasHIFKDHKJGAC() || hIFKDHKJGAC.equals(other.hIFKDHKJGAC));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 8);
|
||||||
|
output.writeUInt32NoTag(lHCJBLAECHK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 32);
|
||||||
|
output.writeUInt32NoTag(miracleId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 56);
|
||||||
|
output.writeUInt32NoTag(fFLMCOJAJAI);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawByte((byte) 104);
|
||||||
|
output.writeUInt32NoTag(cNFMGJHFABD);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
for (int i = 0; i < hIFKDHKJGAC.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 26);
|
||||||
|
output.writeMessageNoTag(hIFKDHKJGAC.get(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(lHCJBLAECHK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(miracleId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(fFLMCOJAJAI);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(cNFMGJHFABD);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
size += (1 * hIFKDHKJGAC.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(hIFKDHKJGAC);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueMiracleDataInfo mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 8: {
|
||||||
|
// lHCJBLAECHK
|
||||||
|
lHCJBLAECHK = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 32) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 32: {
|
||||||
|
// miracleId
|
||||||
|
miracleId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 56) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 56: {
|
||||||
|
// fFLMCOJAJAI
|
||||||
|
fFLMCOJAJAI = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 104) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 104: {
|
||||||
|
// cNFMGJHFABD
|
||||||
|
cNFMGJHFABD = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 26) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 26: {
|
||||||
|
// hIFKDHKJGAC
|
||||||
|
tag = input.readRepeatedMessage(hIFKDHKJGAC, tag);
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
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.lHCJBLAECHK, lHCJBLAECHK);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.miracleId, miracleId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.fFLMCOJAJAI, fFLMCOJAJAI);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.cNFMGJHFABD, cNFMGJHFABD);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
|
output.writeRepeatedMessage(FieldNames.hIFKDHKJGAC, hIFKDHKJGAC);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleDataInfo mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -431171691: {
|
||||||
|
if (input.isAtField(FieldNames.lHCJBLAECHK)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
lHCJBLAECHK = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -164571796:
|
||||||
|
case -806736983: {
|
||||||
|
if (input.isAtField(FieldNames.miracleId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
miracleId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 686494478: {
|
||||||
|
if (input.isAtField(FieldNames.fFLMCOJAJAI)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
fFLMCOJAJAI = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1575260368: {
|
||||||
|
if (input.isAtField(FieldNames.cNFMGJHFABD)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
cNFMGJHFABD = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 255478432: {
|
||||||
|
if (input.isAtField(FieldNames.hIFKDHKJGAC)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedMessage(hIFKDHKJGAC);
|
||||||
|
bitField0_ |= 0x00000010;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleDataInfo clone() {
|
||||||
|
return new RogueMiracleDataInfo().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleDataInfo parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleDataInfo(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleDataInfo parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleDataInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleDataInfo parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleDataInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueMiracleDataInfo messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueMiracleDataInfo> getFactory() {
|
||||||
|
return RogueMiracleDataInfoFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code HIFKDHKJGACEntry}
|
||||||
|
*/
|
||||||
|
public static final class HIFKDHKJGACEntry extends ProtoMessage<HIFKDHKJGACEntry> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 key = 1;</code>
|
||||||
|
*/
|
||||||
|
private int key;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 value = 2;</code>
|
||||||
|
*/
|
||||||
|
private int value_;
|
||||||
|
|
||||||
|
private HIFKDHKJGACEntry() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code HIFKDHKJGACEntry}
|
||||||
|
*/
|
||||||
|
public static HIFKDHKJGACEntry newInstance() {
|
||||||
|
return new HIFKDHKJGACEntry();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 key = 1;</code>
|
||||||
|
* @return whether the key field is set
|
||||||
|
*/
|
||||||
|
public boolean hasKey() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 key = 1;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HIFKDHKJGACEntry clearKey() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
key = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 key = 1;</code>
|
||||||
|
* @return the key
|
||||||
|
*/
|
||||||
|
public int getKey() {
|
||||||
|
return key;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 key = 1;</code>
|
||||||
|
* @param value the key to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HIFKDHKJGACEntry setKey(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
key = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 value = 2;</code>
|
||||||
|
* @return whether the value_ field is set
|
||||||
|
*/
|
||||||
|
public boolean hasValue() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 value = 2;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HIFKDHKJGACEntry clearValue() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
value_ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 value = 2;</code>
|
||||||
|
* @return the value_
|
||||||
|
*/
|
||||||
|
public int getValue() {
|
||||||
|
return value_;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 value = 2;</code>
|
||||||
|
* @param value the value_ to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public HIFKDHKJGACEntry setValue(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
value_ = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HIFKDHKJGACEntry copyFrom(final HIFKDHKJGACEntry other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
key = other.key;
|
||||||
|
value_ = other.value_;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HIFKDHKJGACEntry mergeFrom(final HIFKDHKJGACEntry other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasKey()) {
|
||||||
|
setKey(other.key);
|
||||||
|
}
|
||||||
|
if (other.hasValue()) {
|
||||||
|
setValue(other.value_);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HIFKDHKJGACEntry clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
key = 0;
|
||||||
|
value_ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HIFKDHKJGACEntry 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 HIFKDHKJGACEntry)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
HIFKDHKJGACEntry other = (HIFKDHKJGACEntry) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasKey() || key == other.key)
|
||||||
|
&& (!hasValue() || value_ == other.value_);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 8);
|
||||||
|
output.writeUInt32NoTag(key);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 16);
|
||||||
|
output.writeUInt32NoTag(value_);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(key);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(value_);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public HIFKDHKJGACEntry mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 8: {
|
||||||
|
// key
|
||||||
|
key = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 16) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 16: {
|
||||||
|
// value_
|
||||||
|
value_ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.key, key);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.value_, value_);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HIFKDHKJGACEntry mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 106079: {
|
||||||
|
if (input.isAtField(FieldNames.key)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
key = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 111972721: {
|
||||||
|
if (input.isAtField(FieldNames.value_)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
value_ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HIFKDHKJGACEntry clone() {
|
||||||
|
return new HIFKDHKJGACEntry().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HIFKDHKJGACEntry parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new HIFKDHKJGACEntry(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HIFKDHKJGACEntry parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new HIFKDHKJGACEntry(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HIFKDHKJGACEntry parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new HIFKDHKJGACEntry(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating HIFKDHKJGACEntry messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<HIFKDHKJGACEntry> getFactory() {
|
||||||
|
return HIFKDHKJGACEntryFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum HIFKDHKJGACEntryFactory implements MessageFactory<HIFKDHKJGACEntry> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HIFKDHKJGACEntry create() {
|
||||||
|
return HIFKDHKJGACEntry.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName key = FieldName.forField("key");
|
||||||
|
|
||||||
|
static final FieldName value_ = FieldName.forField("value");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueMiracleDataInfoFactory implements MessageFactory<RogueMiracleDataInfo> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleDataInfo create() {
|
||||||
|
return RogueMiracleDataInfo.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName lHCJBLAECHK = FieldName.forField("LHCJBLAECHK");
|
||||||
|
|
||||||
|
static final FieldName miracleId = FieldName.forField("miracleId", "miracle_id");
|
||||||
|
|
||||||
|
static final FieldName fFLMCOJAJAI = FieldName.forField("FFLMCOJAJAI");
|
||||||
|
|
||||||
|
static final FieldName cNFMGJHFABD = FieldName.forField("CNFMGJHFABD");
|
||||||
|
|
||||||
|
static final FieldName hIFKDHKJGAC = FieldName.forField("HIFKDHKJGAC");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,281 @@
|
|||||||
|
// 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 RogueMiracleDataOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueMiracleData}
|
||||||
|
*/
|
||||||
|
public static final class RogueMiracleData extends ProtoMessage<RogueMiracleData> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracle rogue_miracle = 13;</code>
|
||||||
|
*/
|
||||||
|
private final RogueMiracleOuterClass.RogueMiracle rogueMiracle = RogueMiracleOuterClass.RogueMiracle.newInstance();
|
||||||
|
|
||||||
|
private RogueMiracleData() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueMiracleData}
|
||||||
|
*/
|
||||||
|
public static RogueMiracleData newInstance() {
|
||||||
|
return new RogueMiracleData();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracle rogue_miracle = 13;</code>
|
||||||
|
* @return whether the rogueMiracle field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueMiracle() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracle rogue_miracle = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleData clearRogueMiracle() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
rogueMiracle.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracle rogue_miracle = 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 #getMutableRogueMiracle()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueMiracleOuterClass.RogueMiracle getRogueMiracle() {
|
||||||
|
return rogueMiracle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracle rogue_miracle = 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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public RogueMiracleOuterClass.RogueMiracle getMutableRogueMiracle() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return rogueMiracle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueMiracle rogue_miracle = 13;</code>
|
||||||
|
* @param value the rogueMiracle to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleData setRogueMiracle(final RogueMiracleOuterClass.RogueMiracle value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueMiracle.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleData copyFrom(final RogueMiracleData other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
rogueMiracle.copyFrom(other.rogueMiracle);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleData mergeFrom(final RogueMiracleData other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRogueMiracle()) {
|
||||||
|
getMutableRogueMiracle().mergeFrom(other.rogueMiracle);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleData clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueMiracle.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleData clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueMiracle.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueMiracleData)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueMiracleData other = (RogueMiracleData) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRogueMiracle() || rogueMiracle.equals(other.rogueMiracle));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 106);
|
||||||
|
output.writeMessageNoTag(rogueMiracle);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueMiracle);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueMiracleData mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 106: {
|
||||||
|
// rogueMiracle
|
||||||
|
input.readMessage(rogueMiracle);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueMiracle, rogueMiracle);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleData mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1479551689:
|
||||||
|
case 1697369868: {
|
||||||
|
if (input.isAtField(FieldNames.rogueMiracle)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueMiracle);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleData clone() {
|
||||||
|
return new RogueMiracleData().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleData parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleData(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleData parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleData(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleData parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleData(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueMiracleData messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueMiracleData> getFactory() {
|
||||||
|
return RogueMiracleDataFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueMiracleDataFactory implements MessageFactory<RogueMiracleData> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleData create() {
|
||||||
|
return RogueMiracleData.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName rogueMiracle = FieldName.forField("rogueMiracle", "rogue_miracle");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,458 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import us.hebi.quickbuf.FieldName;
|
||||||
|
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||||
|
import us.hebi.quickbuf.JsonSink;
|
||||||
|
import us.hebi.quickbuf.JsonSource;
|
||||||
|
import us.hebi.quickbuf.MessageFactory;
|
||||||
|
import us.hebi.quickbuf.ProtoMessage;
|
||||||
|
import us.hebi.quickbuf.ProtoSink;
|
||||||
|
import us.hebi.quickbuf.ProtoSource;
|
||||||
|
import us.hebi.quickbuf.RepeatedMessage;
|
||||||
|
|
||||||
|
public final class RogueMiracleInfoDataOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueMiracleInfoData}
|
||||||
|
*/
|
||||||
|
public static final class RogueMiracleInfoData extends ProtoMessage<RogueMiracleInfoData> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 EGCFBOPLHKJ = 4;</code>
|
||||||
|
*/
|
||||||
|
private int eGCFBOPLHKJ;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPDGMALBBAB = 7;</code>
|
||||||
|
*/
|
||||||
|
private int jPDGMALBBAB;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo rogue_miracle_list = 1;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedMessage<RogueMiracleDataInfoOuterClass.RogueMiracleDataInfo> rogueMiracleList = RepeatedMessage.newEmptyInstance(RogueMiracleDataInfoOuterClass.RogueMiracleDataInfo.getFactory());
|
||||||
|
|
||||||
|
private RogueMiracleInfoData() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueMiracleInfoData}
|
||||||
|
*/
|
||||||
|
public static RogueMiracleInfoData newInstance() {
|
||||||
|
return new RogueMiracleInfoData();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 EGCFBOPLHKJ = 4;</code>
|
||||||
|
* @return whether the eGCFBOPLHKJ field is set
|
||||||
|
*/
|
||||||
|
public boolean hasEGCFBOPLHKJ() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 EGCFBOPLHKJ = 4;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleInfoData clearEGCFBOPLHKJ() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
eGCFBOPLHKJ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 EGCFBOPLHKJ = 4;</code>
|
||||||
|
* @return the eGCFBOPLHKJ
|
||||||
|
*/
|
||||||
|
public int getEGCFBOPLHKJ() {
|
||||||
|
return eGCFBOPLHKJ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 EGCFBOPLHKJ = 4;</code>
|
||||||
|
* @param value the eGCFBOPLHKJ to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleInfoData setEGCFBOPLHKJ(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
eGCFBOPLHKJ = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPDGMALBBAB = 7;</code>
|
||||||
|
* @return whether the jPDGMALBBAB field is set
|
||||||
|
*/
|
||||||
|
public boolean hasJPDGMALBBAB() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPDGMALBBAB = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleInfoData clearJPDGMALBBAB() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
jPDGMALBBAB = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPDGMALBBAB = 7;</code>
|
||||||
|
* @return the jPDGMALBBAB
|
||||||
|
*/
|
||||||
|
public int getJPDGMALBBAB() {
|
||||||
|
return jPDGMALBBAB;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 JPDGMALBBAB = 7;</code>
|
||||||
|
* @param value the jPDGMALBBAB to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleInfoData setJPDGMALBBAB(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
jPDGMALBBAB = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo rogue_miracle_list = 1;</code>
|
||||||
|
* @return whether the rogueMiracleList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueMiracleList() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo rogue_miracle_list = 1;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleInfoData clearRogueMiracleList() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
rogueMiracleList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo rogue_miracle_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 #getMutableRogueMiracleList()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedMessage<RogueMiracleDataInfoOuterClass.RogueMiracleDataInfo> getRogueMiracleList(
|
||||||
|
) {
|
||||||
|
return rogueMiracleList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo rogue_miracle_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 RepeatedMessage<RogueMiracleDataInfoOuterClass.RogueMiracleDataInfo> getMutableRogueMiracleList(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return rogueMiracleList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo rogue_miracle_list = 1;</code>
|
||||||
|
* @param value the rogueMiracleList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleInfoData addRogueMiracleList(
|
||||||
|
final RogueMiracleDataInfoOuterClass.RogueMiracleDataInfo value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
rogueMiracleList.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueMiracleDataInfo rogue_miracle_list = 1;</code>
|
||||||
|
* @param values the rogueMiracleList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleInfoData addAllRogueMiracleList(
|
||||||
|
final RogueMiracleDataInfoOuterClass.RogueMiracleDataInfo... values) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
rogueMiracleList.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleInfoData copyFrom(final RogueMiracleInfoData other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
eGCFBOPLHKJ = other.eGCFBOPLHKJ;
|
||||||
|
jPDGMALBBAB = other.jPDGMALBBAB;
|
||||||
|
rogueMiracleList.copyFrom(other.rogueMiracleList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleInfoData mergeFrom(final RogueMiracleInfoData other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasEGCFBOPLHKJ()) {
|
||||||
|
setEGCFBOPLHKJ(other.eGCFBOPLHKJ);
|
||||||
|
}
|
||||||
|
if (other.hasJPDGMALBBAB()) {
|
||||||
|
setJPDGMALBBAB(other.jPDGMALBBAB);
|
||||||
|
}
|
||||||
|
if (other.hasRogueMiracleList()) {
|
||||||
|
getMutableRogueMiracleList().addAll(other.rogueMiracleList);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleInfoData clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
eGCFBOPLHKJ = 0;
|
||||||
|
jPDGMALBBAB = 0;
|
||||||
|
rogueMiracleList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleInfoData clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueMiracleList.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueMiracleInfoData)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueMiracleInfoData other = (RogueMiracleInfoData) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasEGCFBOPLHKJ() || eGCFBOPLHKJ == other.eGCFBOPLHKJ)
|
||||||
|
&& (!hasJPDGMALBBAB() || jPDGMALBBAB == other.jPDGMALBBAB)
|
||||||
|
&& (!hasRogueMiracleList() || rogueMiracleList.equals(other.rogueMiracleList));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 32);
|
||||||
|
output.writeUInt32NoTag(eGCFBOPLHKJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 56);
|
||||||
|
output.writeUInt32NoTag(jPDGMALBBAB);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
for (int i = 0; i < rogueMiracleList.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 10);
|
||||||
|
output.writeMessageNoTag(rogueMiracleList.get(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(eGCFBOPLHKJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(jPDGMALBBAB);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += (1 * rogueMiracleList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueMiracleList);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueMiracleInfoData mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 32: {
|
||||||
|
// eGCFBOPLHKJ
|
||||||
|
eGCFBOPLHKJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 56) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 56: {
|
||||||
|
// jPDGMALBBAB
|
||||||
|
jPDGMALBBAB = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 10) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 10: {
|
||||||
|
// rogueMiracleList
|
||||||
|
tag = input.readRepeatedMessage(rogueMiracleList, tag);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.eGCFBOPLHKJ, eGCFBOPLHKJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.jPDGMALBBAB, jPDGMALBBAB);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRepeatedMessage(FieldNames.rogueMiracleList, rogueMiracleList);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleInfoData mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1177746393: {
|
||||||
|
if (input.isAtField(FieldNames.eGCFBOPLHKJ)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
eGCFBOPLHKJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -282541776: {
|
||||||
|
if (input.isAtField(FieldNames.jPDGMALBBAB)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
jPDGMALBBAB = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -452426123:
|
||||||
|
case 1925521905: {
|
||||||
|
if (input.isAtField(FieldNames.rogueMiracleList)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedMessage(rogueMiracleList);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleInfoData clone() {
|
||||||
|
return new RogueMiracleInfoData().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleInfoData parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleInfoData(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleInfoData parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleInfoData(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleInfoData parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleInfoData(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueMiracleInfoData messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueMiracleInfoData> getFactory() {
|
||||||
|
return RogueMiracleInfoDataFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueMiracleInfoDataFactory implements MessageFactory<RogueMiracleInfoData> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleInfoData create() {
|
||||||
|
return RogueMiracleInfoData.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName eGCFBOPLHKJ = FieldName.forField("EGCFBOPLHKJ");
|
||||||
|
|
||||||
|
static final FieldName jPDGMALBBAB = FieldName.forField("JPDGMALBBAB");
|
||||||
|
|
||||||
|
static final FieldName rogueMiracleList = FieldName.forField("rogueMiracleList", "rogue_miracle_list");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,14 +19,9 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
* <code>optional .RogueMiracleInfoData rogue_miracle_info = 4;</code>
|
||||||
*/
|
*/
|
||||||
private final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo rogueMiracleInfo = RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo.newInstance();
|
private final RogueMiracleInfoDataOuterClass.RogueMiracleInfoData rogueMiracleInfo = RogueMiracleInfoDataOuterClass.RogueMiracleInfoData.newInstance();
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 3;</code>
|
|
||||||
*/
|
|
||||||
private final RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo miracleSelectInfo = RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo.newInstance();
|
|
||||||
|
|
||||||
private RogueMiracleInfo() {
|
private RogueMiracleInfo() {
|
||||||
}
|
}
|
||||||
@@ -39,7 +34,7 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
* <code>optional .RogueMiracleInfoData rogue_miracle_info = 4;</code>
|
||||||
* @return whether the rogueMiracleInfo field is set
|
* @return whether the rogueMiracleInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueMiracleInfo() {
|
public boolean hasRogueMiracleInfo() {
|
||||||
@@ -47,7 +42,7 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
* <code>optional .RogueMiracleInfoData rogue_miracle_info = 4;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracleInfo clearRogueMiracleInfo() {
|
public RogueMiracleInfo clearRogueMiracleInfo() {
|
||||||
@@ -57,7 +52,7 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
* <code>optional .RogueMiracleInfoData rogue_miracle_info = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -66,12 +61,12 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
*
|
*
|
||||||
* @return internal storage object for reading
|
* @return internal storage object for reading
|
||||||
*/
|
*/
|
||||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getRogueMiracleInfo() {
|
public RogueMiracleInfoDataOuterClass.RogueMiracleInfoData getRogueMiracleInfo() {
|
||||||
return rogueMiracleInfo;
|
return rogueMiracleInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
* <code>optional .RogueMiracleInfoData rogue_miracle_info = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -79,88 +74,29 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
*
|
*
|
||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getMutableRogueMiracleInfo() {
|
public RogueMiracleInfoDataOuterClass.RogueMiracleInfoData getMutableRogueMiracleInfo() {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
return rogueMiracleInfo;
|
return rogueMiracleInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 2;</code>
|
* <code>optional .RogueMiracleInfoData rogue_miracle_info = 4;</code>
|
||||||
* @param value the rogueMiracleInfo to set
|
* @param value the rogueMiracleInfo to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracleInfo setRogueMiracleInfo(
|
public RogueMiracleInfo setRogueMiracleInfo(
|
||||||
final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo value) {
|
final RogueMiracleInfoDataOuterClass.RogueMiracleInfoData value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
rogueMiracleInfo.copyFrom(value);
|
rogueMiracleInfo.copyFrom(value);
|
||||||
return this;
|
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_ &= ~0x00000002;
|
|
||||||
miracleSelectInfo.clear();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <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.
|
|
||||||
*
|
|
||||||
* Use {@link #getMutableMiracleSelectInfo()} if you want to modify it.
|
|
||||||
*
|
|
||||||
* @return internal storage object for reading
|
|
||||||
*/
|
|
||||||
public RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo getMiracleSelectInfo() {
|
|
||||||
return miracleSelectInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <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
|
|
||||||
* contents may be modified as long as the has state is not cleared.
|
|
||||||
*
|
|
||||||
* @return internal storage object for modifications
|
|
||||||
*/
|
|
||||||
public RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo getMutableMiracleSelectInfo() {
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
return miracleSelectInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueMiracleSelectInfo miracle_select_info = 3;</code>
|
|
||||||
* @param value the miracleSelectInfo to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueMiracleInfo setMiracleSelectInfo(
|
|
||||||
final RogueMiracleSelectInfoOuterClass.RogueMiracleSelectInfo value) {
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
miracleSelectInfo.copyFrom(value);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RogueMiracleInfo copyFrom(final RogueMiracleInfo other) {
|
public RogueMiracleInfo copyFrom(final RogueMiracleInfo other) {
|
||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
rogueMiracleInfo.copyFrom(other.rogueMiracleInfo);
|
rogueMiracleInfo.copyFrom(other.rogueMiracleInfo);
|
||||||
miracleSelectInfo.copyFrom(other.miracleSelectInfo);
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -174,9 +110,6 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
if (other.hasRogueMiracleInfo()) {
|
if (other.hasRogueMiracleInfo()) {
|
||||||
getMutableRogueMiracleInfo().mergeFrom(other.rogueMiracleInfo);
|
getMutableRogueMiracleInfo().mergeFrom(other.rogueMiracleInfo);
|
||||||
}
|
}
|
||||||
if (other.hasMiracleSelectInfo()) {
|
|
||||||
getMutableMiracleSelectInfo().mergeFrom(other.miracleSelectInfo);
|
|
||||||
}
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -188,7 +121,6 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
rogueMiracleInfo.clear();
|
rogueMiracleInfo.clear();
|
||||||
miracleSelectInfo.clear();
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -200,7 +132,6 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
rogueMiracleInfo.clearQuick();
|
rogueMiracleInfo.clearQuick();
|
||||||
miracleSelectInfo.clearQuick();
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -214,20 +145,15 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
}
|
}
|
||||||
RogueMiracleInfo other = (RogueMiracleInfo) o;
|
RogueMiracleInfo other = (RogueMiracleInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRogueMiracleInfo() || rogueMiracleInfo.equals(other.rogueMiracleInfo))
|
&& (!hasRogueMiracleInfo() || rogueMiracleInfo.equals(other.rogueMiracleInfo));
|
||||||
&& (!hasMiracleSelectInfo() || miracleSelectInfo.equals(other.miracleSelectInfo));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 18);
|
output.writeRawByte((byte) 34);
|
||||||
output.writeMessageNoTag(rogueMiracleInfo);
|
output.writeMessageNoTag(rogueMiracleInfo);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 26);
|
|
||||||
output.writeMessageNoTag(miracleSelectInfo);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -236,9 +162,6 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueMiracleInfo);
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueMiracleInfo);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(miracleSelectInfo);
|
|
||||||
}
|
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -249,20 +172,11 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 18: {
|
case 34: {
|
||||||
// rogueMiracleInfo
|
// rogueMiracleInfo
|
||||||
input.readMessage(rogueMiracleInfo);
|
input.readMessage(rogueMiracleInfo);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 26) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 26: {
|
|
||||||
// miracleSelectInfo
|
|
||||||
input.readMessage(miracleSelectInfo);
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -287,9 +201,6 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeMessage(FieldNames.rogueMiracleInfo, rogueMiracleInfo);
|
output.writeMessage(FieldNames.rogueMiracleInfo, rogueMiracleInfo);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeMessage(FieldNames.miracleSelectInfo, miracleSelectInfo);
|
|
||||||
}
|
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -312,18 +223,6 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -1009314021:
|
|
||||||
case -1608054973: {
|
|
||||||
if (input.isAtField(FieldNames.miracleSelectInfo)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
input.readMessage(miracleSelectInfo);
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
break;
|
break;
|
||||||
@@ -378,8 +277,6 @@ public final class RogueMiracleInfoOuterClass {
|
|||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName rogueMiracleInfo = FieldName.forField("rogueMiracleInfo", "rogue_miracle_info");
|
static final FieldName rogueMiracleInfo = FieldName.forField("rogueMiracleInfo", "rogue_miracle_info");
|
||||||
|
|
||||||
static final FieldName miracleSelectInfo = FieldName.forField("miracleSelectInfo", "miracle_select_info");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,24 +20,24 @@ public final class RogueMiracleOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 total_count = 2;</code>
|
* <code>optional uint32 CNFMGJHFABD = 8;</code>
|
||||||
*/
|
*/
|
||||||
private int totalCount;
|
private int cNFMGJHFABD;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 miracle_id = 6;</code>
|
* <code>optional uint32 FFLMCOJAJAI = 10;</code>
|
||||||
|
*/
|
||||||
|
private int fFLMCOJAJAI;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 12;</code>
|
||||||
*/
|
*/
|
||||||
private int miracleId;
|
private int miracleId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 use_count = 12;</code>
|
* <code>repeated .RogueMiracle.HIFKDHKJGACEntry HIFKDHKJGAC = 15;</code>
|
||||||
*/
|
*/
|
||||||
private int useCount;
|
private final RepeatedMessage<HIFKDHKJGACEntry> hIFKDHKJGAC = RepeatedMessage.newEmptyInstance(HIFKDHKJGACEntry.getFactory());
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>repeated .RogueMiracle.EffectCountEntry effect_count = 11;</code>
|
|
||||||
*/
|
|
||||||
private final RepeatedMessage<EffectCountEntry> effectCount = RepeatedMessage.newEmptyInstance(EffectCountEntry.getFactory());
|
|
||||||
|
|
||||||
private RogueMiracle() {
|
private RogueMiracle() {
|
||||||
}
|
}
|
||||||
@@ -50,62 +50,99 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 total_count = 2;</code>
|
* <code>optional uint32 CNFMGJHFABD = 8;</code>
|
||||||
* @return whether the totalCount field is set
|
* @return whether the cNFMGJHFABD field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasTotalCount() {
|
public boolean hasCNFMGJHFABD() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 total_count = 2;</code>
|
* <code>optional uint32 CNFMGJHFABD = 8;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracle clearTotalCount() {
|
public RogueMiracle clearCNFMGJHFABD() {
|
||||||
bitField0_ &= ~0x00000001;
|
bitField0_ &= ~0x00000001;
|
||||||
totalCount = 0;
|
cNFMGJHFABD = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 total_count = 2;</code>
|
* <code>optional uint32 CNFMGJHFABD = 8;</code>
|
||||||
* @return the totalCount
|
* @return the cNFMGJHFABD
|
||||||
*/
|
*/
|
||||||
public int getTotalCount() {
|
public int getCNFMGJHFABD() {
|
||||||
return totalCount;
|
return cNFMGJHFABD;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 total_count = 2;</code>
|
* <code>optional uint32 CNFMGJHFABD = 8;</code>
|
||||||
* @param value the totalCount to set
|
* @param value the cNFMGJHFABD to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracle setTotalCount(final int value) {
|
public RogueMiracle setCNFMGJHFABD(final int value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
totalCount = value;
|
cNFMGJHFABD = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 miracle_id = 6;</code>
|
* <code>optional uint32 FFLMCOJAJAI = 10;</code>
|
||||||
* @return whether the miracleId field is set
|
* @return whether the fFLMCOJAJAI field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasMiracleId() {
|
public boolean hasFFLMCOJAJAI() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 miracle_id = 6;</code>
|
* <code>optional uint32 FFLMCOJAJAI = 10;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracle clearFFLMCOJAJAI() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
fFLMCOJAJAI = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FFLMCOJAJAI = 10;</code>
|
||||||
|
* @return the fFLMCOJAJAI
|
||||||
|
*/
|
||||||
|
public int getFFLMCOJAJAI() {
|
||||||
|
return fFLMCOJAJAI;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 FFLMCOJAJAI = 10;</code>
|
||||||
|
* @param value the fFLMCOJAJAI to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracle setFFLMCOJAJAI(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
fFLMCOJAJAI = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 12;</code>
|
||||||
|
* @return whether the miracleId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMiracleId() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 12;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracle clearMiracleId() {
|
public RogueMiracle clearMiracleId() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000004;
|
||||||
miracleId = 0;
|
miracleId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 miracle_id = 6;</code>
|
* <code>optional uint32 miracle_id = 12;</code>
|
||||||
* @return the miracleId
|
* @return the miracleId
|
||||||
*/
|
*/
|
||||||
public int getMiracleId() {
|
public int getMiracleId() {
|
||||||
@@ -113,87 +150,50 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 miracle_id = 6;</code>
|
* <code>optional uint32 miracle_id = 12;</code>
|
||||||
* @param value the miracleId to set
|
* @param value the miracleId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracle setMiracleId(final int value) {
|
public RogueMiracle setMiracleId(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000004;
|
||||||
miracleId = value;
|
miracleId = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 use_count = 12;</code>
|
* <code>repeated .RogueMiracle.HIFKDHKJGACEntry HIFKDHKJGAC = 15;</code>
|
||||||
* @return whether the useCount field is set
|
* @return whether the hIFKDHKJGAC field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasUseCount() {
|
public boolean hasHIFKDHKJGAC() {
|
||||||
return (bitField0_ & 0x00000004) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 use_count = 12;</code>
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueMiracle clearUseCount() {
|
|
||||||
bitField0_ &= ~0x00000004;
|
|
||||||
useCount = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 use_count = 12;</code>
|
|
||||||
* @return the useCount
|
|
||||||
*/
|
|
||||||
public int getUseCount() {
|
|
||||||
return useCount;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 use_count = 12;</code>
|
|
||||||
* @param value the useCount to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueMiracle setUseCount(final int value) {
|
|
||||||
bitField0_ |= 0x00000004;
|
|
||||||
useCount = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>repeated .RogueMiracle.EffectCountEntry effect_count = 11;</code>
|
|
||||||
* @return whether the effectCount field is set
|
|
||||||
*/
|
|
||||||
public boolean hasEffectCount() {
|
|
||||||
return (bitField0_ & 0x00000008) != 0;
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueMiracle.EffectCountEntry effect_count = 11;</code>
|
* <code>repeated .RogueMiracle.HIFKDHKJGACEntry HIFKDHKJGAC = 15;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracle clearEffectCount() {
|
public RogueMiracle clearHIFKDHKJGAC() {
|
||||||
bitField0_ &= ~0x00000008;
|
bitField0_ &= ~0x00000008;
|
||||||
effectCount.clear();
|
hIFKDHKJGAC.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueMiracle.EffectCountEntry effect_count = 11;</code>
|
* <code>repeated .RogueMiracle.HIFKDHKJGACEntry HIFKDHKJGAC = 15;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
*
|
*
|
||||||
* Use {@link #getMutableEffectCount()} if you want to modify it.
|
* Use {@link #getMutableHIFKDHKJGAC()} if you want to modify it.
|
||||||
*
|
*
|
||||||
* @return internal storage object for reading
|
* @return internal storage object for reading
|
||||||
*/
|
*/
|
||||||
public RepeatedMessage<EffectCountEntry> getEffectCount() {
|
public RepeatedMessage<HIFKDHKJGACEntry> getHIFKDHKJGAC() {
|
||||||
return effectCount;
|
return hIFKDHKJGAC;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueMiracle.EffectCountEntry effect_count = 11;</code>
|
* <code>repeated .RogueMiracle.HIFKDHKJGACEntry HIFKDHKJGAC = 15;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -201,30 +201,30 @@ public final class RogueMiracleOuterClass {
|
|||||||
*
|
*
|
||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public RepeatedMessage<EffectCountEntry> getMutableEffectCount() {
|
public RepeatedMessage<HIFKDHKJGACEntry> getMutableHIFKDHKJGAC() {
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
return effectCount;
|
return hIFKDHKJGAC;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueMiracle.EffectCountEntry effect_count = 11;</code>
|
* <code>repeated .RogueMiracle.HIFKDHKJGACEntry HIFKDHKJGAC = 15;</code>
|
||||||
* @param value the effectCount to add
|
* @param value the hIFKDHKJGAC to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracle addEffectCount(final EffectCountEntry value) {
|
public RogueMiracle addHIFKDHKJGAC(final HIFKDHKJGACEntry value) {
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
effectCount.add(value);
|
hIFKDHKJGAC.add(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueMiracle.EffectCountEntry effect_count = 11;</code>
|
* <code>repeated .RogueMiracle.HIFKDHKJGACEntry HIFKDHKJGAC = 15;</code>
|
||||||
* @param values the effectCount to add
|
* @param values the hIFKDHKJGAC to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracle addAllEffectCount(final EffectCountEntry... values) {
|
public RogueMiracle addAllHIFKDHKJGAC(final HIFKDHKJGACEntry... values) {
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
effectCount.addAll(values);
|
hIFKDHKJGAC.addAll(values);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -233,10 +233,10 @@ public final class RogueMiracleOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
totalCount = other.totalCount;
|
cNFMGJHFABD = other.cNFMGJHFABD;
|
||||||
|
fFLMCOJAJAI = other.fFLMCOJAJAI;
|
||||||
miracleId = other.miracleId;
|
miracleId = other.miracleId;
|
||||||
useCount = other.useCount;
|
hIFKDHKJGAC.copyFrom(other.hIFKDHKJGAC);
|
||||||
effectCount.copyFrom(other.effectCount);
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -247,17 +247,17 @@ public final class RogueMiracleOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasTotalCount()) {
|
if (other.hasCNFMGJHFABD()) {
|
||||||
setTotalCount(other.totalCount);
|
setCNFMGJHFABD(other.cNFMGJHFABD);
|
||||||
|
}
|
||||||
|
if (other.hasFFLMCOJAJAI()) {
|
||||||
|
setFFLMCOJAJAI(other.fFLMCOJAJAI);
|
||||||
}
|
}
|
||||||
if (other.hasMiracleId()) {
|
if (other.hasMiracleId()) {
|
||||||
setMiracleId(other.miracleId);
|
setMiracleId(other.miracleId);
|
||||||
}
|
}
|
||||||
if (other.hasUseCount()) {
|
if (other.hasHIFKDHKJGAC()) {
|
||||||
setUseCount(other.useCount);
|
getMutableHIFKDHKJGAC().addAll(other.hIFKDHKJGAC);
|
||||||
}
|
|
||||||
if (other.hasEffectCount()) {
|
|
||||||
getMutableEffectCount().addAll(other.effectCount);
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -269,10 +269,10 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
totalCount = 0;
|
cNFMGJHFABD = 0;
|
||||||
|
fFLMCOJAJAI = 0;
|
||||||
miracleId = 0;
|
miracleId = 0;
|
||||||
useCount = 0;
|
hIFKDHKJGAC.clear();
|
||||||
effectCount.clear();
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -283,7 +283,7 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
effectCount.clearQuick();
|
hIFKDHKJGAC.clearQuick();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -297,30 +297,30 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
RogueMiracle other = (RogueMiracle) o;
|
RogueMiracle other = (RogueMiracle) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasTotalCount() || totalCount == other.totalCount)
|
&& (!hasCNFMGJHFABD() || cNFMGJHFABD == other.cNFMGJHFABD)
|
||||||
|
&& (!hasFFLMCOJAJAI() || fFLMCOJAJAI == other.fFLMCOJAJAI)
|
||||||
&& (!hasMiracleId() || miracleId == other.miracleId)
|
&& (!hasMiracleId() || miracleId == other.miracleId)
|
||||||
&& (!hasUseCount() || useCount == other.useCount)
|
&& (!hasHIFKDHKJGAC() || hIFKDHKJGAC.equals(other.hIFKDHKJGAC));
|
||||||
&& (!hasEffectCount() || effectCount.equals(other.effectCount));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 16);
|
output.writeRawByte((byte) 64);
|
||||||
output.writeUInt32NoTag(totalCount);
|
output.writeUInt32NoTag(cNFMGJHFABD);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 48);
|
output.writeRawByte((byte) 80);
|
||||||
output.writeUInt32NoTag(miracleId);
|
output.writeUInt32NoTag(fFLMCOJAJAI);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 96);
|
output.writeRawByte((byte) 96);
|
||||||
output.writeUInt32NoTag(useCount);
|
output.writeUInt32NoTag(miracleId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
for (int i = 0; i < effectCount.length(); i++) {
|
for (int i = 0; i < hIFKDHKJGAC.length(); i++) {
|
||||||
output.writeRawByte((byte) 90);
|
output.writeRawByte((byte) 122);
|
||||||
output.writeMessageNoTag(effectCount.get(i));
|
output.writeMessageNoTag(hIFKDHKJGAC.get(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -329,16 +329,16 @@ public final class RogueMiracleOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(totalCount);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(cNFMGJHFABD);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(miracleId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(fFLMCOJAJAI);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(useCount);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(miracleId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
size += (1 * effectCount.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(effectCount);
|
size += (1 * hIFKDHKJGAC.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(hIFKDHKJGAC);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
@@ -350,18 +350,18 @@ public final class RogueMiracleOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 16: {
|
case 64: {
|
||||||
// totalCount
|
// cNFMGJHFABD
|
||||||
totalCount = input.readUInt32();
|
cNFMGJHFABD = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 48) {
|
if (tag != 80) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 48: {
|
case 80: {
|
||||||
// miracleId
|
// fFLMCOJAJAI
|
||||||
miracleId = input.readUInt32();
|
fFLMCOJAJAI = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 96) {
|
if (tag != 96) {
|
||||||
@@ -369,17 +369,17 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 96: {
|
case 96: {
|
||||||
// useCount
|
// miracleId
|
||||||
useCount = input.readUInt32();
|
miracleId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 90) {
|
if (tag != 122) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 90: {
|
case 122: {
|
||||||
// effectCount
|
// hIFKDHKJGAC
|
||||||
tag = input.readRepeatedMessage(effectCount, tag);
|
tag = input.readRepeatedMessage(hIFKDHKJGAC, tag);
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
@@ -403,16 +403,16 @@ public final class RogueMiracleOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.totalCount, totalCount);
|
output.writeUInt32(FieldNames.cNFMGJHFABD, cNFMGJHFABD);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.miracleId, miracleId);
|
output.writeUInt32(FieldNames.fFLMCOJAJAI, fFLMCOJAJAI);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeUInt32(FieldNames.useCount, useCount);
|
output.writeUInt32(FieldNames.miracleId, miracleId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeRepeatedMessage(FieldNames.effectCount, effectCount);
|
output.writeRepeatedMessage(FieldNames.hIFKDHKJGAC, hIFKDHKJGAC);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -424,11 +424,10 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case -731385813:
|
case 1575260368: {
|
||||||
case -407761836: {
|
if (input.isAtField(FieldNames.cNFMGJHFABD)) {
|
||||||
if (input.isAtField(FieldNames.totalCount)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
totalCount = input.readUInt32();
|
cNFMGJHFABD = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -436,23 +435,22 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 686494478: {
|
||||||
|
if (input.isAtField(FieldNames.fFLMCOJAJAI)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
fFLMCOJAJAI = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case -164571796:
|
case -164571796:
|
||||||
case -806736983: {
|
case -806736983: {
|
||||||
if (input.isAtField(FieldNames.miracleId)) {
|
if (input.isAtField(FieldNames.miracleId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
miracleId = input.readUInt32();
|
miracleId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case -309069880:
|
|
||||||
case -200869801: {
|
|
||||||
if (input.isAtField(FieldNames.useCount)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
useCount = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -460,11 +458,10 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 1635252734:
|
case 255478432: {
|
||||||
case -56410911: {
|
if (input.isAtField(FieldNames.hIFKDHKJGAC)) {
|
||||||
if (input.isAtField(FieldNames.effectCount)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readRepeatedMessage(effectCount);
|
input.readRepeatedMessage(hIFKDHKJGAC);
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -512,9 +509,9 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code EffectCountEntry}
|
* Protobuf type {@code HIFKDHKJGACEntry}
|
||||||
*/
|
*/
|
||||||
public static final class EffectCountEntry extends ProtoMessage<EffectCountEntry> implements Cloneable {
|
public static final class HIFKDHKJGACEntry extends ProtoMessage<HIFKDHKJGACEntry> implements Cloneable {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -527,14 +524,14 @@ public final class RogueMiracleOuterClass {
|
|||||||
*/
|
*/
|
||||||
private int value_;
|
private int value_;
|
||||||
|
|
||||||
private EffectCountEntry() {
|
private HIFKDHKJGACEntry() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return a new empty instance of {@code EffectCountEntry}
|
* @return a new empty instance of {@code HIFKDHKJGACEntry}
|
||||||
*/
|
*/
|
||||||
public static EffectCountEntry newInstance() {
|
public static HIFKDHKJGACEntry newInstance() {
|
||||||
return new EffectCountEntry();
|
return new HIFKDHKJGACEntry();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -549,7 +546,7 @@ public final class RogueMiracleOuterClass {
|
|||||||
* <code>optional uint32 key = 1;</code>
|
* <code>optional uint32 key = 1;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EffectCountEntry clearKey() {
|
public HIFKDHKJGACEntry clearKey() {
|
||||||
bitField0_ &= ~0x00000001;
|
bitField0_ &= ~0x00000001;
|
||||||
key = 0;
|
key = 0;
|
||||||
return this;
|
return this;
|
||||||
@@ -568,7 +565,7 @@ public final class RogueMiracleOuterClass {
|
|||||||
* @param value the key to set
|
* @param value the key to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EffectCountEntry setKey(final int value) {
|
public HIFKDHKJGACEntry setKey(final int value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
key = value;
|
key = value;
|
||||||
return this;
|
return this;
|
||||||
@@ -586,7 +583,7 @@ public final class RogueMiracleOuterClass {
|
|||||||
* <code>optional uint32 value = 2;</code>
|
* <code>optional uint32 value = 2;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EffectCountEntry clearValue() {
|
public HIFKDHKJGACEntry clearValue() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000002;
|
||||||
value_ = 0;
|
value_ = 0;
|
||||||
return this;
|
return this;
|
||||||
@@ -605,14 +602,14 @@ public final class RogueMiracleOuterClass {
|
|||||||
* @param value the value_ to set
|
* @param value the value_ to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public EffectCountEntry setValue(final int value) {
|
public HIFKDHKJGACEntry setValue(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
value_ = value;
|
value_ = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EffectCountEntry copyFrom(final EffectCountEntry other) {
|
public HIFKDHKJGACEntry copyFrom(final HIFKDHKJGACEntry other) {
|
||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
@@ -623,7 +620,7 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EffectCountEntry mergeFrom(final EffectCountEntry other) {
|
public HIFKDHKJGACEntry mergeFrom(final HIFKDHKJGACEntry other) {
|
||||||
if (other.isEmpty()) {
|
if (other.isEmpty()) {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -638,7 +635,7 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EffectCountEntry clear() {
|
public HIFKDHKJGACEntry clear() {
|
||||||
if (isEmpty()) {
|
if (isEmpty()) {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -650,7 +647,7 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EffectCountEntry clearQuick() {
|
public HIFKDHKJGACEntry clearQuick() {
|
||||||
if (isEmpty()) {
|
if (isEmpty()) {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -664,10 +661,10 @@ public final class RogueMiracleOuterClass {
|
|||||||
if (o == this) {
|
if (o == this) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof EffectCountEntry)) {
|
if (!(o instanceof HIFKDHKJGACEntry)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
EffectCountEntry other = (EffectCountEntry) o;
|
HIFKDHKJGACEntry other = (HIFKDHKJGACEntry) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasKey() || key == other.key)
|
&& (!hasKey() || key == other.key)
|
||||||
&& (!hasValue() || value_ == other.value_);
|
&& (!hasValue() || value_ == other.value_);
|
||||||
@@ -699,7 +696,7 @@ public final class RogueMiracleOuterClass {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("fallthrough")
|
@SuppressWarnings("fallthrough")
|
||||||
public EffectCountEntry mergeFrom(final ProtoSource input) throws IOException {
|
public HIFKDHKJGACEntry mergeFrom(final ProtoSource input) throws IOException {
|
||||||
// Enabled Fall-Through Optimization (QuickBuffers)
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
@@ -749,7 +746,7 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EffectCountEntry mergeFrom(final JsonSource input) throws IOException {
|
public HIFKDHKJGACEntry mergeFrom(final JsonSource input) throws IOException {
|
||||||
if (!input.beginObject()) {
|
if (!input.beginObject()) {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -788,8 +785,8 @@ public final class RogueMiracleOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EffectCountEntry clone() {
|
public HIFKDHKJGACEntry clone() {
|
||||||
return new EffectCountEntry().copyFrom(this);
|
return new HIFKDHKJGACEntry().copyFrom(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -797,32 +794,32 @@ public final class RogueMiracleOuterClass {
|
|||||||
return ((bitField0_) == 0);
|
return ((bitField0_) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static EffectCountEntry parseFrom(final byte[] data) throws
|
public static HIFKDHKJGACEntry parseFrom(final byte[] data) throws
|
||||||
InvalidProtocolBufferException {
|
InvalidProtocolBufferException {
|
||||||
return ProtoMessage.mergeFrom(new EffectCountEntry(), data).checkInitialized();
|
return ProtoMessage.mergeFrom(new HIFKDHKJGACEntry(), data).checkInitialized();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static EffectCountEntry parseFrom(final ProtoSource input) throws IOException {
|
public static HIFKDHKJGACEntry parseFrom(final ProtoSource input) throws IOException {
|
||||||
return ProtoMessage.mergeFrom(new EffectCountEntry(), input).checkInitialized();
|
return ProtoMessage.mergeFrom(new HIFKDHKJGACEntry(), input).checkInitialized();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static EffectCountEntry parseFrom(final JsonSource input) throws IOException {
|
public static HIFKDHKJGACEntry parseFrom(final JsonSource input) throws IOException {
|
||||||
return ProtoMessage.mergeFrom(new EffectCountEntry(), input).checkInitialized();
|
return ProtoMessage.mergeFrom(new HIFKDHKJGACEntry(), input).checkInitialized();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return factory for creating EffectCountEntry messages
|
* @return factory for creating HIFKDHKJGACEntry messages
|
||||||
*/
|
*/
|
||||||
public static MessageFactory<EffectCountEntry> getFactory() {
|
public static MessageFactory<HIFKDHKJGACEntry> getFactory() {
|
||||||
return EffectCountEntryFactory.INSTANCE;
|
return HIFKDHKJGACEntryFactory.INSTANCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
private enum EffectCountEntryFactory implements MessageFactory<EffectCountEntry> {
|
private enum HIFKDHKJGACEntryFactory implements MessageFactory<HIFKDHKJGACEntry> {
|
||||||
INSTANCE;
|
INSTANCE;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EffectCountEntry create() {
|
public HIFKDHKJGACEntry create() {
|
||||||
return EffectCountEntry.newInstance();
|
return HIFKDHKJGACEntry.newInstance();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -849,13 +846,13 @@ public final class RogueMiracleOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName totalCount = FieldName.forField("totalCount", "total_count");
|
static final FieldName cNFMGJHFABD = FieldName.forField("CNFMGJHFABD");
|
||||||
|
|
||||||
|
static final FieldName fFLMCOJAJAI = FieldName.forField("FFLMCOJAJAI");
|
||||||
|
|
||||||
static final FieldName miracleId = FieldName.forField("miracleId", "miracle_id");
|
static final FieldName miracleId = FieldName.forField("miracleId", "miracle_id");
|
||||||
|
|
||||||
static final FieldName useCount = FieldName.forField("useCount", "use_count");
|
static final FieldName hIFKDHKJGAC = FieldName.forField("HIFKDHKJGAC");
|
||||||
|
|
||||||
static final FieldName effectCount = FieldName.forField("effectCount", "effect_count");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,19 +20,32 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool show_handbook_hint = 7;</code>
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 MMHMDBDONIA = 2;</code>
|
||||||
*/
|
*/
|
||||||
private boolean showHandbookHint;
|
private int mMHMDBDONIA;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
* <pre>
|
||||||
|
* idk guess source
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OJOMBNGGHFI = 8;</code>
|
||||||
*/
|
*/
|
||||||
private final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo rogueMiracleInfo = RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo.newInstance();
|
private int oJOMBNGGHFI;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
* <code>repeated uint32 miracle_info = 5;</code>
|
||||||
*/
|
*/
|
||||||
private final RepeatedInt miracleIdList = RepeatedInt.newEmptyInstance();
|
private final RepeatedInt miracleInfo = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 miracle_info_remote = 13;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt miracleInfoRemote = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
private RogueMiracleSelectInfo() {
|
private RogueMiracleSelectInfo() {
|
||||||
}
|
}
|
||||||
@@ -45,134 +58,145 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool show_handbook_hint = 7;</code>
|
* <pre>
|
||||||
* @return whether the showHandbookHint field is set
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 MMHMDBDONIA = 2;</code>
|
||||||
|
* @return whether the mMHMDBDONIA field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasShowHandbookHint() {
|
public boolean hasMMHMDBDONIA() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool show_handbook_hint = 7;</code>
|
* <pre>
|
||||||
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 MMHMDBDONIA = 2;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracleSelectInfo clearShowHandbookHint() {
|
public RogueMiracleSelectInfo clearMMHMDBDONIA() {
|
||||||
bitField0_ &= ~0x00000001;
|
bitField0_ &= ~0x00000001;
|
||||||
showHandbookHint = false;
|
mMHMDBDONIA = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool show_handbook_hint = 7;</code>
|
* <pre>
|
||||||
* @return the showHandbookHint
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 MMHMDBDONIA = 2;</code>
|
||||||
|
* @return the mMHMDBDONIA
|
||||||
*/
|
*/
|
||||||
public boolean getShowHandbookHint() {
|
public int getMMHMDBDONIA() {
|
||||||
return showHandbookHint;
|
return mMHMDBDONIA;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional bool show_handbook_hint = 7;</code>
|
* <pre>
|
||||||
* @param value the showHandbookHint to set
|
* idk
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 MMHMDBDONIA = 2;</code>
|
||||||
|
* @param value the mMHMDBDONIA to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracleSelectInfo setShowHandbookHint(final boolean value) {
|
public RogueMiracleSelectInfo setMMHMDBDONIA(final int value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
showHandbookHint = value;
|
mMHMDBDONIA = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
* <pre>
|
||||||
* @return whether the rogueMiracleInfo field is set
|
* idk guess source
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OJOMBNGGHFI = 8;</code>
|
||||||
|
* @return whether the oJOMBNGGHFI field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueMiracleInfo() {
|
public boolean hasOJOMBNGGHFI() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
* <pre>
|
||||||
|
* idk guess source
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OJOMBNGGHFI = 8;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracleSelectInfo clearRogueMiracleInfo() {
|
public RogueMiracleSelectInfo clearOJOMBNGGHFI() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000002;
|
||||||
rogueMiracleInfo.clear();
|
oJOMBNGGHFI = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
* <pre>
|
||||||
|
* idk guess source
|
||||||
|
* </pre>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* <code>optional uint32 OJOMBNGGHFI = 8;</code>
|
||||||
* The returned object should not be modified and be treated as read-only.
|
* @return the oJOMBNGGHFI
|
||||||
*
|
|
||||||
* Use {@link #getMutableRogueMiracleInfo()} if you want to modify it.
|
|
||||||
*
|
|
||||||
* @return internal storage object for reading
|
|
||||||
*/
|
*/
|
||||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getRogueMiracleInfo() {
|
public int getOJOMBNGGHFI() {
|
||||||
return rogueMiracleInfo;
|
return oJOMBNGGHFI;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
* <pre>
|
||||||
|
* idk guess source
|
||||||
|
* </pre>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* <code>optional uint32 OJOMBNGGHFI = 8;</code>
|
||||||
* has state. The returned object will become part of this message and its
|
* @param value the oJOMBNGGHFI to set
|
||||||
* contents may be modified as long as the has state is not cleared.
|
|
||||||
*
|
|
||||||
* @return internal storage object for modifications
|
|
||||||
*/
|
|
||||||
public RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo getMutableRogueMiracleInfo() {
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
return rogueMiracleInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .RogueAchivedMiracleInfo rogue_miracle_info = 13;</code>
|
|
||||||
* @param value the rogueMiracleInfo to set
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracleSelectInfo setRogueMiracleInfo(
|
public RogueMiracleSelectInfo setOJOMBNGGHFI(final int value) {
|
||||||
final RogueAchivedMiracleInfoOuterClass.RogueAchivedMiracleInfo value) {
|
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
rogueMiracleInfo.copyFrom(value);
|
oJOMBNGGHFI = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
* <code>repeated uint32 miracle_info = 5;</code>
|
||||||
* @return whether the miracleIdList field is set
|
* @return whether the miracleInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasMiracleIdList() {
|
public boolean hasMiracleInfo() {
|
||||||
return (bitField0_ & 0x00000004) != 0;
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
* <code>repeated uint32 miracle_info = 5;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracleSelectInfo clearMiracleIdList() {
|
public RogueMiracleSelectInfo clearMiracleInfo() {
|
||||||
bitField0_ &= ~0x00000004;
|
bitField0_ &= ~0x00000004;
|
||||||
miracleIdList.clear();
|
miracleInfo.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
* <code>repeated uint32 miracle_info = 5;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
*
|
*
|
||||||
* Use {@link #getMutableMiracleIdList()} if you want to modify it.
|
* Use {@link #getMutableMiracleInfo()} if you want to modify it.
|
||||||
*
|
*
|
||||||
* @return internal storage object for reading
|
* @return internal storage object for reading
|
||||||
*/
|
*/
|
||||||
public RepeatedInt getMiracleIdList() {
|
public RepeatedInt getMiracleInfo() {
|
||||||
return miracleIdList;
|
return miracleInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
* <code>repeated uint32 miracle_info = 5;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -180,30 +204,98 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
*
|
*
|
||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public RepeatedInt getMutableMiracleIdList() {
|
public RepeatedInt getMutableMiracleInfo() {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
return miracleIdList;
|
return miracleInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
* <code>repeated uint32 miracle_info = 5;</code>
|
||||||
* @param value the miracleIdList to add
|
* @param value the miracleInfo to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracleSelectInfo addMiracleIdList(final int value) {
|
public RogueMiracleSelectInfo addMiracleInfo(final int value) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
miracleIdList.add(value);
|
miracleInfo.add(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 miracle_id_list = 12;</code>
|
* <code>repeated uint32 miracle_info = 5;</code>
|
||||||
* @param values the miracleIdList to add
|
* @param values the miracleInfo to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueMiracleSelectInfo addAllMiracleIdList(final int... values) {
|
public RogueMiracleSelectInfo addAllMiracleInfo(final int... values) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
miracleIdList.addAll(values);
|
miracleInfo.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 miracle_info_remote = 13;</code>
|
||||||
|
* @return whether the miracleInfoRemote field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMiracleInfoRemote() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 miracle_info_remote = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleSelectInfo clearMiracleInfoRemote() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
miracleInfoRemote.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 miracle_info_remote = 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 #getMutableMiracleInfoRemote()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getMiracleInfoRemote() {
|
||||||
|
return miracleInfoRemote;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 miracle_info_remote = 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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public RepeatedInt getMutableMiracleInfoRemote() {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
return miracleInfoRemote;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 miracle_info_remote = 13;</code>
|
||||||
|
* @param value the miracleInfoRemote to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleSelectInfo addMiracleInfoRemote(final int value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
miracleInfoRemote.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 miracle_info_remote = 13;</code>
|
||||||
|
* @param values the miracleInfoRemote to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleSelectInfo addAllMiracleInfoRemote(final int... values) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
miracleInfoRemote.addAll(values);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -212,9 +304,10 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
showHandbookHint = other.showHandbookHint;
|
mMHMDBDONIA = other.mMHMDBDONIA;
|
||||||
rogueMiracleInfo.copyFrom(other.rogueMiracleInfo);
|
oJOMBNGGHFI = other.oJOMBNGGHFI;
|
||||||
miracleIdList.copyFrom(other.miracleIdList);
|
miracleInfo.copyFrom(other.miracleInfo);
|
||||||
|
miracleInfoRemote.copyFrom(other.miracleInfoRemote);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -225,14 +318,17 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasShowHandbookHint()) {
|
if (other.hasMMHMDBDONIA()) {
|
||||||
setShowHandbookHint(other.showHandbookHint);
|
setMMHMDBDONIA(other.mMHMDBDONIA);
|
||||||
}
|
}
|
||||||
if (other.hasRogueMiracleInfo()) {
|
if (other.hasOJOMBNGGHFI()) {
|
||||||
getMutableRogueMiracleInfo().mergeFrom(other.rogueMiracleInfo);
|
setOJOMBNGGHFI(other.oJOMBNGGHFI);
|
||||||
}
|
}
|
||||||
if (other.hasMiracleIdList()) {
|
if (other.hasMiracleInfo()) {
|
||||||
getMutableMiracleIdList().addAll(other.miracleIdList);
|
getMutableMiracleInfo().addAll(other.miracleInfo);
|
||||||
|
}
|
||||||
|
if (other.hasMiracleInfoRemote()) {
|
||||||
|
getMutableMiracleInfoRemote().addAll(other.miracleInfoRemote);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -244,9 +340,10 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
showHandbookHint = false;
|
mMHMDBDONIA = 0;
|
||||||
rogueMiracleInfo.clear();
|
oJOMBNGGHFI = 0;
|
||||||
miracleIdList.clear();
|
miracleInfo.clear();
|
||||||
|
miracleInfoRemote.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -257,8 +354,8 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
rogueMiracleInfo.clearQuick();
|
miracleInfo.clear();
|
||||||
miracleIdList.clear();
|
miracleInfoRemote.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -272,25 +369,32 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
}
|
}
|
||||||
RogueMiracleSelectInfo other = (RogueMiracleSelectInfo) o;
|
RogueMiracleSelectInfo other = (RogueMiracleSelectInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasShowHandbookHint() || showHandbookHint == other.showHandbookHint)
|
&& (!hasMMHMDBDONIA() || mMHMDBDONIA == other.mMHMDBDONIA)
|
||||||
&& (!hasRogueMiracleInfo() || rogueMiracleInfo.equals(other.rogueMiracleInfo))
|
&& (!hasOJOMBNGGHFI() || oJOMBNGGHFI == other.oJOMBNGGHFI)
|
||||||
&& (!hasMiracleIdList() || miracleIdList.equals(other.miracleIdList));
|
&& (!hasMiracleInfo() || miracleInfo.equals(other.miracleInfo))
|
||||||
|
&& (!hasMiracleInfoRemote() || miracleInfoRemote.equals(other.miracleInfoRemote));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 56);
|
output.writeRawByte((byte) 16);
|
||||||
output.writeBoolNoTag(showHandbookHint);
|
output.writeUInt32NoTag(mMHMDBDONIA);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 106);
|
output.writeRawByte((byte) 64);
|
||||||
output.writeMessageNoTag(rogueMiracleInfo);
|
output.writeUInt32NoTag(oJOMBNGGHFI);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
for (int i = 0; i < miracleIdList.length(); i++) {
|
for (int i = 0; i < miracleInfo.length(); i++) {
|
||||||
output.writeRawByte((byte) 96);
|
output.writeRawByte((byte) 40);
|
||||||
output.writeUInt32NoTag(miracleIdList.array()[i]);
|
output.writeUInt32NoTag(miracleInfo.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
for (int i = 0; i < miracleInfoRemote.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 104);
|
||||||
|
output.writeUInt32NoTag(miracleInfoRemote.array()[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -299,13 +403,16 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 2;
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(mMHMDBDONIA);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueMiracleInfo);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(oJOMBNGGHFI);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += (1 * miracleIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(miracleIdList);
|
size += (1 * miracleInfo.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(miracleInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += (1 * miracleInfoRemote.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(miracleInfoRemote);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
@@ -317,28 +424,37 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 56: {
|
case 16: {
|
||||||
// showHandbookHint
|
// mMHMDBDONIA
|
||||||
showHandbookHint = input.readBool();
|
mMHMDBDONIA = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
|
if (tag != 64) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 64: {
|
||||||
|
// oJOMBNGGHFI
|
||||||
|
oJOMBNGGHFI = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 42) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 42: {
|
||||||
|
// miracleInfo [packed=true]
|
||||||
|
input.readPackedUInt32(miracleInfo, tag);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
if (tag != 106) {
|
if (tag != 106) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 106: {
|
case 106: {
|
||||||
// rogueMiracleInfo
|
// miracleInfoRemote [packed=true]
|
||||||
input.readMessage(rogueMiracleInfo);
|
input.readPackedUInt32(miracleInfoRemote, tag);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000008;
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 98) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 98: {
|
|
||||||
// miracleIdList [packed=true]
|
|
||||||
input.readPackedUInt32(miracleIdList, tag);
|
|
||||||
bitField0_ |= 0x00000004;
|
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
@@ -354,12 +470,18 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 96: {
|
case 40: {
|
||||||
// miracleIdList [packed=false]
|
// miracleInfo [packed=false]
|
||||||
tag = input.readRepeatedUInt32(miracleIdList, tag);
|
tag = input.readRepeatedUInt32(miracleInfo, tag);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 104: {
|
||||||
|
// miracleInfoRemote [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(miracleInfoRemote, tag);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -368,13 +490,16 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeBool(FieldNames.showHandbookHint, showHandbookHint);
|
output.writeUInt32(FieldNames.mMHMDBDONIA, mMHMDBDONIA);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeMessage(FieldNames.rogueMiracleInfo, rogueMiracleInfo);
|
output.writeUInt32(FieldNames.oJOMBNGGHFI, oJOMBNGGHFI);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRepeatedUInt32(FieldNames.miracleIdList, miracleIdList);
|
output.writeRepeatedUInt32(FieldNames.miracleInfo, miracleInfo);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.miracleInfoRemote, miracleInfoRemote);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -386,11 +511,10 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case -1843696100:
|
case -1232769672: {
|
||||||
case 641745100: {
|
if (input.isAtField(FieldNames.mMHMDBDONIA)) {
|
||||||
if (input.isAtField(FieldNames.showHandbookHint)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
showHandbookHint = input.readBool();
|
mMHMDBDONIA = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -398,11 +522,10 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -452511099:
|
case -1138375098: {
|
||||||
case 1925436929: {
|
if (input.isAtField(FieldNames.oJOMBNGGHFI)) {
|
||||||
if (input.isAtField(FieldNames.rogueMiracleInfo)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readMessage(rogueMiracleInfo);
|
oJOMBNGGHFI = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -410,11 +533,11 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 500458538:
|
case 760306879:
|
||||||
case 411639668: {
|
case 2114852796: {
|
||||||
if (input.isAtField(FieldNames.miracleIdList)) {
|
if (input.isAtField(FieldNames.miracleInfo)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readRepeatedUInt32(miracleIdList);
|
input.readRepeatedUInt32(miracleInfo);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -422,6 +545,18 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case -212699675:
|
||||||
|
case 609350185: {
|
||||||
|
if (input.isAtField(FieldNames.miracleInfoRemote)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(miracleInfoRemote);
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
break;
|
break;
|
||||||
@@ -475,11 +610,13 @@ public final class RogueMiracleSelectInfoOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName showHandbookHint = FieldName.forField("showHandbookHint", "show_handbook_hint");
|
static final FieldName mMHMDBDONIA = FieldName.forField("MMHMDBDONIA");
|
||||||
|
|
||||||
static final FieldName rogueMiracleInfo = FieldName.forField("rogueMiracleInfo", "rogue_miracle_info");
|
static final FieldName oJOMBNGGHFI = FieldName.forField("OJOMBNGGHFI");
|
||||||
|
|
||||||
static final FieldName miracleIdList = FieldName.forField("miracleIdList", "miracle_id_list");
|
static final FieldName miracleInfo = FieldName.forField("miracleInfo", "miracle_info");
|
||||||
|
|
||||||
|
static final FieldName miracleInfoRemote = FieldName.forField("miracleInfoRemote", "miracle_info_remote");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,174 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
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 RogueMiracleSelectOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueMiracleSelect}
|
||||||
|
*/
|
||||||
|
public static final class RogueMiracleSelect extends ProtoMessage<RogueMiracleSelect> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
private RogueMiracleSelect() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueMiracleSelect}
|
||||||
|
*/
|
||||||
|
public static RogueMiracleSelect newInstance() {
|
||||||
|
return new RogueMiracleSelect();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelect copyFrom(final RogueMiracleSelect other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelect mergeFrom(final RogueMiracleSelect other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelect clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelect clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueMiracleSelect)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueMiracleSelect other = (RogueMiracleSelect) o;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueMiracleSelect mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelect mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelect clone() {
|
||||||
|
return new RogueMiracleSelect().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleSelect parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleSelect(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleSelect parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleSelect(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleSelect parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleSelect(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueMiracleSelect messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueMiracleSelect> getFactory() {
|
||||||
|
return RogueMiracleSelectFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueMiracleSelectFactory implements MessageFactory<RogueMiracleSelect> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelect create() {
|
||||||
|
return RogueMiracleSelect.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,260 @@
|
|||||||
|
// 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 RogueMiracleSelectResultOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueMiracleSelectResult}
|
||||||
|
*/
|
||||||
|
public static final class RogueMiracleSelectResult extends ProtoMessage<RogueMiracleSelectResult> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 6;</code>
|
||||||
|
*/
|
||||||
|
private int miracleId;
|
||||||
|
|
||||||
|
private RogueMiracleSelectResult() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueMiracleSelectResult}
|
||||||
|
*/
|
||||||
|
public static RogueMiracleSelectResult newInstance() {
|
||||||
|
return new RogueMiracleSelectResult();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 6;</code>
|
||||||
|
* @return whether the miracleId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMiracleId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 6;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleSelectResult clearMiracleId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
miracleId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 6;</code>
|
||||||
|
* @return the miracleId
|
||||||
|
*/
|
||||||
|
public int getMiracleId() {
|
||||||
|
return miracleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 miracle_id = 6;</code>
|
||||||
|
* @param value the miracleId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueMiracleSelectResult setMiracleId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
miracleId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelectResult copyFrom(final RogueMiracleSelectResult other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
miracleId = other.miracleId;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelectResult mergeFrom(final RogueMiracleSelectResult other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasMiracleId()) {
|
||||||
|
setMiracleId(other.miracleId);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelectResult clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
miracleId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelectResult 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 RogueMiracleSelectResult)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueMiracleSelectResult other = (RogueMiracleSelectResult) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasMiracleId() || miracleId == other.miracleId);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 48);
|
||||||
|
output.writeUInt32NoTag(miracleId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(miracleId);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueMiracleSelectResult mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 48: {
|
||||||
|
// miracleId
|
||||||
|
miracleId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.miracleId, miracleId);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelectResult mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -164571796:
|
||||||
|
case -806736983: {
|
||||||
|
if (input.isAtField(FieldNames.miracleId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
miracleId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelectResult clone() {
|
||||||
|
return new RogueMiracleSelectResult().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleSelectResult parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleSelectResult(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleSelectResult parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleSelectResult(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueMiracleSelectResult parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueMiracleSelectResult(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueMiracleSelectResult messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueMiracleSelectResult> getFactory() {
|
||||||
|
return RogueMiracleSelectResultFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueMiracleSelectResultFactory implements MessageFactory<RogueMiracleSelectResult> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueMiracleSelectResult create() {
|
||||||
|
return RogueMiracleSelectResult.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName miracleId = FieldName.forField("miracleId", "miracle_id");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
299
src/generated/main/emu/lunarcore/proto/RogueQueryOuterClass.java
Normal file
299
src/generated/main/emu/lunarcore/proto/RogueQueryOuterClass.java
Normal file
@@ -0,0 +1,299 @@
|
|||||||
|
// 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;
|
||||||
|
|
||||||
|
public final class RogueQueryOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueQuery}
|
||||||
|
*/
|
||||||
|
public static final class RogueQuery extends ProtoMessage<RogueQuery> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 FFJHNGIINMN = 13;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedInt fFJHNGIINMN = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
|
private RogueQuery() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueQuery}
|
||||||
|
*/
|
||||||
|
public static RogueQuery newInstance() {
|
||||||
|
return new RogueQuery();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 FFJHNGIINMN = 13;</code>
|
||||||
|
* @return whether the fFJHNGIINMN field is set
|
||||||
|
*/
|
||||||
|
public boolean hasFFJHNGIINMN() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 FFJHNGIINMN = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueQuery clearFFJHNGIINMN() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
fFJHNGIINMN.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 FFJHNGIINMN = 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 #getMutableFFJHNGIINMN()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedInt getFFJHNGIINMN() {
|
||||||
|
return fFJHNGIINMN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 FFJHNGIINMN = 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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public RepeatedInt getMutableFFJHNGIINMN() {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return fFJHNGIINMN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 FFJHNGIINMN = 13;</code>
|
||||||
|
* @param value the fFJHNGIINMN to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueQuery addFFJHNGIINMN(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
fFJHNGIINMN.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 FFJHNGIINMN = 13;</code>
|
||||||
|
* @param values the fFJHNGIINMN to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueQuery addAllFFJHNGIINMN(final int... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
fFJHNGIINMN.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueQuery copyFrom(final RogueQuery other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
fFJHNGIINMN.copyFrom(other.fFJHNGIINMN);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueQuery mergeFrom(final RogueQuery other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasFFJHNGIINMN()) {
|
||||||
|
getMutableFFJHNGIINMN().addAll(other.fFJHNGIINMN);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueQuery clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
fFJHNGIINMN.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueQuery clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
fFJHNGIINMN.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueQuery)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueQuery other = (RogueQuery) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasFFJHNGIINMN() || fFJHNGIINMN.equals(other.fFJHNGIINMN));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
for (int i = 0; i < fFJHNGIINMN.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 104);
|
||||||
|
output.writeUInt32NoTag(fFJHNGIINMN.array()[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += (1 * fFJHNGIINMN.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(fFJHNGIINMN);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueQuery mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 106: {
|
||||||
|
// fFJHNGIINMN [packed=true]
|
||||||
|
input.readPackedUInt32(fFJHNGIINMN, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 104: {
|
||||||
|
// fFJHNGIINMN [packed=false]
|
||||||
|
tag = input.readRepeatedUInt32(fFJHNGIINMN, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.fFJHNGIINMN, fFJHNGIINMN);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueQuery mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 825210744: {
|
||||||
|
if (input.isAtField(FieldNames.fFJHNGIINMN)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedUInt32(fFJHNGIINMN);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueQuery clone() {
|
||||||
|
return new RogueQuery().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueQuery parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueQuery(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueQuery parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueQuery(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueQuery parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueQuery(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueQuery messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueQuery> getFactory() {
|
||||||
|
return RogueQueryFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueQueryFactory implements MessageFactory<RogueQuery> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueQuery create() {
|
||||||
|
return RogueQuery.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName fFJHNGIINMN = FieldName.forField("FFJHNGIINMN");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,17 +19,17 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 slot = 8;</code>
|
* <code>optional uint32 id = 6;</code>
|
||||||
*/
|
|
||||||
private int slot;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 id = 13;</code>
|
|
||||||
*/
|
*/
|
||||||
private int id;
|
private int id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
* <code>optional uint32 slot = 11;</code>
|
||||||
|
*/
|
||||||
|
private int slot;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .AvatarType avatar_type = 5;</code>
|
||||||
*/
|
*/
|
||||||
private int avatarType;
|
private int avatarType;
|
||||||
|
|
||||||
@@ -44,62 +44,25 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 slot = 8;</code>
|
* <code>optional uint32 id = 6;</code>
|
||||||
* @return whether the slot field is set
|
* @return whether the id field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasSlot() {
|
public boolean hasId() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 slot = 8;</code>
|
* <code>optional uint32 id = 6;</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
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRecordAvatar clearId() {
|
public RogueRecordAvatar clearId() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000001;
|
||||||
id = 0;
|
id = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 id = 13;</code>
|
* <code>optional uint32 id = 6;</code>
|
||||||
* @return the id
|
* @return the id
|
||||||
*/
|
*/
|
||||||
public int getId() {
|
public int getId() {
|
||||||
@@ -107,18 +70,55 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 id = 13;</code>
|
* <code>optional uint32 id = 6;</code>
|
||||||
* @param value the id to set
|
* @param value the id to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRecordAvatar setId(final int value) {
|
public RogueRecordAvatar setId(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
id = value;
|
id = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
* <code>optional uint32 slot = 11;</code>
|
||||||
|
* @return whether the slot field is set
|
||||||
|
*/
|
||||||
|
public boolean hasSlot() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 slot = 11;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRecordAvatar clearSlot() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
slot = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 slot = 11;</code>
|
||||||
|
* @return the slot
|
||||||
|
*/
|
||||||
|
public int getSlot() {
|
||||||
|
return slot;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 slot = 11;</code>
|
||||||
|
* @param value the slot to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRecordAvatar setSlot(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
slot = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .AvatarType avatar_type = 5;</code>
|
||||||
* @return whether the avatarType field is set
|
* @return whether the avatarType field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasAvatarType() {
|
public boolean hasAvatarType() {
|
||||||
@@ -126,7 +126,7 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
* <code>optional .AvatarType avatar_type = 5;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRecordAvatar clearAvatarType() {
|
public RogueRecordAvatar clearAvatarType() {
|
||||||
@@ -136,7 +136,7 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
* <code>optional .AvatarType avatar_type = 5;</code>
|
||||||
* @return the avatarType
|
* @return the avatarType
|
||||||
*/
|
*/
|
||||||
public AvatarTypeOuterClass.AvatarType getAvatarType() {
|
public AvatarTypeOuterClass.AvatarType getAvatarType() {
|
||||||
@@ -169,7 +169,7 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .AvatarType avatar_type = 6;</code>
|
* <code>optional .AvatarType avatar_type = 5;</code>
|
||||||
* @param value the avatarType to set
|
* @param value the avatarType to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -184,8 +184,8 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
slot = other.slot;
|
|
||||||
id = other.id;
|
id = other.id;
|
||||||
|
slot = other.slot;
|
||||||
avatarType = other.avatarType;
|
avatarType = other.avatarType;
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
@@ -197,12 +197,12 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasSlot()) {
|
|
||||||
setSlot(other.slot);
|
|
||||||
}
|
|
||||||
if (other.hasId()) {
|
if (other.hasId()) {
|
||||||
setId(other.id);
|
setId(other.id);
|
||||||
}
|
}
|
||||||
|
if (other.hasSlot()) {
|
||||||
|
setSlot(other.slot);
|
||||||
|
}
|
||||||
if (other.hasAvatarType()) {
|
if (other.hasAvatarType()) {
|
||||||
setAvatarTypeValue(other.avatarType);
|
setAvatarTypeValue(other.avatarType);
|
||||||
}
|
}
|
||||||
@@ -216,8 +216,8 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
slot = 0;
|
|
||||||
id = 0;
|
id = 0;
|
||||||
|
slot = 0;
|
||||||
avatarType = 0;
|
avatarType = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -242,23 +242,23 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
}
|
}
|
||||||
RogueRecordAvatar other = (RogueRecordAvatar) o;
|
RogueRecordAvatar other = (RogueRecordAvatar) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasSlot() || slot == other.slot)
|
|
||||||
&& (!hasId() || id == other.id)
|
&& (!hasId() || id == other.id)
|
||||||
|
&& (!hasSlot() || slot == other.slot)
|
||||||
&& (!hasAvatarType() || avatarType == other.avatarType);
|
&& (!hasAvatarType() || avatarType == other.avatarType);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 64);
|
output.writeRawByte((byte) 48);
|
||||||
output.writeUInt32NoTag(slot);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 104);
|
|
||||||
output.writeUInt32NoTag(id);
|
output.writeUInt32NoTag(id);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 88);
|
||||||
|
output.writeUInt32NoTag(slot);
|
||||||
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 48);
|
output.writeRawByte((byte) 40);
|
||||||
output.writeEnumNoTag(avatarType);
|
output.writeEnumNoTag(avatarType);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -267,10 +267,10 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(slot);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(id);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(id);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(slot);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeEnumSizeNoTag(avatarType);
|
size += 1 + ProtoSink.computeEnumSizeNoTag(avatarType);
|
||||||
@@ -285,25 +285,25 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 64: {
|
case 48: {
|
||||||
// slot
|
|
||||||
slot = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 104) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 104: {
|
|
||||||
// id
|
// id
|
||||||
id = input.readUInt32();
|
id = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 48) {
|
if (tag != 88) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 48: {
|
case 88: {
|
||||||
|
// slot
|
||||||
|
slot = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 40) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 40: {
|
||||||
// avatarType
|
// avatarType
|
||||||
final int value = input.readInt32();
|
final int value = input.readInt32();
|
||||||
if (AvatarTypeOuterClass.AvatarType.forNumber(value) != null) {
|
if (AvatarTypeOuterClass.AvatarType.forNumber(value) != null) {
|
||||||
@@ -333,10 +333,10 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.slot, slot);
|
output.writeUInt32(FieldNames.id, id);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.id, id);
|
output.writeUInt32(FieldNames.slot, slot);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeEnum(FieldNames.avatarType, avatarType, AvatarTypeOuterClass.AvatarType.converter());
|
output.writeEnum(FieldNames.avatarType, avatarType, AvatarTypeOuterClass.AvatarType.converter());
|
||||||
@@ -351,10 +351,10 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case 3533310: {
|
case 3355: {
|
||||||
if (input.isAtField(FieldNames.slot)) {
|
if (input.isAtField(FieldNames.id)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
slot = input.readUInt32();
|
id = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -362,10 +362,10 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 3355: {
|
case 3533310: {
|
||||||
if (input.isAtField(FieldNames.id)) {
|
if (input.isAtField(FieldNames.slot)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
id = input.readUInt32();
|
slot = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -443,10 +443,10 @@ public final class RogueRecordAvatarOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName slot = FieldName.forField("slot");
|
|
||||||
|
|
||||||
static final FieldName id = FieldName.forField("id");
|
static final FieldName id = FieldName.forField("id");
|
||||||
|
|
||||||
|
static final FieldName slot = FieldName.forField("slot");
|
||||||
|
|
||||||
static final FieldName avatarType = FieldName.forField("avatarType", "avatar_type");
|
static final FieldName avatarType = FieldName.forField("avatarType", "avatar_type");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,20 +21,20 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
* <code>repeated uint32 rogue_miracle_list = 5;</code>
|
||||||
*/
|
*/
|
||||||
private final RepeatedInt rogueMiracleList = RepeatedInt.newEmptyInstance();
|
private final RepeatedInt rogueMiracleList = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
* <code>repeated .RogueRecordAvatar avatar_list = 4;</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 final RepeatedMessage<RogueRecordAvatarOuterClass.RogueRecordAvatar> avatarList = RepeatedMessage.newEmptyInstance(RogueRecordAvatarOuterClass.RogueRecordAvatar.getFactory());
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueBuff buff_list = 13;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedMessage<RogueBuffOuterClass.RogueBuff> buffList = RepeatedMessage.newEmptyInstance(RogueBuffOuterClass.RogueBuff.getFactory());
|
||||||
|
|
||||||
private RogueRecordInfo() {
|
private RogueRecordInfo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
* <code>repeated uint32 rogue_miracle_list = 5;</code>
|
||||||
* @return whether the rogueMiracleList field is set
|
* @return whether the rogueMiracleList field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueMiracleList() {
|
public boolean hasRogueMiracleList() {
|
||||||
@@ -54,7 +54,7 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
* <code>repeated uint32 rogue_miracle_list = 5;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRecordInfo clearRogueMiracleList() {
|
public RogueRecordInfo clearRogueMiracleList() {
|
||||||
@@ -64,7 +64,7 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
* <code>repeated uint32 rogue_miracle_list = 5;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -78,7 +78,7 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
* <code>repeated uint32 rogue_miracle_list = 5;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -92,7 +92,7 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
* <code>repeated uint32 rogue_miracle_list = 5;</code>
|
||||||
* @param value the rogueMiracleList to add
|
* @param value the rogueMiracleList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -103,7 +103,7 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 rogue_miracle_list = 8;</code>
|
* <code>repeated uint32 rogue_miracle_list = 5;</code>
|
||||||
* @param values the rogueMiracleList to add
|
* @param values the rogueMiracleList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -114,93 +114,25 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
* <code>repeated .RogueRecordAvatar avatar_list = 4;</code>
|
||||||
* @return whether the buffList field is set
|
* @return whether the avatarList field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasBuffList() {
|
public boolean hasAvatarList() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueBuff buff_list = 6;</code>
|
* <code>repeated .RogueRecordAvatar avatar_list = 4;</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
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRecordInfo clearAvatarList() {
|
public RogueRecordInfo clearAvatarList() {
|
||||||
bitField0_ &= ~0x00000004;
|
bitField0_ &= ~0x00000002;
|
||||||
avatarList.clear();
|
avatarList.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
* <code>repeated .RogueRecordAvatar avatar_list = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -214,7 +146,7 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
* <code>repeated .RogueRecordAvatar avatar_list = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -223,42 +155,110 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public RepeatedMessage<RogueRecordAvatarOuterClass.RogueRecordAvatar> getMutableAvatarList() {
|
public RepeatedMessage<RogueRecordAvatarOuterClass.RogueRecordAvatar> getMutableAvatarList() {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000002;
|
||||||
return avatarList;
|
return avatarList;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
* <code>repeated .RogueRecordAvatar avatar_list = 4;</code>
|
||||||
* @param value the avatarList to add
|
* @param value the avatarList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRecordInfo addAvatarList(
|
public RogueRecordInfo addAvatarList(
|
||||||
final RogueRecordAvatarOuterClass.RogueRecordAvatar value) {
|
final RogueRecordAvatarOuterClass.RogueRecordAvatar value) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000002;
|
||||||
avatarList.add(value);
|
avatarList.add(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .RogueRecordAvatar avatar_list = 7;</code>
|
* <code>repeated .RogueRecordAvatar avatar_list = 4;</code>
|
||||||
* @param values the avatarList to add
|
* @param values the avatarList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRecordInfo addAllAvatarList(
|
public RogueRecordInfo addAllAvatarList(
|
||||||
final RogueRecordAvatarOuterClass.RogueRecordAvatar... values) {
|
final RogueRecordAvatarOuterClass.RogueRecordAvatar... values) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000002;
|
||||||
avatarList.addAll(values);
|
avatarList.addAll(values);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueBuff buff_list = 13;</code>
|
||||||
|
* @return whether the buffList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBuffList() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueBuff buff_list = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRecordInfo clearBuffList() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
buffList.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueBuff buff_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.
|
||||||
|
*
|
||||||
|
* 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 = 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
|
||||||
|
* 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_ |= 0x00000004;
|
||||||
|
return buffList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueBuff buff_list = 13;</code>
|
||||||
|
* @param value the buffList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRecordInfo addBuffList(final RogueBuffOuterClass.RogueBuff value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
buffList.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueBuff buff_list = 13;</code>
|
||||||
|
* @param values the buffList to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRecordInfo addAllBuffList(final RogueBuffOuterClass.RogueBuff... values) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
buffList.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RogueRecordInfo copyFrom(final RogueRecordInfo other) {
|
public RogueRecordInfo copyFrom(final RogueRecordInfo other) {
|
||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
rogueMiracleList.copyFrom(other.rogueMiracleList);
|
rogueMiracleList.copyFrom(other.rogueMiracleList);
|
||||||
buffList.copyFrom(other.buffList);
|
|
||||||
avatarList.copyFrom(other.avatarList);
|
avatarList.copyFrom(other.avatarList);
|
||||||
|
buffList.copyFrom(other.buffList);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -272,12 +272,12 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
if (other.hasRogueMiracleList()) {
|
if (other.hasRogueMiracleList()) {
|
||||||
getMutableRogueMiracleList().addAll(other.rogueMiracleList);
|
getMutableRogueMiracleList().addAll(other.rogueMiracleList);
|
||||||
}
|
}
|
||||||
if (other.hasBuffList()) {
|
|
||||||
getMutableBuffList().addAll(other.buffList);
|
|
||||||
}
|
|
||||||
if (other.hasAvatarList()) {
|
if (other.hasAvatarList()) {
|
||||||
getMutableAvatarList().addAll(other.avatarList);
|
getMutableAvatarList().addAll(other.avatarList);
|
||||||
}
|
}
|
||||||
|
if (other.hasBuffList()) {
|
||||||
|
getMutableBuffList().addAll(other.buffList);
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -289,8 +289,8 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
rogueMiracleList.clear();
|
rogueMiracleList.clear();
|
||||||
buffList.clear();
|
|
||||||
avatarList.clear();
|
avatarList.clear();
|
||||||
|
buffList.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -302,8 +302,8 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
rogueMiracleList.clear();
|
rogueMiracleList.clear();
|
||||||
buffList.clearQuick();
|
|
||||||
avatarList.clearQuick();
|
avatarList.clearQuick();
|
||||||
|
buffList.clearQuick();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -318,28 +318,28 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
RogueRecordInfo other = (RogueRecordInfo) o;
|
RogueRecordInfo other = (RogueRecordInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRogueMiracleList() || rogueMiracleList.equals(other.rogueMiracleList))
|
&& (!hasRogueMiracleList() || rogueMiracleList.equals(other.rogueMiracleList))
|
||||||
&& (!hasBuffList() || buffList.equals(other.buffList))
|
&& (!hasAvatarList() || avatarList.equals(other.avatarList))
|
||||||
&& (!hasAvatarList() || avatarList.equals(other.avatarList));
|
&& (!hasBuffList() || buffList.equals(other.buffList));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
for (int i = 0; i < rogueMiracleList.length(); i++) {
|
for (int i = 0; i < rogueMiracleList.length(); i++) {
|
||||||
output.writeRawByte((byte) 64);
|
output.writeRawByte((byte) 40);
|
||||||
output.writeUInt32NoTag(rogueMiracleList.array()[i]);
|
output.writeUInt32NoTag(rogueMiracleList.array()[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
for (int i = 0; i < buffList.length(); i++) {
|
for (int i = 0; i < avatarList.length(); i++) {
|
||||||
output.writeRawByte((byte) 50);
|
output.writeRawByte((byte) 34);
|
||||||
output.writeMessageNoTag(buffList.get(i));
|
output.writeMessageNoTag(avatarList.get(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
for (int i = 0; i < avatarList.length(); i++) {
|
for (int i = 0; i < buffList.length(); i++) {
|
||||||
output.writeRawByte((byte) 58);
|
output.writeRawByte((byte) 106);
|
||||||
output.writeMessageNoTag(avatarList.get(i));
|
output.writeMessageNoTag(buffList.get(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -351,10 +351,10 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
size += (1 * rogueMiracleList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(rogueMiracleList);
|
size += (1 * rogueMiracleList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(rogueMiracleList);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += (1 * buffList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(buffList);
|
size += (1 * avatarList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(avatarList);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += (1 * avatarList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(avatarList);
|
size += (1 * buffList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(buffList);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
@@ -366,26 +366,26 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 66: {
|
case 42: {
|
||||||
// rogueMiracleList [packed=true]
|
// rogueMiracleList [packed=true]
|
||||||
input.readPackedUInt32(rogueMiracleList, tag);
|
input.readPackedUInt32(rogueMiracleList, tag);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 50) {
|
if (tag != 34) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 50: {
|
case 34: {
|
||||||
// buffList
|
|
||||||
tag = input.readRepeatedMessage(buffList, tag);
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
if (tag != 58) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 58: {
|
|
||||||
// avatarList
|
// avatarList
|
||||||
tag = input.readRepeatedMessage(avatarList, tag);
|
tag = input.readRepeatedMessage(avatarList, tag);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
if (tag != 106) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 106: {
|
||||||
|
// buffList
|
||||||
|
tag = input.readRepeatedMessage(buffList, tag);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
@@ -401,7 +401,7 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 64: {
|
case 40: {
|
||||||
// rogueMiracleList [packed=false]
|
// rogueMiracleList [packed=false]
|
||||||
tag = input.readRepeatedUInt32(rogueMiracleList, tag);
|
tag = input.readRepeatedUInt32(rogueMiracleList, tag);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
@@ -418,10 +418,10 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
output.writeRepeatedUInt32(FieldNames.rogueMiracleList, rogueMiracleList);
|
output.writeRepeatedUInt32(FieldNames.rogueMiracleList, rogueMiracleList);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRepeatedMessage(FieldNames.buffList, buffList);
|
output.writeRepeatedMessage(FieldNames.avatarList, avatarList);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRepeatedMessage(FieldNames.avatarList, avatarList);
|
output.writeRepeatedMessage(FieldNames.buffList, buffList);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -445,11 +445,11 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -1522789487:
|
case -403402345:
|
||||||
case 55792906: {
|
case 397055940: {
|
||||||
if (input.isAtField(FieldNames.buffList)) {
|
if (input.isAtField(FieldNames.avatarList)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readRepeatedMessage(buffList);
|
input.readRepeatedMessage(avatarList);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -457,11 +457,11 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -403402345:
|
case -1522789487:
|
||||||
case 397055940: {
|
case 55792906: {
|
||||||
if (input.isAtField(FieldNames.avatarList)) {
|
if (input.isAtField(FieldNames.buffList)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readRepeatedMessage(avatarList);
|
input.readRepeatedMessage(buffList);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -524,9 +524,9 @@ public final class RogueRecordInfoOuterClass {
|
|||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName rogueMiracleList = FieldName.forField("rogueMiracleList", "rogue_miracle_list");
|
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");
|
static final FieldName avatarList = FieldName.forField("avatarList", "avatar_list");
|
||||||
|
|
||||||
|
static final FieldName buffList = FieldName.forField("buffList", "buff_list");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,283 @@
|
|||||||
|
// 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 RogueRerollBuffOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueRerollBuff}
|
||||||
|
*/
|
||||||
|
public static final class RogueRerollBuff extends ProtoMessage<RogueRerollBuff> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 11;</code>
|
||||||
|
*/
|
||||||
|
private final RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo buffSelectInfo = RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo.newInstance();
|
||||||
|
|
||||||
|
private RogueRerollBuff() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueRerollBuff}
|
||||||
|
*/
|
||||||
|
public static RogueRerollBuff newInstance() {
|
||||||
|
return new RogueRerollBuff();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 11;</code>
|
||||||
|
* @return whether the buffSelectInfo field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBuffSelectInfo() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 11;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRerollBuff clearBuffSelectInfo() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
buffSelectInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_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 #getMutableBuffSelectInfo()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo getBuffSelectInfo() {
|
||||||
|
return buffSelectInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo getMutableBuffSelectInfo(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return buffSelectInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonBuffSelectInfo buff_select_info = 11;</code>
|
||||||
|
* @param value the buffSelectInfo to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRerollBuff setBuffSelectInfo(
|
||||||
|
final RogueCommonBuffSelectInfoOuterClass.RogueCommonBuffSelectInfo value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
buffSelectInfo.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRerollBuff copyFrom(final RogueRerollBuff other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
buffSelectInfo.copyFrom(other.buffSelectInfo);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRerollBuff mergeFrom(final RogueRerollBuff other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasBuffSelectInfo()) {
|
||||||
|
getMutableBuffSelectInfo().mergeFrom(other.buffSelectInfo);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRerollBuff clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
buffSelectInfo.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRerollBuff clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
buffSelectInfo.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof RogueRerollBuff)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueRerollBuff other = (RogueRerollBuff) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBuffSelectInfo() || buffSelectInfo.equals(other.buffSelectInfo));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 90);
|
||||||
|
output.writeMessageNoTag(buffSelectInfo);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(buffSelectInfo);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueRerollBuff mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 90: {
|
||||||
|
// buffSelectInfo
|
||||||
|
input.readMessage(buffSelectInfo);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeMessage(FieldNames.buffSelectInfo, buffSelectInfo);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRerollBuff mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -255242115:
|
||||||
|
case 1500540965: {
|
||||||
|
if (input.isAtField(FieldNames.buffSelectInfo)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(buffSelectInfo);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRerollBuff clone() {
|
||||||
|
return new RogueRerollBuff().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueRerollBuff parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueRerollBuff(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueRerollBuff parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueRerollBuff(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueRerollBuff parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueRerollBuff(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueRerollBuff messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueRerollBuff> getFactory() {
|
||||||
|
return RogueRerollBuffFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueRerollBuffFactory implements MessageFactory<RogueRerollBuff> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRerollBuff create() {
|
||||||
|
return RogueRerollBuff.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName buffSelectInfo = FieldName.forField("buffSelectInfo", "buff_select_info");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,494 @@
|
|||||||
|
// 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 RogueRoomInfoOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueRoomInfo}
|
||||||
|
*/
|
||||||
|
public static final class RogueRoomInfo extends ProtoMessage<RogueRoomInfo> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
|
*/
|
||||||
|
private int siteId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
*/
|
||||||
|
private int roomId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
|
*/
|
||||||
|
private int roomStatus;
|
||||||
|
|
||||||
|
private RogueRoomInfo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueRoomInfo}
|
||||||
|
*/
|
||||||
|
public static RogueRoomInfo newInstance() {
|
||||||
|
return new RogueRoomInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
|
* @return whether the siteId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasSiteId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRoomInfo clearSiteId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
siteId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
|
* @return the siteId
|
||||||
|
*/
|
||||||
|
public int getSiteId() {
|
||||||
|
return siteId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
|
* @param value the siteId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRoomInfo setSiteId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
siteId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
* @return whether the roomId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRoomId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRoomInfo clearRoomId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
roomId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
* @return the roomId
|
||||||
|
*/
|
||||||
|
public int getRoomId() {
|
||||||
|
return roomId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
* @param value the roomId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRoomInfo setRoomId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
roomId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
|
* @return whether the roomStatus field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRoomStatus() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRoomInfo clearRoomStatus() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
roomStatus = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
|
* @return the roomStatus
|
||||||
|
*/
|
||||||
|
public RogueRoomStatusOuterClass.RogueRoomStatus getRoomStatus() {
|
||||||
|
return RogueRoomStatusOuterClass.RogueRoomStatus.forNumber(roomStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the value of the internal enum store. The result is
|
||||||
|
* equivalent to {@link RogueRoomInfo#getRoomStatus()}.getNumber().
|
||||||
|
*
|
||||||
|
* @return numeric wire representation
|
||||||
|
*/
|
||||||
|
public int getRoomStatusValue() {
|
||||||
|
return roomStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 RogueRoomStatusOuterClass.RogueRoomStatus}. Setting an invalid value
|
||||||
|
* can cause {@link RogueRoomInfo#getRoomStatus()} to return null
|
||||||
|
*
|
||||||
|
* @param value the numeric wire value to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRoomInfo setRoomStatusValue(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
roomStatus = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
|
* @param value the roomStatus to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRoomInfo setRoomStatus(final RogueRoomStatusOuterClass.RogueRoomStatus value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
roomStatus = value.getNumber();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRoomInfo copyFrom(final RogueRoomInfo other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
siteId = other.siteId;
|
||||||
|
roomId = other.roomId;
|
||||||
|
roomStatus = other.roomStatus;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRoomInfo mergeFrom(final RogueRoomInfo other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasSiteId()) {
|
||||||
|
setSiteId(other.siteId);
|
||||||
|
}
|
||||||
|
if (other.hasRoomId()) {
|
||||||
|
setRoomId(other.roomId);
|
||||||
|
}
|
||||||
|
if (other.hasRoomStatus()) {
|
||||||
|
setRoomStatusValue(other.roomStatus);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRoomInfo clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
siteId = 0;
|
||||||
|
roomId = 0;
|
||||||
|
roomStatus = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRoomInfo 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 RogueRoomInfo)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueRoomInfo other = (RogueRoomInfo) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasSiteId() || siteId == other.siteId)
|
||||||
|
&& (!hasRoomId() || roomId == other.roomId)
|
||||||
|
&& (!hasRoomStatus() || roomStatus == other.roomStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 96);
|
||||||
|
output.writeUInt32NoTag(siteId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 120);
|
||||||
|
output.writeUInt32NoTag(roomId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 104);
|
||||||
|
output.writeEnumNoTag(roomStatus);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(siteId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeEnumSizeNoTag(roomStatus);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueRoomInfo mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 96: {
|
||||||
|
// siteId
|
||||||
|
siteId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 120) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 120: {
|
||||||
|
// roomId
|
||||||
|
roomId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 104) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 104: {
|
||||||
|
// roomStatus
|
||||||
|
final int value = input.readInt32();
|
||||||
|
if (RogueRoomStatusOuterClass.RogueRoomStatus.forNumber(value) != null) {
|
||||||
|
roomStatus = 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.siteId, siteId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.roomId, roomId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeEnum(FieldNames.roomStatus, roomStatus, RogueRoomStatusOuterClass.RogueRoomStatus.converter());
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRoomInfo mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -902090046:
|
||||||
|
case 2100001043: {
|
||||||
|
if (input.isAtField(FieldNames.siteId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
siteId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -925319338:
|
||||||
|
case 1379892991: {
|
||||||
|
if (input.isAtField(FieldNames.roomId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
roomId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 926739629:
|
||||||
|
case 712617942: {
|
||||||
|
if (input.isAtField(FieldNames.roomStatus)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
final RogueRoomStatusOuterClass.RogueRoomStatus value = input.readEnum(RogueRoomStatusOuterClass.RogueRoomStatus.converter());
|
||||||
|
if (value != null) {
|
||||||
|
roomStatus = value.getNumber();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
} else {
|
||||||
|
input.skipUnknownEnumValue();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRoomInfo clone() {
|
||||||
|
return new RogueRoomInfo().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueRoomInfo parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueRoomInfo(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueRoomInfo parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueRoomInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueRoomInfo parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueRoomInfo(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueRoomInfo messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueRoomInfo> getFactory() {
|
||||||
|
return RogueRoomInfoFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueRoomInfoFactory implements MessageFactory<RogueRoomInfo> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueRoomInfo create() {
|
||||||
|
return RogueRoomInfo.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName siteId = FieldName.forField("siteId", "site_id");
|
||||||
|
|
||||||
|
static final FieldName roomId = FieldName.forField("roomId", "room_id");
|
||||||
|
|
||||||
|
static final FieldName roomStatus = FieldName.forField("roomStatus", "room_status");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,17 +19,25 @@ public final class RogueRoomOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 room_id = 7;</code>
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
*/
|
|
||||||
private int roomId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 site_id = 14;</code>
|
|
||||||
*/
|
*/
|
||||||
private int siteId;
|
private int siteId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoomStatus room_status = 2;</code>
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
*/
|
||||||
|
private int roomId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
*/
|
*/
|
||||||
private int roomStatus;
|
private int roomStatus;
|
||||||
|
|
||||||
@@ -44,62 +52,25 @@ public final class RogueRoomOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 room_id = 7;</code>
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
* @return whether the roomId field is set
|
* @return whether the siteId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRoomId() {
|
public boolean hasSiteId() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 room_id = 7;</code>
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueRoom clearRoomId() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
roomId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 room_id = 7;</code>
|
|
||||||
* @return the roomId
|
|
||||||
*/
|
|
||||||
public int getRoomId() {
|
|
||||||
return roomId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 room_id = 7;</code>
|
|
||||||
* @param value the roomId to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueRoom setRoomId(final int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
roomId = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 site_id = 14;</code>
|
|
||||||
* @return whether the siteId field is set
|
|
||||||
*/
|
|
||||||
public boolean hasSiteId() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 site_id = 14;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRoom clearSiteId() {
|
public RogueRoom clearSiteId() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000001;
|
||||||
siteId = 0;
|
siteId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 site_id = 14;</code>
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
* @return the siteId
|
* @return the siteId
|
||||||
*/
|
*/
|
||||||
public int getSiteId() {
|
public int getSiteId() {
|
||||||
@@ -107,18 +78,75 @@ public final class RogueRoomOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 site_id = 14;</code>
|
* <code>optional uint32 site_id = 12;</code>
|
||||||
* @param value the siteId to set
|
* @param value the siteId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRoom setSiteId(final int value) {
|
public RogueRoom setSiteId(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
siteId = value;
|
siteId = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoomStatus room_status = 2;</code>
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
* @return whether the roomId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRoomId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRoom clearRoomId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
roomId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
* @return the roomId
|
||||||
|
*/
|
||||||
|
public int getRoomId() {
|
||||||
|
return roomId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* uint32 BNKNFOGGPMG = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 room_id = 15;</code>
|
||||||
|
* @param value the roomId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueRoom setRoomId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
roomId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
* @return whether the roomStatus field is set
|
* @return whether the roomStatus field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRoomStatus() {
|
public boolean hasRoomStatus() {
|
||||||
@@ -126,7 +154,11 @@ public final class RogueRoomOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoomStatus room_status = 2;</code>
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueRoom clearRoomStatus() {
|
public RogueRoom clearRoomStatus() {
|
||||||
@@ -136,7 +168,11 @@ public final class RogueRoomOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoomStatus room_status = 2;</code>
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
* @return the roomStatus
|
* @return the roomStatus
|
||||||
*/
|
*/
|
||||||
public RogueRoomStatusOuterClass.RogueRoomStatus getRoomStatus() {
|
public RogueRoomStatusOuterClass.RogueRoomStatus getRoomStatus() {
|
||||||
@@ -169,7 +205,11 @@ public final class RogueRoomOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoomStatus room_status = 2;</code>
|
* <pre>
|
||||||
|
* IOLBGHALAHK MHIHFPAFLDO = 8;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueRoomStatus room_status = 13;</code>
|
||||||
* @param value the roomStatus to set
|
* @param value the roomStatus to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -184,8 +224,8 @@ public final class RogueRoomOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
roomId = other.roomId;
|
|
||||||
siteId = other.siteId;
|
siteId = other.siteId;
|
||||||
|
roomId = other.roomId;
|
||||||
roomStatus = other.roomStatus;
|
roomStatus = other.roomStatus;
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
@@ -197,12 +237,12 @@ public final class RogueRoomOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasRoomId()) {
|
|
||||||
setRoomId(other.roomId);
|
|
||||||
}
|
|
||||||
if (other.hasSiteId()) {
|
if (other.hasSiteId()) {
|
||||||
setSiteId(other.siteId);
|
setSiteId(other.siteId);
|
||||||
}
|
}
|
||||||
|
if (other.hasRoomId()) {
|
||||||
|
setRoomId(other.roomId);
|
||||||
|
}
|
||||||
if (other.hasRoomStatus()) {
|
if (other.hasRoomStatus()) {
|
||||||
setRoomStatusValue(other.roomStatus);
|
setRoomStatusValue(other.roomStatus);
|
||||||
}
|
}
|
||||||
@@ -216,8 +256,8 @@ public final class RogueRoomOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
roomId = 0;
|
|
||||||
siteId = 0;
|
siteId = 0;
|
||||||
|
roomId = 0;
|
||||||
roomStatus = 0;
|
roomStatus = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -242,23 +282,23 @@ public final class RogueRoomOuterClass {
|
|||||||
}
|
}
|
||||||
RogueRoom other = (RogueRoom) o;
|
RogueRoom other = (RogueRoom) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRoomId() || roomId == other.roomId)
|
|
||||||
&& (!hasSiteId() || siteId == other.siteId)
|
&& (!hasSiteId() || siteId == other.siteId)
|
||||||
|
&& (!hasRoomId() || roomId == other.roomId)
|
||||||
&& (!hasRoomStatus() || roomStatus == other.roomStatus);
|
&& (!hasRoomStatus() || roomStatus == other.roomStatus);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 56);
|
output.writeRawByte((byte) 96);
|
||||||
output.writeUInt32NoTag(roomId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 112);
|
|
||||||
output.writeUInt32NoTag(siteId);
|
output.writeUInt32NoTag(siteId);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 120);
|
||||||
|
output.writeUInt32NoTag(roomId);
|
||||||
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 16);
|
output.writeRawByte((byte) 104);
|
||||||
output.writeEnumNoTag(roomStatus);
|
output.writeEnumNoTag(roomStatus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -267,10 +307,10 @@ public final class RogueRoomOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(siteId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(siteId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(roomId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeEnumSizeNoTag(roomStatus);
|
size += 1 + ProtoSink.computeEnumSizeNoTag(roomStatus);
|
||||||
@@ -285,25 +325,25 @@ public final class RogueRoomOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 56: {
|
case 96: {
|
||||||
// roomId
|
|
||||||
roomId = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 112) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 112: {
|
|
||||||
// siteId
|
// siteId
|
||||||
siteId = input.readUInt32();
|
siteId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 16) {
|
if (tag != 120) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 16: {
|
case 120: {
|
||||||
|
// roomId
|
||||||
|
roomId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 104) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 104: {
|
||||||
// roomStatus
|
// roomStatus
|
||||||
final int value = input.readInt32();
|
final int value = input.readInt32();
|
||||||
if (RogueRoomStatusOuterClass.RogueRoomStatus.forNumber(value) != null) {
|
if (RogueRoomStatusOuterClass.RogueRoomStatus.forNumber(value) != null) {
|
||||||
@@ -333,10 +373,10 @@ public final class RogueRoomOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.roomId, roomId);
|
output.writeUInt32(FieldNames.siteId, siteId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.siteId, siteId);
|
output.writeUInt32(FieldNames.roomId, roomId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeEnum(FieldNames.roomStatus, roomStatus, RogueRoomStatusOuterClass.RogueRoomStatus.converter());
|
output.writeEnum(FieldNames.roomStatus, roomStatus, RogueRoomStatusOuterClass.RogueRoomStatus.converter());
|
||||||
@@ -351,11 +391,11 @@ public final class RogueRoomOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case -925319338:
|
case -902090046:
|
||||||
case 1379892991: {
|
case 2100001043: {
|
||||||
if (input.isAtField(FieldNames.roomId)) {
|
if (input.isAtField(FieldNames.siteId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
roomId = input.readUInt32();
|
siteId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -363,11 +403,11 @@ public final class RogueRoomOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -902090046:
|
case -925319338:
|
||||||
case 2100001043: {
|
case 1379892991: {
|
||||||
if (input.isAtField(FieldNames.siteId)) {
|
if (input.isAtField(FieldNames.roomId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
siteId = input.readUInt32();
|
roomId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -444,10 +484,10 @@ public final class RogueRoomOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName roomId = FieldName.forField("roomId", "room_id");
|
|
||||||
|
|
||||||
static final FieldName siteId = FieldName.forField("siteId", "site_id");
|
static final FieldName siteId = FieldName.forField("siteId", "site_id");
|
||||||
|
|
||||||
|
static final FieldName roomId = FieldName.forField("roomId", "room_id");
|
||||||
|
|
||||||
static final FieldName roomStatus = FieldName.forField("roomStatus", "room_status");
|
static final FieldName roomStatus = FieldName.forField("roomStatus", "room_status");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,16 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
public static final class RogueScoreRewardInfo extends ProtoMessage<RogueScoreRewardInfo> implements Cloneable {
|
public static final class RogueScoreRewardInfo extends ProtoMessage<RogueScoreRewardInfo> implements Cloneable {
|
||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 begin_time = 2;</code>
|
||||||
|
*/
|
||||||
|
private long beginTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 end_time = 15;</code>
|
||||||
|
*/
|
||||||
|
private long endTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 score = 8;</code>
|
* <code>optional uint32 score = 8;</code>
|
||||||
*/
|
*/
|
||||||
@@ -40,9 +50,13 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
private boolean poolRefreshed;
|
private boolean poolRefreshed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 taken_score_reward_list = 1;</code>
|
* <pre>
|
||||||
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated uint32 has_taken_reward = 1;</code>
|
||||||
*/
|
*/
|
||||||
private final RepeatedInt takenScoreRewardList = RepeatedInt.newEmptyInstance();
|
private final RepeatedInt hasTakenReward = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
private RogueScoreRewardInfo() {
|
private RogueScoreRewardInfo() {
|
||||||
}
|
}
|
||||||
@@ -54,12 +68,86 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
return new RogueScoreRewardInfo();
|
return new RogueScoreRewardInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 begin_time = 2;</code>
|
||||||
|
* @return whether the beginTime field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBeginTime() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 begin_time = 2;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueScoreRewardInfo clearBeginTime() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
beginTime = 0L;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 begin_time = 2;</code>
|
||||||
|
* @return the beginTime
|
||||||
|
*/
|
||||||
|
public long getBeginTime() {
|
||||||
|
return beginTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 begin_time = 2;</code>
|
||||||
|
* @param value the beginTime to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueScoreRewardInfo setBeginTime(final long value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
beginTime = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 end_time = 15;</code>
|
||||||
|
* @return whether the endTime field is set
|
||||||
|
*/
|
||||||
|
public boolean hasEndTime() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 end_time = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueScoreRewardInfo clearEndTime() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
endTime = 0L;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 end_time = 15;</code>
|
||||||
|
* @return the endTime
|
||||||
|
*/
|
||||||
|
public long getEndTime() {
|
||||||
|
return endTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional int64 end_time = 15;</code>
|
||||||
|
* @param value the endTime to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueScoreRewardInfo setEndTime(final long value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
endTime = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 score = 8;</code>
|
* <code>optional uint32 score = 8;</code>
|
||||||
* @return whether the score field is set
|
* @return whether the score field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasScore() {
|
public boolean hasScore() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -67,7 +155,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo clearScore() {
|
public RogueScoreRewardInfo clearScore() {
|
||||||
bitField0_ &= ~0x00000001;
|
bitField0_ &= ~0x00000004;
|
||||||
score = 0;
|
score = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -86,7 +174,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo setScore(final int value) {
|
public RogueScoreRewardInfo setScore(final int value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000004;
|
||||||
score = value;
|
score = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -96,7 +184,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return whether the poolId field is set
|
* @return whether the poolId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasPoolId() {
|
public boolean hasPoolId() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -104,7 +192,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo clearPoolId() {
|
public RogueScoreRewardInfo clearPoolId() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000008;
|
||||||
poolId = 0;
|
poolId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -123,7 +211,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo setPoolId(final int value) {
|
public RogueScoreRewardInfo setPoolId(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000008;
|
||||||
poolId = value;
|
poolId = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -133,7 +221,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return whether the hasTakenInitialScore field is set
|
* @return whether the hasTakenInitialScore field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasHasTakenInitialScore() {
|
public boolean hasHasTakenInitialScore() {
|
||||||
return (bitField0_ & 0x00000004) != 0;
|
return (bitField0_ & 0x00000010) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -141,7 +229,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo clearHasTakenInitialScore() {
|
public RogueScoreRewardInfo clearHasTakenInitialScore() {
|
||||||
bitField0_ &= ~0x00000004;
|
bitField0_ &= ~0x00000010;
|
||||||
hasTakenInitialScore = false;
|
hasTakenInitialScore = false;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -160,7 +248,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo setHasTakenInitialScore(final boolean value) {
|
public RogueScoreRewardInfo setHasTakenInitialScore(final boolean value) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000010;
|
||||||
hasTakenInitialScore = value;
|
hasTakenInitialScore = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -170,7 +258,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return whether the poolRefreshed field is set
|
* @return whether the poolRefreshed field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasPoolRefreshed() {
|
public boolean hasPoolRefreshed() {
|
||||||
return (bitField0_ & 0x00000008) != 0;
|
return (bitField0_ & 0x00000020) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -178,7 +266,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo clearPoolRefreshed() {
|
public RogueScoreRewardInfo clearPoolRefreshed() {
|
||||||
bitField0_ &= ~0x00000008;
|
bitField0_ &= ~0x00000020;
|
||||||
poolRefreshed = false;
|
poolRefreshed = false;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -197,45 +285,61 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo setPoolRefreshed(final boolean value) {
|
public RogueScoreRewardInfo setPoolRefreshed(final boolean value) {
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000020;
|
||||||
poolRefreshed = value;
|
poolRefreshed = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 taken_score_reward_list = 1;</code>
|
* <pre>
|
||||||
* @return whether the takenScoreRewardList field is set
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated uint32 has_taken_reward = 1;</code>
|
||||||
|
* @return whether the hasTakenReward field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasTakenScoreRewardList() {
|
public boolean hasHasTakenReward() {
|
||||||
return (bitField0_ & 0x00000010) != 0;
|
return (bitField0_ & 0x00000040) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 taken_score_reward_list = 1;</code>
|
* <pre>
|
||||||
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated uint32 has_taken_reward = 1;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo clearTakenScoreRewardList() {
|
public RogueScoreRewardInfo clearHasTakenReward() {
|
||||||
bitField0_ &= ~0x00000010;
|
bitField0_ &= ~0x00000040;
|
||||||
takenScoreRewardList.clear();
|
hasTakenReward.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 taken_score_reward_list = 1;</code>
|
* <pre>
|
||||||
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated uint32 has_taken_reward = 1;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
*
|
*
|
||||||
* Use {@link #getMutableTakenScoreRewardList()} if you want to modify it.
|
* Use {@link #getMutableHasTakenReward()} if you want to modify it.
|
||||||
*
|
*
|
||||||
* @return internal storage object for reading
|
* @return internal storage object for reading
|
||||||
*/
|
*/
|
||||||
public RepeatedInt getTakenScoreRewardList() {
|
public RepeatedInt getHasTakenReward() {
|
||||||
return takenScoreRewardList;
|
return hasTakenReward;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 taken_score_reward_list = 1;</code>
|
* <pre>
|
||||||
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated uint32 has_taken_reward = 1;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -243,30 +347,38 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
*
|
*
|
||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public RepeatedInt getMutableTakenScoreRewardList() {
|
public RepeatedInt getMutableHasTakenReward() {
|
||||||
bitField0_ |= 0x00000010;
|
bitField0_ |= 0x00000040;
|
||||||
return takenScoreRewardList;
|
return hasTakenReward;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 taken_score_reward_list = 1;</code>
|
* <pre>
|
||||||
* @param value the takenScoreRewardList to add
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated uint32 has_taken_reward = 1;</code>
|
||||||
|
* @param value the hasTakenReward to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo addTakenScoreRewardList(final int value) {
|
public RogueScoreRewardInfo addHasTakenReward(final int value) {
|
||||||
bitField0_ |= 0x00000010;
|
bitField0_ |= 0x00000040;
|
||||||
takenScoreRewardList.add(value);
|
hasTakenReward.add(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 taken_score_reward_list = 1;</code>
|
* <pre>
|
||||||
* @param values the takenScoreRewardList to add
|
* guess
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>repeated uint32 has_taken_reward = 1;</code>
|
||||||
|
* @param values the hasTakenReward to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueScoreRewardInfo addAllTakenScoreRewardList(final int... values) {
|
public RogueScoreRewardInfo addAllHasTakenReward(final int... values) {
|
||||||
bitField0_ |= 0x00000010;
|
bitField0_ |= 0x00000040;
|
||||||
takenScoreRewardList.addAll(values);
|
hasTakenReward.addAll(values);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -275,11 +387,13 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
|
beginTime = other.beginTime;
|
||||||
|
endTime = other.endTime;
|
||||||
score = other.score;
|
score = other.score;
|
||||||
poolId = other.poolId;
|
poolId = other.poolId;
|
||||||
hasTakenInitialScore = other.hasTakenInitialScore;
|
hasTakenInitialScore = other.hasTakenInitialScore;
|
||||||
poolRefreshed = other.poolRefreshed;
|
poolRefreshed = other.poolRefreshed;
|
||||||
takenScoreRewardList.copyFrom(other.takenScoreRewardList);
|
hasTakenReward.copyFrom(other.hasTakenReward);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -290,6 +404,12 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
|
if (other.hasBeginTime()) {
|
||||||
|
setBeginTime(other.beginTime);
|
||||||
|
}
|
||||||
|
if (other.hasEndTime()) {
|
||||||
|
setEndTime(other.endTime);
|
||||||
|
}
|
||||||
if (other.hasScore()) {
|
if (other.hasScore()) {
|
||||||
setScore(other.score);
|
setScore(other.score);
|
||||||
}
|
}
|
||||||
@@ -302,8 +422,8 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
if (other.hasPoolRefreshed()) {
|
if (other.hasPoolRefreshed()) {
|
||||||
setPoolRefreshed(other.poolRefreshed);
|
setPoolRefreshed(other.poolRefreshed);
|
||||||
}
|
}
|
||||||
if (other.hasTakenScoreRewardList()) {
|
if (other.hasHasTakenReward()) {
|
||||||
getMutableTakenScoreRewardList().addAll(other.takenScoreRewardList);
|
getMutableHasTakenReward().addAll(other.hasTakenReward);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -315,11 +435,13 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
|
beginTime = 0L;
|
||||||
|
endTime = 0L;
|
||||||
score = 0;
|
score = 0;
|
||||||
poolId = 0;
|
poolId = 0;
|
||||||
hasTakenInitialScore = false;
|
hasTakenInitialScore = false;
|
||||||
poolRefreshed = false;
|
poolRefreshed = false;
|
||||||
takenScoreRewardList.clear();
|
hasTakenReward.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -330,7 +452,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
takenScoreRewardList.clear();
|
hasTakenReward.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -344,35 +466,45 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
}
|
}
|
||||||
RogueScoreRewardInfo other = (RogueScoreRewardInfo) o;
|
RogueScoreRewardInfo other = (RogueScoreRewardInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasBeginTime() || beginTime == other.beginTime)
|
||||||
|
&& (!hasEndTime() || endTime == other.endTime)
|
||||||
&& (!hasScore() || score == other.score)
|
&& (!hasScore() || score == other.score)
|
||||||
&& (!hasPoolId() || poolId == other.poolId)
|
&& (!hasPoolId() || poolId == other.poolId)
|
||||||
&& (!hasHasTakenInitialScore() || hasTakenInitialScore == other.hasTakenInitialScore)
|
&& (!hasHasTakenInitialScore() || hasTakenInitialScore == other.hasTakenInitialScore)
|
||||||
&& (!hasPoolRefreshed() || poolRefreshed == other.poolRefreshed)
|
&& (!hasPoolRefreshed() || poolRefreshed == other.poolRefreshed)
|
||||||
&& (!hasTakenScoreRewardList() || takenScoreRewardList.equals(other.takenScoreRewardList));
|
&& (!hasHasTakenReward() || hasTakenReward.equals(other.hasTakenReward));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 16);
|
||||||
|
output.writeInt64NoTag(beginTime);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 120);
|
||||||
|
output.writeInt64NoTag(endTime);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 64);
|
output.writeRawByte((byte) 64);
|
||||||
output.writeUInt32NoTag(score);
|
output.writeUInt32NoTag(score);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeRawByte((byte) 88);
|
output.writeRawByte((byte) 88);
|
||||||
output.writeUInt32NoTag(poolId);
|
output.writeUInt32NoTag(poolId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
output.writeRawByte((byte) 32);
|
output.writeRawByte((byte) 32);
|
||||||
output.writeBoolNoTag(hasTakenInitialScore);
|
output.writeBoolNoTag(hasTakenInitialScore);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000020) != 0) {
|
||||||
output.writeRawByte((byte) 72);
|
output.writeRawByte((byte) 72);
|
||||||
output.writeBoolNoTag(poolRefreshed);
|
output.writeBoolNoTag(poolRefreshed);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000010) != 0) {
|
if ((bitField0_ & 0x00000040) != 0) {
|
||||||
for (int i = 0; i < takenScoreRewardList.length(); i++) {
|
for (int i = 0; i < hasTakenReward.length(); i++) {
|
||||||
output.writeRawByte((byte) 8);
|
output.writeRawByte((byte) 8);
|
||||||
output.writeUInt32NoTag(takenScoreRewardList.array()[i]);
|
output.writeUInt32NoTag(hasTakenReward.array()[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -381,19 +513,25 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
|
size += 1 + ProtoSink.computeInt64SizeNoTag(beginTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(poolId);
|
size += 1 + ProtoSink.computeInt64SizeNoTag(endTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 2;
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(score);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
size += 2;
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(poolId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000010) != 0) {
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
size += (1 * takenScoreRewardList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(takenScoreRewardList);
|
size += 2;
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000020) != 0) {
|
||||||
|
size += 2;
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000040) != 0) {
|
||||||
|
size += (1 * hasTakenReward.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(hasTakenReward);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
@@ -405,10 +543,28 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
|
case 16: {
|
||||||
|
// beginTime
|
||||||
|
beginTime = input.readInt64();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 120) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 120: {
|
||||||
|
// endTime
|
||||||
|
endTime = input.readInt64();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 64) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
case 64: {
|
case 64: {
|
||||||
// score
|
// score
|
||||||
score = input.readUInt32();
|
score = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000004;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 88) {
|
if (tag != 88) {
|
||||||
break;
|
break;
|
||||||
@@ -417,7 +573,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
case 88: {
|
case 88: {
|
||||||
// poolId
|
// poolId
|
||||||
poolId = input.readUInt32();
|
poolId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000008;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 32) {
|
if (tag != 32) {
|
||||||
break;
|
break;
|
||||||
@@ -426,7 +582,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
case 32: {
|
case 32: {
|
||||||
// hasTakenInitialScore
|
// hasTakenInitialScore
|
||||||
hasTakenInitialScore = input.readBool();
|
hasTakenInitialScore = input.readBool();
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000010;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 72) {
|
if (tag != 72) {
|
||||||
break;
|
break;
|
||||||
@@ -435,16 +591,16 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
case 72: {
|
case 72: {
|
||||||
// poolRefreshed
|
// poolRefreshed
|
||||||
poolRefreshed = input.readBool();
|
poolRefreshed = input.readBool();
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000020;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 10) {
|
if (tag != 10) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 10: {
|
case 10: {
|
||||||
// takenScoreRewardList [packed=true]
|
// hasTakenReward [packed=true]
|
||||||
input.readPackedUInt32(takenScoreRewardList, tag);
|
input.readPackedUInt32(hasTakenReward, tag);
|
||||||
bitField0_ |= 0x00000010;
|
bitField0_ |= 0x00000040;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
@@ -461,9 +617,9 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 8: {
|
case 8: {
|
||||||
// takenScoreRewardList [packed=false]
|
// hasTakenReward [packed=false]
|
||||||
tag = input.readRepeatedUInt32(takenScoreRewardList, tag);
|
tag = input.readRepeatedUInt32(hasTakenReward, tag);
|
||||||
bitField0_ |= 0x00000010;
|
bitField0_ |= 0x00000040;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -474,19 +630,25 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.score, score);
|
output.writeInt64(FieldNames.beginTime, beginTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.poolId, poolId);
|
output.writeInt64(FieldNames.endTime, endTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeBool(FieldNames.hasTakenInitialScore, hasTakenInitialScore);
|
output.writeUInt32(FieldNames.score, score);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeBool(FieldNames.poolRefreshed, poolRefreshed);
|
output.writeUInt32(FieldNames.poolId, poolId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000010) != 0) {
|
if ((bitField0_ & 0x00000010) != 0) {
|
||||||
output.writeRepeatedUInt32(FieldNames.takenScoreRewardList, takenScoreRewardList);
|
output.writeBool(FieldNames.hasTakenInitialScore, hasTakenInitialScore);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000020) != 0) {
|
||||||
|
output.writeBool(FieldNames.poolRefreshed, poolRefreshed);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000040) != 0) {
|
||||||
|
output.writeRepeatedUInt32(FieldNames.hasTakenReward, hasTakenReward);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -498,11 +660,35 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
|
case -1072839914:
|
||||||
|
case 1112183971: {
|
||||||
|
if (input.isAtField(FieldNames.beginTime)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
beginTime = input.readInt64();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1607243192:
|
||||||
|
case 1725551537: {
|
||||||
|
if (input.isAtField(FieldNames.endTime)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
endTime = input.readInt64();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 109264530: {
|
case 109264530: {
|
||||||
if (input.isAtField(FieldNames.score)) {
|
if (input.isAtField(FieldNames.score)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
score = input.readUInt32();
|
score = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000004;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -514,7 +700,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
if (input.isAtField(FieldNames.poolId)) {
|
if (input.isAtField(FieldNames.poolId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
poolId = input.readUInt32();
|
poolId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000008;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -526,7 +712,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
if (input.isAtField(FieldNames.hasTakenInitialScore)) {
|
if (input.isAtField(FieldNames.hasTakenInitialScore)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
hasTakenInitialScore = input.readBool();
|
hasTakenInitialScore = input.readBool();
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000010;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -538,19 +724,19 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
if (input.isAtField(FieldNames.poolRefreshed)) {
|
if (input.isAtField(FieldNames.poolRefreshed)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
poolRefreshed = input.readBool();
|
poolRefreshed = input.readBool();
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000020;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -1204149032:
|
case 1115551708:
|
||||||
case -1139944439: {
|
case 905949996: {
|
||||||
if (input.isAtField(FieldNames.takenScoreRewardList)) {
|
if (input.isAtField(FieldNames.hasTakenReward)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readRepeatedUInt32(takenScoreRewardList);
|
input.readRepeatedUInt32(hasTakenReward);
|
||||||
bitField0_ |= 0x00000010;
|
bitField0_ |= 0x00000040;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -610,6 +796,10 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
|
static final FieldName beginTime = FieldName.forField("beginTime", "begin_time");
|
||||||
|
|
||||||
|
static final FieldName endTime = FieldName.forField("endTime", "end_time");
|
||||||
|
|
||||||
static final FieldName score = FieldName.forField("score");
|
static final FieldName score = FieldName.forField("score");
|
||||||
|
|
||||||
static final FieldName poolId = FieldName.forField("poolId", "pool_id");
|
static final FieldName poolId = FieldName.forField("poolId", "pool_id");
|
||||||
@@ -618,7 +808,7 @@ public final class RogueScoreRewardInfoOuterClass {
|
|||||||
|
|
||||||
static final FieldName poolRefreshed = FieldName.forField("poolRefreshed", "pool_refreshed");
|
static final FieldName poolRefreshed = FieldName.forField("poolRefreshed", "pool_refreshed");
|
||||||
|
|
||||||
static final FieldName takenScoreRewardList = FieldName.forField("takenScoreRewardList", "taken_score_reward_list");
|
static final FieldName hasTakenReward = FieldName.forField("hasTakenReward", "has_taken_reward");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,17 +19,17 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 begin_time = 9;</code>
|
* <code>optional int64 begin_time = 6;</code>
|
||||||
*/
|
*/
|
||||||
private long beginTime;
|
private long beginTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 end_time = 14;</code>
|
* <code>optional int64 end_time = 10;</code>
|
||||||
*/
|
*/
|
||||||
private long endTime;
|
private long endTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 season_id = 13;</code>
|
* <code>optional uint32 season_id = 11;</code>
|
||||||
*/
|
*/
|
||||||
private int seasonId;
|
private int seasonId;
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 begin_time = 9;</code>
|
* <code>optional int64 begin_time = 6;</code>
|
||||||
* @return whether the beginTime field is set
|
* @return whether the beginTime field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasBeginTime() {
|
public boolean hasBeginTime() {
|
||||||
@@ -52,7 +52,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 begin_time = 9;</code>
|
* <code>optional int64 begin_time = 6;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueSeasonInfo clearBeginTime() {
|
public RogueSeasonInfo clearBeginTime() {
|
||||||
@@ -62,7 +62,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 begin_time = 9;</code>
|
* <code>optional int64 begin_time = 6;</code>
|
||||||
* @return the beginTime
|
* @return the beginTime
|
||||||
*/
|
*/
|
||||||
public long getBeginTime() {
|
public long getBeginTime() {
|
||||||
@@ -70,7 +70,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 begin_time = 9;</code>
|
* <code>optional int64 begin_time = 6;</code>
|
||||||
* @param value the beginTime to set
|
* @param value the beginTime to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -81,7 +81,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 end_time = 14;</code>
|
* <code>optional int64 end_time = 10;</code>
|
||||||
* @return whether the endTime field is set
|
* @return whether the endTime field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasEndTime() {
|
public boolean hasEndTime() {
|
||||||
@@ -89,7 +89,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 end_time = 14;</code>
|
* <code>optional int64 end_time = 10;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueSeasonInfo clearEndTime() {
|
public RogueSeasonInfo clearEndTime() {
|
||||||
@@ -99,7 +99,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 end_time = 14;</code>
|
* <code>optional int64 end_time = 10;</code>
|
||||||
* @return the endTime
|
* @return the endTime
|
||||||
*/
|
*/
|
||||||
public long getEndTime() {
|
public long getEndTime() {
|
||||||
@@ -107,7 +107,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional int64 end_time = 14;</code>
|
* <code>optional int64 end_time = 10;</code>
|
||||||
* @param value the endTime to set
|
* @param value the endTime to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -118,7 +118,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 season_id = 13;</code>
|
* <code>optional uint32 season_id = 11;</code>
|
||||||
* @return whether the seasonId field is set
|
* @return whether the seasonId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasSeasonId() {
|
public boolean hasSeasonId() {
|
||||||
@@ -126,7 +126,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 season_id = 13;</code>
|
* <code>optional uint32 season_id = 11;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueSeasonInfo clearSeasonId() {
|
public RogueSeasonInfo clearSeasonId() {
|
||||||
@@ -136,7 +136,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 season_id = 13;</code>
|
* <code>optional uint32 season_id = 11;</code>
|
||||||
* @return the seasonId
|
* @return the seasonId
|
||||||
*/
|
*/
|
||||||
public int getSeasonId() {
|
public int getSeasonId() {
|
||||||
@@ -144,7 +144,7 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 season_id = 13;</code>
|
* <code>optional uint32 season_id = 11;</code>
|
||||||
* @param value the seasonId to set
|
* @param value the seasonId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -225,15 +225,15 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 72);
|
output.writeRawByte((byte) 48);
|
||||||
output.writeInt64NoTag(beginTime);
|
output.writeInt64NoTag(beginTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 112);
|
output.writeRawByte((byte) 80);
|
||||||
output.writeInt64NoTag(endTime);
|
output.writeInt64NoTag(endTime);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeRawByte((byte) 104);
|
output.writeRawByte((byte) 88);
|
||||||
output.writeUInt32NoTag(seasonId);
|
output.writeUInt32NoTag(seasonId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -260,25 +260,25 @@ public final class RogueSeasonInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 72: {
|
case 48: {
|
||||||
// beginTime
|
// beginTime
|
||||||
beginTime = input.readInt64();
|
beginTime = input.readInt64();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 112) {
|
if (tag != 80) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 112: {
|
case 80: {
|
||||||
// endTime
|
// endTime
|
||||||
endTime = input.readInt64();
|
endTime = input.readInt64();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 104) {
|
if (tag != 88) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 104: {
|
case 88: {
|
||||||
// seasonId
|
// seasonId
|
||||||
seasonId = input.readUInt32();
|
seasonId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
|
|||||||
@@ -0,0 +1,419 @@
|
|||||||
|
// 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 RogueUpdateOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueUpdate}
|
||||||
|
*/
|
||||||
|
public static final class RogueUpdate extends ProtoMessage<RogueUpdate> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
|
*/
|
||||||
|
private int areaId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LOKIGPFHHIN = 8;</code>
|
||||||
|
*/
|
||||||
|
private int lOKIGPFHHIN;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KPJNNFIINNB = 12;</code>
|
||||||
|
*/
|
||||||
|
private int kPJNNFIINNB;
|
||||||
|
|
||||||
|
private RogueUpdate() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueUpdate}
|
||||||
|
*/
|
||||||
|
public static RogueUpdate newInstance() {
|
||||||
|
return new RogueUpdate();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
|
* @return whether the areaId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasAreaId() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueUpdate clearAreaId() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
areaId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
|
* @return the areaId
|
||||||
|
*/
|
||||||
|
public int getAreaId() {
|
||||||
|
return areaId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 area_id = 7;</code>
|
||||||
|
* @param value the areaId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueUpdate setAreaId(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
areaId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LOKIGPFHHIN = 8;</code>
|
||||||
|
* @return whether the lOKIGPFHHIN field is set
|
||||||
|
*/
|
||||||
|
public boolean hasLOKIGPFHHIN() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LOKIGPFHHIN = 8;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueUpdate clearLOKIGPFHHIN() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
lOKIGPFHHIN = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LOKIGPFHHIN = 8;</code>
|
||||||
|
* @return the lOKIGPFHHIN
|
||||||
|
*/
|
||||||
|
public int getLOKIGPFHHIN() {
|
||||||
|
return lOKIGPFHHIN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 LOKIGPFHHIN = 8;</code>
|
||||||
|
* @param value the lOKIGPFHHIN to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueUpdate setLOKIGPFHHIN(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
lOKIGPFHHIN = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KPJNNFIINNB = 12;</code>
|
||||||
|
* @return whether the kPJNNFIINNB field is set
|
||||||
|
*/
|
||||||
|
public boolean hasKPJNNFIINNB() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KPJNNFIINNB = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueUpdate clearKPJNNFIINNB() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
kPJNNFIINNB = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KPJNNFIINNB = 12;</code>
|
||||||
|
* @return the kPJNNFIINNB
|
||||||
|
*/
|
||||||
|
public int getKPJNNFIINNB() {
|
||||||
|
return kPJNNFIINNB;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 KPJNNFIINNB = 12;</code>
|
||||||
|
* @param value the kPJNNFIINNB to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueUpdate setKPJNNFIINNB(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
kPJNNFIINNB = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueUpdate copyFrom(final RogueUpdate other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
areaId = other.areaId;
|
||||||
|
lOKIGPFHHIN = other.lOKIGPFHHIN;
|
||||||
|
kPJNNFIINNB = other.kPJNNFIINNB;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueUpdate mergeFrom(final RogueUpdate other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasAreaId()) {
|
||||||
|
setAreaId(other.areaId);
|
||||||
|
}
|
||||||
|
if (other.hasLOKIGPFHHIN()) {
|
||||||
|
setLOKIGPFHHIN(other.lOKIGPFHHIN);
|
||||||
|
}
|
||||||
|
if (other.hasKPJNNFIINNB()) {
|
||||||
|
setKPJNNFIINNB(other.kPJNNFIINNB);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueUpdate clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
areaId = 0;
|
||||||
|
lOKIGPFHHIN = 0;
|
||||||
|
kPJNNFIINNB = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueUpdate 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 RogueUpdate)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueUpdate other = (RogueUpdate) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasAreaId() || areaId == other.areaId)
|
||||||
|
&& (!hasLOKIGPFHHIN() || lOKIGPFHHIN == other.lOKIGPFHHIN)
|
||||||
|
&& (!hasKPJNNFIINNB() || kPJNNFIINNB == other.kPJNNFIINNB);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 56);
|
||||||
|
output.writeUInt32NoTag(areaId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 64);
|
||||||
|
output.writeUInt32NoTag(lOKIGPFHHIN);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 96);
|
||||||
|
output.writeUInt32NoTag(kPJNNFIINNB);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(areaId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(lOKIGPFHHIN);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(kPJNNFIINNB);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueUpdate mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 56: {
|
||||||
|
// areaId
|
||||||
|
areaId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 64) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 64: {
|
||||||
|
// lOKIGPFHHIN
|
||||||
|
lOKIGPFHHIN = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 96) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 96: {
|
||||||
|
// kPJNNFIINNB
|
||||||
|
kPJNNFIINNB = input.readUInt32();
|
||||||
|
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.areaId, areaId);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.lOKIGPFHHIN, lOKIGPFHHIN);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.kPJNNFIINNB, kPJNNFIINNB);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueUpdate mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1409553784:
|
||||||
|
case -746472947: {
|
||||||
|
if (input.isAtField(FieldNames.areaId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
areaId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -567563551: {
|
||||||
|
if (input.isAtField(FieldNames.lOKIGPFHHIN)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
lOKIGPFHHIN = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 303551777: {
|
||||||
|
if (input.isAtField(FieldNames.kPJNNFIINNB)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
kPJNNFIINNB = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueUpdate clone() {
|
||||||
|
return new RogueUpdate().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueUpdate parseFrom(final byte[] data) throws InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueUpdate(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueUpdate parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueUpdate(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueUpdate parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueUpdate(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueUpdate messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueUpdate> getFactory() {
|
||||||
|
return RogueUpdateFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueUpdateFactory implements MessageFactory<RogueUpdate> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueUpdate create() {
|
||||||
|
return RogueUpdate.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName areaId = FieldName.forField("areaId", "area_id");
|
||||||
|
|
||||||
|
static final FieldName lOKIGPFHHIN = FieldName.forField("LOKIGPFHHIN");
|
||||||
|
|
||||||
|
static final FieldName kPJNNFIINNB = FieldName.forField("KPJNNFIINNB");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,24 +19,14 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_ability_point = 7;</code>
|
* <code>optional uint32 money = 1;</code>
|
||||||
*/
|
*/
|
||||||
private int rogueAbilityPoint;
|
private int money;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_puman_coupon = 8;</code>
|
* <code>optional uint32 X = 4;</code>
|
||||||
*/
|
*/
|
||||||
private int roguePumanCoupon;
|
private int x;
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_coin = 10;</code>
|
|
||||||
*/
|
|
||||||
private int rogueCoin;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_immersifier = 13;</code>
|
|
||||||
*/
|
|
||||||
private int rogueImmersifier;
|
|
||||||
|
|
||||||
private RogueVirtualItemInfo() {
|
private RogueVirtualItemInfo() {
|
||||||
}
|
}
|
||||||
@@ -49,150 +39,76 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_ability_point = 7;</code>
|
* <code>optional uint32 money = 1;</code>
|
||||||
* @return whether the rogueAbilityPoint field is set
|
* @return whether the money field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueAbilityPoint() {
|
public boolean hasMoney() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_ability_point = 7;</code>
|
* <code>optional uint32 money = 1;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueVirtualItemInfo clearRogueAbilityPoint() {
|
public RogueVirtualItemInfo clearMoney() {
|
||||||
bitField0_ &= ~0x00000001;
|
bitField0_ &= ~0x00000001;
|
||||||
rogueAbilityPoint = 0;
|
money = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_ability_point = 7;</code>
|
* <code>optional uint32 money = 1;</code>
|
||||||
* @return the rogueAbilityPoint
|
* @return the money
|
||||||
*/
|
*/
|
||||||
public int getRogueAbilityPoint() {
|
public int getMoney() {
|
||||||
return rogueAbilityPoint;
|
return money;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_ability_point = 7;</code>
|
* <code>optional uint32 money = 1;</code>
|
||||||
* @param value the rogueAbilityPoint to set
|
* @param value the money to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueVirtualItemInfo setRogueAbilityPoint(final int value) {
|
public RogueVirtualItemInfo setMoney(final int value) {
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
rogueAbilityPoint = value;
|
money = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_puman_coupon = 8;</code>
|
* <code>optional uint32 X = 4;</code>
|
||||||
* @return whether the roguePumanCoupon field is set
|
* @return whether the x field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRoguePumanCoupon() {
|
public boolean hasX() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_puman_coupon = 8;</code>
|
* <code>optional uint32 X = 4;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueVirtualItemInfo clearRoguePumanCoupon() {
|
public RogueVirtualItemInfo clearX() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000002;
|
||||||
roguePumanCoupon = 0;
|
x = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_puman_coupon = 8;</code>
|
* <code>optional uint32 X = 4;</code>
|
||||||
* @return the roguePumanCoupon
|
* @return the x
|
||||||
*/
|
*/
|
||||||
public int getRoguePumanCoupon() {
|
public int getX() {
|
||||||
return roguePumanCoupon;
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 rogue_puman_coupon = 8;</code>
|
* <code>optional uint32 X = 4;</code>
|
||||||
* @param value the roguePumanCoupon to set
|
* @param value the x to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public RogueVirtualItemInfo setRoguePumanCoupon(final int value) {
|
public RogueVirtualItemInfo setX(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
roguePumanCoupon = value;
|
x = value;
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_coin = 10;</code>
|
|
||||||
* @return whether the rogueCoin field is set
|
|
||||||
*/
|
|
||||||
public boolean hasRogueCoin() {
|
|
||||||
return (bitField0_ & 0x00000004) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_coin = 10;</code>
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueVirtualItemInfo clearRogueCoin() {
|
|
||||||
bitField0_ &= ~0x00000004;
|
|
||||||
rogueCoin = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_coin = 10;</code>
|
|
||||||
* @return the rogueCoin
|
|
||||||
*/
|
|
||||||
public int getRogueCoin() {
|
|
||||||
return rogueCoin;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_coin = 10;</code>
|
|
||||||
* @param value the rogueCoin to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueVirtualItemInfo setRogueCoin(final int value) {
|
|
||||||
bitField0_ |= 0x00000004;
|
|
||||||
rogueCoin = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_immersifier = 13;</code>
|
|
||||||
* @return whether the rogueImmersifier field is set
|
|
||||||
*/
|
|
||||||
public boolean hasRogueImmersifier() {
|
|
||||||
return (bitField0_ & 0x00000008) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_immersifier = 13;</code>
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueVirtualItemInfo clearRogueImmersifier() {
|
|
||||||
bitField0_ &= ~0x00000008;
|
|
||||||
rogueImmersifier = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_immersifier = 13;</code>
|
|
||||||
* @return the rogueImmersifier
|
|
||||||
*/
|
|
||||||
public int getRogueImmersifier() {
|
|
||||||
return rogueImmersifier;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 rogue_immersifier = 13;</code>
|
|
||||||
* @param value the rogueImmersifier to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public RogueVirtualItemInfo setRogueImmersifier(final int value) {
|
|
||||||
bitField0_ |= 0x00000008;
|
|
||||||
rogueImmersifier = value;
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -201,10 +117,8 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
rogueAbilityPoint = other.rogueAbilityPoint;
|
money = other.money;
|
||||||
roguePumanCoupon = other.roguePumanCoupon;
|
x = other.x;
|
||||||
rogueCoin = other.rogueCoin;
|
|
||||||
rogueImmersifier = other.rogueImmersifier;
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -215,17 +129,11 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
if (other.hasRogueAbilityPoint()) {
|
if (other.hasMoney()) {
|
||||||
setRogueAbilityPoint(other.rogueAbilityPoint);
|
setMoney(other.money);
|
||||||
}
|
}
|
||||||
if (other.hasRoguePumanCoupon()) {
|
if (other.hasX()) {
|
||||||
setRoguePumanCoupon(other.roguePumanCoupon);
|
setX(other.x);
|
||||||
}
|
|
||||||
if (other.hasRogueCoin()) {
|
|
||||||
setRogueCoin(other.rogueCoin);
|
|
||||||
}
|
|
||||||
if (other.hasRogueImmersifier()) {
|
|
||||||
setRogueImmersifier(other.rogueImmersifier);
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -237,10 +145,8 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
rogueAbilityPoint = 0;
|
money = 0;
|
||||||
roguePumanCoupon = 0;
|
x = 0;
|
||||||
rogueCoin = 0;
|
|
||||||
rogueImmersifier = 0;
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -264,29 +170,19 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
}
|
}
|
||||||
RogueVirtualItemInfo other = (RogueVirtualItemInfo) o;
|
RogueVirtualItemInfo other = (RogueVirtualItemInfo) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRogueAbilityPoint() || rogueAbilityPoint == other.rogueAbilityPoint)
|
&& (!hasMoney() || money == other.money)
|
||||||
&& (!hasRoguePumanCoupon() || roguePumanCoupon == other.roguePumanCoupon)
|
&& (!hasX() || x == other.x);
|
||||||
&& (!hasRogueCoin() || rogueCoin == other.rogueCoin)
|
|
||||||
&& (!hasRogueImmersifier() || rogueImmersifier == other.rogueImmersifier);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 56);
|
output.writeRawByte((byte) 8);
|
||||||
output.writeUInt32NoTag(rogueAbilityPoint);
|
output.writeUInt32NoTag(money);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 64);
|
output.writeRawByte((byte) 32);
|
||||||
output.writeUInt32NoTag(roguePumanCoupon);
|
output.writeUInt32NoTag(x);
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
|
||||||
output.writeRawByte((byte) 80);
|
|
||||||
output.writeUInt32NoTag(rogueCoin);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
|
||||||
output.writeRawByte((byte) 104);
|
|
||||||
output.writeUInt32NoTag(rogueImmersifier);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -294,16 +190,10 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(rogueAbilityPoint);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(money);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(roguePumanCoupon);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(x);
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(rogueCoin);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(rogueImmersifier);
|
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
@@ -315,38 +205,20 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 56: {
|
case 8: {
|
||||||
// rogueAbilityPoint
|
// money
|
||||||
rogueAbilityPoint = input.readUInt32();
|
money = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 64) {
|
if (tag != 32) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 64: {
|
case 32: {
|
||||||
// roguePumanCoupon
|
// x
|
||||||
roguePumanCoupon = input.readUInt32();
|
x = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 80) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 80: {
|
|
||||||
// rogueCoin
|
|
||||||
rogueCoin = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000004;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 104) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 104: {
|
|
||||||
// rogueImmersifier
|
|
||||||
rogueImmersifier = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000008;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -369,16 +241,10 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.rogueAbilityPoint, rogueAbilityPoint);
|
output.writeUInt32(FieldNames.money, money);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.roguePumanCoupon, roguePumanCoupon);
|
output.writeUInt32(FieldNames.x, x);
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.rogueCoin, rogueCoin);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.rogueImmersifier, rogueImmersifier);
|
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -390,11 +256,10 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case 1319384448:
|
case 104079552: {
|
||||||
case -1613205354: {
|
if (input.isAtField(FieldNames.money)) {
|
||||||
if (input.isAtField(FieldNames.rogueAbilityPoint)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
rogueAbilityPoint = input.readUInt32();
|
money = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -402,11 +267,10 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 845104001:
|
case 88: {
|
||||||
case -2086985547: {
|
if (input.isAtField(FieldNames.x)) {
|
||||||
if (input.isAtField(FieldNames.roguePumanCoupon)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
roguePumanCoupon = input.readUInt32();
|
x = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -414,30 +278,6 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 655631243:
|
|
||||||
case -1124761130: {
|
|
||||||
if (input.isAtField(FieldNames.rogueCoin)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
rogueCoin = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000004;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 1115528066:
|
|
||||||
case -1695636777: {
|
|
||||||
if (input.isAtField(FieldNames.rogueImmersifier)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
|
||||||
rogueImmersifier = input.readUInt32();
|
|
||||||
bitField0_ |= 0x00000008;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
input.skipUnknownField();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
break;
|
break;
|
||||||
@@ -491,13 +331,9 @@ public final class RogueVirtualItemInfoOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName rogueAbilityPoint = FieldName.forField("rogueAbilityPoint", "rogue_ability_point");
|
static final FieldName money = FieldName.forField("money");
|
||||||
|
|
||||||
static final FieldName roguePumanCoupon = FieldName.forField("roguePumanCoupon", "rogue_puman_coupon");
|
static final FieldName x = FieldName.forField("X");
|
||||||
|
|
||||||
static final FieldName rogueCoin = FieldName.forField("rogueCoin", "rogue_coin");
|
|
||||||
|
|
||||||
static final FieldName rogueImmersifier = FieldName.forField("rogueImmersifier", "rogue_immersifier");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,499 @@
|
|||||||
|
// 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 RogueVirtualItemOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code RogueVirtualItem}
|
||||||
|
*/
|
||||||
|
public static final class RogueVirtualItem extends ProtoMessage<RogueVirtualItem> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
*/
|
||||||
|
private int mFOPPKIBGNJ;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
*/
|
||||||
|
private int dDOPHIJMILL;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
*/
|
||||||
|
private int aCJKANLIGBM;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 money = 15;</code>
|
||||||
|
*/
|
||||||
|
private int money;
|
||||||
|
|
||||||
|
private RogueVirtualItem() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code RogueVirtualItem}
|
||||||
|
*/
|
||||||
|
public static RogueVirtualItem newInstance() {
|
||||||
|
return new RogueVirtualItem();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
* @return whether the mFOPPKIBGNJ field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMFOPPKIBGNJ() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueVirtualItem clearMFOPPKIBGNJ() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
mFOPPKIBGNJ = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
* @return the mFOPPKIBGNJ
|
||||||
|
*/
|
||||||
|
public int getMFOPPKIBGNJ() {
|
||||||
|
return mFOPPKIBGNJ;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 MFOPPKIBGNJ = 8;</code>
|
||||||
|
* @param value the mFOPPKIBGNJ to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueVirtualItem setMFOPPKIBGNJ(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
mFOPPKIBGNJ = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
* @return whether the dDOPHIJMILL field is set
|
||||||
|
*/
|
||||||
|
public boolean hasDDOPHIJMILL() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueVirtualItem clearDDOPHIJMILL() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
dDOPHIJMILL = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
* @return the dDOPHIJMILL
|
||||||
|
*/
|
||||||
|
public int getDDOPHIJMILL() {
|
||||||
|
return dDOPHIJMILL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 DDOPHIJMILL = 9;</code>
|
||||||
|
* @param value the dDOPHIJMILL to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueVirtualItem setDDOPHIJMILL(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
dDOPHIJMILL = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
* @return whether the aCJKANLIGBM field is set
|
||||||
|
*/
|
||||||
|
public boolean hasACJKANLIGBM() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueVirtualItem clearACJKANLIGBM() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
aCJKANLIGBM = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
* @return the aCJKANLIGBM
|
||||||
|
*/
|
||||||
|
public int getACJKANLIGBM() {
|
||||||
|
return aCJKANLIGBM;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ACJKANLIGBM = 10;</code>
|
||||||
|
* @param value the aCJKANLIGBM to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueVirtualItem setACJKANLIGBM(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
aCJKANLIGBM = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 money = 15;</code>
|
||||||
|
* @return whether the money field is set
|
||||||
|
*/
|
||||||
|
public boolean hasMoney() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 money = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueVirtualItem clearMoney() {
|
||||||
|
bitField0_ &= ~0x00000008;
|
||||||
|
money = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 money = 15;</code>
|
||||||
|
* @return the money
|
||||||
|
*/
|
||||||
|
public int getMoney() {
|
||||||
|
return money;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 money = 15;</code>
|
||||||
|
* @param value the money to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public RogueVirtualItem setMoney(final int value) {
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
money = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueVirtualItem copyFrom(final RogueVirtualItem other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
mFOPPKIBGNJ = other.mFOPPKIBGNJ;
|
||||||
|
dDOPHIJMILL = other.dDOPHIJMILL;
|
||||||
|
aCJKANLIGBM = other.aCJKANLIGBM;
|
||||||
|
money = other.money;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueVirtualItem mergeFrom(final RogueVirtualItem other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasMFOPPKIBGNJ()) {
|
||||||
|
setMFOPPKIBGNJ(other.mFOPPKIBGNJ);
|
||||||
|
}
|
||||||
|
if (other.hasDDOPHIJMILL()) {
|
||||||
|
setDDOPHIJMILL(other.dDOPHIJMILL);
|
||||||
|
}
|
||||||
|
if (other.hasACJKANLIGBM()) {
|
||||||
|
setACJKANLIGBM(other.aCJKANLIGBM);
|
||||||
|
}
|
||||||
|
if (other.hasMoney()) {
|
||||||
|
setMoney(other.money);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueVirtualItem clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
mFOPPKIBGNJ = 0;
|
||||||
|
dDOPHIJMILL = 0;
|
||||||
|
aCJKANLIGBM = 0;
|
||||||
|
money = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueVirtualItem 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 RogueVirtualItem)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
RogueVirtualItem other = (RogueVirtualItem) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasMFOPPKIBGNJ() || mFOPPKIBGNJ == other.mFOPPKIBGNJ)
|
||||||
|
&& (!hasDDOPHIJMILL() || dDOPHIJMILL == other.dDOPHIJMILL)
|
||||||
|
&& (!hasACJKANLIGBM() || aCJKANLIGBM == other.aCJKANLIGBM)
|
||||||
|
&& (!hasMoney() || money == other.money);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 64);
|
||||||
|
output.writeUInt32NoTag(mFOPPKIBGNJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 72);
|
||||||
|
output.writeUInt32NoTag(dDOPHIJMILL);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 80);
|
||||||
|
output.writeUInt32NoTag(aCJKANLIGBM);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeRawByte((byte) 120);
|
||||||
|
output.writeUInt32NoTag(money);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(mFOPPKIBGNJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(dDOPHIJMILL);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(aCJKANLIGBM);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(money);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public RogueVirtualItem mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 64: {
|
||||||
|
// mFOPPKIBGNJ
|
||||||
|
mFOPPKIBGNJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 72) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 72: {
|
||||||
|
// dDOPHIJMILL
|
||||||
|
dDOPHIJMILL = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 80) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 80: {
|
||||||
|
// aCJKANLIGBM
|
||||||
|
aCJKANLIGBM = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 120) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 120: {
|
||||||
|
// money
|
||||||
|
money = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.mFOPPKIBGNJ, mFOPPKIBGNJ);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.dDOPHIJMILL, dDOPHIJMILL);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.aCJKANLIGBM, aCJKANLIGBM);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.money, money);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueVirtualItem mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -663962379: {
|
||||||
|
if (input.isAtField(FieldNames.mFOPPKIBGNJ)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
mFOPPKIBGNJ = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 155657604: {
|
||||||
|
if (input.isAtField(FieldNames.dDOPHIJMILL)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
dDOPHIJMILL = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1408539: {
|
||||||
|
if (input.isAtField(FieldNames.aCJKANLIGBM)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
aCJKANLIGBM = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 104079552: {
|
||||||
|
if (input.isAtField(FieldNames.money)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
money = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000008;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueVirtualItem clone() {
|
||||||
|
return new RogueVirtualItem().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueVirtualItem parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueVirtualItem(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueVirtualItem parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueVirtualItem(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static RogueVirtualItem parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new RogueVirtualItem(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating RogueVirtualItem messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<RogueVirtualItem> getFactory() {
|
||||||
|
return RogueVirtualItemFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum RogueVirtualItemFactory implements MessageFactory<RogueVirtualItem> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RogueVirtualItem create() {
|
||||||
|
return RogueVirtualItem.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName mFOPPKIBGNJ = FieldName.forField("MFOPPKIBGNJ");
|
||||||
|
|
||||||
|
static final FieldName dDOPHIJMILL = FieldName.forField("DDOPHIJMILL");
|
||||||
|
|
||||||
|
static final FieldName aCJKANLIGBM = FieldName.forField("ACJKANLIGBM");
|
||||||
|
|
||||||
|
static final FieldName money = FieldName.forField("money");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,10 +19,15 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
*/
|
*/
|
||||||
private int dialogueEventId;
|
private int dialogueEventId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 entity_id = 6;</code>
|
||||||
|
*/
|
||||||
|
private int entityId;
|
||||||
|
|
||||||
private SelectRogueDialogueEventCsReq() {
|
private SelectRogueDialogueEventCsReq() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -34,7 +39,7 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
* @return whether the dialogueEventId field is set
|
* @return whether the dialogueEventId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasDialogueEventId() {
|
public boolean hasDialogueEventId() {
|
||||||
@@ -42,7 +47,7 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public SelectRogueDialogueEventCsReq clearDialogueEventId() {
|
public SelectRogueDialogueEventCsReq clearDialogueEventId() {
|
||||||
@@ -52,7 +57,7 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
* @return the dialogueEventId
|
* @return the dialogueEventId
|
||||||
*/
|
*/
|
||||||
public int getDialogueEventId() {
|
public int getDialogueEventId() {
|
||||||
@@ -60,7 +65,7 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 dialogue_event_id = 5;</code>
|
* <code>optional uint32 dialogue_event_id = 3;</code>
|
||||||
* @param value the dialogueEventId to set
|
* @param value the dialogueEventId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -70,12 +75,50 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 entity_id = 6;</code>
|
||||||
|
* @return whether the entityId field is set
|
||||||
|
*/
|
||||||
|
public boolean hasEntityId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 entity_id = 6;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SelectRogueDialogueEventCsReq clearEntityId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
entityId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 entity_id = 6;</code>
|
||||||
|
* @return the entityId
|
||||||
|
*/
|
||||||
|
public int getEntityId() {
|
||||||
|
return entityId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 entity_id = 6;</code>
|
||||||
|
* @param value the entityId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SelectRogueDialogueEventCsReq setEntityId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
entityId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SelectRogueDialogueEventCsReq copyFrom(final SelectRogueDialogueEventCsReq other) {
|
public SelectRogueDialogueEventCsReq copyFrom(final SelectRogueDialogueEventCsReq other) {
|
||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
dialogueEventId = other.dialogueEventId;
|
dialogueEventId = other.dialogueEventId;
|
||||||
|
entityId = other.entityId;
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -89,6 +132,9 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
if (other.hasDialogueEventId()) {
|
if (other.hasDialogueEventId()) {
|
||||||
setDialogueEventId(other.dialogueEventId);
|
setDialogueEventId(other.dialogueEventId);
|
||||||
}
|
}
|
||||||
|
if (other.hasEntityId()) {
|
||||||
|
setEntityId(other.entityId);
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,6 +146,7 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
dialogueEventId = 0;
|
dialogueEventId = 0;
|
||||||
|
entityId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -123,15 +170,20 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
SelectRogueDialogueEventCsReq other = (SelectRogueDialogueEventCsReq) o;
|
SelectRogueDialogueEventCsReq other = (SelectRogueDialogueEventCsReq) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasDialogueEventId() || dialogueEventId == other.dialogueEventId);
|
&& (!hasDialogueEventId() || dialogueEventId == other.dialogueEventId)
|
||||||
|
&& (!hasEntityId() || entityId == other.entityId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 40);
|
output.writeRawByte((byte) 24);
|
||||||
output.writeUInt32NoTag(dialogueEventId);
|
output.writeUInt32NoTag(dialogueEventId);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 48);
|
||||||
|
output.writeUInt32NoTag(entityId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -140,6 +192,9 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(dialogueEventId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(dialogueEventId);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(entityId);
|
||||||
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,11 +205,20 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 40: {
|
case 24: {
|
||||||
// dialogueEventId
|
// dialogueEventId
|
||||||
dialogueEventId = input.readUInt32();
|
dialogueEventId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
|
if (tag != 48) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 48: {
|
||||||
|
// entityId
|
||||||
|
entityId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -179,6 +243,9 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.dialogueEventId, dialogueEventId);
|
output.writeUInt32(FieldNames.dialogueEventId, dialogueEventId);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.entityId, entityId);
|
||||||
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -201,6 +268,18 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case -2102099874:
|
||||||
|
case -740565257: {
|
||||||
|
if (input.isAtField(FieldNames.entityId)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
entityId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
break;
|
break;
|
||||||
@@ -257,6 +336,8 @@ public final class SelectRogueDialogueEventCsReqOuterClass {
|
|||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName dialogueEventId = FieldName.forField("dialogueEventId", "dialogue_event_id");
|
static final FieldName dialogueEventId = FieldName.forField("dialogueEventId", "dialogue_event_id");
|
||||||
|
|
||||||
|
static final FieldName entityId = FieldName.forField("entityId", "entity_id");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,14 +19,23 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 1;</code>
|
* <code>optional uint32 dialogue_event_id = 9;</code>
|
||||||
|
*/
|
||||||
|
private int dialogueEventId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 15;</code>
|
||||||
*/
|
*/
|
||||||
private int retcode;
|
private int retcode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
* <pre>
|
||||||
|
* MEMPJPLINCN LELKNNDCGJM = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueDialogueEvent event_data = 14;</code>
|
||||||
*/
|
*/
|
||||||
private int dialogueEventId;
|
private final RogueDialogueEventOuterClass.RogueDialogueEvent eventData = RogueDialogueEventOuterClass.RogueDialogueEvent.newInstance();
|
||||||
|
|
||||||
private SelectRogueDialogueEventScRsp() {
|
private SelectRogueDialogueEventScRsp() {
|
||||||
}
|
}
|
||||||
@@ -39,62 +48,25 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 1;</code>
|
* <code>optional uint32 dialogue_event_id = 9;</code>
|
||||||
* @return whether the retcode field is set
|
* @return whether the dialogueEventId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRetcode() {
|
public boolean hasDialogueEventId() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 1;</code>
|
* <code>optional uint32 dialogue_event_id = 9;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public SelectRogueDialogueEventScRsp clearRetcode() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
retcode = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 retcode = 1;</code>
|
|
||||||
* @return the retcode
|
|
||||||
*/
|
|
||||||
public int getRetcode() {
|
|
||||||
return retcode;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 retcode = 1;</code>
|
|
||||||
* @param value the retcode to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public SelectRogueDialogueEventScRsp setRetcode(final int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
retcode = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
|
||||||
* @return whether the dialogueEventId field is set
|
|
||||||
*/
|
|
||||||
public boolean hasDialogueEventId() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public SelectRogueDialogueEventScRsp clearDialogueEventId() {
|
public SelectRogueDialogueEventScRsp clearDialogueEventId() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000001;
|
||||||
dialogueEventId = 0;
|
dialogueEventId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
* <code>optional uint32 dialogue_event_id = 9;</code>
|
||||||
* @return the dialogueEventId
|
* @return the dialogueEventId
|
||||||
*/
|
*/
|
||||||
public int getDialogueEventId() {
|
public int getDialogueEventId() {
|
||||||
@@ -102,23 +74,139 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 dialogue_event_id = 12;</code>
|
* <code>optional uint32 dialogue_event_id = 9;</code>
|
||||||
* @param value the dialogueEventId to set
|
* @param value the dialogueEventId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public SelectRogueDialogueEventScRsp setDialogueEventId(final int value) {
|
public SelectRogueDialogueEventScRsp setDialogueEventId(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
dialogueEventId = value;
|
dialogueEventId = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 15;</code>
|
||||||
|
* @return whether the retcode field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRetcode() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 15;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SelectRogueDialogueEventScRsp clearRetcode() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
retcode = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 15;</code>
|
||||||
|
* @return the retcode
|
||||||
|
*/
|
||||||
|
public int getRetcode() {
|
||||||
|
return retcode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 retcode = 15;</code>
|
||||||
|
* @param value the retcode to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SelectRogueDialogueEventScRsp setRetcode(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
retcode = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MEMPJPLINCN LELKNNDCGJM = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueDialogueEvent event_data = 14;</code>
|
||||||
|
* @return whether the eventData field is set
|
||||||
|
*/
|
||||||
|
public boolean hasEventData() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MEMPJPLINCN LELKNNDCGJM = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueDialogueEvent event_data = 14;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SelectRogueDialogueEventScRsp clearEventData() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
eventData.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MEMPJPLINCN LELKNNDCGJM = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueDialogueEvent event_data = 14;</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 #getMutableEventData()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueDialogueEventOuterClass.RogueDialogueEvent getEventData() {
|
||||||
|
return eventData;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MEMPJPLINCN LELKNNDCGJM = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueDialogueEvent event_data = 14;</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 RogueDialogueEventOuterClass.RogueDialogueEvent getMutableEventData() {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return eventData;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* MEMPJPLINCN LELKNNDCGJM = 6;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional .RogueDialogueEvent event_data = 14;</code>
|
||||||
|
* @param value the eventData to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SelectRogueDialogueEventScRsp setEventData(
|
||||||
|
final RogueDialogueEventOuterClass.RogueDialogueEvent value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
eventData.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SelectRogueDialogueEventScRsp copyFrom(final SelectRogueDialogueEventScRsp other) {
|
public SelectRogueDialogueEventScRsp copyFrom(final SelectRogueDialogueEventScRsp other) {
|
||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
retcode = other.retcode;
|
|
||||||
dialogueEventId = other.dialogueEventId;
|
dialogueEventId = other.dialogueEventId;
|
||||||
|
retcode = other.retcode;
|
||||||
|
eventData.copyFrom(other.eventData);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -129,11 +217,14 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
|
if (other.hasDialogueEventId()) {
|
||||||
|
setDialogueEventId(other.dialogueEventId);
|
||||||
|
}
|
||||||
if (other.hasRetcode()) {
|
if (other.hasRetcode()) {
|
||||||
setRetcode(other.retcode);
|
setRetcode(other.retcode);
|
||||||
}
|
}
|
||||||
if (other.hasDialogueEventId()) {
|
if (other.hasEventData()) {
|
||||||
setDialogueEventId(other.dialogueEventId);
|
getMutableEventData().mergeFrom(other.eventData);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -145,8 +236,9 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
retcode = 0;
|
|
||||||
dialogueEventId = 0;
|
dialogueEventId = 0;
|
||||||
|
retcode = 0;
|
||||||
|
eventData.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -157,6 +249,7 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
|
eventData.clearQuick();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,19 +263,24 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
}
|
}
|
||||||
SelectRogueDialogueEventScRsp other = (SelectRogueDialogueEventScRsp) o;
|
SelectRogueDialogueEventScRsp other = (SelectRogueDialogueEventScRsp) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasDialogueEventId() || dialogueEventId == other.dialogueEventId)
|
||||||
&& (!hasRetcode() || retcode == other.retcode)
|
&& (!hasRetcode() || retcode == other.retcode)
|
||||||
&& (!hasDialogueEventId() || dialogueEventId == other.dialogueEventId);
|
&& (!hasEventData() || eventData.equals(other.eventData));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 8);
|
output.writeRawByte((byte) 72);
|
||||||
output.writeUInt32NoTag(retcode);
|
output.writeUInt32NoTag(dialogueEventId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 96);
|
output.writeRawByte((byte) 120);
|
||||||
output.writeUInt32NoTag(dialogueEventId);
|
output.writeUInt32NoTag(retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 114);
|
||||||
|
output.writeMessageNoTag(eventData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,10 +288,13 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(dialogueEventId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(dialogueEventId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(eventData);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
@@ -205,20 +306,29 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 8: {
|
case 72: {
|
||||||
// retcode
|
// dialogueEventId
|
||||||
retcode = input.readUInt32();
|
dialogueEventId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 96) {
|
if (tag != 120) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 96: {
|
case 120: {
|
||||||
// dialogueEventId
|
// retcode
|
||||||
dialogueEventId = input.readUInt32();
|
retcode = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
|
if (tag != 114) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 114: {
|
||||||
|
// eventData
|
||||||
|
input.readMessage(eventData);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -241,10 +351,13 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.retcode, retcode);
|
output.writeUInt32(FieldNames.dialogueEventId, dialogueEventId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeUInt32(FieldNames.dialogueEventId, dialogueEventId);
|
output.writeUInt32(FieldNames.retcode, retcode);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeMessage(FieldNames.eventData, eventData);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
}
|
}
|
||||||
@@ -256,10 +369,11 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case 1097936398: {
|
case 88389725:
|
||||||
if (input.isAtField(FieldNames.retcode)) {
|
case 1671736167: {
|
||||||
|
if (input.isAtField(FieldNames.dialogueEventId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
retcode = input.readUInt32();
|
dialogueEventId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -267,11 +381,10 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 88389725:
|
case 1097936398: {
|
||||||
case 1671736167: {
|
if (input.isAtField(FieldNames.retcode)) {
|
||||||
if (input.isAtField(FieldNames.dialogueEventId)) {
|
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
dialogueEventId = input.readUInt32();
|
retcode = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -279,6 +392,18 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 30931300:
|
||||||
|
case 983877167: {
|
||||||
|
if (input.isAtField(FieldNames.eventData)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(eventData);
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
break;
|
break;
|
||||||
@@ -334,9 +459,11 @@ public final class SelectRogueDialogueEventScRspOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
|
static final FieldName dialogueEventId = FieldName.forField("dialogueEventId", "dialogue_event_id");
|
||||||
|
|
||||||
static final FieldName retcode = FieldName.forField("retcode");
|
static final FieldName retcode = FieldName.forField("retcode");
|
||||||
|
|
||||||
static final FieldName dialogueEventId = FieldName.forField("dialogueEventId", "dialogue_event_id");
|
static final FieldName eventData = FieldName.forField("eventData", "event_data");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,17 +20,22 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 buff_aeon_id = 6;</code>
|
* <code>optional uint32 area_id = 1;</code>
|
||||||
*/
|
|
||||||
private int buffAeonId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
|
||||||
*/
|
*/
|
||||||
private int areaId;
|
private int areaId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 base_avatar_id_list = 8;</code>
|
* <code>optional uint32 buff_aeon_id = 3;</code>
|
||||||
|
*/
|
||||||
|
private int buffAeonId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ECJEFHHACMI = 12;</code>
|
||||||
|
*/
|
||||||
|
private int eCJEFHHACMI;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_id_list = 11;</code>
|
||||||
*/
|
*/
|
||||||
private final RepeatedInt baseAvatarIdList = RepeatedInt.newEmptyInstance();
|
private final RepeatedInt baseAvatarIdList = RepeatedInt.newEmptyInstance();
|
||||||
|
|
||||||
@@ -45,62 +50,25 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 buff_aeon_id = 6;</code>
|
* <code>optional uint32 area_id = 1;</code>
|
||||||
* @return whether the buffAeonId field is set
|
* @return whether the areaId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasBuffAeonId() {
|
public boolean hasAreaId() {
|
||||||
return (bitField0_ & 0x00000001) != 0;
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 buff_aeon_id = 6;</code>
|
* <code>optional uint32 area_id = 1;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public StartRogueCsReq clearBuffAeonId() {
|
|
||||||
bitField0_ &= ~0x00000001;
|
|
||||||
buffAeonId = 0;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 buff_aeon_id = 6;</code>
|
|
||||||
* @return the buffAeonId
|
|
||||||
*/
|
|
||||||
public int getBuffAeonId() {
|
|
||||||
return buffAeonId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 buff_aeon_id = 6;</code>
|
|
||||||
* @param value the buffAeonId to set
|
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public StartRogueCsReq setBuffAeonId(final int value) {
|
|
||||||
bitField0_ |= 0x00000001;
|
|
||||||
buffAeonId = value;
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
|
||||||
* @return whether the areaId field is set
|
|
||||||
*/
|
|
||||||
public boolean hasAreaId() {
|
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public StartRogueCsReq clearAreaId() {
|
public StartRogueCsReq clearAreaId() {
|
||||||
bitField0_ &= ~0x00000002;
|
bitField0_ &= ~0x00000001;
|
||||||
areaId = 0;
|
areaId = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
* <code>optional uint32 area_id = 1;</code>
|
||||||
* @return the areaId
|
* @return the areaId
|
||||||
*/
|
*/
|
||||||
public int getAreaId() {
|
public int getAreaId() {
|
||||||
@@ -108,36 +76,110 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 area_id = 12;</code>
|
* <code>optional uint32 area_id = 1;</code>
|
||||||
* @param value the areaId to set
|
* @param value the areaId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public StartRogueCsReq setAreaId(final int value) {
|
public StartRogueCsReq setAreaId(final int value) {
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000001;
|
||||||
areaId = value;
|
areaId = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 base_avatar_id_list = 8;</code>
|
* <code>optional uint32 buff_aeon_id = 3;</code>
|
||||||
* @return whether the baseAvatarIdList field is set
|
* @return whether the buffAeonId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasBaseAvatarIdList() {
|
public boolean hasBuffAeonId() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_aeon_id = 3;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public StartRogueCsReq clearBuffAeonId() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
buffAeonId = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_aeon_id = 3;</code>
|
||||||
|
* @return the buffAeonId
|
||||||
|
*/
|
||||||
|
public int getBuffAeonId() {
|
||||||
|
return buffAeonId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 buff_aeon_id = 3;</code>
|
||||||
|
* @param value the buffAeonId to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public StartRogueCsReq setBuffAeonId(final int value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
buffAeonId = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ECJEFHHACMI = 12;</code>
|
||||||
|
* @return whether the eCJEFHHACMI field is set
|
||||||
|
*/
|
||||||
|
public boolean hasECJEFHHACMI() {
|
||||||
return (bitField0_ & 0x00000004) != 0;
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 base_avatar_id_list = 8;</code>
|
* <code>optional uint32 ECJEFHHACMI = 12;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public StartRogueCsReq clearECJEFHHACMI() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
eCJEFHHACMI = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ECJEFHHACMI = 12;</code>
|
||||||
|
* @return the eCJEFHHACMI
|
||||||
|
*/
|
||||||
|
public int getECJEFHHACMI() {
|
||||||
|
return eCJEFHHACMI;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 ECJEFHHACMI = 12;</code>
|
||||||
|
* @param value the eCJEFHHACMI to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public StartRogueCsReq setECJEFHHACMI(final int value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
eCJEFHHACMI = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_id_list = 11;</code>
|
||||||
|
* @return whether the baseAvatarIdList field is set
|
||||||
|
*/
|
||||||
|
public boolean hasBaseAvatarIdList() {
|
||||||
|
return (bitField0_ & 0x00000008) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated uint32 base_avatar_id_list = 11;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public StartRogueCsReq clearBaseAvatarIdList() {
|
public StartRogueCsReq clearBaseAvatarIdList() {
|
||||||
bitField0_ &= ~0x00000004;
|
bitField0_ &= ~0x00000008;
|
||||||
baseAvatarIdList.clear();
|
baseAvatarIdList.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 base_avatar_id_list = 8;</code>
|
* <code>repeated uint32 base_avatar_id_list = 11;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -151,7 +193,7 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 base_avatar_id_list = 8;</code>
|
* <code>repeated uint32 base_avatar_id_list = 11;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -160,28 +202,28 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public RepeatedInt getMutableBaseAvatarIdList() {
|
public RepeatedInt getMutableBaseAvatarIdList() {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000008;
|
||||||
return baseAvatarIdList;
|
return baseAvatarIdList;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 base_avatar_id_list = 8;</code>
|
* <code>repeated uint32 base_avatar_id_list = 11;</code>
|
||||||
* @param value the baseAvatarIdList to add
|
* @param value the baseAvatarIdList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public StartRogueCsReq addBaseAvatarIdList(final int value) {
|
public StartRogueCsReq addBaseAvatarIdList(final int value) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000008;
|
||||||
baseAvatarIdList.add(value);
|
baseAvatarIdList.add(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated uint32 base_avatar_id_list = 8;</code>
|
* <code>repeated uint32 base_avatar_id_list = 11;</code>
|
||||||
* @param values the baseAvatarIdList to add
|
* @param values the baseAvatarIdList to add
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public StartRogueCsReq addAllBaseAvatarIdList(final int... values) {
|
public StartRogueCsReq addAllBaseAvatarIdList(final int... values) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000008;
|
||||||
baseAvatarIdList.addAll(values);
|
baseAvatarIdList.addAll(values);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -191,8 +233,9 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
cachedSize = other.cachedSize;
|
cachedSize = other.cachedSize;
|
||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
buffAeonId = other.buffAeonId;
|
|
||||||
areaId = other.areaId;
|
areaId = other.areaId;
|
||||||
|
buffAeonId = other.buffAeonId;
|
||||||
|
eCJEFHHACMI = other.eCJEFHHACMI;
|
||||||
baseAvatarIdList.copyFrom(other.baseAvatarIdList);
|
baseAvatarIdList.copyFrom(other.baseAvatarIdList);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
@@ -204,11 +247,14 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
|
if (other.hasAreaId()) {
|
||||||
|
setAreaId(other.areaId);
|
||||||
|
}
|
||||||
if (other.hasBuffAeonId()) {
|
if (other.hasBuffAeonId()) {
|
||||||
setBuffAeonId(other.buffAeonId);
|
setBuffAeonId(other.buffAeonId);
|
||||||
}
|
}
|
||||||
if (other.hasAreaId()) {
|
if (other.hasECJEFHHACMI()) {
|
||||||
setAreaId(other.areaId);
|
setECJEFHHACMI(other.eCJEFHHACMI);
|
||||||
}
|
}
|
||||||
if (other.hasBaseAvatarIdList()) {
|
if (other.hasBaseAvatarIdList()) {
|
||||||
getMutableBaseAvatarIdList().addAll(other.baseAvatarIdList);
|
getMutableBaseAvatarIdList().addAll(other.baseAvatarIdList);
|
||||||
@@ -223,8 +269,9 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
buffAeonId = 0;
|
|
||||||
areaId = 0;
|
areaId = 0;
|
||||||
|
buffAeonId = 0;
|
||||||
|
eCJEFHHACMI = 0;
|
||||||
baseAvatarIdList.clear();
|
baseAvatarIdList.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -250,24 +297,29 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
StartRogueCsReq other = (StartRogueCsReq) o;
|
StartRogueCsReq other = (StartRogueCsReq) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasBuffAeonId() || buffAeonId == other.buffAeonId)
|
|
||||||
&& (!hasAreaId() || areaId == other.areaId)
|
&& (!hasAreaId() || areaId == other.areaId)
|
||||||
|
&& (!hasBuffAeonId() || buffAeonId == other.buffAeonId)
|
||||||
|
&& (!hasECJEFHHACMI() || eCJEFHHACMI == other.eCJEFHHACMI)
|
||||||
&& (!hasBaseAvatarIdList() || baseAvatarIdList.equals(other.baseAvatarIdList));
|
&& (!hasBaseAvatarIdList() || baseAvatarIdList.equals(other.baseAvatarIdList));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 48);
|
output.writeRawByte((byte) 8);
|
||||||
output.writeUInt32NoTag(buffAeonId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeRawByte((byte) 96);
|
|
||||||
output.writeUInt32NoTag(areaId);
|
output.writeUInt32NoTag(areaId);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 24);
|
||||||
|
output.writeUInt32NoTag(buffAeonId);
|
||||||
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 96);
|
||||||
|
output.writeUInt32NoTag(eCJEFHHACMI);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
for (int i = 0; i < baseAvatarIdList.length(); i++) {
|
for (int i = 0; i < baseAvatarIdList.length(); i++) {
|
||||||
output.writeRawByte((byte) 64);
|
output.writeRawByte((byte) 88);
|
||||||
output.writeUInt32NoTag(baseAvatarIdList.array()[i]);
|
output.writeUInt32NoTag(baseAvatarIdList.array()[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -277,12 +329,15 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
protected int computeSerializedSize() {
|
protected int computeSerializedSize() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(buffAeonId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(areaId);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(areaId);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(buffAeonId);
|
||||||
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(eCJEFHHACMI);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
size += (1 * baseAvatarIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(baseAvatarIdList);
|
size += (1 * baseAvatarIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(baseAvatarIdList);
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
@@ -295,28 +350,37 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 48: {
|
case 8: {
|
||||||
|
// areaId
|
||||||
|
areaId = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 24) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 24: {
|
||||||
// buffAeonId
|
// buffAeonId
|
||||||
buffAeonId = input.readUInt32();
|
buffAeonId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000002;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 96) {
|
if (tag != 96) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 96: {
|
case 96: {
|
||||||
// areaId
|
// eCJEFHHACMI
|
||||||
areaId = input.readUInt32();
|
eCJEFHHACMI = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000004;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 66) {
|
if (tag != 90) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 66: {
|
case 90: {
|
||||||
// baseAvatarIdList [packed=true]
|
// baseAvatarIdList [packed=true]
|
||||||
input.readPackedUInt32(baseAvatarIdList, tag);
|
input.readPackedUInt32(baseAvatarIdList, tag);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000008;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 0) {
|
if (tag != 0) {
|
||||||
break;
|
break;
|
||||||
@@ -332,10 +396,10 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 64: {
|
case 88: {
|
||||||
// baseAvatarIdList [packed=false]
|
// baseAvatarIdList [packed=false]
|
||||||
tag = input.readRepeatedUInt32(baseAvatarIdList, tag);
|
tag = input.readRepeatedUInt32(baseAvatarIdList, tag);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000008;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -346,12 +410,15 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
public void writeTo(final JsonSink output) throws IOException {
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
output.beginObject();
|
output.beginObject();
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeUInt32(FieldNames.buffAeonId, buffAeonId);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
|
||||||
output.writeUInt32(FieldNames.areaId, areaId);
|
output.writeUInt32(FieldNames.areaId, areaId);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.buffAeonId, buffAeonId);
|
||||||
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.eCJEFHHACMI, eCJEFHHACMI);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeRepeatedUInt32(FieldNames.baseAvatarIdList, baseAvatarIdList);
|
output.writeRepeatedUInt32(FieldNames.baseAvatarIdList, baseAvatarIdList);
|
||||||
}
|
}
|
||||||
output.endObject();
|
output.endObject();
|
||||||
@@ -364,11 +431,11 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
while (!input.isAtEnd()) {
|
while (!input.isAtEnd()) {
|
||||||
switch (input.readFieldHash()) {
|
switch (input.readFieldHash()) {
|
||||||
case 864413617:
|
case -1409553784:
|
||||||
case -1316781589: {
|
case -746472947: {
|
||||||
if (input.isAtField(FieldNames.buffAeonId)) {
|
if (input.isAtField(FieldNames.areaId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
buffAeonId = input.readUInt32();
|
areaId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -376,11 +443,11 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -1409553784:
|
case 864413617:
|
||||||
case -746472947: {
|
case -1316781589: {
|
||||||
if (input.isAtField(FieldNames.areaId)) {
|
if (input.isAtField(FieldNames.buffAeonId)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
areaId = input.readUInt32();
|
buffAeonId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -388,12 +455,23 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case -499366517: {
|
||||||
|
if (input.isAtField(FieldNames.eCJEFHHACMI)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
eCJEFHHACMI = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case -1212654461:
|
case -1212654461:
|
||||||
case 914628490: {
|
case 914628490: {
|
||||||
if (input.isAtField(FieldNames.baseAvatarIdList)) {
|
if (input.isAtField(FieldNames.baseAvatarIdList)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readRepeatedUInt32(baseAvatarIdList);
|
input.readRepeatedUInt32(baseAvatarIdList);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000008;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
input.skipUnknownField();
|
input.skipUnknownField();
|
||||||
@@ -453,9 +531,11 @@ public final class StartRogueCsReqOuterClass {
|
|||||||
* Contains name constants used for serializing JSON
|
* Contains name constants used for serializing JSON
|
||||||
*/
|
*/
|
||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
|
static final FieldName areaId = FieldName.forField("areaId", "area_id");
|
||||||
|
|
||||||
static final FieldName buffAeonId = FieldName.forField("buffAeonId", "buff_aeon_id");
|
static final FieldName buffAeonId = FieldName.forField("buffAeonId", "buff_aeon_id");
|
||||||
|
|
||||||
static final FieldName areaId = FieldName.forField("areaId", "area_id");
|
static final FieldName eCJEFHHACMI = FieldName.forField("ECJEFHHACMI");
|
||||||
|
|
||||||
static final FieldName baseAvatarIdList = FieldName.forField("baseAvatarIdList", "base_avatar_id_list");
|
static final FieldName baseAvatarIdList = FieldName.forField("baseAvatarIdList", "base_avatar_id_list");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,22 +19,22 @@ public final class StartRogueScRspOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 2;</code>
|
* <code>optional uint32 retcode = 1;</code>
|
||||||
*/
|
*/
|
||||||
private int retcode;
|
private int retcode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 3;</code>
|
* <code>optional .LineupInfo lineup = 7;</code>
|
||||||
*/
|
|
||||||
private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .LineupInfo lineup = 12;</code>
|
|
||||||
*/
|
*/
|
||||||
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
|
private final LineupInfoOuterClass.LineupInfo lineup = LineupInfoOuterClass.LineupInfo.newInstance();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueInfo rogue_info = 13;</code>
|
* <code>optional .SceneInfo scene = 8;</code>
|
||||||
|
*/
|
||||||
|
private final SceneInfoOuterClass.SceneInfo scene = SceneInfoOuterClass.SceneInfo.newInstance();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueInfo rogue_info = 12;</code>
|
||||||
*/
|
*/
|
||||||
private final RogueInfoOuterClass.RogueInfo rogueInfo = RogueInfoOuterClass.RogueInfo.newInstance();
|
private final RogueInfoOuterClass.RogueInfo rogueInfo = RogueInfoOuterClass.RogueInfo.newInstance();
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 2;</code>
|
* <code>optional uint32 retcode = 1;</code>
|
||||||
* @return whether the retcode field is set
|
* @return whether the retcode field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRetcode() {
|
public boolean hasRetcode() {
|
||||||
@@ -57,7 +57,7 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 2;</code>
|
* <code>optional uint32 retcode = 1;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public StartRogueScRsp clearRetcode() {
|
public StartRogueScRsp clearRetcode() {
|
||||||
@@ -67,7 +67,7 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 2;</code>
|
* <code>optional uint32 retcode = 1;</code>
|
||||||
* @return the retcode
|
* @return the retcode
|
||||||
*/
|
*/
|
||||||
public int getRetcode() {
|
public int getRetcode() {
|
||||||
@@ -75,7 +75,7 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 retcode = 2;</code>
|
* <code>optional uint32 retcode = 1;</code>
|
||||||
* @param value the retcode to set
|
* @param value the retcode to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -86,82 +86,25 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 3;</code>
|
* <code>optional .LineupInfo lineup = 7;</code>
|
||||||
* @return whether the scene field is set
|
* @return whether the lineup field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasScene() {
|
public boolean hasLineup() {
|
||||||
return (bitField0_ & 0x00000002) != 0;
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .SceneInfo scene = 3;</code>
|
* <code>optional .LineupInfo lineup = 7;</code>
|
||||||
* @return this
|
|
||||||
*/
|
|
||||||
public StartRogueScRsp 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 StartRogueScRsp setScene(final SceneInfoOuterClass.SceneInfo value) {
|
|
||||||
bitField0_ |= 0x00000002;
|
|
||||||
scene.copyFrom(value);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .LineupInfo lineup = 12;</code>
|
|
||||||
* @return whether the lineup field is set
|
|
||||||
*/
|
|
||||||
public boolean hasLineup() {
|
|
||||||
return (bitField0_ & 0x00000004) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>optional .LineupInfo lineup = 12;</code>
|
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public StartRogueScRsp clearLineup() {
|
public StartRogueScRsp clearLineup() {
|
||||||
bitField0_ &= ~0x00000004;
|
bitField0_ &= ~0x00000002;
|
||||||
lineup.clear();
|
lineup.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 12;</code>
|
* <code>optional .LineupInfo lineup = 7;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -175,7 +118,7 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 12;</code>
|
* <code>optional .LineupInfo lineup = 7;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -184,23 +127,80 @@ public final class StartRogueScRspOuterClass {
|
|||||||
* @return internal storage object for modifications
|
* @return internal storage object for modifications
|
||||||
*/
|
*/
|
||||||
public LineupInfoOuterClass.LineupInfo getMutableLineup() {
|
public LineupInfoOuterClass.LineupInfo getMutableLineup() {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000002;
|
||||||
return lineup;
|
return lineup;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .LineupInfo lineup = 12;</code>
|
* <code>optional .LineupInfo lineup = 7;</code>
|
||||||
* @param value the lineup to set
|
* @param value the lineup to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public StartRogueScRsp setLineup(final LineupInfoOuterClass.LineupInfo value) {
|
public StartRogueScRsp setLineup(final LineupInfoOuterClass.LineupInfo value) {
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000002;
|
||||||
lineup.copyFrom(value);
|
lineup.copyFrom(value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueInfo rogue_info = 13;</code>
|
* <code>optional .SceneInfo scene = 8;</code>
|
||||||
|
* @return whether the scene field is set
|
||||||
|
*/
|
||||||
|
public boolean hasScene() {
|
||||||
|
return (bitField0_ & 0x00000004) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 8;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public StartRogueScRsp clearScene() {
|
||||||
|
bitField0_ &= ~0x00000004;
|
||||||
|
scene.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 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 #getMutableScene()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public SceneInfoOuterClass.SceneInfo getScene() {
|
||||||
|
return scene;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 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 SceneInfoOuterClass.SceneInfo getMutableScene() {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
return scene;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .SceneInfo scene = 8;</code>
|
||||||
|
* @param value the scene to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public StartRogueScRsp setScene(final SceneInfoOuterClass.SceneInfo value) {
|
||||||
|
bitField0_ |= 0x00000004;
|
||||||
|
scene.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueInfo rogue_info = 12;</code>
|
||||||
* @return whether the rogueInfo field is set
|
* @return whether the rogueInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueInfo() {
|
public boolean hasRogueInfo() {
|
||||||
@@ -208,7 +208,7 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueInfo rogue_info = 13;</code>
|
* <code>optional .RogueInfo rogue_info = 12;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public StartRogueScRsp clearRogueInfo() {
|
public StartRogueScRsp clearRogueInfo() {
|
||||||
@@ -218,7 +218,7 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueInfo rogue_info = 13;</code>
|
* <code>optional .RogueInfo rogue_info = 12;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -232,7 +232,7 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueInfo rogue_info = 13;</code>
|
* <code>optional .RogueInfo rogue_info = 12;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -246,7 +246,7 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueInfo rogue_info = 13;</code>
|
* <code>optional .RogueInfo rogue_info = 12;</code>
|
||||||
* @param value the rogueInfo to set
|
* @param value the rogueInfo to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -262,8 +262,8 @@ public final class StartRogueScRspOuterClass {
|
|||||||
if ((bitField0_ | other.bitField0_) != 0) {
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
bitField0_ = other.bitField0_;
|
bitField0_ = other.bitField0_;
|
||||||
retcode = other.retcode;
|
retcode = other.retcode;
|
||||||
scene.copyFrom(other.scene);
|
|
||||||
lineup.copyFrom(other.lineup);
|
lineup.copyFrom(other.lineup);
|
||||||
|
scene.copyFrom(other.scene);
|
||||||
rogueInfo.copyFrom(other.rogueInfo);
|
rogueInfo.copyFrom(other.rogueInfo);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
@@ -278,12 +278,12 @@ public final class StartRogueScRspOuterClass {
|
|||||||
if (other.hasRetcode()) {
|
if (other.hasRetcode()) {
|
||||||
setRetcode(other.retcode);
|
setRetcode(other.retcode);
|
||||||
}
|
}
|
||||||
if (other.hasScene()) {
|
|
||||||
getMutableScene().mergeFrom(other.scene);
|
|
||||||
}
|
|
||||||
if (other.hasLineup()) {
|
if (other.hasLineup()) {
|
||||||
getMutableLineup().mergeFrom(other.lineup);
|
getMutableLineup().mergeFrom(other.lineup);
|
||||||
}
|
}
|
||||||
|
if (other.hasScene()) {
|
||||||
|
getMutableScene().mergeFrom(other.scene);
|
||||||
|
}
|
||||||
if (other.hasRogueInfo()) {
|
if (other.hasRogueInfo()) {
|
||||||
getMutableRogueInfo().mergeFrom(other.rogueInfo);
|
getMutableRogueInfo().mergeFrom(other.rogueInfo);
|
||||||
}
|
}
|
||||||
@@ -298,8 +298,8 @@ public final class StartRogueScRspOuterClass {
|
|||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
retcode = 0;
|
retcode = 0;
|
||||||
scene.clear();
|
|
||||||
lineup.clear();
|
lineup.clear();
|
||||||
|
scene.clear();
|
||||||
rogueInfo.clear();
|
rogueInfo.clear();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -311,8 +311,8 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
cachedSize = -1;
|
cachedSize = -1;
|
||||||
bitField0_ = 0;
|
bitField0_ = 0;
|
||||||
scene.clearQuick();
|
|
||||||
lineup.clearQuick();
|
lineup.clearQuick();
|
||||||
|
scene.clearQuick();
|
||||||
rogueInfo.clearQuick();
|
rogueInfo.clearQuick();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -328,27 +328,27 @@ public final class StartRogueScRspOuterClass {
|
|||||||
StartRogueScRsp other = (StartRogueScRsp) o;
|
StartRogueScRsp other = (StartRogueScRsp) o;
|
||||||
return bitField0_ == other.bitField0_
|
return bitField0_ == other.bitField0_
|
||||||
&& (!hasRetcode() || retcode == other.retcode)
|
&& (!hasRetcode() || retcode == other.retcode)
|
||||||
&& (!hasScene() || scene.equals(other.scene))
|
|
||||||
&& (!hasLineup() || lineup.equals(other.lineup))
|
&& (!hasLineup() || lineup.equals(other.lineup))
|
||||||
|
&& (!hasScene() || scene.equals(other.scene))
|
||||||
&& (!hasRogueInfo() || rogueInfo.equals(other.rogueInfo));
|
&& (!hasRogueInfo() || rogueInfo.equals(other.rogueInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 16);
|
output.writeRawByte((byte) 8);
|
||||||
output.writeUInt32NoTag(retcode);
|
output.writeUInt32NoTag(retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 26);
|
output.writeRawByte((byte) 58);
|
||||||
output.writeMessageNoTag(scene);
|
|
||||||
}
|
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
|
||||||
output.writeRawByte((byte) 98);
|
|
||||||
output.writeMessageNoTag(lineup);
|
output.writeMessageNoTag(lineup);
|
||||||
}
|
}
|
||||||
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
|
output.writeRawByte((byte) 66);
|
||||||
|
output.writeMessageNoTag(scene);
|
||||||
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeRawByte((byte) 106);
|
output.writeRawByte((byte) 98);
|
||||||
output.writeMessageNoTag(rogueInfo);
|
output.writeMessageNoTag(rogueInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -360,10 +360,10 @@ public final class StartRogueScRspOuterClass {
|
|||||||
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
|
size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(lineup);
|
size += 1 + ProtoSink.computeMessageSizeNoTag(scene);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueInfo);
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueInfo);
|
||||||
@@ -378,34 +378,34 @@ public final class StartRogueScRspOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 16: {
|
case 8: {
|
||||||
// retcode
|
// retcode
|
||||||
retcode = input.readUInt32();
|
retcode = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 26) {
|
if (tag != 58) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 26: {
|
case 58: {
|
||||||
|
// lineup
|
||||||
|
input.readMessage(lineup);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 66) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 66: {
|
||||||
// scene
|
// scene
|
||||||
input.readMessage(scene);
|
input.readMessage(scene);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000004;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 98) {
|
if (tag != 98) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 98: {
|
case 98: {
|
||||||
// lineup
|
|
||||||
input.readMessage(lineup);
|
|
||||||
bitField0_ |= 0x00000004;
|
|
||||||
tag = input.readTag();
|
|
||||||
if (tag != 106) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case 106: {
|
|
||||||
// rogueInfo
|
// rogueInfo
|
||||||
input.readMessage(rogueInfo);
|
input.readMessage(rogueInfo);
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
@@ -435,10 +435,10 @@ public final class StartRogueScRspOuterClass {
|
|||||||
output.writeUInt32(FieldNames.retcode, retcode);
|
output.writeUInt32(FieldNames.retcode, retcode);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeMessage(FieldNames.scene, scene);
|
output.writeMessage(FieldNames.lineup, lineup);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000004) != 0) {
|
if ((bitField0_ & 0x00000004) != 0) {
|
||||||
output.writeMessage(FieldNames.lineup, lineup);
|
output.writeMessage(FieldNames.scene, scene);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000008) != 0) {
|
if ((bitField0_ & 0x00000008) != 0) {
|
||||||
output.writeMessage(FieldNames.rogueInfo, rogueInfo);
|
output.writeMessage(FieldNames.rogueInfo, rogueInfo);
|
||||||
@@ -464,10 +464,10 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 109254796: {
|
case -1102671473: {
|
||||||
if (input.isAtField(FieldNames.scene)) {
|
if (input.isAtField(FieldNames.lineup)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readMessage(scene);
|
input.readMessage(lineup);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -475,10 +475,10 @@ public final class StartRogueScRspOuterClass {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -1102671473: {
|
case 109254796: {
|
||||||
if (input.isAtField(FieldNames.lineup)) {
|
if (input.isAtField(FieldNames.scene)) {
|
||||||
if (!input.trySkipNullValue()) {
|
if (!input.trySkipNullValue()) {
|
||||||
input.readMessage(lineup);
|
input.readMessage(scene);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -553,10 +553,10 @@ public final class StartRogueScRspOuterClass {
|
|||||||
static class FieldNames {
|
static class FieldNames {
|
||||||
static final FieldName retcode = FieldName.forField("retcode");
|
static final FieldName retcode = FieldName.forField("retcode");
|
||||||
|
|
||||||
static final FieldName scene = FieldName.forField("scene");
|
|
||||||
|
|
||||||
static final FieldName lineup = FieldName.forField("lineup");
|
static final FieldName lineup = FieldName.forField("lineup");
|
||||||
|
|
||||||
|
static final FieldName scene = FieldName.forField("scene");
|
||||||
|
|
||||||
static final FieldName rogueInfo = FieldName.forField("rogueInfo", "rogue_info");
|
static final FieldName rogueInfo = FieldName.forField("rogueInfo", "rogue_info");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,387 @@
|
|||||||
|
// 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 SyncRogueCommonActionResultScNotifyOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code SyncRogueCommonActionResultScNotify}
|
||||||
|
*/
|
||||||
|
public static final class SyncRogueCommonActionResultScNotify extends ProtoMessage<SyncRogueCommonActionResultScNotify> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PBCHNCIJKNA MDBPDPDDHBC = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 5;</code>
|
||||||
|
*/
|
||||||
|
private int oCPBNBPAMEN;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResult action = 11;</code>
|
||||||
|
*/
|
||||||
|
private final RogueActionResultOuterClass.RogueActionResult action = RogueActionResultOuterClass.RogueActionResult.newInstance();
|
||||||
|
|
||||||
|
private SyncRogueCommonActionResultScNotify() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code SyncRogueCommonActionResultScNotify}
|
||||||
|
*/
|
||||||
|
public static SyncRogueCommonActionResultScNotify newInstance() {
|
||||||
|
return new SyncRogueCommonActionResultScNotify();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PBCHNCIJKNA MDBPDPDDHBC = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 5;</code>
|
||||||
|
* @return whether the oCPBNBPAMEN field is set
|
||||||
|
*/
|
||||||
|
public boolean hasOCPBNBPAMEN() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PBCHNCIJKNA MDBPDPDDHBC = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 5;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueCommonActionResultScNotify clearOCPBNBPAMEN() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
oCPBNBPAMEN = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PBCHNCIJKNA MDBPDPDDHBC = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 5;</code>
|
||||||
|
* @return the oCPBNBPAMEN
|
||||||
|
*/
|
||||||
|
public int getOCPBNBPAMEN() {
|
||||||
|
return oCPBNBPAMEN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
* PBCHNCIJKNA MDBPDPDDHBC = 12;
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 5;</code>
|
||||||
|
* @param value the oCPBNBPAMEN to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueCommonActionResultScNotify setOCPBNBPAMEN(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
oCPBNBPAMEN = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResult action = 11;</code>
|
||||||
|
* @return whether the action field is set
|
||||||
|
*/
|
||||||
|
public boolean hasAction() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResult action = 11;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueCommonActionResultScNotify clearAction() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
action.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResult action = 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 #getMutableAction()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueActionResultOuterClass.RogueActionResult getAction() {
|
||||||
|
return action;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResult action = 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
|
||||||
|
* contents may be modified as long as the has state is not cleared.
|
||||||
|
*
|
||||||
|
* @return internal storage object for modifications
|
||||||
|
*/
|
||||||
|
public RogueActionResultOuterClass.RogueActionResult getMutableAction() {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return action;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueActionResult action = 11;</code>
|
||||||
|
* @param value the action to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueCommonActionResultScNotify setAction(
|
||||||
|
final RogueActionResultOuterClass.RogueActionResult value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
action.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonActionResultScNotify copyFrom(
|
||||||
|
final SyncRogueCommonActionResultScNotify other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
oCPBNBPAMEN = other.oCPBNBPAMEN;
|
||||||
|
action.copyFrom(other.action);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonActionResultScNotify mergeFrom(
|
||||||
|
final SyncRogueCommonActionResultScNotify other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasOCPBNBPAMEN()) {
|
||||||
|
setOCPBNBPAMEN(other.oCPBNBPAMEN);
|
||||||
|
}
|
||||||
|
if (other.hasAction()) {
|
||||||
|
getMutableAction().mergeFrom(other.action);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonActionResultScNotify clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
oCPBNBPAMEN = 0;
|
||||||
|
action.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonActionResultScNotify clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
action.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof SyncRogueCommonActionResultScNotify)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
SyncRogueCommonActionResultScNotify other = (SyncRogueCommonActionResultScNotify) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasOCPBNBPAMEN() || oCPBNBPAMEN == other.oCPBNBPAMEN)
|
||||||
|
&& (!hasAction() || action.equals(other.action));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 40);
|
||||||
|
output.writeUInt32NoTag(oCPBNBPAMEN);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 90);
|
||||||
|
output.writeMessageNoTag(action);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(oCPBNBPAMEN);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(action);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public SyncRogueCommonActionResultScNotify mergeFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 40: {
|
||||||
|
// oCPBNBPAMEN
|
||||||
|
oCPBNBPAMEN = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 90) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 90: {
|
||||||
|
// action
|
||||||
|
input.readMessage(action);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.oCPBNBPAMEN, oCPBNBPAMEN);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeMessage(FieldNames.action, action);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonActionResultScNotify mergeFrom(final JsonSource input) throws
|
||||||
|
IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1836582037: {
|
||||||
|
if (input.isAtField(FieldNames.oCPBNBPAMEN)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
oCPBNBPAMEN = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case -1422950858: {
|
||||||
|
if (input.isAtField(FieldNames.action)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(action);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonActionResultScNotify clone() {
|
||||||
|
return new SyncRogueCommonActionResultScNotify().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueCommonActionResultScNotify parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueCommonActionResultScNotify(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueCommonActionResultScNotify parseFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueCommonActionResultScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueCommonActionResultScNotify parseFrom(final JsonSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueCommonActionResultScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating SyncRogueCommonActionResultScNotify messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<SyncRogueCommonActionResultScNotify> getFactory() {
|
||||||
|
return SyncRogueCommonActionResultScNotifyFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum SyncRogueCommonActionResultScNotifyFactory implements MessageFactory<SyncRogueCommonActionResultScNotify> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonActionResultScNotify create() {
|
||||||
|
return SyncRogueCommonActionResultScNotify.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName oCPBNBPAMEN = FieldName.forField("OCPBNBPAMEN");
|
||||||
|
|
||||||
|
static final FieldName action = FieldName.forField("action");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,370 @@
|
|||||||
|
// 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 SyncRogueCommonPendingActionScNotifyOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code SyncRogueCommonPendingActionScNotify}
|
||||||
|
*/
|
||||||
|
public static final class SyncRogueCommonPendingActionScNotify extends ProtoMessage<SyncRogueCommonPendingActionScNotify> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 9;</code>
|
||||||
|
*/
|
||||||
|
private int oCPBNBPAMEN;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonPendingAction rogue_common_pending_action = 4;</code>
|
||||||
|
*/
|
||||||
|
private final RogueCommonPendingActionOuterClass.RogueCommonPendingAction rogueCommonPendingAction = RogueCommonPendingActionOuterClass.RogueCommonPendingAction.newInstance();
|
||||||
|
|
||||||
|
private SyncRogueCommonPendingActionScNotify() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code SyncRogueCommonPendingActionScNotify}
|
||||||
|
*/
|
||||||
|
public static SyncRogueCommonPendingActionScNotify newInstance() {
|
||||||
|
return new SyncRogueCommonPendingActionScNotify();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 9;</code>
|
||||||
|
* @return whether the oCPBNBPAMEN field is set
|
||||||
|
*/
|
||||||
|
public boolean hasOCPBNBPAMEN() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 9;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueCommonPendingActionScNotify clearOCPBNBPAMEN() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
oCPBNBPAMEN = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 9;</code>
|
||||||
|
* @return the oCPBNBPAMEN
|
||||||
|
*/
|
||||||
|
public int getOCPBNBPAMEN() {
|
||||||
|
return oCPBNBPAMEN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional uint32 OCPBNBPAMEN = 9;</code>
|
||||||
|
* @param value the oCPBNBPAMEN to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueCommonPendingActionScNotify setOCPBNBPAMEN(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
oCPBNBPAMEN = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonPendingAction rogue_common_pending_action = 4;</code>
|
||||||
|
* @return whether the rogueCommonPendingAction field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueCommonPendingAction() {
|
||||||
|
return (bitField0_ & 0x00000002) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonPendingAction rogue_common_pending_action = 4;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueCommonPendingActionScNotify clearRogueCommonPendingAction() {
|
||||||
|
bitField0_ &= ~0x00000002;
|
||||||
|
rogueCommonPendingAction.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonPendingAction rogue_common_pending_action = 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 #getMutableRogueCommonPendingAction()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RogueCommonPendingActionOuterClass.RogueCommonPendingAction getRogueCommonPendingAction(
|
||||||
|
) {
|
||||||
|
return rogueCommonPendingAction;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonPendingAction rogue_common_pending_action = 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 RogueCommonPendingActionOuterClass.RogueCommonPendingAction getMutableRogueCommonPendingAction(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
return rogueCommonPendingAction;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueCommonPendingAction rogue_common_pending_action = 4;</code>
|
||||||
|
* @param value the rogueCommonPendingAction to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueCommonPendingActionScNotify setRogueCommonPendingAction(
|
||||||
|
final RogueCommonPendingActionOuterClass.RogueCommonPendingAction value) {
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
rogueCommonPendingAction.copyFrom(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonPendingActionScNotify copyFrom(
|
||||||
|
final SyncRogueCommonPendingActionScNotify other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
oCPBNBPAMEN = other.oCPBNBPAMEN;
|
||||||
|
rogueCommonPendingAction.copyFrom(other.rogueCommonPendingAction);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonPendingActionScNotify mergeFrom(
|
||||||
|
final SyncRogueCommonPendingActionScNotify other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasOCPBNBPAMEN()) {
|
||||||
|
setOCPBNBPAMEN(other.oCPBNBPAMEN);
|
||||||
|
}
|
||||||
|
if (other.hasRogueCommonPendingAction()) {
|
||||||
|
getMutableRogueCommonPendingAction().mergeFrom(other.rogueCommonPendingAction);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonPendingActionScNotify clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
oCPBNBPAMEN = 0;
|
||||||
|
rogueCommonPendingAction.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonPendingActionScNotify clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueCommonPendingAction.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof SyncRogueCommonPendingActionScNotify)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
SyncRogueCommonPendingActionScNotify other = (SyncRogueCommonPendingActionScNotify) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasOCPBNBPAMEN() || oCPBNBPAMEN == other.oCPBNBPAMEN)
|
||||||
|
&& (!hasRogueCommonPendingAction() || rogueCommonPendingAction.equals(other.rogueCommonPendingAction));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 72);
|
||||||
|
output.writeUInt32NoTag(oCPBNBPAMEN);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeRawByte((byte) 34);
|
||||||
|
output.writeMessageNoTag(rogueCommonPendingAction);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeUInt32SizeNoTag(oCPBNBPAMEN);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeMessageSizeNoTag(rogueCommonPendingAction);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public SyncRogueCommonPendingActionScNotify mergeFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 72: {
|
||||||
|
// oCPBNBPAMEN
|
||||||
|
oCPBNBPAMEN = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 34) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 34: {
|
||||||
|
// rogueCommonPendingAction
|
||||||
|
input.readMessage(rogueCommonPendingAction);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeUInt32(FieldNames.oCPBNBPAMEN, oCPBNBPAMEN);
|
||||||
|
}
|
||||||
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
|
output.writeMessage(FieldNames.rogueCommonPendingAction, rogueCommonPendingAction);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonPendingActionScNotify mergeFrom(final JsonSource input) throws
|
||||||
|
IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -1836582037: {
|
||||||
|
if (input.isAtField(FieldNames.oCPBNBPAMEN)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
oCPBNBPAMEN = input.readUInt32();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1199610440:
|
||||||
|
case 327981581: {
|
||||||
|
if (input.isAtField(FieldNames.rogueCommonPendingAction)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readMessage(rogueCommonPendingAction);
|
||||||
|
bitField0_ |= 0x00000002;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonPendingActionScNotify clone() {
|
||||||
|
return new SyncRogueCommonPendingActionScNotify().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueCommonPendingActionScNotify parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueCommonPendingActionScNotify(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueCommonPendingActionScNotify parseFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueCommonPendingActionScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueCommonPendingActionScNotify parseFrom(final JsonSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueCommonPendingActionScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating SyncRogueCommonPendingActionScNotify messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<SyncRogueCommonPendingActionScNotify> getFactory() {
|
||||||
|
return SyncRogueCommonPendingActionScNotifyFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum SyncRogueCommonPendingActionScNotifyFactory implements MessageFactory<SyncRogueCommonPendingActionScNotify> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueCommonPendingActionScNotify create() {
|
||||||
|
return SyncRogueCommonPendingActionScNotify.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName oCPBNBPAMEN = FieldName.forField("OCPBNBPAMEN");
|
||||||
|
|
||||||
|
static final FieldName rogueCommonPendingAction = FieldName.forField("rogueCommonPendingAction", "rogue_common_pending_action");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,303 @@
|
|||||||
|
// Code generated by protocol buffer compiler. Do not edit!
|
||||||
|
package emu.lunarcore.proto;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import us.hebi.quickbuf.FieldName;
|
||||||
|
import us.hebi.quickbuf.InvalidProtocolBufferException;
|
||||||
|
import us.hebi.quickbuf.JsonSink;
|
||||||
|
import us.hebi.quickbuf.JsonSource;
|
||||||
|
import us.hebi.quickbuf.MessageFactory;
|
||||||
|
import us.hebi.quickbuf.ProtoMessage;
|
||||||
|
import us.hebi.quickbuf.ProtoSink;
|
||||||
|
import us.hebi.quickbuf.ProtoSource;
|
||||||
|
import us.hebi.quickbuf.RepeatedMessage;
|
||||||
|
|
||||||
|
public final class SyncRogueDialogueEventDataScNotifyOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code SyncRogueDialogueEventDataScNotify}
|
||||||
|
*/
|
||||||
|
public static final class SyncRogueDialogueEventDataScNotify extends ProtoMessage<SyncRogueDialogueEventDataScNotify> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEvent rogue_dialogue_event = 1;</code>
|
||||||
|
*/
|
||||||
|
private final RepeatedMessage<RogueDialogueEventOuterClass.RogueDialogueEvent> rogueDialogueEvent = RepeatedMessage.newEmptyInstance(RogueDialogueEventOuterClass.RogueDialogueEvent.getFactory());
|
||||||
|
|
||||||
|
private SyncRogueDialogueEventDataScNotify() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code SyncRogueDialogueEventDataScNotify}
|
||||||
|
*/
|
||||||
|
public static SyncRogueDialogueEventDataScNotify newInstance() {
|
||||||
|
return new SyncRogueDialogueEventDataScNotify();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEvent rogue_dialogue_event = 1;</code>
|
||||||
|
* @return whether the rogueDialogueEvent field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueDialogueEvent() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEvent rogue_dialogue_event = 1;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueDialogueEventDataScNotify clearRogueDialogueEvent() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
rogueDialogueEvent.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEvent rogue_dialogue_event = 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 #getMutableRogueDialogueEvent()} if you want to modify it.
|
||||||
|
*
|
||||||
|
* @return internal storage object for reading
|
||||||
|
*/
|
||||||
|
public RepeatedMessage<RogueDialogueEventOuterClass.RogueDialogueEvent> getRogueDialogueEvent(
|
||||||
|
) {
|
||||||
|
return rogueDialogueEvent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEvent rogue_dialogue_event = 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 RepeatedMessage<RogueDialogueEventOuterClass.RogueDialogueEvent> getMutableRogueDialogueEvent(
|
||||||
|
) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
return rogueDialogueEvent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEvent rogue_dialogue_event = 1;</code>
|
||||||
|
* @param value the rogueDialogueEvent to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueDialogueEventDataScNotify addRogueDialogueEvent(
|
||||||
|
final RogueDialogueEventOuterClass.RogueDialogueEvent value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueDialogueEvent.add(value);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>repeated .RogueDialogueEvent rogue_dialogue_event = 1;</code>
|
||||||
|
* @param values the rogueDialogueEvent to add
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueDialogueEventDataScNotify addAllRogueDialogueEvent(
|
||||||
|
final RogueDialogueEventOuterClass.RogueDialogueEvent... values) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueDialogueEvent.addAll(values);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueDialogueEventDataScNotify copyFrom(
|
||||||
|
final SyncRogueDialogueEventDataScNotify other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
rogueDialogueEvent.copyFrom(other.rogueDialogueEvent);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueDialogueEventDataScNotify mergeFrom(
|
||||||
|
final SyncRogueDialogueEventDataScNotify other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRogueDialogueEvent()) {
|
||||||
|
getMutableRogueDialogueEvent().addAll(other.rogueDialogueEvent);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueDialogueEventDataScNotify clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueDialogueEvent.clear();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueDialogueEventDataScNotify clearQuick() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueDialogueEvent.clearQuick();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o) {
|
||||||
|
if (o == this) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (!(o instanceof SyncRogueDialogueEventDataScNotify)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
SyncRogueDialogueEventDataScNotify other = (SyncRogueDialogueEventDataScNotify) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRogueDialogueEvent() || rogueDialogueEvent.equals(other.rogueDialogueEvent));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
for (int i = 0; i < rogueDialogueEvent.length(); i++) {
|
||||||
|
output.writeRawByte((byte) 10);
|
||||||
|
output.writeMessageNoTag(rogueDialogueEvent.get(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += (1 * rogueDialogueEvent.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(rogueDialogueEvent);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public SyncRogueDialogueEventDataScNotify mergeFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 10: {
|
||||||
|
// rogueDialogueEvent
|
||||||
|
tag = input.readRepeatedMessage(rogueDialogueEvent, tag);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRepeatedMessage(FieldNames.rogueDialogueEvent, rogueDialogueEvent);
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueDialogueEventDataScNotify mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case 1631556584:
|
||||||
|
case -76730760: {
|
||||||
|
if (input.isAtField(FieldNames.rogueDialogueEvent)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
input.readRepeatedMessage(rogueDialogueEvent);
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueDialogueEventDataScNotify clone() {
|
||||||
|
return new SyncRogueDialogueEventDataScNotify().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueDialogueEventDataScNotify parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueDialogueEventDataScNotify(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueDialogueEventDataScNotify parseFrom(final ProtoSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueDialogueEventDataScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueDialogueEventDataScNotify parseFrom(final JsonSource input) throws
|
||||||
|
IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueDialogueEventDataScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating SyncRogueDialogueEventDataScNotify messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<SyncRogueDialogueEventDataScNotify> getFactory() {
|
||||||
|
return SyncRogueDialogueEventDataScNotifyFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum SyncRogueDialogueEventDataScNotifyFactory implements MessageFactory<SyncRogueDialogueEventDataScNotify> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueDialogueEventDataScNotify create() {
|
||||||
|
return SyncRogueDialogueEventDataScNotify.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName rogueDialogueEvent = FieldName.forField("rogueDialogueEvent", "rogue_dialogue_event");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,7 +19,7 @@ public final class SyncRogueFinishScNotifyOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueFinishInfo finish_info = 11;</code>
|
* <code>optional .RogueFinishInfo finish_info = 3;</code>
|
||||||
*/
|
*/
|
||||||
private final RogueFinishInfoOuterClass.RogueFinishInfo finishInfo = RogueFinishInfoOuterClass.RogueFinishInfo.newInstance();
|
private final RogueFinishInfoOuterClass.RogueFinishInfo finishInfo = RogueFinishInfoOuterClass.RogueFinishInfo.newInstance();
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ public final class SyncRogueFinishScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueFinishInfo finish_info = 11;</code>
|
* <code>optional .RogueFinishInfo finish_info = 3;</code>
|
||||||
* @return whether the finishInfo field is set
|
* @return whether the finishInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasFinishInfo() {
|
public boolean hasFinishInfo() {
|
||||||
@@ -42,7 +42,7 @@ public final class SyncRogueFinishScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueFinishInfo finish_info = 11;</code>
|
* <code>optional .RogueFinishInfo finish_info = 3;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public SyncRogueFinishScNotify clearFinishInfo() {
|
public SyncRogueFinishScNotify clearFinishInfo() {
|
||||||
@@ -52,7 +52,7 @@ public final class SyncRogueFinishScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueFinishInfo finish_info = 11;</code>
|
* <code>optional .RogueFinishInfo finish_info = 3;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -66,7 +66,7 @@ public final class SyncRogueFinishScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueFinishInfo finish_info = 11;</code>
|
* <code>optional .RogueFinishInfo finish_info = 3;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -80,7 +80,7 @@ public final class SyncRogueFinishScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueFinishInfo finish_info = 11;</code>
|
* <code>optional .RogueFinishInfo finish_info = 3;</code>
|
||||||
* @param value the finishInfo to set
|
* @param value the finishInfo to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -151,7 +151,7 @@ public final class SyncRogueFinishScNotifyOuterClass {
|
|||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 90);
|
output.writeRawByte((byte) 26);
|
||||||
output.writeMessageNoTag(finishInfo);
|
output.writeMessageNoTag(finishInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -172,7 +172,7 @@ public final class SyncRogueFinishScNotifyOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 90: {
|
case 26: {
|
||||||
// finishInfo
|
// finishInfo
|
||||||
input.readMessage(finishInfo);
|
input.readMessage(finishInfo);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
|
|||||||
@@ -19,12 +19,12 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 12;</code>
|
* <code>optional uint32 map_id = 15;</code>
|
||||||
*/
|
*/
|
||||||
private int mapId;
|
private int mapId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoom cur_room = 14;</code>
|
* <code>optional .RogueRoom cur_room = 7;</code>
|
||||||
*/
|
*/
|
||||||
private final RogueRoomOuterClass.RogueRoom curRoom = RogueRoomOuterClass.RogueRoom.newInstance();
|
private final RogueRoomOuterClass.RogueRoom curRoom = RogueRoomOuterClass.RogueRoom.newInstance();
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 12;</code>
|
* <code>optional uint32 map_id = 15;</code>
|
||||||
* @return whether the mapId field is set
|
* @return whether the mapId field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasMapId() {
|
public boolean hasMapId() {
|
||||||
@@ -47,7 +47,7 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 12;</code>
|
* <code>optional uint32 map_id = 15;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public SyncRogueMapRoomScNotify clearMapId() {
|
public SyncRogueMapRoomScNotify clearMapId() {
|
||||||
@@ -57,7 +57,7 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 12;</code>
|
* <code>optional uint32 map_id = 15;</code>
|
||||||
* @return the mapId
|
* @return the mapId
|
||||||
*/
|
*/
|
||||||
public int getMapId() {
|
public int getMapId() {
|
||||||
@@ -65,7 +65,7 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional uint32 map_id = 12;</code>
|
* <code>optional uint32 map_id = 15;</code>
|
||||||
* @param value the mapId to set
|
* @param value the mapId to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -76,7 +76,7 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoom cur_room = 14;</code>
|
* <code>optional .RogueRoom cur_room = 7;</code>
|
||||||
* @return whether the curRoom field is set
|
* @return whether the curRoom field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasCurRoom() {
|
public boolean hasCurRoom() {
|
||||||
@@ -84,7 +84,7 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoom cur_room = 14;</code>
|
* <code>optional .RogueRoom cur_room = 7;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public SyncRogueMapRoomScNotify clearCurRoom() {
|
public SyncRogueMapRoomScNotify clearCurRoom() {
|
||||||
@@ -94,7 +94,7 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoom cur_room = 14;</code>
|
* <code>optional .RogueRoom cur_room = 7;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -108,7 +108,7 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoom cur_room = 14;</code>
|
* <code>optional .RogueRoom cur_room = 7;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -122,7 +122,7 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueRoom cur_room = 14;</code>
|
* <code>optional .RogueRoom cur_room = 7;</code>
|
||||||
* @param value the curRoom to set
|
* @param value the curRoom to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -198,11 +198,11 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 96);
|
output.writeRawByte((byte) 120);
|
||||||
output.writeUInt32NoTag(mapId);
|
output.writeUInt32NoTag(mapId);
|
||||||
}
|
}
|
||||||
if ((bitField0_ & 0x00000002) != 0) {
|
if ((bitField0_ & 0x00000002) != 0) {
|
||||||
output.writeRawByte((byte) 114);
|
output.writeRawByte((byte) 58);
|
||||||
output.writeMessageNoTag(curRoom);
|
output.writeMessageNoTag(curRoom);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -226,16 +226,16 @@ public final class SyncRogueMapRoomScNotifyOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 96: {
|
case 120: {
|
||||||
// mapId
|
// mapId
|
||||||
mapId = input.readUInt32();
|
mapId = input.readUInt32();
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
tag = input.readTag();
|
tag = input.readTag();
|
||||||
if (tag != 114) {
|
if (tag != 58) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 114: {
|
case 58: {
|
||||||
// curRoom
|
// curRoom
|
||||||
input.readMessage(curRoom);
|
input.readMessage(curRoom);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
|
|||||||
@@ -0,0 +1,293 @@
|
|||||||
|
// 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 SyncRogueStatusScNotifyOuterClass {
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code SyncRogueStatusScNotify}
|
||||||
|
*/
|
||||||
|
public static final class SyncRogueStatusScNotify extends ProtoMessage<SyncRogueStatusScNotify> implements Cloneable {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueStatus rogue_status = 11;</code>
|
||||||
|
*/
|
||||||
|
private int rogueStatus;
|
||||||
|
|
||||||
|
private SyncRogueStatusScNotify() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return a new empty instance of {@code SyncRogueStatusScNotify}
|
||||||
|
*/
|
||||||
|
public static SyncRogueStatusScNotify newInstance() {
|
||||||
|
return new SyncRogueStatusScNotify();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueStatus rogue_status = 11;</code>
|
||||||
|
* @return whether the rogueStatus field is set
|
||||||
|
*/
|
||||||
|
public boolean hasRogueStatus() {
|
||||||
|
return (bitField0_ & 0x00000001) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueStatus rogue_status = 11;</code>
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueStatusScNotify clearRogueStatus() {
|
||||||
|
bitField0_ &= ~0x00000001;
|
||||||
|
rogueStatus = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueStatus rogue_status = 11;</code>
|
||||||
|
* @return the rogueStatus
|
||||||
|
*/
|
||||||
|
public RogueStatusOuterClass.RogueStatus getRogueStatus() {
|
||||||
|
return RogueStatusOuterClass.RogueStatus.forNumber(rogueStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the value of the internal enum store. The result is
|
||||||
|
* equivalent to {@link SyncRogueStatusScNotify#getRogueStatus()}.getNumber().
|
||||||
|
*
|
||||||
|
* @return numeric wire representation
|
||||||
|
*/
|
||||||
|
public int getRogueStatusValue() {
|
||||||
|
return rogueStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 RogueStatusOuterClass.RogueStatus}. Setting an invalid value
|
||||||
|
* can cause {@link SyncRogueStatusScNotify#getRogueStatus()} to return null
|
||||||
|
*
|
||||||
|
* @param value the numeric wire value to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueStatusScNotify setRogueStatusValue(final int value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueStatus = value;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>optional .RogueStatus rogue_status = 11;</code>
|
||||||
|
* @param value the rogueStatus to set
|
||||||
|
* @return this
|
||||||
|
*/
|
||||||
|
public SyncRogueStatusScNotify setRogueStatus(final RogueStatusOuterClass.RogueStatus value) {
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
rogueStatus = value.getNumber();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueStatusScNotify copyFrom(final SyncRogueStatusScNotify other) {
|
||||||
|
cachedSize = other.cachedSize;
|
||||||
|
if ((bitField0_ | other.bitField0_) != 0) {
|
||||||
|
bitField0_ = other.bitField0_;
|
||||||
|
rogueStatus = other.rogueStatus;
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueStatusScNotify mergeFrom(final SyncRogueStatusScNotify other) {
|
||||||
|
if (other.isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
if (other.hasRogueStatus()) {
|
||||||
|
setRogueStatusValue(other.rogueStatus);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueStatusScNotify clear() {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
cachedSize = -1;
|
||||||
|
bitField0_ = 0;
|
||||||
|
rogueStatus = 0;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueStatusScNotify 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 SyncRogueStatusScNotify)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
SyncRogueStatusScNotify other = (SyncRogueStatusScNotify) o;
|
||||||
|
return bitField0_ == other.bitField0_
|
||||||
|
&& (!hasRogueStatus() || rogueStatus == other.rogueStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeRawByte((byte) 88);
|
||||||
|
output.writeEnumNoTag(rogueStatus);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected int computeSerializedSize() {
|
||||||
|
int size = 0;
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
size += 1 + ProtoSink.computeEnumSizeNoTag(rogueStatus);
|
||||||
|
}
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SuppressWarnings("fallthrough")
|
||||||
|
public SyncRogueStatusScNotify mergeFrom(final ProtoSource input) throws IOException {
|
||||||
|
// Enabled Fall-Through Optimization (QuickBuffers)
|
||||||
|
int tag = input.readTag();
|
||||||
|
while (true) {
|
||||||
|
switch (tag) {
|
||||||
|
case 88: {
|
||||||
|
// rogueStatus
|
||||||
|
final int value = input.readInt32();
|
||||||
|
if (RogueStatusOuterClass.RogueStatus.forNumber(value) != null) {
|
||||||
|
rogueStatus = value;
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
if (tag != 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 0: {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
if (!input.skipField(tag)) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
tag = input.readTag();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeTo(final JsonSink output) throws IOException {
|
||||||
|
output.beginObject();
|
||||||
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
|
output.writeEnum(FieldNames.rogueStatus, rogueStatus, RogueStatusOuterClass.RogueStatus.converter());
|
||||||
|
}
|
||||||
|
output.endObject();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueStatusScNotify mergeFrom(final JsonSource input) throws IOException {
|
||||||
|
if (!input.beginObject()) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
while (!input.isAtEnd()) {
|
||||||
|
switch (input.readFieldHash()) {
|
||||||
|
case -836112788:
|
||||||
|
case 1898767863: {
|
||||||
|
if (input.isAtField(FieldNames.rogueStatus)) {
|
||||||
|
if (!input.trySkipNullValue()) {
|
||||||
|
final RogueStatusOuterClass.RogueStatus value = input.readEnum(RogueStatusOuterClass.RogueStatus.converter());
|
||||||
|
if (value != null) {
|
||||||
|
rogueStatus = value.getNumber();
|
||||||
|
bitField0_ |= 0x00000001;
|
||||||
|
} else {
|
||||||
|
input.skipUnknownEnumValue();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
input.skipUnknownField();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
input.skipUnknownField();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
input.endObject();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueStatusScNotify clone() {
|
||||||
|
return new SyncRogueStatusScNotify().copyFrom(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isEmpty() {
|
||||||
|
return ((bitField0_) == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueStatusScNotify parseFrom(final byte[] data) throws
|
||||||
|
InvalidProtocolBufferException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueStatusScNotify(), data).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueStatusScNotify parseFrom(final ProtoSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueStatusScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static SyncRogueStatusScNotify parseFrom(final JsonSource input) throws IOException {
|
||||||
|
return ProtoMessage.mergeFrom(new SyncRogueStatusScNotify(), input).checkInitialized();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return factory for creating SyncRogueStatusScNotify messages
|
||||||
|
*/
|
||||||
|
public static MessageFactory<SyncRogueStatusScNotify> getFactory() {
|
||||||
|
return SyncRogueStatusScNotifyFactory.INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private enum SyncRogueStatusScNotifyFactory implements MessageFactory<SyncRogueStatusScNotify> {
|
||||||
|
INSTANCE;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SyncRogueStatusScNotify create() {
|
||||||
|
return SyncRogueStatusScNotify.newInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains name constants used for serializing JSON
|
||||||
|
*/
|
||||||
|
static class FieldNames {
|
||||||
|
static final FieldName rogueStatus = FieldName.forField("rogueStatus", "rogue_status");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,7 +19,7 @@ public final class SyncRogueVirtualItemInfoScNotifyOuterClass {
|
|||||||
private static final long serialVersionUID = 0L;
|
private static final long serialVersionUID = 0L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 14;</code>
|
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 4;</code>
|
||||||
*/
|
*/
|
||||||
private final RogueVirtualItemInfoOuterClass.RogueVirtualItemInfo rogueVirtualItemInfo = RogueVirtualItemInfoOuterClass.RogueVirtualItemInfo.newInstance();
|
private final RogueVirtualItemInfoOuterClass.RogueVirtualItemInfo rogueVirtualItemInfo = RogueVirtualItemInfoOuterClass.RogueVirtualItemInfo.newInstance();
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ public final class SyncRogueVirtualItemInfoScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 14;</code>
|
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 4;</code>
|
||||||
* @return whether the rogueVirtualItemInfo field is set
|
* @return whether the rogueVirtualItemInfo field is set
|
||||||
*/
|
*/
|
||||||
public boolean hasRogueVirtualItemInfo() {
|
public boolean hasRogueVirtualItemInfo() {
|
||||||
@@ -42,7 +42,7 @@ public final class SyncRogueVirtualItemInfoScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 14;</code>
|
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 4;</code>
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public SyncRogueVirtualItemInfoScNotify clearRogueVirtualItemInfo() {
|
public SyncRogueVirtualItemInfoScNotify clearRogueVirtualItemInfo() {
|
||||||
@@ -52,7 +52,7 @@ public final class SyncRogueVirtualItemInfoScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 14;</code>
|
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object without modifying any has state.
|
* 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.
|
* The returned object should not be modified and be treated as read-only.
|
||||||
@@ -66,7 +66,7 @@ public final class SyncRogueVirtualItemInfoScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 14;</code>
|
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 4;</code>
|
||||||
*
|
*
|
||||||
* This method returns the internal storage object and sets the corresponding
|
* This method returns the internal storage object and sets the corresponding
|
||||||
* has state. The returned object will become part of this message and its
|
* has state. The returned object will become part of this message and its
|
||||||
@@ -80,7 +80,7 @@ public final class SyncRogueVirtualItemInfoScNotifyOuterClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 14;</code>
|
* <code>optional .RogueVirtualItemInfo rogue_virtual_item_info = 4;</code>
|
||||||
* @param value the rogueVirtualItemInfo to set
|
* @param value the rogueVirtualItemInfo to set
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
@@ -152,7 +152,7 @@ public final class SyncRogueVirtualItemInfoScNotifyOuterClass {
|
|||||||
@Override
|
@Override
|
||||||
public void writeTo(final ProtoSink output) throws IOException {
|
public void writeTo(final ProtoSink output) throws IOException {
|
||||||
if ((bitField0_ & 0x00000001) != 0) {
|
if ((bitField0_ & 0x00000001) != 0) {
|
||||||
output.writeRawByte((byte) 114);
|
output.writeRawByte((byte) 34);
|
||||||
output.writeMessageNoTag(rogueVirtualItemInfo);
|
output.writeMessageNoTag(rogueVirtualItemInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -173,7 +173,7 @@ public final class SyncRogueVirtualItemInfoScNotifyOuterClass {
|
|||||||
int tag = input.readTag();
|
int tag = input.readTag();
|
||||||
while (true) {
|
while (true) {
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case 114: {
|
case 34: {
|
||||||
// rogueVirtualItemInfo
|
// rogueVirtualItemInfo
|
||||||
input.readMessage(rogueVirtualItemInfo);
|
input.readMessage(rogueVirtualItemInfo);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public class GameConstants {
|
|||||||
public static final int CHALLENGE_STORY_ENTRANCE = 102020107;
|
public static final int CHALLENGE_STORY_ENTRANCE = 102020107;
|
||||||
|
|
||||||
// Rogue
|
// Rogue
|
||||||
public static final boolean ENABLE_ROGUE = false;
|
public static final boolean ENABLE_ROGUE = true;
|
||||||
public static final int ROGUE_ENTRANCE = 801120102;
|
public static final int ROGUE_ENTRANCE = 801120102;
|
||||||
public static final int ROGUE_TALENT_POINT_ITEM_ID = 32;
|
public static final int ROGUE_TALENT_POINT_ITEM_ID = 32;
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ public class GameData {
|
|||||||
@Getter private static Int2ObjectMap<RogueRoomExcel> rogueRoomExcelMap = new Int2ObjectOpenHashMap<>();
|
@Getter private static Int2ObjectMap<RogueRoomExcel> rogueRoomExcelMap = new Int2ObjectOpenHashMap<>();
|
||||||
@Getter private static Int2ObjectMap<RogueMapExcel> rogueMapExcelMap = new Int2ObjectOpenHashMap<>();
|
@Getter private static Int2ObjectMap<RogueMapExcel> rogueMapExcelMap = new Int2ObjectOpenHashMap<>();
|
||||||
@Getter private static Int2ObjectMap<RogueMonsterExcel> rogueMonsterExcelMap = new Int2ObjectOpenHashMap<>();
|
@Getter private static Int2ObjectMap<RogueMonsterExcel> rogueMonsterExcelMap = new Int2ObjectOpenHashMap<>();
|
||||||
|
@Getter private static Int2ObjectMap<DialogueEventExcel> rogueDialogueEventList = new Int2ObjectOpenHashMap<>();
|
||||||
private static Int2ObjectMap<RogueBuffExcel> rogueBuffExcelMap = new Int2ObjectOpenHashMap<>();
|
private static Int2ObjectMap<RogueBuffExcel> rogueBuffExcelMap = new Int2ObjectOpenHashMap<>();
|
||||||
|
|
||||||
private static Int2ObjectMap<AvatarPromotionExcel> avatarPromotionExcelMap = new Int2ObjectOpenHashMap<>();
|
private static Int2ObjectMap<AvatarPromotionExcel> avatarPromotionExcelMap = new Int2ObjectOpenHashMap<>();
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ public class GameDepot {
|
|||||||
@Getter private static Int2ObjectMap<RogueBuffExcel> rogueAeonBuffs = new Int2ObjectOpenHashMap<>();
|
@Getter private static Int2ObjectMap<RogueBuffExcel> rogueAeonBuffs = new Int2ObjectOpenHashMap<>();
|
||||||
@Getter private static Int2ObjectMap<List<RogueBuffExcel>> rogueAeonEnhanceBuffs = new Int2ObjectOpenHashMap<>();
|
@Getter private static Int2ObjectMap<List<RogueBuffExcel>> rogueAeonEnhanceBuffs = new Int2ObjectOpenHashMap<>();
|
||||||
@Getter private static List<RogueBuffExcel> rogueRandomBuffList = new ArrayList<>();
|
@Getter private static List<RogueBuffExcel> rogueRandomBuffList = new ArrayList<>();
|
||||||
|
@Getter private static List<RogueBonusExcel> rogueRandomCommonBonusList = new ArrayList<>();
|
||||||
@Getter private static List<RogueMiracleExcel> rogueRandomMiracleList = new ArrayList<>();
|
@Getter private static List<RogueMiracleExcel> rogueRandomMiracleList = new ArrayList<>();
|
||||||
@Getter private static List<RogueNPCExcel> rogueRandomNpcList = new ArrayList<>();
|
@Getter private static List<RogueNPCExcel> rogueRandomNpcList = new ArrayList<>();
|
||||||
private static Int2ObjectMap<List<RogueMapExcel>> rogueMapDepot = new Int2ObjectOpenHashMap<>();
|
private static Int2ObjectMap<List<RogueMapExcel>> rogueMapDepot = new Int2ObjectOpenHashMap<>();
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
package emu.lunarcore.data.excel;
|
||||||
|
|
||||||
|
import emu.lunarcore.data.GameData;
|
||||||
|
import emu.lunarcore.data.GameResource;
|
||||||
|
import emu.lunarcore.data.ResourceType;
|
||||||
|
import emu.lunarcore.data.ResourceType.LoadPriority;
|
||||||
|
import emu.lunarcore.game.enums.DialogueEventCostType;
|
||||||
|
import emu.lunarcore.game.enums.DialogueEventType;
|
||||||
|
import emu.lunarcore.game.rogue.RogueBuffType;
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@ResourceType(name = {"DialogueEvent.json"}, loadPriority = LoadPriority.LOW)
|
||||||
|
public class DialogueEventExcel extends GameResource {
|
||||||
|
public int EventID;
|
||||||
|
public DialogueEventType RogueEffectType;
|
||||||
|
public List<Integer> RogueEffectParamList;
|
||||||
|
public DialogueEventCostType CostType;
|
||||||
|
public List<Integer> CostParamList;
|
||||||
|
public List<Integer> ConditionIDList;
|
||||||
|
public RogueBuffType AeonOption;
|
||||||
|
@Override
|
||||||
|
public int getId() {
|
||||||
|
return EventID;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onLoad() {
|
||||||
|
GameData.getRogueDialogueEventList().put(EventID, this);
|
||||||
|
}
|
||||||
|
}
|
||||||
25
src/main/java/emu/lunarcore/data/excel/RogueBonusExcel.java
Normal file
25
src/main/java/emu/lunarcore/data/excel/RogueBonusExcel.java
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
package emu.lunarcore.data.excel;
|
||||||
|
|
||||||
|
import emu.lunarcore.data.GameDepot;
|
||||||
|
import emu.lunarcore.data.GameResource;
|
||||||
|
import emu.lunarcore.data.ResourceType;
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@ResourceType(name = {"RogueBonus.json"})
|
||||||
|
public class RogueBonusExcel extends GameResource {
|
||||||
|
private int BonusID;
|
||||||
|
private int BonusEvent;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getId() {
|
||||||
|
return BonusID;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onLoad() {
|
||||||
|
if (BonusID > 0 && BonusID < 10) {
|
||||||
|
GameDepot.getRogueRandomCommonBonusList().add(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -31,7 +31,7 @@ public class RogueBuffExcel extends GameResource {
|
|||||||
@Override
|
@Override
|
||||||
public void onLoad() {
|
public void onLoad() {
|
||||||
// Add to random buff list
|
// Add to random buff list
|
||||||
if (RogueBuffType >= 120 && RogueBuffType <= 126 && RogueBuffRarity >= 1 && RogueBuffRarity <= 3 && MazeBuffLevel == 1 && AeonID == 0) {
|
if (RogueBuffType >= 120 && RogueBuffType <= 128 && RogueBuffRarity >= 1 && RogueBuffRarity <= 3 && MazeBuffLevel == 1 && AeonID == 0) {
|
||||||
GameDepot.getRogueRandomBuffList().add(this);
|
GameDepot.getRogueRandomBuffList().add(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ public class RogueMiracleExcel extends GameResource {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onLoad() {
|
public void onLoad() {
|
||||||
if (IsShow && MiracleReward > 0) {
|
//if (IsShow && MiracleReward > 0) { // it is always false
|
||||||
GameDepot.getRogueRandomMiracleList().add(this);
|
GameDepot.getRogueRandomMiracleList().add(this);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ public class RogueNPCExcel extends GameResource {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onLoad() {
|
public void onLoad() {
|
||||||
if (NPCID == 3013) {
|
if (NPCID == 3013 && RogueNPCID >= 10000 && RogueNPCID <= 19999) {
|
||||||
GameDepot.getRogueRandomNpcList().add(this);
|
GameDepot.getRogueRandomNpcList().add(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ public class BattleService extends BaseGameService {
|
|||||||
for (int entityId : hitTargets) {
|
for (int entityId : hitTargets) {
|
||||||
if (player.getScene().getAvatarEntityIds().contains(entityId)) {
|
if (player.getScene().getAvatarEntityIds().contains(entityId)) {
|
||||||
isAmbushed = true;
|
isAmbushed = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -165,6 +166,27 @@ public class BattleService extends BaseGameService {
|
|||||||
player.sendPacket(new PacketSceneCastSkillScRsp(attackedGroupId));
|
player.sendPacket(new PacketSceneCastSkillScRsp(attackedGroupId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void startBattle(Player player, int stageId) {
|
||||||
|
// Sanity check to make sure player isnt in a battle
|
||||||
|
if (player.isInBattle()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get stage
|
||||||
|
StageExcel stage = GameData.getStageExcelMap().get(stageId);
|
||||||
|
if (stage == null) {
|
||||||
|
player.sendPacket(new PacketSceneCastSkillScRsp());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create new battle for player
|
||||||
|
Battle battle = new Battle(player, player.getCurrentLineup(), stage);
|
||||||
|
player.setBattle(battle);
|
||||||
|
|
||||||
|
// Send packet
|
||||||
|
player.sendPacket(new PacketSceneCastSkillScRsp(battle, 0)); // remain to be tested
|
||||||
|
}
|
||||||
|
|
||||||
public void startCocoon(Player player, int cocoonId, int worldLevel, int wave) {
|
public void startCocoon(Player player, int cocoonId, int worldLevel, int wave) {
|
||||||
// Sanity check to make sure player isnt in a battle
|
// Sanity check to make sure player isnt in a battle
|
||||||
if (player.isInBattle()) {
|
if (player.isInBattle()) {
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
package emu.lunarcore.game.enums;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
public enum DialogueEventCostType {
|
||||||
|
None(0),
|
||||||
|
CostItemValue(1),
|
||||||
|
CostHpCurrentPercent(2),
|
||||||
|
CostItemPercent(3),
|
||||||
|
CostHpSpToPercent(4),
|
||||||
|
;
|
||||||
|
|
||||||
|
private int value;
|
||||||
|
|
||||||
|
DialogueEventCostType(int value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
package emu.lunarcore.game.enums;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
public enum DialogueEventType {
|
||||||
|
NONE(0),
|
||||||
|
GetItem(1),
|
||||||
|
TriggerRogueBuffSelect(2),
|
||||||
|
TriggerRogueMiracleSelect(3),
|
||||||
|
EnhanceRogueBuff(4),
|
||||||
|
TriggerRandomEventList(5),
|
||||||
|
ChangeLineupData(6),
|
||||||
|
TriggerRogueBuffReforge(8),
|
||||||
|
GetRogueMiracle(9),
|
||||||
|
TriggerDialogueEventList(10),
|
||||||
|
GetAllRogueBuffInGroup(11),
|
||||||
|
GetAllRogueBuffInGroupAndGetItem(12),
|
||||||
|
TriggerBattle(13),
|
||||||
|
TriggerRogueMiracleTrade(14),
|
||||||
|
RepeatableGamble(15),
|
||||||
|
ReplaceRogueBuffKeepLevel(16),
|
||||||
|
FinishChessRogue(17),
|
||||||
|
GetRogueBuff(21),
|
||||||
|
GetChessRogueCheatDice(18),
|
||||||
|
SetChessRogueNextStartCellAdventureRoomType(19),
|
||||||
|
ChangeChessRogueActionPoint(20),
|
||||||
|
ReplaceRogueBuff(23),
|
||||||
|
DestroyRogueMiracle(22),
|
||||||
|
TriggerRogueBuffDrop(26),
|
||||||
|
ChangeRogueMiracleToRogueCoin(24),
|
||||||
|
RemoveRogueMiracle(27),
|
||||||
|
GetItemByPercent(25),
|
||||||
|
RemoveRogueBuff(28),
|
||||||
|
TriggerRogueMiracleRepair(29),
|
||||||
|
RepairRogueMiracle(30),
|
||||||
|
ChangeRogueMiracleToRogueMiracle(31),
|
||||||
|
ChangeRogueMiracleToRogueBuff(32),
|
||||||
|
GetChessRogueRerollDice(33),
|
||||||
|
GetRogueBuffByMiracleCount(34),
|
||||||
|
ChangeNousValue(35),
|
||||||
|
ReviveAvatar(36),
|
||||||
|
TriggerDialogueEventListByCondition(37),
|
||||||
|
TriggerRogueMiracleDropWithEvent(38),
|
||||||
|
TriggerRogueBuffEnhance(39),
|
||||||
|
GetCoinByLoseCoin(40),
|
||||||
|
ChangeRogueNpcWeight(41),
|
||||||
|
GetDestroyedRogueMiracle(42),
|
||||||
|
ChangeDestroyedRogueMiracleToRogueMiracle(43),
|
||||||
|
DestroyRogueMiracleThenGetRogueMiracle(44),
|
||||||
|
TriggerDestroyedRogueMiracleSelect(45)
|
||||||
|
;
|
||||||
|
|
||||||
|
private final int val;
|
||||||
|
|
||||||
|
DialogueEventType(int i) {
|
||||||
|
this.val = i;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -945,8 +945,10 @@ public class Player implements Tickable {
|
|||||||
|
|
||||||
public RogueVirtualItemInfo toRogueVirtualItemsProto() {
|
public RogueVirtualItemInfo toRogueVirtualItemsProto() {
|
||||||
var proto = RogueVirtualItemInfo.newInstance()
|
var proto = RogueVirtualItemInfo.newInstance()
|
||||||
.setRogueAbilityPoint(this.getTalentPoints());
|
.setX(this.getTalentPoints()); // remain to be discussed
|
||||||
|
if (this.getRogueInstance() != null) {
|
||||||
|
proto.setMoney(this.getRogueInstance().getMoney());
|
||||||
|
}
|
||||||
return proto;
|
return proto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user