mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 12:53:34 +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:
+96
-96
@@ -19,27 +19,27 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 client_game_time = 9;</code>
|
||||
* @return The clientGameTime.
|
||||
*/
|
||||
int getClientGameTime();
|
||||
|
||||
/**
|
||||
* <code>uint32 game_time = 2;</code>
|
||||
* <code>uint32 game_time = 9;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
int getGameTime();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 7;</code>
|
||||
* <code>uint32 client_game_time = 1;</code>
|
||||
* @return The clientGameTime.
|
||||
*/
|
||||
int getClientGameTime();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: BHNBOAEFEGL
|
||||
* CmdId: 163
|
||||
* CmdId: 130
|
||||
* Name: DFPBHODHPKM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SkipPlayerGameTimeRsp}
|
||||
@@ -86,19 +86,19 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
case 8: {
|
||||
|
||||
gameTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
clientGameTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
|
||||
clientGameTime_ = input.readUInt32();
|
||||
gameTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -133,21 +133,10 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp.class, emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int CLIENT_GAME_TIME_FIELD_NUMBER = 9;
|
||||
private int clientGameTime_;
|
||||
/**
|
||||
* <code>uint32 client_game_time = 9;</code>
|
||||
* @return The clientGameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getClientGameTime() {
|
||||
return clientGameTime_;
|
||||
}
|
||||
|
||||
public static final int GAME_TIME_FIELD_NUMBER = 2;
|
||||
public static final int GAME_TIME_FIELD_NUMBER = 9;
|
||||
private int gameTime_;
|
||||
/**
|
||||
* <code>uint32 game_time = 2;</code>
|
||||
* <code>uint32 game_time = 9;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -155,10 +144,21 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return gameTime_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 7;
|
||||
public static final int CLIENT_GAME_TIME_FIELD_NUMBER = 1;
|
||||
private int clientGameTime_;
|
||||
/**
|
||||
* <code>uint32 client_game_time = 1;</code>
|
||||
* @return The clientGameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getClientGameTime() {
|
||||
return clientGameTime_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 12;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 7;</code>
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -180,14 +180,14 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (clientGameTime_ != 0) {
|
||||
output.writeUInt32(1, clientGameTime_);
|
||||
}
|
||||
if (gameTime_ != 0) {
|
||||
output.writeUInt32(2, gameTime_);
|
||||
output.writeUInt32(9, gameTime_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(7, retcode_);
|
||||
}
|
||||
if (clientGameTime_ != 0) {
|
||||
output.writeUInt32(9, clientGameTime_);
|
||||
output.writeInt32(12, retcode_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -198,17 +198,17 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (clientGameTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, clientGameTime_);
|
||||
}
|
||||
if (gameTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(2, gameTime_);
|
||||
.computeUInt32Size(9, gameTime_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(7, retcode_);
|
||||
}
|
||||
if (clientGameTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, clientGameTime_);
|
||||
.computeInt32Size(12, retcode_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -225,10 +225,10 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp other = (emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp) obj;
|
||||
|
||||
if (getClientGameTime()
|
||||
!= other.getClientGameTime()) return false;
|
||||
if (getGameTime()
|
||||
!= other.getGameTime()) return false;
|
||||
if (getClientGameTime()
|
||||
!= other.getClientGameTime()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
@@ -242,10 +242,10 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + CLIENT_GAME_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getClientGameTime();
|
||||
hash = (37 * hash) + GAME_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getGameTime();
|
||||
hash = (37 * hash) + CLIENT_GAME_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getClientGameTime();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -345,8 +345,8 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: BHNBOAEFEGL
|
||||
* CmdId: 163
|
||||
* CmdId: 130
|
||||
* Name: DFPBHODHPKM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SkipPlayerGameTimeRsp}
|
||||
@@ -386,10 +386,10 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
clientGameTime_ = 0;
|
||||
|
||||
gameTime_ = 0;
|
||||
|
||||
clientGameTime_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
return this;
|
||||
@@ -418,8 +418,8 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp result = new emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp(this);
|
||||
result.clientGameTime_ = clientGameTime_;
|
||||
result.gameTime_ = gameTime_;
|
||||
result.clientGameTime_ = clientGameTime_;
|
||||
result.retcode_ = retcode_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -469,12 +469,12 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.SkipPlayerGameTimeRspOuterClass.SkipPlayerGameTimeRsp.getDefaultInstance()) return this;
|
||||
if (other.getClientGameTime() != 0) {
|
||||
setClientGameTime(other.getClientGameTime());
|
||||
}
|
||||
if (other.getGameTime() != 0) {
|
||||
setGameTime(other.getGameTime());
|
||||
}
|
||||
if (other.getClientGameTime() != 0) {
|
||||
setClientGameTime(other.getClientGameTime());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
@@ -507,40 +507,9 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int clientGameTime_ ;
|
||||
/**
|
||||
* <code>uint32 client_game_time = 9;</code>
|
||||
* @return The clientGameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getClientGameTime() {
|
||||
return clientGameTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_game_time = 9;</code>
|
||||
* @param value The clientGameTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setClientGameTime(int value) {
|
||||
|
||||
clientGameTime_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_game_time = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearClientGameTime() {
|
||||
|
||||
clientGameTime_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int gameTime_ ;
|
||||
/**
|
||||
* <code>uint32 game_time = 2;</code>
|
||||
* <code>uint32 game_time = 9;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -548,7 +517,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return gameTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 game_time = 2;</code>
|
||||
* <code>uint32 game_time = 9;</code>
|
||||
* @param value The gameTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -559,7 +528,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 game_time = 2;</code>
|
||||
* <code>uint32 game_time = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGameTime() {
|
||||
@@ -569,9 +538,40 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int clientGameTime_ ;
|
||||
/**
|
||||
* <code>uint32 client_game_time = 1;</code>
|
||||
* @return The clientGameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getClientGameTime() {
|
||||
return clientGameTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_game_time = 1;</code>
|
||||
* @param value The clientGameTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setClientGameTime(int value) {
|
||||
|
||||
clientGameTime_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_game_time = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearClientGameTime() {
|
||||
|
||||
clientGameTime_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 7;</code>
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -579,7 +579,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 7;</code>
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -590,7 +590,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 7;</code>
|
||||
* <code>int32 retcode = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -667,8 +667,8 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033SkipPlayerGameTimeRsp.proto\"U\n\025SkipPla" +
|
||||
"yerGameTimeRsp\022\030\n\020client_game_time\030\t \001(\r" +
|
||||
"\022\021\n\tgame_time\030\002 \001(\r\022\017\n\007retcode\030\007 \001(\005B\033\n\031" +
|
||||
"yerGameTimeRsp\022\021\n\tgame_time\030\t \001(\r\022\030\n\020cli" +
|
||||
"ent_game_time\030\001 \001(\r\022\017\n\007retcode\030\014 \001(\005B\033\n\031" +
|
||||
"emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -680,7 +680,7 @@ public final class SkipPlayerGameTimeRspOuterClass {
|
||||
internal_static_SkipPlayerGameTimeRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_SkipPlayerGameTimeRsp_descriptor,
|
||||
new java.lang.String[] { "ClientGameTime", "GameTime", "Retcode", });
|
||||
new java.lang.String[] { "GameTime", "ClientGameTime", "Retcode", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user