mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 07:55:01 +08:00
Update gc to 3.3 (#1981)
* replace the deprecated api * update proto * delete music game * fixed codes * fix costume switch * fix mail bug * Bump version number. * Re-add max boss chest number Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
8b83dbf58c
commit
92fbaa8670
+26
-18
@@ -19,17 +19,21 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* <code>uint32 avatar_id = 5;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
int getAvatarId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4082
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4090;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerHeadImageReq}
|
||||
@@ -76,7 +80,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 56: {
|
||||
case 40: {
|
||||
|
||||
avatarId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -113,10 +117,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 = 7;
|
||||
public static final int AVATAR_ID_FIELD_NUMBER = 5;
|
||||
private int avatarId_;
|
||||
/**
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* <code>uint32 avatar_id = 5;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -139,7 +143,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (avatarId_ != 0) {
|
||||
output.writeUInt32(7, avatarId_);
|
||||
output.writeUInt32(5, avatarId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -152,7 +156,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
size = 0;
|
||||
if (avatarId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(7, avatarId_);
|
||||
.computeUInt32Size(5, avatarId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -281,10 +285,14 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4082
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4090;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetPlayerHeadImageReq}
|
||||
@@ -435,7 +443,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
|
||||
private int avatarId_ ;
|
||||
/**
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* <code>uint32 avatar_id = 5;</code>
|
||||
* @return The avatarId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -443,7 +451,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
return avatarId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* <code>uint32 avatar_id = 5;</code>
|
||||
* @param value The avatarId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -454,7 +462,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 avatar_id = 7;</code>
|
||||
* <code>uint32 avatar_id = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarId() {
|
||||
@@ -531,7 +539,7 @@ public final class SetPlayerHeadImageReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033SetPlayerHeadImageReq.proto\"*\n\025SetPlay" +
|
||||
"erHeadImageReq\022\021\n\tavatar_id\030\007 \001(\rB\033\n\031emu" +
|
||||
"erHeadImageReq\022\021\n\tavatar_id\030\005 \001(\rB\033\n\031emu" +
|
||||
".grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user