mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 03:39:49 +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,13 +19,13 @@ public final class PlayerRTTInfoOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 rtt = 2;</code>
|
||||
* <code>uint32 rtt = 12;</code>
|
||||
* @return The rtt.
|
||||
*/
|
||||
int getRtt();
|
||||
|
||||
/**
|
||||
* <code>uint32 uid = 1;</code>
|
||||
* <code>uint32 uid = 14;</code>
|
||||
* @return The uid.
|
||||
*/
|
||||
int getUid();
|
||||
@@ -75,16 +75,16 @@ public final class PlayerRTTInfoOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
|
||||
uid_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
case 96: {
|
||||
|
||||
rtt_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
|
||||
uid_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -117,10 +117,10 @@ public final class PlayerRTTInfoOuterClass {
|
||||
emu.grasscutter.net.proto.PlayerRTTInfoOuterClass.PlayerRTTInfo.class, emu.grasscutter.net.proto.PlayerRTTInfoOuterClass.PlayerRTTInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RTT_FIELD_NUMBER = 2;
|
||||
public static final int RTT_FIELD_NUMBER = 12;
|
||||
private int rtt_;
|
||||
/**
|
||||
* <code>uint32 rtt = 2;</code>
|
||||
* <code>uint32 rtt = 12;</code>
|
||||
* @return The rtt.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -128,10 +128,10 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return rtt_;
|
||||
}
|
||||
|
||||
public static final int UID_FIELD_NUMBER = 1;
|
||||
public static final int UID_FIELD_NUMBER = 14;
|
||||
private int uid_;
|
||||
/**
|
||||
* <code>uint32 uid = 1;</code>
|
||||
* <code>uint32 uid = 14;</code>
|
||||
* @return The uid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -153,11 +153,11 @@ public final class PlayerRTTInfoOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (uid_ != 0) {
|
||||
output.writeUInt32(1, uid_);
|
||||
}
|
||||
if (rtt_ != 0) {
|
||||
output.writeUInt32(2, rtt_);
|
||||
output.writeUInt32(12, rtt_);
|
||||
}
|
||||
if (uid_ != 0) {
|
||||
output.writeUInt32(14, uid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -168,13 +168,13 @@ public final class PlayerRTTInfoOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (uid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, uid_);
|
||||
}
|
||||
if (rtt_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(2, rtt_);
|
||||
.computeUInt32Size(12, rtt_);
|
||||
}
|
||||
if (uid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(14, uid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -460,7 +460,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
|
||||
private int rtt_ ;
|
||||
/**
|
||||
* <code>uint32 rtt = 2;</code>
|
||||
* <code>uint32 rtt = 12;</code>
|
||||
* @return The rtt.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -468,7 +468,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return rtt_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 rtt = 2;</code>
|
||||
* <code>uint32 rtt = 12;</code>
|
||||
* @param value The rtt to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -479,7 +479,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 rtt = 2;</code>
|
||||
* <code>uint32 rtt = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRtt() {
|
||||
@@ -491,7 +491,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
|
||||
private int uid_ ;
|
||||
/**
|
||||
* <code>uint32 uid = 1;</code>
|
||||
* <code>uint32 uid = 14;</code>
|
||||
* @return The uid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -499,7 +499,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return uid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 uid = 1;</code>
|
||||
* <code>uint32 uid = 14;</code>
|
||||
* @param value The uid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -510,7 +510,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 uid = 1;</code>
|
||||
* <code>uint32 uid = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUid() {
|
||||
@@ -587,7 +587,7 @@ public final class PlayerRTTInfoOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\023PlayerRTTInfo.proto\")\n\rPlayerRTTInfo\022\013" +
|
||||
"\n\003rtt\030\002 \001(\r\022\013\n\003uid\030\001 \001(\rB\033\n\031emu.grasscut" +
|
||||
"\n\003rtt\030\014 \001(\r\022\013\n\003uid\030\016 \001(\rB\033\n\031emu.grasscut" +
|
||||
"ter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user