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:
yeyeye
2023-02-19 11:18:27 +08:00
committed by GitHub
Unverified
parent 39b4aa1387
commit 71a1e31d37
1191 changed files with 459994 additions and 172995 deletions
@@ -19,29 +19,18 @@ public final class SetOpenStateReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 key = 10;</code>
* @return The key.
*/
int getKey();
/**
* <code>uint32 value = 12;</code>
* <code>uint32 value = 14;</code>
* @return The value.
*/
int getValue();
/**
* <code>uint32 key = 7;</code>
* @return The key.
*/
int getKey();
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 189;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code SetOpenStateReq}
*/
public static final class SetOpenStateReq extends
@@ -86,12 +75,12 @@ public final class SetOpenStateReqOuterClass {
case 0:
done = true;
break;
case 80: {
case 56: {
key_ = input.readUInt32();
break;
}
case 96: {
case 112: {
value_ = input.readUInt32();
break;
@@ -128,21 +117,149 @@ public final class SetOpenStateReqOuterClass {
emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq.class, emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq.Builder.class);
}
public static final int KEY_FIELD_NUMBER = 10;
private int key_;
/**
* <code>uint32 key = 10;</code>
* @return The key.
* Protobuf enum {@code SetOpenStateReq.GLFJEJCADED}
*/
@java.lang.Override
public int getKey() {
return key_;
public enum GLFJEJCADED
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 188;</code>
*/
PEPPOHPHJOJ(1, 188),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final GLFJEJCADED DCDNILFDFLB = NONE;
/**
* <code>EAJIABGAOCI = 1;</code>
*/
public static final GLFJEJCADED EAJIABGAOCI = NNBKOLMPOEA;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 188;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 188;
/**
* <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 GLFJEJCADED 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 GLFJEJCADED forNumber(int value) {
switch (value) {
case 0: return NONE;
case 188: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<GLFJEJCADED>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
GLFJEJCADED> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<GLFJEJCADED>() {
public GLFJEJCADED findValueByNumber(int number) {
return GLFJEJCADED.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.SetOpenStateReqOuterClass.SetOpenStateReq.getDescriptor().getEnumTypes().get(0);
}
private static final GLFJEJCADED[] VALUES = getStaticValuesArray();
private static GLFJEJCADED[] getStaticValuesArray() {
return new GLFJEJCADED[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI,
};
}
public static GLFJEJCADED 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 GLFJEJCADED(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:SetOpenStateReq.GLFJEJCADED)
}
public static final int VALUE_FIELD_NUMBER = 12;
public static final int VALUE_FIELD_NUMBER = 14;
private int value_;
/**
* <code>uint32 value = 12;</code>
* <code>uint32 value = 14;</code>
* @return The value.
*/
@java.lang.Override
@@ -150,6 +267,17 @@ public final class SetOpenStateReqOuterClass {
return value_;
}
public static final int KEY_FIELD_NUMBER = 7;
private int key_;
/**
* <code>uint32 key = 7;</code>
* @return The key.
*/
@java.lang.Override
public int getKey() {
return key_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -165,10 +293,10 @@ public final class SetOpenStateReqOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (key_ != 0) {
output.writeUInt32(10, key_);
output.writeUInt32(7, key_);
}
if (value_ != 0) {
output.writeUInt32(12, value_);
output.writeUInt32(14, value_);
}
unknownFields.writeTo(output);
}
@@ -181,11 +309,11 @@ public final class SetOpenStateReqOuterClass {
size = 0;
if (key_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, key_);
.computeUInt32Size(7, key_);
}
if (value_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, value_);
.computeUInt32Size(14, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -202,10 +330,10 @@ public final class SetOpenStateReqOuterClass {
}
emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq other = (emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq) obj;
if (getKey()
!= other.getKey()) return false;
if (getValue()
!= other.getValue()) return false;
if (getKey()
!= other.getKey()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -217,10 +345,10 @@ public final class SetOpenStateReqOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -317,17 +445,6 @@ public final class SetOpenStateReqOuterClass {
return builder;
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 189;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code SetOpenStateReq}
*/
public static final class Builder extends
@@ -365,10 +482,10 @@ public final class SetOpenStateReqOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
key_ = 0;
value_ = 0;
key_ = 0;
return this;
}
@@ -395,8 +512,8 @@ public final class SetOpenStateReqOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq buildPartial() {
emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq result = new emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq(this);
result.key_ = key_;
result.value_ = value_;
result.key_ = key_;
onBuilt();
return result;
}
@@ -445,12 +562,12 @@ public final class SetOpenStateReqOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq other) {
if (other == emu.grasscutter.net.proto.SetOpenStateReqOuterClass.SetOpenStateReq.getDefaultInstance()) return this;
if (other.getKey() != 0) {
setKey(other.getKey());
}
if (other.getValue() != 0) {
setValue(other.getValue());
}
if (other.getKey() != 0) {
setKey(other.getKey());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -480,40 +597,9 @@ public final class SetOpenStateReqOuterClass {
return this;
}
private int key_ ;
/**
* <code>uint32 key = 10;</code>
* @return The key.
*/
@java.lang.Override
public int getKey() {
return key_;
}
/**
* <code>uint32 key = 10;</code>
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(int value) {
key_ = value;
onChanged();
return this;
}
/**
* <code>uint32 key = 10;</code>
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = 0;
onChanged();
return this;
}
private int value_ ;
/**
* <code>uint32 value = 12;</code>
* <code>uint32 value = 14;</code>
* @return The value.
*/
@java.lang.Override
@@ -521,7 +607,7 @@ public final class SetOpenStateReqOuterClass {
return value_;
}
/**
* <code>uint32 value = 12;</code>
* <code>uint32 value = 14;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
@@ -532,7 +618,7 @@ public final class SetOpenStateReqOuterClass {
return this;
}
/**
* <code>uint32 value = 12;</code>
* <code>uint32 value = 14;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
@@ -541,6 +627,37 @@ public final class SetOpenStateReqOuterClass {
onChanged();
return this;
}
private int key_ ;
/**
* <code>uint32 key = 7;</code>
* @return The key.
*/
@java.lang.Override
public int getKey() {
return key_;
}
/**
* <code>uint32 key = 7;</code>
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(int value) {
key_ = value;
onChanged();
return this;
}
/**
* <code>uint32 key = 7;</code>
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -608,9 +725,12 @@ public final class SetOpenStateReqOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\025SetOpenStateReq.proto\"-\n\017SetOpenStateR" +
"eq\022\013\n\003key\030\n \001(\r\022\r\n\005value\030\014 \001(\rB\033\n\031emu.gr" +
"asscutter.net.protob\006proto3"
"\n\025SetOpenStateReq.proto\"\217\001\n\017SetOpenState" +
"Req\022\r\n\005value\030\016 \001(\r\022\013\n\003key\030\007 \001(\r\"`\n\013GLFJE" +
"JCADED\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\274\001\022\017\n\013DC" +
"DNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\022\017\n\013EAJIABGA" +
"OCI\020\001\032\002\020\001B\033\n\031emu.grasscutter.net.protob\006" +
"proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -621,7 +741,7 @@ public final class SetOpenStateReqOuterClass {
internal_static_SetOpenStateReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SetOpenStateReq_descriptor,
new java.lang.String[] { "Key", "Value", });
new java.lang.String[] { "Value", "Key", });
}
// @@protoc_insertion_point(outer_class_scope)