mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 12:14:01 +08:00
Add new protocol definitions
This commit is contained in:
+166
-166
@@ -19,33 +19,33 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 param = 5;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
int getParam();
|
||||
|
||||
/**
|
||||
* <code>uint32 apply_uid = 9;</code>
|
||||
* @return The applyUid.
|
||||
*/
|
||||
int getApplyUid();
|
||||
|
||||
/**
|
||||
* <code>bool is_agreed = 13;</code>
|
||||
* <code>bool is_agreed = 3;</code>
|
||||
* @return The isAgreed.
|
||||
*/
|
||||
boolean getIsAgreed();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 8;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 param = 8;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
int getParam();
|
||||
|
||||
/**
|
||||
* <code>uint32 apply_uid = 1;</code>
|
||||
* @return The applyUid.
|
||||
*/
|
||||
int getApplyUid();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4561
|
||||
* Obf: GDDDEMKDDLM
|
||||
* CmdId: 5358
|
||||
* Obf: MCGEJCOHFFM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerApplyEnterHomeResultRsp}
|
||||
@@ -92,26 +92,26 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 40: {
|
||||
|
||||
param_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
case 8: {
|
||||
|
||||
applyUid_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
case 24: {
|
||||
|
||||
isAgreed_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
|
||||
param_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -144,32 +144,10 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
emu.grasscutter.net.proto.PlayerApplyEnterHomeResultRspOuterClass.PlayerApplyEnterHomeResultRsp.class, emu.grasscutter.net.proto.PlayerApplyEnterHomeResultRspOuterClass.PlayerApplyEnterHomeResultRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int PARAM_FIELD_NUMBER = 5;
|
||||
private int param_;
|
||||
/**
|
||||
* <code>uint32 param = 5;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getParam() {
|
||||
return param_;
|
||||
}
|
||||
|
||||
public static final int APPLY_UID_FIELD_NUMBER = 9;
|
||||
private int applyUid_;
|
||||
/**
|
||||
* <code>uint32 apply_uid = 9;</code>
|
||||
* @return The applyUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getApplyUid() {
|
||||
return applyUid_;
|
||||
}
|
||||
|
||||
public static final int IS_AGREED_FIELD_NUMBER = 13;
|
||||
public static final int IS_AGREED_FIELD_NUMBER = 3;
|
||||
private boolean isAgreed_;
|
||||
/**
|
||||
* <code>bool is_agreed = 13;</code>
|
||||
* <code>bool is_agreed = 3;</code>
|
||||
* @return The isAgreed.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -177,10 +155,10 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
return isAgreed_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 8;
|
||||
public static final int RETCODE_FIELD_NUMBER = 6;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 8;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -188,6 +166,28 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int PARAM_FIELD_NUMBER = 8;
|
||||
private int param_;
|
||||
/**
|
||||
* <code>uint32 param = 8;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getParam() {
|
||||
return param_;
|
||||
}
|
||||
|
||||
public static final int APPLY_UID_FIELD_NUMBER = 1;
|
||||
private int applyUid_;
|
||||
/**
|
||||
* <code>uint32 apply_uid = 1;</code>
|
||||
* @return The applyUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getApplyUid() {
|
||||
return applyUid_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -202,17 +202,17 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (param_ != 0) {
|
||||
output.writeUInt32(5, param_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(8, retcode_);
|
||||
}
|
||||
if (applyUid_ != 0) {
|
||||
output.writeUInt32(9, applyUid_);
|
||||
output.writeUInt32(1, applyUid_);
|
||||
}
|
||||
if (isAgreed_ != false) {
|
||||
output.writeBool(13, isAgreed_);
|
||||
output.writeBool(3, isAgreed_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(6, retcode_);
|
||||
}
|
||||
if (param_ != 0) {
|
||||
output.writeUInt32(8, param_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -223,21 +223,21 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (param_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(5, param_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(8, retcode_);
|
||||
}
|
||||
if (applyUid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, applyUid_);
|
||||
.computeUInt32Size(1, applyUid_);
|
||||
}
|
||||
if (isAgreed_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(13, isAgreed_);
|
||||
.computeBoolSize(3, isAgreed_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(6, retcode_);
|
||||
}
|
||||
if (param_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, param_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -254,14 +254,14 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.PlayerApplyEnterHomeResultRspOuterClass.PlayerApplyEnterHomeResultRsp other = (emu.grasscutter.net.proto.PlayerApplyEnterHomeResultRspOuterClass.PlayerApplyEnterHomeResultRsp) obj;
|
||||
|
||||
if (getParam()
|
||||
!= other.getParam()) return false;
|
||||
if (getApplyUid()
|
||||
!= other.getApplyUid()) return false;
|
||||
if (getIsAgreed()
|
||||
!= other.getIsAgreed()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getParam()
|
||||
!= other.getParam()) return false;
|
||||
if (getApplyUid()
|
||||
!= other.getApplyUid()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -273,15 +273,15 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + PARAM_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getParam();
|
||||
hash = (37 * hash) + APPLY_UID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getApplyUid();
|
||||
hash = (37 * hash) + IS_AGREED_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsAgreed());
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + PARAM_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getParam();
|
||||
hash = (37 * hash) + APPLY_UID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getApplyUid();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -379,8 +379,8 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4561
|
||||
* Obf: GDDDEMKDDLM
|
||||
* CmdId: 5358
|
||||
* Obf: MCGEJCOHFFM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerApplyEnterHomeResultRsp}
|
||||
@@ -420,14 +420,14 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
param_ = 0;
|
||||
|
||||
applyUid_ = 0;
|
||||
|
||||
isAgreed_ = false;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
param_ = 0;
|
||||
|
||||
applyUid_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -454,10 +454,10 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.PlayerApplyEnterHomeResultRspOuterClass.PlayerApplyEnterHomeResultRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.PlayerApplyEnterHomeResultRspOuterClass.PlayerApplyEnterHomeResultRsp result = new emu.grasscutter.net.proto.PlayerApplyEnterHomeResultRspOuterClass.PlayerApplyEnterHomeResultRsp(this);
|
||||
result.param_ = param_;
|
||||
result.applyUid_ = applyUid_;
|
||||
result.isAgreed_ = isAgreed_;
|
||||
result.retcode_ = retcode_;
|
||||
result.param_ = param_;
|
||||
result.applyUid_ = applyUid_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -506,18 +506,18 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.PlayerApplyEnterHomeResultRspOuterClass.PlayerApplyEnterHomeResultRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.PlayerApplyEnterHomeResultRspOuterClass.PlayerApplyEnterHomeResultRsp.getDefaultInstance()) return this;
|
||||
if (other.getParam() != 0) {
|
||||
setParam(other.getParam());
|
||||
}
|
||||
if (other.getApplyUid() != 0) {
|
||||
setApplyUid(other.getApplyUid());
|
||||
}
|
||||
if (other.getIsAgreed() != false) {
|
||||
setIsAgreed(other.getIsAgreed());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getParam() != 0) {
|
||||
setParam(other.getParam());
|
||||
}
|
||||
if (other.getApplyUid() != 0) {
|
||||
setApplyUid(other.getApplyUid());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -547,71 +547,9 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int param_ ;
|
||||
/**
|
||||
* <code>uint32 param = 5;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getParam() {
|
||||
return param_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 param = 5;</code>
|
||||
* @param value The param to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setParam(int value) {
|
||||
|
||||
param_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 param = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearParam() {
|
||||
|
||||
param_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int applyUid_ ;
|
||||
/**
|
||||
* <code>uint32 apply_uid = 9;</code>
|
||||
* @return The applyUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getApplyUid() {
|
||||
return applyUid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 apply_uid = 9;</code>
|
||||
* @param value The applyUid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setApplyUid(int value) {
|
||||
|
||||
applyUid_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 apply_uid = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearApplyUid() {
|
||||
|
||||
applyUid_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean isAgreed_ ;
|
||||
/**
|
||||
* <code>bool is_agreed = 13;</code>
|
||||
* <code>bool is_agreed = 3;</code>
|
||||
* @return The isAgreed.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -619,7 +557,7 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
return isAgreed_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_agreed = 13;</code>
|
||||
* <code>bool is_agreed = 3;</code>
|
||||
* @param value The isAgreed to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -630,7 +568,7 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_agreed = 13;</code>
|
||||
* <code>bool is_agreed = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsAgreed() {
|
||||
@@ -642,7 +580,7 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 8;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -650,7 +588,7 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 8;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -661,7 +599,7 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 8;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -670,6 +608,68 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int param_ ;
|
||||
/**
|
||||
* <code>uint32 param = 8;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getParam() {
|
||||
return param_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 param = 8;</code>
|
||||
* @param value The param to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setParam(int value) {
|
||||
|
||||
param_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 param = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearParam() {
|
||||
|
||||
param_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int applyUid_ ;
|
||||
/**
|
||||
* <code>uint32 apply_uid = 1;</code>
|
||||
* @return The applyUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getApplyUid() {
|
||||
return applyUid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 apply_uid = 1;</code>
|
||||
* @param value The applyUid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setApplyUid(int value) {
|
||||
|
||||
applyUid_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 apply_uid = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearApplyUid() {
|
||||
|
||||
applyUid_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -738,9 +738,9 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n#PlayerApplyEnterHomeResultRsp.proto\"e\n" +
|
||||
"\035PlayerApplyEnterHomeResultRsp\022\r\n\005param\030" +
|
||||
"\005 \001(\r\022\021\n\tapply_uid\030\t \001(\r\022\021\n\tis_agreed\030\r " +
|
||||
"\001(\010\022\017\n\007retcode\030\010 \001(\005B\033\n\031emu.grasscutter." +
|
||||
"\035PlayerApplyEnterHomeResultRsp\022\021\n\tis_agr" +
|
||||
"eed\030\003 \001(\010\022\017\n\007retcode\030\006 \001(\005\022\r\n\005param\030\010 \001(" +
|
||||
"\r\022\021\n\tapply_uid\030\001 \001(\rB\033\n\031emu.grasscutter." +
|
||||
"net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -752,7 +752,7 @@ public final class PlayerApplyEnterHomeResultRspOuterClass {
|
||||
internal_static_PlayerApplyEnterHomeResultRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_PlayerApplyEnterHomeResultRsp_descriptor,
|
||||
new java.lang.String[] { "Param", "ApplyUid", "IsAgreed", "Retcode", });
|
||||
new java.lang.String[] { "IsAgreed", "Retcode", "Param", "ApplyUid", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user