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:
Magix
2023-04-30 19:08:54 -07:00
committed by GitHub
Unverified
parent 60e8106b01
commit c4f1208f45
1323 changed files with 434863 additions and 141164 deletions
@@ -19,27 +19,27 @@ public final class SkipPlayerGameTimeReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 game_time = 14;</code>
* <code>bool is_force_set = 6;</code>
* @return The isForceSet.
*/
boolean getIsForceSet();
/**
* <code>uint32 game_time = 5;</code>
* @return The gameTime.
*/
int getGameTime();
/**
* <code>uint32 client_game_time = 7;</code>
* <code>uint32 client_game_time = 14;</code>
* @return The clientGameTime.
*/
int getClientGameTime();
/**
* <code>bool is_force_set = 11;</code>
* @return The isForceSet.
*/
boolean getIsForceSet();
}
/**
* <pre>
* Name: MJMGAGMFAOO
* CmdId: 196
* CmdId: 123
* Name: GHMNCNNHLAI
* </pre>
*
* Protobuf type {@code SkipPlayerGameTimeReq}
@@ -86,19 +86,19 @@ public final class SkipPlayerGameTimeReqOuterClass {
case 0:
done = true;
break;
case 56: {
case 40: {
clientGameTime_ = input.readUInt32();
gameTime_ = input.readUInt32();
break;
}
case 88: {
case 48: {
isForceSet_ = input.readBool();
break;
}
case 112: {
gameTime_ = input.readUInt32();
clientGameTime_ = input.readUInt32();
break;
}
default: {
@@ -133,10 +133,21 @@ public final class SkipPlayerGameTimeReqOuterClass {
emu.grasscutter.net.proto.SkipPlayerGameTimeReqOuterClass.SkipPlayerGameTimeReq.class, emu.grasscutter.net.proto.SkipPlayerGameTimeReqOuterClass.SkipPlayerGameTimeReq.Builder.class);
}
public static final int GAME_TIME_FIELD_NUMBER = 14;
public static final int IS_FORCE_SET_FIELD_NUMBER = 6;
private boolean isForceSet_;
/**
* <code>bool is_force_set = 6;</code>
* @return The isForceSet.
*/
@java.lang.Override
public boolean getIsForceSet() {
return isForceSet_;
}
public static final int GAME_TIME_FIELD_NUMBER = 5;
private int gameTime_;
/**
* <code>uint32 game_time = 14;</code>
* <code>uint32 game_time = 5;</code>
* @return The gameTime.
*/
@java.lang.Override
@@ -144,10 +155,10 @@ public final class SkipPlayerGameTimeReqOuterClass {
return gameTime_;
}
public static final int CLIENT_GAME_TIME_FIELD_NUMBER = 7;
public static final int CLIENT_GAME_TIME_FIELD_NUMBER = 14;
private int clientGameTime_;
/**
* <code>uint32 client_game_time = 7;</code>
* <code>uint32 client_game_time = 14;</code>
* @return The clientGameTime.
*/
@java.lang.Override
@@ -155,17 +166,6 @@ public final class SkipPlayerGameTimeReqOuterClass {
return clientGameTime_;
}
public static final int IS_FORCE_SET_FIELD_NUMBER = 11;
private boolean isForceSet_;
/**
* <code>bool is_force_set = 11;</code>
* @return The isForceSet.
*/
@java.lang.Override
public boolean getIsForceSet() {
return isForceSet_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -180,14 +180,14 @@ public final class SkipPlayerGameTimeReqOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (clientGameTime_ != 0) {
output.writeUInt32(7, clientGameTime_);
if (gameTime_ != 0) {
output.writeUInt32(5, gameTime_);
}
if (isForceSet_ != false) {
output.writeBool(11, isForceSet_);
output.writeBool(6, isForceSet_);
}
if (gameTime_ != 0) {
output.writeUInt32(14, gameTime_);
if (clientGameTime_ != 0) {
output.writeUInt32(14, clientGameTime_);
}
unknownFields.writeTo(output);
}
@@ -198,17 +198,17 @@ public final class SkipPlayerGameTimeReqOuterClass {
if (size != -1) return size;
size = 0;
if (clientGameTime_ != 0) {
if (gameTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, clientGameTime_);
.computeUInt32Size(5, gameTime_);
}
if (isForceSet_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, isForceSet_);
.computeBoolSize(6, isForceSet_);
}
if (gameTime_ != 0) {
if (clientGameTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, gameTime_);
.computeUInt32Size(14, clientGameTime_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -225,12 +225,12 @@ public final class SkipPlayerGameTimeReqOuterClass {
}
emu.grasscutter.net.proto.SkipPlayerGameTimeReqOuterClass.SkipPlayerGameTimeReq other = (emu.grasscutter.net.proto.SkipPlayerGameTimeReqOuterClass.SkipPlayerGameTimeReq) obj;
if (getIsForceSet()
!= other.getIsForceSet()) return false;
if (getGameTime()
!= other.getGameTime()) return false;
if (getClientGameTime()
!= other.getClientGameTime()) return false;
if (getIsForceSet()
!= other.getIsForceSet()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -242,13 +242,13 @@ public final class SkipPlayerGameTimeReqOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + IS_FORCE_SET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsForceSet());
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) + IS_FORCE_SET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsForceSet());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -346,8 +346,8 @@ public final class SkipPlayerGameTimeReqOuterClass {
}
/**
* <pre>
* Name: MJMGAGMFAOO
* CmdId: 196
* CmdId: 123
* Name: GHMNCNNHLAI
* </pre>
*
* Protobuf type {@code SkipPlayerGameTimeReq}
@@ -387,12 +387,12 @@ public final class SkipPlayerGameTimeReqOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
isForceSet_ = false;
gameTime_ = 0;
clientGameTime_ = 0;
isForceSet_ = false;
return this;
}
@@ -419,9 +419,9 @@ public final class SkipPlayerGameTimeReqOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.SkipPlayerGameTimeReqOuterClass.SkipPlayerGameTimeReq buildPartial() {
emu.grasscutter.net.proto.SkipPlayerGameTimeReqOuterClass.SkipPlayerGameTimeReq result = new emu.grasscutter.net.proto.SkipPlayerGameTimeReqOuterClass.SkipPlayerGameTimeReq(this);
result.isForceSet_ = isForceSet_;
result.gameTime_ = gameTime_;
result.clientGameTime_ = clientGameTime_;
result.isForceSet_ = isForceSet_;
onBuilt();
return result;
}
@@ -470,15 +470,15 @@ public final class SkipPlayerGameTimeReqOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.SkipPlayerGameTimeReqOuterClass.SkipPlayerGameTimeReq other) {
if (other == emu.grasscutter.net.proto.SkipPlayerGameTimeReqOuterClass.SkipPlayerGameTimeReq.getDefaultInstance()) return this;
if (other.getIsForceSet() != false) {
setIsForceSet(other.getIsForceSet());
}
if (other.getGameTime() != 0) {
setGameTime(other.getGameTime());
}
if (other.getClientGameTime() != 0) {
setClientGameTime(other.getClientGameTime());
}
if (other.getIsForceSet() != false) {
setIsForceSet(other.getIsForceSet());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -508,9 +508,40 @@ public final class SkipPlayerGameTimeReqOuterClass {
return this;
}
private boolean isForceSet_ ;
/**
* <code>bool is_force_set = 6;</code>
* @return The isForceSet.
*/
@java.lang.Override
public boolean getIsForceSet() {
return isForceSet_;
}
/**
* <code>bool is_force_set = 6;</code>
* @param value The isForceSet to set.
* @return This builder for chaining.
*/
public Builder setIsForceSet(boolean value) {
isForceSet_ = value;
onChanged();
return this;
}
/**
* <code>bool is_force_set = 6;</code>
* @return This builder for chaining.
*/
public Builder clearIsForceSet() {
isForceSet_ = false;
onChanged();
return this;
}
private int gameTime_ ;
/**
* <code>uint32 game_time = 14;</code>
* <code>uint32 game_time = 5;</code>
* @return The gameTime.
*/
@java.lang.Override
@@ -518,7 +549,7 @@ public final class SkipPlayerGameTimeReqOuterClass {
return gameTime_;
}
/**
* <code>uint32 game_time = 14;</code>
* <code>uint32 game_time = 5;</code>
* @param value The gameTime to set.
* @return This builder for chaining.
*/
@@ -529,7 +560,7 @@ public final class SkipPlayerGameTimeReqOuterClass {
return this;
}
/**
* <code>uint32 game_time = 14;</code>
* <code>uint32 game_time = 5;</code>
* @return This builder for chaining.
*/
public Builder clearGameTime() {
@@ -541,7 +572,7 @@ public final class SkipPlayerGameTimeReqOuterClass {
private int clientGameTime_ ;
/**
* <code>uint32 client_game_time = 7;</code>
* <code>uint32 client_game_time = 14;</code>
* @return The clientGameTime.
*/
@java.lang.Override
@@ -549,7 +580,7 @@ public final class SkipPlayerGameTimeReqOuterClass {
return clientGameTime_;
}
/**
* <code>uint32 client_game_time = 7;</code>
* <code>uint32 client_game_time = 14;</code>
* @param value The clientGameTime to set.
* @return This builder for chaining.
*/
@@ -560,7 +591,7 @@ public final class SkipPlayerGameTimeReqOuterClass {
return this;
}
/**
* <code>uint32 client_game_time = 7;</code>
* <code>uint32 client_game_time = 14;</code>
* @return This builder for chaining.
*/
public Builder clearClientGameTime() {
@@ -569,37 +600,6 @@ public final class SkipPlayerGameTimeReqOuterClass {
onChanged();
return this;
}
private boolean isForceSet_ ;
/**
* <code>bool is_force_set = 11;</code>
* @return The isForceSet.
*/
@java.lang.Override
public boolean getIsForceSet() {
return isForceSet_;
}
/**
* <code>bool is_force_set = 11;</code>
* @param value The isForceSet to set.
* @return This builder for chaining.
*/
public Builder setIsForceSet(boolean value) {
isForceSet_ = value;
onChanged();
return this;
}
/**
* <code>bool is_force_set = 11;</code>
* @return This builder for chaining.
*/
public Builder clearIsForceSet() {
isForceSet_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -668,9 +668,9 @@ public final class SkipPlayerGameTimeReqOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\033SkipPlayerGameTimeReq.proto\"Z\n\025SkipPla" +
"yerGameTimeReq\022\021\n\tgame_time\030\016 \001(\r\022\030\n\020cli" +
"ent_game_time\030\007 \001(\r\022\024\n\014is_force_set\030\013 \001(" +
"\010B\033\n\031emu.grasscutter.net.protob\006proto3"
"yerGameTimeReq\022\024\n\014is_force_set\030\006 \001(\010\022\021\n\t" +
"game_time\030\005 \001(\r\022\030\n\020client_game_time\030\016 \001(" +
"\rB\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -681,7 +681,7 @@ public final class SkipPlayerGameTimeReqOuterClass {
internal_static_SkipPlayerGameTimeReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SkipPlayerGameTimeReq_descriptor,
new java.lang.String[] { "GameTime", "ClientGameTime", "IsForceSet", });
new java.lang.String[] { "IsForceSet", "GameTime", "ClientGameTime", });
}
// @@protoc_insertion_point(outer_class_scope)