mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-21 01:39:57 +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
@@ -19,17 +19,21 @@ public final class AskAddFriendReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
int getTargetUid();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4007
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4100;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AskAddFriendReq}
|
||||
@@ -76,7 +80,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 56: {
|
||||
case 96: {
|
||||
|
||||
targetUid_ = input.readUInt32();
|
||||
break;
|
||||
@@ -113,10 +117,10 @@ public final class AskAddFriendReqOuterClass {
|
||||
emu.grasscutter.net.proto.AskAddFriendReqOuterClass.AskAddFriendReq.class, emu.grasscutter.net.proto.AskAddFriendReqOuterClass.AskAddFriendReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 7;
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 12;
|
||||
private int targetUid_;
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -139,7 +143,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (targetUid_ != 0) {
|
||||
output.writeUInt32(7, targetUid_);
|
||||
output.writeUInt32(12, targetUid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -152,7 +156,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
size = 0;
|
||||
if (targetUid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(7, targetUid_);
|
||||
.computeUInt32Size(12, targetUid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -281,10 +285,14 @@ public final class AskAddFriendReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4007
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4100;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AskAddFriendReq}
|
||||
@@ -435,7 +443,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
|
||||
private int targetUid_ ;
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -443,7 +451,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
return targetUid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @param value The targetUid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -454,7 +462,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTargetUid() {
|
||||
@@ -531,7 +539,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\025AskAddFriendReq.proto\"%\n\017AskAddFriendR" +
|
||||
"eq\022\022\n\ntarget_uid\030\007 \001(\rB\033\n\031emu.grasscutte" +
|
||||
"eq\022\022\n\ntarget_uid\030\014 \001(\rB\033\n\031emu.grasscutte" +
|
||||
"r.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user