mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-06 05:14:09 +08:00
Add new protocol definitions
This commit is contained in:
+77
-77
@@ -19,21 +19,21 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 avatar_id = 15;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
int getAvatarId();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 avatar_id = 3;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
int getAvatarId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 5353
|
||||
* Obf: GLAOFIIDCHP
|
||||
* CmdId: 4472
|
||||
* Obf: NBGFNPFNHDL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code HideAndSeekSelectAvatarRsp}
|
||||
@@ -80,12 +80,12 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 24: {
|
||||
case 16: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
case 24: {
|
||||
|
||||
avatarId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -122,21 +122,10 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
emu.grasscutter.net.proto.HideAndSeekSelectAvatarRspOuterClass.HideAndSeekSelectAvatarRsp.class, emu.grasscutter.net.proto.HideAndSeekSelectAvatarRspOuterClass.HideAndSeekSelectAvatarRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int AVATAR_ID_FIELD_NUMBER = 15;
|
||||
private int avatarId_;
|
||||
/**
|
||||
* <code>uint32 avatar_id = 15;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getAvatarId() {
|
||||
return avatarId_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 3;
|
||||
public static final int RETCODE_FIELD_NUMBER = 2;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -144,6 +133,17 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int AVATAR_ID_FIELD_NUMBER = 3;
|
||||
private int avatarId_;
|
||||
/**
|
||||
* <code>uint32 avatar_id = 3;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getAvatarId() {
|
||||
return avatarId_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -159,10 +159,10 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(3, retcode_);
|
||||
output.writeInt32(2, retcode_);
|
||||
}
|
||||
if (avatarId_ != 0) {
|
||||
output.writeUInt32(15, avatarId_);
|
||||
output.writeUInt32(3, avatarId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -175,11 +175,11 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
size = 0;
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(3, retcode_);
|
||||
.computeInt32Size(2, retcode_);
|
||||
}
|
||||
if (avatarId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(15, avatarId_);
|
||||
.computeUInt32Size(3, avatarId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -196,10 +196,10 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.HideAndSeekSelectAvatarRspOuterClass.HideAndSeekSelectAvatarRsp other = (emu.grasscutter.net.proto.HideAndSeekSelectAvatarRspOuterClass.HideAndSeekSelectAvatarRsp) obj;
|
||||
|
||||
if (getAvatarId()
|
||||
!= other.getAvatarId()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getAvatarId()
|
||||
!= other.getAvatarId()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -211,10 +211,10 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getAvatarId();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getAvatarId();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -312,8 +312,8 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 5353
|
||||
* Obf: GLAOFIIDCHP
|
||||
* CmdId: 4472
|
||||
* Obf: NBGFNPFNHDL
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code HideAndSeekSelectAvatarRsp}
|
||||
@@ -353,10 +353,10 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
avatarId_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
avatarId_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -383,8 +383,8 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.HideAndSeekSelectAvatarRspOuterClass.HideAndSeekSelectAvatarRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.HideAndSeekSelectAvatarRspOuterClass.HideAndSeekSelectAvatarRsp result = new emu.grasscutter.net.proto.HideAndSeekSelectAvatarRspOuterClass.HideAndSeekSelectAvatarRsp(this);
|
||||
result.avatarId_ = avatarId_;
|
||||
result.retcode_ = retcode_;
|
||||
result.avatarId_ = avatarId_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -433,12 +433,12 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.HideAndSeekSelectAvatarRspOuterClass.HideAndSeekSelectAvatarRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.HideAndSeekSelectAvatarRspOuterClass.HideAndSeekSelectAvatarRsp.getDefaultInstance()) return this;
|
||||
if (other.getAvatarId() != 0) {
|
||||
setAvatarId(other.getAvatarId());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getAvatarId() != 0) {
|
||||
setAvatarId(other.getAvatarId());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -468,40 +468,9 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int avatarId_ ;
|
||||
/**
|
||||
* <code>uint32 avatar_id = 15;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getAvatarId() {
|
||||
return avatarId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 avatar_id = 15;</code>
|
||||
* @param value The avatarId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setAvatarId(int value) {
|
||||
|
||||
avatarId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 avatar_id = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarId() {
|
||||
|
||||
avatarId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -509,7 +478,7 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -520,7 +489,7 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* <code>int32 retcode = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -529,6 +498,37 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int avatarId_ ;
|
||||
/**
|
||||
* <code>uint32 avatar_id = 3;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getAvatarId() {
|
||||
return avatarId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 avatar_id = 3;</code>
|
||||
* @param value The avatarId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setAvatarId(int value) {
|
||||
|
||||
avatarId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 avatar_id = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarId() {
|
||||
|
||||
avatarId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -597,8 +597,8 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n HideAndSeekSelectAvatarRsp.proto\"@\n\032Hi" +
|
||||
"deAndSeekSelectAvatarRsp\022\021\n\tavatar_id\030\017 " +
|
||||
"\001(\r\022\017\n\007retcode\030\003 \001(\005B\033\n\031emu.grasscutter." +
|
||||
"deAndSeekSelectAvatarRsp\022\017\n\007retcode\030\002 \001(" +
|
||||
"\005\022\021\n\tavatar_id\030\003 \001(\rB\033\n\031emu.grasscutter." +
|
||||
"net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -610,7 +610,7 @@ public final class HideAndSeekSelectAvatarRspOuterClass {
|
||||
internal_static_HideAndSeekSelectAvatarRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_HideAndSeekSelectAvatarRsp_descriptor,
|
||||
new java.lang.String[] { "AvatarId", "Retcode", });
|
||||
new java.lang.String[] { "Retcode", "AvatarId", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user