mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 13:13:35 +08:00
Add new protocol definitions
This commit is contained in:
+145
-145
@@ -19,33 +19,33 @@ public final class TryEnterHomeReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>bool is_transfer_to_safe_point = 12;</code>
|
||||
* @return The isTransferToSafePoint.
|
||||
*/
|
||||
boolean getIsTransferToSafePoint();
|
||||
|
||||
/**
|
||||
* <code>uint32 target_point = 8;</code>
|
||||
* @return The targetPoint.
|
||||
*/
|
||||
int getTargetPoint();
|
||||
|
||||
/**
|
||||
* <code>uint32 target_uid = 11;</code>
|
||||
* <code>uint32 target_uid = 4;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
int getTargetUid();
|
||||
|
||||
/**
|
||||
* <code>bool GGBOCPDIIKL = 14;</code>
|
||||
* @return The gGBOCPDIIKL.
|
||||
* <code>bool is_transfer_to_safe_point = 9;</code>
|
||||
* @return The isTransferToSafePoint.
|
||||
*/
|
||||
boolean getGGBOCPDIIKL();
|
||||
boolean getIsTransferToSafePoint();
|
||||
|
||||
/**
|
||||
* <code>uint32 target_point = 5;</code>
|
||||
* @return The targetPoint.
|
||||
*/
|
||||
int getTargetPoint();
|
||||
|
||||
/**
|
||||
* <code>bool JFEOCNJLCLG = 12;</code>
|
||||
* @return The jFEOCNJLCLG.
|
||||
*/
|
||||
boolean getJFEOCNJLCLG();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4565
|
||||
* Obf: DGPBLIIAEOL
|
||||
* CmdId: 26594
|
||||
* Obf: EPFFLHEAHIE
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code TryEnterHomeReq}
|
||||
@@ -92,24 +92,24 @@ public final class TryEnterHomeReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 64: {
|
||||
|
||||
targetPoint_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
case 32: {
|
||||
|
||||
targetUid_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
case 40: {
|
||||
|
||||
targetPoint_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
|
||||
isTransferToSafePoint_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
case 96: {
|
||||
|
||||
gGBOCPDIIKL_ = input.readBool();
|
||||
jFEOCNJLCLG_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -144,32 +144,10 @@ public final class TryEnterHomeReqOuterClass {
|
||||
emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq.class, emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int IS_TRANSFER_TO_SAFE_POINT_FIELD_NUMBER = 12;
|
||||
private boolean isTransferToSafePoint_;
|
||||
/**
|
||||
* <code>bool is_transfer_to_safe_point = 12;</code>
|
||||
* @return The isTransferToSafePoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsTransferToSafePoint() {
|
||||
return isTransferToSafePoint_;
|
||||
}
|
||||
|
||||
public static final int TARGET_POINT_FIELD_NUMBER = 8;
|
||||
private int targetPoint_;
|
||||
/**
|
||||
* <code>uint32 target_point = 8;</code>
|
||||
* @return The targetPoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTargetPoint() {
|
||||
return targetPoint_;
|
||||
}
|
||||
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 11;
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 4;
|
||||
private int targetUid_;
|
||||
/**
|
||||
* <code>uint32 target_uid = 11;</code>
|
||||
* <code>uint32 target_uid = 4;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -177,15 +155,37 @@ public final class TryEnterHomeReqOuterClass {
|
||||
return targetUid_;
|
||||
}
|
||||
|
||||
public static final int GGBOCPDIIKL_FIELD_NUMBER = 14;
|
||||
private boolean gGBOCPDIIKL_;
|
||||
public static final int IS_TRANSFER_TO_SAFE_POINT_FIELD_NUMBER = 9;
|
||||
private boolean isTransferToSafePoint_;
|
||||
/**
|
||||
* <code>bool GGBOCPDIIKL = 14;</code>
|
||||
* @return The gGBOCPDIIKL.
|
||||
* <code>bool is_transfer_to_safe_point = 9;</code>
|
||||
* @return The isTransferToSafePoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getGGBOCPDIIKL() {
|
||||
return gGBOCPDIIKL_;
|
||||
public boolean getIsTransferToSafePoint() {
|
||||
return isTransferToSafePoint_;
|
||||
}
|
||||
|
||||
public static final int TARGET_POINT_FIELD_NUMBER = 5;
|
||||
private int targetPoint_;
|
||||
/**
|
||||
* <code>uint32 target_point = 5;</code>
|
||||
* @return The targetPoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTargetPoint() {
|
||||
return targetPoint_;
|
||||
}
|
||||
|
||||
public static final int JFEOCNJLCLG_FIELD_NUMBER = 12;
|
||||
private boolean jFEOCNJLCLG_;
|
||||
/**
|
||||
* <code>bool JFEOCNJLCLG = 12;</code>
|
||||
* @return The jFEOCNJLCLG.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getJFEOCNJLCLG() {
|
||||
return jFEOCNJLCLG_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -202,17 +202,17 @@ public final class TryEnterHomeReqOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (targetPoint_ != 0) {
|
||||
output.writeUInt32(8, targetPoint_);
|
||||
}
|
||||
if (targetUid_ != 0) {
|
||||
output.writeUInt32(11, targetUid_);
|
||||
output.writeUInt32(4, targetUid_);
|
||||
}
|
||||
if (targetPoint_ != 0) {
|
||||
output.writeUInt32(5, targetPoint_);
|
||||
}
|
||||
if (isTransferToSafePoint_ != false) {
|
||||
output.writeBool(12, isTransferToSafePoint_);
|
||||
output.writeBool(9, isTransferToSafePoint_);
|
||||
}
|
||||
if (gGBOCPDIIKL_ != false) {
|
||||
output.writeBool(14, gGBOCPDIIKL_);
|
||||
if (jFEOCNJLCLG_ != false) {
|
||||
output.writeBool(12, jFEOCNJLCLG_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -223,21 +223,21 @@ public final class TryEnterHomeReqOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (targetPoint_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, targetPoint_);
|
||||
}
|
||||
if (targetUid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(11, targetUid_);
|
||||
.computeUInt32Size(4, targetUid_);
|
||||
}
|
||||
if (targetPoint_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(5, targetPoint_);
|
||||
}
|
||||
if (isTransferToSafePoint_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(12, isTransferToSafePoint_);
|
||||
.computeBoolSize(9, isTransferToSafePoint_);
|
||||
}
|
||||
if (gGBOCPDIIKL_ != false) {
|
||||
if (jFEOCNJLCLG_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(14, gGBOCPDIIKL_);
|
||||
.computeBoolSize(12, jFEOCNJLCLG_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -254,14 +254,14 @@ public final class TryEnterHomeReqOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq other = (emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq) obj;
|
||||
|
||||
if (getTargetUid()
|
||||
!= other.getTargetUid()) return false;
|
||||
if (getIsTransferToSafePoint()
|
||||
!= other.getIsTransferToSafePoint()) return false;
|
||||
if (getTargetPoint()
|
||||
!= other.getTargetPoint()) return false;
|
||||
if (getTargetUid()
|
||||
!= other.getTargetUid()) return false;
|
||||
if (getGGBOCPDIIKL()
|
||||
!= other.getGGBOCPDIIKL()) return false;
|
||||
if (getJFEOCNJLCLG()
|
||||
!= other.getJFEOCNJLCLG()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -273,16 +273,16 @@ public final class TryEnterHomeReqOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + TARGET_UID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTargetUid();
|
||||
hash = (37 * hash) + IS_TRANSFER_TO_SAFE_POINT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsTransferToSafePoint());
|
||||
hash = (37 * hash) + TARGET_POINT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTargetPoint();
|
||||
hash = (37 * hash) + TARGET_UID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTargetUid();
|
||||
hash = (37 * hash) + GGBOCPDIIKL_FIELD_NUMBER;
|
||||
hash = (37 * hash) + JFEOCNJLCLG_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getGGBOCPDIIKL());
|
||||
getJFEOCNJLCLG());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -380,8 +380,8 @@ public final class TryEnterHomeReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4565
|
||||
* Obf: DGPBLIIAEOL
|
||||
* CmdId: 26594
|
||||
* Obf: EPFFLHEAHIE
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code TryEnterHomeReq}
|
||||
@@ -421,13 +421,13 @@ public final class TryEnterHomeReqOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
targetUid_ = 0;
|
||||
|
||||
isTransferToSafePoint_ = false;
|
||||
|
||||
targetPoint_ = 0;
|
||||
|
||||
targetUid_ = 0;
|
||||
|
||||
gGBOCPDIIKL_ = false;
|
||||
jFEOCNJLCLG_ = false;
|
||||
|
||||
return this;
|
||||
}
|
||||
@@ -455,10 +455,10 @@ public final class TryEnterHomeReqOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq buildPartial() {
|
||||
emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq result = new emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq(this);
|
||||
result.targetUid_ = targetUid_;
|
||||
result.isTransferToSafePoint_ = isTransferToSafePoint_;
|
||||
result.targetPoint_ = targetPoint_;
|
||||
result.targetUid_ = targetUid_;
|
||||
result.gGBOCPDIIKL_ = gGBOCPDIIKL_;
|
||||
result.jFEOCNJLCLG_ = jFEOCNJLCLG_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -507,17 +507,17 @@ public final class TryEnterHomeReqOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq other) {
|
||||
if (other == emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq.getDefaultInstance()) return this;
|
||||
if (other.getTargetUid() != 0) {
|
||||
setTargetUid(other.getTargetUid());
|
||||
}
|
||||
if (other.getIsTransferToSafePoint() != false) {
|
||||
setIsTransferToSafePoint(other.getIsTransferToSafePoint());
|
||||
}
|
||||
if (other.getTargetPoint() != 0) {
|
||||
setTargetPoint(other.getTargetPoint());
|
||||
}
|
||||
if (other.getTargetUid() != 0) {
|
||||
setTargetUid(other.getTargetUid());
|
||||
}
|
||||
if (other.getGGBOCPDIIKL() != false) {
|
||||
setGGBOCPDIIKL(other.getGGBOCPDIIKL());
|
||||
if (other.getJFEOCNJLCLG() != false) {
|
||||
setJFEOCNJLCLG(other.getJFEOCNJLCLG());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
@@ -548,9 +548,40 @@ public final class TryEnterHomeReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int targetUid_ ;
|
||||
/**
|
||||
* <code>uint32 target_uid = 4;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTargetUid() {
|
||||
return targetUid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 4;</code>
|
||||
* @param value The targetUid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTargetUid(int value) {
|
||||
|
||||
targetUid_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTargetUid() {
|
||||
|
||||
targetUid_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean isTransferToSafePoint_ ;
|
||||
/**
|
||||
* <code>bool is_transfer_to_safe_point = 12;</code>
|
||||
* <code>bool is_transfer_to_safe_point = 9;</code>
|
||||
* @return The isTransferToSafePoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -558,7 +589,7 @@ public final class TryEnterHomeReqOuterClass {
|
||||
return isTransferToSafePoint_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_transfer_to_safe_point = 12;</code>
|
||||
* <code>bool is_transfer_to_safe_point = 9;</code>
|
||||
* @param value The isTransferToSafePoint to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -569,7 +600,7 @@ public final class TryEnterHomeReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_transfer_to_safe_point = 12;</code>
|
||||
* <code>bool is_transfer_to_safe_point = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsTransferToSafePoint() {
|
||||
@@ -581,7 +612,7 @@ public final class TryEnterHomeReqOuterClass {
|
||||
|
||||
private int targetPoint_ ;
|
||||
/**
|
||||
* <code>uint32 target_point = 8;</code>
|
||||
* <code>uint32 target_point = 5;</code>
|
||||
* @return The targetPoint.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -589,7 +620,7 @@ public final class TryEnterHomeReqOuterClass {
|
||||
return targetPoint_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_point = 8;</code>
|
||||
* <code>uint32 target_point = 5;</code>
|
||||
* @param value The targetPoint to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -600,7 +631,7 @@ public final class TryEnterHomeReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_point = 8;</code>
|
||||
* <code>uint32 target_point = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTargetPoint() {
|
||||
@@ -610,64 +641,33 @@ public final class TryEnterHomeReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int targetUid_ ;
|
||||
private boolean jFEOCNJLCLG_ ;
|
||||
/**
|
||||
* <code>uint32 target_uid = 11;</code>
|
||||
* @return The targetUid.
|
||||
* <code>bool JFEOCNJLCLG = 12;</code>
|
||||
* @return The jFEOCNJLCLG.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTargetUid() {
|
||||
return targetUid_;
|
||||
public boolean getJFEOCNJLCLG() {
|
||||
return jFEOCNJLCLG_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 11;</code>
|
||||
* @param value The targetUid to set.
|
||||
* <code>bool JFEOCNJLCLG = 12;</code>
|
||||
* @param value The jFEOCNJLCLG to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTargetUid(int value) {
|
||||
public Builder setJFEOCNJLCLG(boolean value) {
|
||||
|
||||
targetUid_ = value;
|
||||
jFEOCNJLCLG_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 11;</code>
|
||||
* <code>bool JFEOCNJLCLG = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTargetUid() {
|
||||
public Builder clearJFEOCNJLCLG() {
|
||||
|
||||
targetUid_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean gGBOCPDIIKL_ ;
|
||||
/**
|
||||
* <code>bool GGBOCPDIIKL = 14;</code>
|
||||
* @return The gGBOCPDIIKL.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getGGBOCPDIIKL() {
|
||||
return gGBOCPDIIKL_;
|
||||
}
|
||||
/**
|
||||
* <code>bool GGBOCPDIIKL = 14;</code>
|
||||
* @param value The gGBOCPDIIKL to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGGBOCPDIIKL(boolean value) {
|
||||
|
||||
gGBOCPDIIKL_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool GGBOCPDIIKL = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGGBOCPDIIKL() {
|
||||
|
||||
gGBOCPDIIKL_ = false;
|
||||
jFEOCNJLCLG_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -739,9 +739,9 @@ public final class TryEnterHomeReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\025TryEnterHomeReq.proto\"s\n\017TryEnterHomeR" +
|
||||
"eq\022!\n\031is_transfer_to_safe_point\030\014 \001(\010\022\024\n" +
|
||||
"\014target_point\030\010 \001(\r\022\022\n\ntarget_uid\030\013 \001(\r\022" +
|
||||
"\023\n\013GGBOCPDIIKL\030\016 \001(\010B\033\n\031emu.grasscutter." +
|
||||
"eq\022\022\n\ntarget_uid\030\004 \001(\r\022!\n\031is_transfer_to" +
|
||||
"_safe_point\030\t \001(\010\022\024\n\014target_point\030\005 \001(\r\022" +
|
||||
"\023\n\013JFEOCNJLCLG\030\014 \001(\010B\033\n\031emu.grasscutter." +
|
||||
"net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -753,7 +753,7 @@ public final class TryEnterHomeReqOuterClass {
|
||||
internal_static_TryEnterHomeReq_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_TryEnterHomeReq_descriptor,
|
||||
new java.lang.String[] { "IsTransferToSafePoint", "TargetPoint", "TargetUid", "GGBOCPDIIKL", });
|
||||
new java.lang.String[] { "TargetUid", "IsTransferToSafePoint", "TargetPoint", "JFEOCNJLCLG", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user