mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 07:33:33 +08:00
Add new protocol definitions
This commit is contained in:
+14
-14
@@ -19,15 +19,15 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 avatar_id = 11;</code>
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
int getAvatarId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4028
|
||||
* Obf: BFCLIPDJCHJ
|
||||
* CmdId: 4071
|
||||
* Obf: PDIPMMGDOGN
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerHeadImageReq}
|
||||
@@ -74,7 +74,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 88: {
|
||||
case 56: {
|
||||
|
||||
avatarId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -111,10 +111,10 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq.class, emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int AVATAR_ID_FIELD_NUMBER = 11;
|
||||
public static final int AVATAR_ID_FIELD_NUMBER = 7;
|
||||
private int avatarId_;
|
||||
/**
|
||||
* <code>uint32 avatar_id = 11;</code>
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -137,7 +137,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (avatarId_ != 0) {
|
||||
output.writeUInt32(11, avatarId_);
|
||||
output.writeUInt32(7, avatarId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
size = 0;
|
||||
if (avatarId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(11, avatarId_);
|
||||
.computeUInt32Size(7, avatarId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -279,8 +279,8 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4028
|
||||
* Obf: BFCLIPDJCHJ
|
||||
* CmdId: 4071
|
||||
* Obf: PDIPMMGDOGN
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerHeadImageReq}
|
||||
@@ -431,7 +431,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
|
||||
private int avatarId_ ;
|
||||
/**
|
||||
* <code>uint32 avatar_id = 11;</code>
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -439,7 +439,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
return avatarId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 avatar_id = 11;</code>
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* @param value The avatarId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -450,7 +450,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 avatar_id = 11;</code>
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarId() {
|
||||
@@ -527,7 +527,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033SetPlayerHeadImageReq.proto\"*\n\025SetPlay" +
|
||||
"erHeadImageReq\022\021\n\tavatar_id\030\013 \001(\rB\033\n\031emu" +
|
||||
"erHeadImageReq\022\021\n\tavatar_id\030\007 \001(\rB\033\n\031emu" +
|
||||
".grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user