mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-24 10:59:52 +08:00
Add support for game version 3.6 (#2110)
* Update to game version `3.6.0` (pt. 1) not complete! * Update to game version `3.6.0` (pt. 2) not complete! * Update compiled definitions
This commit is contained in:
@@ -19,29 +19,29 @@ public final class PingReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>float ue_time = 12;</code>
|
||||
* @return The ueTime.
|
||||
*/
|
||||
float getUeTime();
|
||||
|
||||
/**
|
||||
* <code>uint32 seq = 10;</code>
|
||||
* @return The seq.
|
||||
*/
|
||||
int getSeq();
|
||||
|
||||
/**
|
||||
* <code>double total_tick_time = 11;</code>
|
||||
* <code>double total_tick_time = 4;</code>
|
||||
* @return The totalTickTime.
|
||||
*/
|
||||
double getTotalTickTime();
|
||||
|
||||
/**
|
||||
* <code>uint32 client_time = 7;</code>
|
||||
* <code>uint32 seq = 11;</code>
|
||||
* @return The seq.
|
||||
*/
|
||||
int getSeq();
|
||||
|
||||
/**
|
||||
* <code>uint32 client_time = 2;</code>
|
||||
* @return The clientTime.
|
||||
*/
|
||||
int getClientTime();
|
||||
|
||||
/**
|
||||
* <code>float ue_time = 9;</code>
|
||||
* @return The ueTime.
|
||||
*/
|
||||
float getUeTime();
|
||||
|
||||
/**
|
||||
* <code>bytes sc_data = 6;</code>
|
||||
* @return The scData.
|
||||
@@ -50,8 +50,8 @@ public final class PingReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FHHBCIBEGFL
|
||||
* CmdId: 14
|
||||
* CmdId: 16
|
||||
* Name: NKKDDNNONMB
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PingReq}
|
||||
@@ -99,31 +99,31 @@ public final class PingReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
|
||||
clientTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 33: {
|
||||
|
||||
totalTickTime_ = input.readDouble();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
|
||||
scData_ = input.readBytes();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
|
||||
clientTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
|
||||
seq_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 89: {
|
||||
|
||||
totalTickTime_ = input.readDouble();
|
||||
break;
|
||||
}
|
||||
case 101: {
|
||||
case 77: {
|
||||
|
||||
ueTime_ = input.readFloat();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
|
||||
seq_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -156,32 +156,10 @@ public final class PingReqOuterClass {
|
||||
emu.grasscutter.net.proto.PingReqOuterClass.PingReq.class, emu.grasscutter.net.proto.PingReqOuterClass.PingReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int UE_TIME_FIELD_NUMBER = 12;
|
||||
private float ueTime_;
|
||||
/**
|
||||
* <code>float ue_time = 12;</code>
|
||||
* @return The ueTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public float getUeTime() {
|
||||
return ueTime_;
|
||||
}
|
||||
|
||||
public static final int SEQ_FIELD_NUMBER = 10;
|
||||
private int seq_;
|
||||
/**
|
||||
* <code>uint32 seq = 10;</code>
|
||||
* @return The seq.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getSeq() {
|
||||
return seq_;
|
||||
}
|
||||
|
||||
public static final int TOTAL_TICK_TIME_FIELD_NUMBER = 11;
|
||||
public static final int TOTAL_TICK_TIME_FIELD_NUMBER = 4;
|
||||
private double totalTickTime_;
|
||||
/**
|
||||
* <code>double total_tick_time = 11;</code>
|
||||
* <code>double total_tick_time = 4;</code>
|
||||
* @return The totalTickTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -189,10 +167,21 @@ public final class PingReqOuterClass {
|
||||
return totalTickTime_;
|
||||
}
|
||||
|
||||
public static final int CLIENT_TIME_FIELD_NUMBER = 7;
|
||||
public static final int SEQ_FIELD_NUMBER = 11;
|
||||
private int seq_;
|
||||
/**
|
||||
* <code>uint32 seq = 11;</code>
|
||||
* @return The seq.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getSeq() {
|
||||
return seq_;
|
||||
}
|
||||
|
||||
public static final int CLIENT_TIME_FIELD_NUMBER = 2;
|
||||
private int clientTime_;
|
||||
/**
|
||||
* <code>uint32 client_time = 7;</code>
|
||||
* <code>uint32 client_time = 2;</code>
|
||||
* @return The clientTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -200,6 +189,17 @@ public final class PingReqOuterClass {
|
||||
return clientTime_;
|
||||
}
|
||||
|
||||
public static final int UE_TIME_FIELD_NUMBER = 9;
|
||||
private float ueTime_;
|
||||
/**
|
||||
* <code>float ue_time = 9;</code>
|
||||
* @return The ueTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public float getUeTime() {
|
||||
return ueTime_;
|
||||
}
|
||||
|
||||
public static final int SC_DATA_FIELD_NUMBER = 6;
|
||||
private com.google.protobuf.ByteString scData_;
|
||||
/**
|
||||
@@ -225,20 +225,20 @@ public final class PingReqOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (clientTime_ != 0) {
|
||||
output.writeUInt32(2, clientTime_);
|
||||
}
|
||||
if (totalTickTime_ != 0D) {
|
||||
output.writeDouble(4, totalTickTime_);
|
||||
}
|
||||
if (!scData_.isEmpty()) {
|
||||
output.writeBytes(6, scData_);
|
||||
}
|
||||
if (clientTime_ != 0) {
|
||||
output.writeUInt32(7, clientTime_);
|
||||
if (ueTime_ != 0F) {
|
||||
output.writeFloat(9, ueTime_);
|
||||
}
|
||||
if (seq_ != 0) {
|
||||
output.writeUInt32(10, seq_);
|
||||
}
|
||||
if (totalTickTime_ != 0D) {
|
||||
output.writeDouble(11, totalTickTime_);
|
||||
}
|
||||
if (ueTime_ != 0F) {
|
||||
output.writeFloat(12, ueTime_);
|
||||
output.writeUInt32(11, seq_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -249,25 +249,25 @@ public final class PingReqOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (clientTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(2, clientTime_);
|
||||
}
|
||||
if (totalTickTime_ != 0D) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeDoubleSize(4, totalTickTime_);
|
||||
}
|
||||
if (!scData_.isEmpty()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBytesSize(6, scData_);
|
||||
}
|
||||
if (clientTime_ != 0) {
|
||||
if (ueTime_ != 0F) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(7, clientTime_);
|
||||
.computeFloatSize(9, ueTime_);
|
||||
}
|
||||
if (seq_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, seq_);
|
||||
}
|
||||
if (totalTickTime_ != 0D) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeDoubleSize(11, totalTickTime_);
|
||||
}
|
||||
if (ueTime_ != 0F) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeFloatSize(12, ueTime_);
|
||||
.computeUInt32Size(11, seq_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -284,16 +284,16 @@ public final class PingReqOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.PingReqOuterClass.PingReq other = (emu.grasscutter.net.proto.PingReqOuterClass.PingReq) obj;
|
||||
|
||||
if (java.lang.Float.floatToIntBits(getUeTime())
|
||||
!= java.lang.Float.floatToIntBits(
|
||||
other.getUeTime())) return false;
|
||||
if (getSeq()
|
||||
!= other.getSeq()) return false;
|
||||
if (java.lang.Double.doubleToLongBits(getTotalTickTime())
|
||||
!= java.lang.Double.doubleToLongBits(
|
||||
other.getTotalTickTime())) return false;
|
||||
if (getSeq()
|
||||
!= other.getSeq()) return false;
|
||||
if (getClientTime()
|
||||
!= other.getClientTime()) return false;
|
||||
if (java.lang.Float.floatToIntBits(getUeTime())
|
||||
!= java.lang.Float.floatToIntBits(
|
||||
other.getUeTime())) return false;
|
||||
if (!getScData()
|
||||
.equals(other.getScData())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
@@ -307,16 +307,16 @@ public final class PingReqOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + UE_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + java.lang.Float.floatToIntBits(
|
||||
getUeTime());
|
||||
hash = (37 * hash) + SEQ_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSeq();
|
||||
hash = (37 * hash) + TOTAL_TICK_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
java.lang.Double.doubleToLongBits(getTotalTickTime()));
|
||||
hash = (37 * hash) + SEQ_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSeq();
|
||||
hash = (37 * hash) + CLIENT_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getClientTime();
|
||||
hash = (37 * hash) + UE_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + java.lang.Float.floatToIntBits(
|
||||
getUeTime());
|
||||
hash = (37 * hash) + SC_DATA_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getScData().hashCode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -416,8 +416,8 @@ public final class PingReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FHHBCIBEGFL
|
||||
* CmdId: 14
|
||||
* CmdId: 16
|
||||
* Name: NKKDDNNONMB
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PingReq}
|
||||
@@ -457,14 +457,14 @@ public final class PingReqOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
ueTime_ = 0F;
|
||||
totalTickTime_ = 0D;
|
||||
|
||||
seq_ = 0;
|
||||
|
||||
totalTickTime_ = 0D;
|
||||
|
||||
clientTime_ = 0;
|
||||
|
||||
ueTime_ = 0F;
|
||||
|
||||
scData_ = com.google.protobuf.ByteString.EMPTY;
|
||||
|
||||
return this;
|
||||
@@ -493,10 +493,10 @@ public final class PingReqOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.PingReqOuterClass.PingReq buildPartial() {
|
||||
emu.grasscutter.net.proto.PingReqOuterClass.PingReq result = new emu.grasscutter.net.proto.PingReqOuterClass.PingReq(this);
|
||||
result.ueTime_ = ueTime_;
|
||||
result.seq_ = seq_;
|
||||
result.totalTickTime_ = totalTickTime_;
|
||||
result.seq_ = seq_;
|
||||
result.clientTime_ = clientTime_;
|
||||
result.ueTime_ = ueTime_;
|
||||
result.scData_ = scData_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -546,18 +546,18 @@ public final class PingReqOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.PingReqOuterClass.PingReq other) {
|
||||
if (other == emu.grasscutter.net.proto.PingReqOuterClass.PingReq.getDefaultInstance()) return this;
|
||||
if (other.getUeTime() != 0F) {
|
||||
setUeTime(other.getUeTime());
|
||||
if (other.getTotalTickTime() != 0D) {
|
||||
setTotalTickTime(other.getTotalTickTime());
|
||||
}
|
||||
if (other.getSeq() != 0) {
|
||||
setSeq(other.getSeq());
|
||||
}
|
||||
if (other.getTotalTickTime() != 0D) {
|
||||
setTotalTickTime(other.getTotalTickTime());
|
||||
}
|
||||
if (other.getClientTime() != 0) {
|
||||
setClientTime(other.getClientTime());
|
||||
}
|
||||
if (other.getUeTime() != 0F) {
|
||||
setUeTime(other.getUeTime());
|
||||
}
|
||||
if (other.getScData() != com.google.protobuf.ByteString.EMPTY) {
|
||||
setScData(other.getScData());
|
||||
}
|
||||
@@ -590,71 +590,9 @@ public final class PingReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private float ueTime_ ;
|
||||
/**
|
||||
* <code>float ue_time = 12;</code>
|
||||
* @return The ueTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public float getUeTime() {
|
||||
return ueTime_;
|
||||
}
|
||||
/**
|
||||
* <code>float ue_time = 12;</code>
|
||||
* @param value The ueTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUeTime(float value) {
|
||||
|
||||
ueTime_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>float ue_time = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUeTime() {
|
||||
|
||||
ueTime_ = 0F;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int seq_ ;
|
||||
/**
|
||||
* <code>uint32 seq = 10;</code>
|
||||
* @return The seq.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getSeq() {
|
||||
return seq_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 seq = 10;</code>
|
||||
* @param value The seq to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setSeq(int value) {
|
||||
|
||||
seq_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 seq = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSeq() {
|
||||
|
||||
seq_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private double totalTickTime_ ;
|
||||
/**
|
||||
* <code>double total_tick_time = 11;</code>
|
||||
* <code>double total_tick_time = 4;</code>
|
||||
* @return The totalTickTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -662,7 +600,7 @@ public final class PingReqOuterClass {
|
||||
return totalTickTime_;
|
||||
}
|
||||
/**
|
||||
* <code>double total_tick_time = 11;</code>
|
||||
* <code>double total_tick_time = 4;</code>
|
||||
* @param value The totalTickTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -673,7 +611,7 @@ public final class PingReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>double total_tick_time = 11;</code>
|
||||
* <code>double total_tick_time = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTotalTickTime() {
|
||||
@@ -683,9 +621,40 @@ public final class PingReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int seq_ ;
|
||||
/**
|
||||
* <code>uint32 seq = 11;</code>
|
||||
* @return The seq.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getSeq() {
|
||||
return seq_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 seq = 11;</code>
|
||||
* @param value The seq to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setSeq(int value) {
|
||||
|
||||
seq_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 seq = 11;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSeq() {
|
||||
|
||||
seq_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int clientTime_ ;
|
||||
/**
|
||||
* <code>uint32 client_time = 7;</code>
|
||||
* <code>uint32 client_time = 2;</code>
|
||||
* @return The clientTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -693,7 +662,7 @@ public final class PingReqOuterClass {
|
||||
return clientTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_time = 7;</code>
|
||||
* <code>uint32 client_time = 2;</code>
|
||||
* @param value The clientTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -704,7 +673,7 @@ public final class PingReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_time = 7;</code>
|
||||
* <code>uint32 client_time = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearClientTime() {
|
||||
@@ -714,6 +683,37 @@ public final class PingReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private float ueTime_ ;
|
||||
/**
|
||||
* <code>float ue_time = 9;</code>
|
||||
* @return The ueTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public float getUeTime() {
|
||||
return ueTime_;
|
||||
}
|
||||
/**
|
||||
* <code>float ue_time = 9;</code>
|
||||
* @param value The ueTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUeTime(float value) {
|
||||
|
||||
ueTime_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>float ue_time = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUeTime() {
|
||||
|
||||
ueTime_ = 0F;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.ByteString scData_ = com.google.protobuf.ByteString.EMPTY;
|
||||
/**
|
||||
* <code>bytes sc_data = 6;</code>
|
||||
@@ -814,9 +814,9 @@ public final class PingReqOuterClass {
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\rPingReq.proto\"f\n\007PingReq\022\017\n\007ue_time\030\014 " +
|
||||
"\001(\002\022\013\n\003seq\030\n \001(\r\022\027\n\017total_tick_time\030\013 \001(" +
|
||||
"\001\022\023\n\013client_time\030\007 \001(\r\022\017\n\007sc_data\030\006 \001(\014B" +
|
||||
"\n\rPingReq.proto\"f\n\007PingReq\022\027\n\017total_tick" +
|
||||
"_time\030\004 \001(\001\022\013\n\003seq\030\013 \001(\r\022\023\n\013client_time\030" +
|
||||
"\002 \001(\r\022\017\n\007ue_time\030\t \001(\002\022\017\n\007sc_data\030\006 \001(\014B" +
|
||||
"\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -828,7 +828,7 @@ public final class PingReqOuterClass {
|
||||
internal_static_PingReq_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_PingReq_descriptor,
|
||||
new java.lang.String[] { "UeTime", "Seq", "TotalTickTime", "ClientTime", "ScData", });
|
||||
new java.lang.String[] { "TotalTickTime", "Seq", "ClientTime", "UeTime", "ScData", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user