mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-27 02:01:29 +08:00
update gc 3.4 (#2041)
* update 3.4 * update3.4 * update 3.4 * update 3.4 * Add files via upload * Delete SetPropCommand.java * update 3.4 area id * update version * exchange cmdid * exchange cmdid * exchange cmdid * my fault * update AiSyncInfo
This commit is contained in:
committed by
GitHub
Unverified
parent
39b4aa1387
commit
71a1e31d37
+227
-108
@@ -19,35 +19,24 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 extra_days = 3;</code>
|
||||
* <code>uint32 extraDays = 7;</code>
|
||||
* @return The extraDays.
|
||||
*/
|
||||
int getExtraDays();
|
||||
|
||||
/**
|
||||
* <code>uint32 game_time = 8;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
int getGameTime();
|
||||
|
||||
/**
|
||||
* <code>bool is_force_set = 2;</code>
|
||||
* <code>bool isForceSet = 6;</code>
|
||||
* @return The isForceSet.
|
||||
*/
|
||||
boolean getIsForceSet();
|
||||
|
||||
/**
|
||||
* <code>uint32 gameTime = 9;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
int getGameTime();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 178;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChangeGameTimeReq}
|
||||
*/
|
||||
public static final class ChangeGameTimeReq extends
|
||||
@@ -92,17 +81,17 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
case 48: {
|
||||
|
||||
isForceSet_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
case 56: {
|
||||
|
||||
extraDays_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 72: {
|
||||
|
||||
gameTime_ = input.readUInt32();
|
||||
break;
|
||||
@@ -139,10 +128,149 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
emu.grasscutter.net.proto.ChangeGameTimeReqOuterClass.ChangeGameTimeReq.class, emu.grasscutter.net.proto.ChangeGameTimeReqOuterClass.ChangeGameTimeReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int EXTRA_DAYS_FIELD_NUMBER = 3;
|
||||
/**
|
||||
* Protobuf enum {@code ChangeGameTimeReq.ALPCPKGFHFL}
|
||||
*/
|
||||
public enum ALPCPKGFHFL
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
NONE(0, 0),
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 162;</code>
|
||||
*/
|
||||
PEPPOHPHJOJ(1, 162),
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
NNBKOLMPOEA(3, 1),
|
||||
UNRECOGNIZED(-1, -1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final ALPCPKGFHFL DCDNILFDFLB = NONE;
|
||||
/**
|
||||
* <code>EAJIABGAOCI = 1;</code>
|
||||
*/
|
||||
public static final ALPCPKGFHFL EAJIABGAOCI = NNBKOLMPOEA;
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
public static final int NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 162;</code>
|
||||
*/
|
||||
public static final int PEPPOHPHJOJ_VALUE = 162;
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final int DCDNILFDFLB_VALUE = 0;
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
public static final int NNBKOLMPOEA_VALUE = 1;
|
||||
/**
|
||||
* <code>EAJIABGAOCI = 1;</code>
|
||||
*/
|
||||
public static final int EAJIABGAOCI_VALUE = 1;
|
||||
|
||||
|
||||
public final int getNumber() {
|
||||
if (index == -1) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"Can't get the number of an unknown enum value.");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value The numeric wire value of the corresponding enum entry.
|
||||
* @return The enum associated with the given numeric wire value.
|
||||
* @deprecated Use {@link #forNumber(int)} instead.
|
||||
*/
|
||||
@java.lang.Deprecated
|
||||
public static ALPCPKGFHFL valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value The numeric wire value of the corresponding enum entry.
|
||||
* @return The enum associated with the given numeric wire value.
|
||||
*/
|
||||
public static ALPCPKGFHFL forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return NONE;
|
||||
case 162: return PEPPOHPHJOJ;
|
||||
case 1: return NNBKOLMPOEA;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<ALPCPKGFHFL>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
ALPCPKGFHFL> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<ALPCPKGFHFL>() {
|
||||
public ALPCPKGFHFL findValueByNumber(int number) {
|
||||
return ALPCPKGFHFL.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
||||
getValueDescriptor() {
|
||||
if (index == -1) {
|
||||
throw new java.lang.IllegalStateException(
|
||||
"Can't get the descriptor of an unrecognized enum value.");
|
||||
}
|
||||
return getDescriptor().getValues().get(index);
|
||||
}
|
||||
public final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptorForType() {
|
||||
return getDescriptor();
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.ChangeGameTimeReqOuterClass.ChangeGameTimeReq.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final ALPCPKGFHFL[] VALUES = getStaticValuesArray();
|
||||
private static ALPCPKGFHFL[] getStaticValuesArray() {
|
||||
return new ALPCPKGFHFL[] {
|
||||
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI,
|
||||
};
|
||||
}
|
||||
public static ALPCPKGFHFL valueOf(
|
||||
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
||||
if (desc.getType() != getDescriptor()) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"EnumValueDescriptor is not for this type.");
|
||||
}
|
||||
if (desc.getIndex() == -1) {
|
||||
return UNRECOGNIZED;
|
||||
}
|
||||
return VALUES[desc.getIndex()];
|
||||
}
|
||||
|
||||
private final int index;
|
||||
private final int value;
|
||||
|
||||
private ALPCPKGFHFL(int index, int value) {
|
||||
this.index = index;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:ChangeGameTimeReq.ALPCPKGFHFL)
|
||||
}
|
||||
|
||||
public static final int EXTRADAYS_FIELD_NUMBER = 7;
|
||||
private int extraDays_;
|
||||
/**
|
||||
* <code>uint32 extra_days = 3;</code>
|
||||
* <code>uint32 extraDays = 7;</code>
|
||||
* @return The extraDays.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -150,21 +278,10 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
return extraDays_;
|
||||
}
|
||||
|
||||
public static final int GAME_TIME_FIELD_NUMBER = 8;
|
||||
private int gameTime_;
|
||||
/**
|
||||
* <code>uint32 game_time = 8;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGameTime() {
|
||||
return gameTime_;
|
||||
}
|
||||
|
||||
public static final int IS_FORCE_SET_FIELD_NUMBER = 2;
|
||||
public static final int ISFORCESET_FIELD_NUMBER = 6;
|
||||
private boolean isForceSet_;
|
||||
/**
|
||||
* <code>bool is_force_set = 2;</code>
|
||||
* <code>bool isForceSet = 6;</code>
|
||||
* @return The isForceSet.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -172,6 +289,17 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
return isForceSet_;
|
||||
}
|
||||
|
||||
public static final int GAMETIME_FIELD_NUMBER = 9;
|
||||
private int gameTime_;
|
||||
/**
|
||||
* <code>uint32 gameTime = 9;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGameTime() {
|
||||
return gameTime_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -187,13 +315,13 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (isForceSet_ != false) {
|
||||
output.writeBool(2, isForceSet_);
|
||||
output.writeBool(6, isForceSet_);
|
||||
}
|
||||
if (extraDays_ != 0) {
|
||||
output.writeUInt32(3, extraDays_);
|
||||
output.writeUInt32(7, extraDays_);
|
||||
}
|
||||
if (gameTime_ != 0) {
|
||||
output.writeUInt32(8, gameTime_);
|
||||
output.writeUInt32(9, gameTime_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -206,15 +334,15 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
size = 0;
|
||||
if (isForceSet_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(2, isForceSet_);
|
||||
.computeBoolSize(6, isForceSet_);
|
||||
}
|
||||
if (extraDays_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(3, extraDays_);
|
||||
.computeUInt32Size(7, extraDays_);
|
||||
}
|
||||
if (gameTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, gameTime_);
|
||||
.computeUInt32Size(9, gameTime_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -233,10 +361,10 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
|
||||
if (getExtraDays()
|
||||
!= other.getExtraDays()) return false;
|
||||
if (getGameTime()
|
||||
!= other.getGameTime()) return false;
|
||||
if (getIsForceSet()
|
||||
!= other.getIsForceSet()) return false;
|
||||
if (getGameTime()
|
||||
!= other.getGameTime()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -248,13 +376,13 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + EXTRA_DAYS_FIELD_NUMBER;
|
||||
hash = (37 * hash) + EXTRADAYS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getExtraDays();
|
||||
hash = (37 * hash) + GAME_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getGameTime();
|
||||
hash = (37 * hash) + IS_FORCE_SET_FIELD_NUMBER;
|
||||
hash = (37 * hash) + ISFORCESET_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsForceSet());
|
||||
hash = (37 * hash) + GAMETIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getGameTime();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -351,17 +479,6 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 178;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChangeGameTimeReq}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -401,10 +518,10 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
super.clear();
|
||||
extraDays_ = 0;
|
||||
|
||||
gameTime_ = 0;
|
||||
|
||||
isForceSet_ = false;
|
||||
|
||||
gameTime_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -432,8 +549,8 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
public emu.grasscutter.net.proto.ChangeGameTimeReqOuterClass.ChangeGameTimeReq buildPartial() {
|
||||
emu.grasscutter.net.proto.ChangeGameTimeReqOuterClass.ChangeGameTimeReq result = new emu.grasscutter.net.proto.ChangeGameTimeReqOuterClass.ChangeGameTimeReq(this);
|
||||
result.extraDays_ = extraDays_;
|
||||
result.gameTime_ = gameTime_;
|
||||
result.isForceSet_ = isForceSet_;
|
||||
result.gameTime_ = gameTime_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -485,12 +602,12 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
if (other.getExtraDays() != 0) {
|
||||
setExtraDays(other.getExtraDays());
|
||||
}
|
||||
if (other.getGameTime() != 0) {
|
||||
setGameTime(other.getGameTime());
|
||||
}
|
||||
if (other.getIsForceSet() != false) {
|
||||
setIsForceSet(other.getIsForceSet());
|
||||
}
|
||||
if (other.getGameTime() != 0) {
|
||||
setGameTime(other.getGameTime());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -522,7 +639,7 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
|
||||
private int extraDays_ ;
|
||||
/**
|
||||
* <code>uint32 extra_days = 3;</code>
|
||||
* <code>uint32 extraDays = 7;</code>
|
||||
* @return The extraDays.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -530,7 +647,7 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
return extraDays_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 extra_days = 3;</code>
|
||||
* <code>uint32 extraDays = 7;</code>
|
||||
* @param value The extraDays to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -541,7 +658,7 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 extra_days = 3;</code>
|
||||
* <code>uint32 extraDays = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearExtraDays() {
|
||||
@@ -551,40 +668,9 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int gameTime_ ;
|
||||
/**
|
||||
* <code>uint32 game_time = 8;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGameTime() {
|
||||
return gameTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 game_time = 8;</code>
|
||||
* @param value The gameTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGameTime(int value) {
|
||||
|
||||
gameTime_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 game_time = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGameTime() {
|
||||
|
||||
gameTime_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean isForceSet_ ;
|
||||
/**
|
||||
* <code>bool is_force_set = 2;</code>
|
||||
* <code>bool isForceSet = 6;</code>
|
||||
* @return The isForceSet.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -592,7 +678,7 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
return isForceSet_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_force_set = 2;</code>
|
||||
* <code>bool isForceSet = 6;</code>
|
||||
* @param value The isForceSet to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -603,7 +689,7 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_force_set = 2;</code>
|
||||
* <code>bool isForceSet = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsForceSet() {
|
||||
@@ -612,6 +698,37 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int gameTime_ ;
|
||||
/**
|
||||
* <code>uint32 gameTime = 9;</code>
|
||||
* @return The gameTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGameTime() {
|
||||
return gameTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 gameTime = 9;</code>
|
||||
* @param value The gameTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGameTime(int value) {
|
||||
|
||||
gameTime_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 gameTime = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGameTime() {
|
||||
|
||||
gameTime_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -679,10 +796,12 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\027ChangeGameTimeReq.proto\"P\n\021ChangeGameT" +
|
||||
"imeReq\022\022\n\nextra_days\030\003 \001(\r\022\021\n\tgame_time\030" +
|
||||
"\010 \001(\r\022\024\n\014is_force_set\030\002 \001(\010B\033\n\031emu.grass" +
|
||||
"cutter.net.protob\006proto3"
|
||||
"\n\027ChangeGameTimeReq.proto\"\256\001\n\021ChangeGame" +
|
||||
"TimeReq\022\021\n\textraDays\030\007 \001(\r\022\022\n\nisForceSet" +
|
||||
"\030\006 \001(\010\022\020\n\010gameTime\030\t \001(\r\"`\n\013ALPCPKGFHFL\022" +
|
||||
"\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\242\001\022\017\n\013DCDNILFDF" +
|
||||
"LB\020\000\022\017\n\013NNBKOLMPOEA\020\001\022\017\n\013EAJIABGAOCI\020\001\032\002" +
|
||||
"\020\001B\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -693,7 +812,7 @@ public final class ChangeGameTimeReqOuterClass {
|
||||
internal_static_ChangeGameTimeReq_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ChangeGameTimeReq_descriptor,
|
||||
new java.lang.String[] { "ExtraDays", "GameTime", "IsForceSet", });
|
||||
new java.lang.String[] { "ExtraDays", "IsForceSet", "GameTime", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user