mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 09:54:14 +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
+24
-18
@@ -19,17 +19,20 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* <code>uint32 target_uid = 5;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
int getTargetUid();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4053
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4073;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code DeleteFriendNotify}
|
||||
@@ -76,7 +79,7 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 96: {
|
||||
case 40: {
|
||||
|
||||
targetUid_ = input.readUInt32();
|
||||
break;
|
||||
@@ -113,10 +116,10 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.DeleteFriendNotifyOuterClass.DeleteFriendNotify.class, emu.grasscutter.net.proto.DeleteFriendNotifyOuterClass.DeleteFriendNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 12;
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 5;
|
||||
private int targetUid_;
|
||||
/**
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* <code>uint32 target_uid = 5;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -139,7 +142,7 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (targetUid_ != 0) {
|
||||
output.writeUInt32(12, targetUid_);
|
||||
output.writeUInt32(5, targetUid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -152,7 +155,7 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
size = 0;
|
||||
if (targetUid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(12, targetUid_);
|
||||
.computeUInt32Size(5, targetUid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -281,10 +284,13 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4053
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4073;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code DeleteFriendNotify}
|
||||
@@ -435,7 +441,7 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
|
||||
private int targetUid_ ;
|
||||
/**
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* <code>uint32 target_uid = 5;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -443,7 +449,7 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
return targetUid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* <code>uint32 target_uid = 5;</code>
|
||||
* @param value The targetUid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -454,7 +460,7 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 12;</code>
|
||||
* <code>uint32 target_uid = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTargetUid() {
|
||||
@@ -531,7 +537,7 @@ public final class DeleteFriendNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\030DeleteFriendNotify.proto\"(\n\022DeleteFrie" +
|
||||
"ndNotify\022\022\n\ntarget_uid\030\014 \001(\rB\033\n\031emu.gras" +
|
||||
"ndNotify\022\022\n\ntarget_uid\030\005 \001(\rB\033\n\031emu.gras" +
|
||||
"scutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user