mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 20:49: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,20 @@ public final class ServerTimeNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint64 server_time = 5;</code>
|
||||
* <code>uint64 server_time = 13;</code>
|
||||
* @return The serverTime.
|
||||
*/
|
||||
long getServerTime();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 99
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 57;
|
||||
* ENET_CHANNEL_ID = 1;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ServerTimeNotify}
|
||||
@@ -76,7 +79,7 @@ public final class ServerTimeNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 40: {
|
||||
case 104: {
|
||||
|
||||
serverTime_ = input.readUInt64();
|
||||
break;
|
||||
@@ -113,10 +116,10 @@ public final class ServerTimeNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.ServerTimeNotifyOuterClass.ServerTimeNotify.class, emu.grasscutter.net.proto.ServerTimeNotifyOuterClass.ServerTimeNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int SERVER_TIME_FIELD_NUMBER = 5;
|
||||
public static final int SERVER_TIME_FIELD_NUMBER = 13;
|
||||
private long serverTime_;
|
||||
/**
|
||||
* <code>uint64 server_time = 5;</code>
|
||||
* <code>uint64 server_time = 13;</code>
|
||||
* @return The serverTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -139,7 +142,7 @@ public final class ServerTimeNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (serverTime_ != 0L) {
|
||||
output.writeUInt64(5, serverTime_);
|
||||
output.writeUInt64(13, serverTime_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -152,7 +155,7 @@ public final class ServerTimeNotifyOuterClass {
|
||||
size = 0;
|
||||
if (serverTime_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(5, serverTime_);
|
||||
.computeUInt64Size(13, serverTime_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -282,10 +285,13 @@ public final class ServerTimeNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 99
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 57;
|
||||
* ENET_CHANNEL_ID = 1;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ServerTimeNotify}
|
||||
@@ -436,7 +442,7 @@ public final class ServerTimeNotifyOuterClass {
|
||||
|
||||
private long serverTime_ ;
|
||||
/**
|
||||
* <code>uint64 server_time = 5;</code>
|
||||
* <code>uint64 server_time = 13;</code>
|
||||
* @return The serverTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -444,7 +450,7 @@ public final class ServerTimeNotifyOuterClass {
|
||||
return serverTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 server_time = 5;</code>
|
||||
* <code>uint64 server_time = 13;</code>
|
||||
* @param value The serverTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -455,7 +461,7 @@ public final class ServerTimeNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 server_time = 5;</code>
|
||||
* <code>uint64 server_time = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearServerTime() {
|
||||
@@ -532,7 +538,7 @@ public final class ServerTimeNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\026ServerTimeNotify.proto\"\'\n\020ServerTimeNo" +
|
||||
"tify\022\023\n\013server_time\030\005 \001(\004B\033\n\031emu.grasscu" +
|
||||
"tify\022\023\n\013server_time\030\r \001(\004B\033\n\031emu.grasscu" +
|
||||
"tter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user