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,35 +19,24 @@ public final class PullPrivateChatReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 from_sequence = 5;</code>
* @return The fromSequence.
*/
int getFromSequence();
/**
* <code>uint32 target_uid = 12;</code>
* <code>uint32 targetUid = 1;</code>
* @return The targetUid.
*/
int getTargetUid();
/**
* <code>uint32 pull_num = 11;</code>
* <code>uint32 fromSequence = 4;</code>
* @return The fromSequence.
*/
int getFromSequence();
/**
* <code>uint32 pullNum = 6;</code>
* @return The pullNum.
*/
int getPullNum();
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4993;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code PullPrivateChatReq}
*/
public static final class PullPrivateChatReq extends
@@ -92,21 +81,21 @@ public final class PullPrivateChatReqOuterClass {
case 0:
done = true;
break;
case 40: {
case 8: {
targetUid_ = input.readUInt32();
break;
}
case 32: {
fromSequence_ = input.readUInt32();
break;
}
case 88: {
case 48: {
pullNum_ = input.readUInt32();
break;
}
case 96: {
targetUid_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -139,21 +128,149 @@ public final class PullPrivateChatReqOuterClass {
emu.grasscutter.net.proto.PullPrivateChatReqOuterClass.PullPrivateChatReq.class, emu.grasscutter.net.proto.PullPrivateChatReqOuterClass.PullPrivateChatReq.Builder.class);
}
public static final int FROM_SEQUENCE_FIELD_NUMBER = 5;
private int fromSequence_;
/**
* <code>uint32 from_sequence = 5;</code>
* @return The fromSequence.
* Protobuf enum {@code PullPrivateChatReq.NIJLIODNKPO}
*/
@java.lang.Override
public int getFromSequence() {
return fromSequence_;
public enum NIJLIODNKPO
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 5024;</code>
*/
PEPPOHPHJOJ(1, 5024),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final NIJLIODNKPO DCDNILFDFLB = NONE;
/**
* <code>EAJIABGAOCI = 1;</code>
*/
public static final NIJLIODNKPO EAJIABGAOCI = NNBKOLMPOEA;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 5024;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 5024;
/**
* <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 NIJLIODNKPO 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 NIJLIODNKPO forNumber(int value) {
switch (value) {
case 0: return NONE;
case 5024: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<NIJLIODNKPO>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
NIJLIODNKPO> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<NIJLIODNKPO>() {
public NIJLIODNKPO findValueByNumber(int number) {
return NIJLIODNKPO.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.PullPrivateChatReqOuterClass.PullPrivateChatReq.getDescriptor().getEnumTypes().get(0);
}
private static final NIJLIODNKPO[] VALUES = getStaticValuesArray();
private static NIJLIODNKPO[] getStaticValuesArray() {
return new NIJLIODNKPO[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI,
};
}
public static NIJLIODNKPO 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 NIJLIODNKPO(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:PullPrivateChatReq.NIJLIODNKPO)
}
public static final int TARGET_UID_FIELD_NUMBER = 12;
public static final int TARGETUID_FIELD_NUMBER = 1;
private int targetUid_;
/**
* <code>uint32 target_uid = 12;</code>
* <code>uint32 targetUid = 1;</code>
* @return The targetUid.
*/
@java.lang.Override
@@ -161,10 +278,21 @@ public final class PullPrivateChatReqOuterClass {
return targetUid_;
}
public static final int PULL_NUM_FIELD_NUMBER = 11;
public static final int FROMSEQUENCE_FIELD_NUMBER = 4;
private int fromSequence_;
/**
* <code>uint32 fromSequence = 4;</code>
* @return The fromSequence.
*/
@java.lang.Override
public int getFromSequence() {
return fromSequence_;
}
public static final int PULLNUM_FIELD_NUMBER = 6;
private int pullNum_;
/**
* <code>uint32 pull_num = 11;</code>
* <code>uint32 pullNum = 6;</code>
* @return The pullNum.
*/
@java.lang.Override
@@ -186,14 +314,14 @@ public final class PullPrivateChatReqOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (targetUid_ != 0) {
output.writeUInt32(1, targetUid_);
}
if (fromSequence_ != 0) {
output.writeUInt32(5, fromSequence_);
output.writeUInt32(4, fromSequence_);
}
if (pullNum_ != 0) {
output.writeUInt32(11, pullNum_);
}
if (targetUid_ != 0) {
output.writeUInt32(12, targetUid_);
output.writeUInt32(6, pullNum_);
}
unknownFields.writeTo(output);
}
@@ -204,17 +332,17 @@ public final class PullPrivateChatReqOuterClass {
if (size != -1) return size;
size = 0;
if (targetUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, targetUid_);
}
if (fromSequence_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, fromSequence_);
.computeUInt32Size(4, fromSequence_);
}
if (pullNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, pullNum_);
}
if (targetUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, targetUid_);
.computeUInt32Size(6, pullNum_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -231,10 +359,10 @@ public final class PullPrivateChatReqOuterClass {
}
emu.grasscutter.net.proto.PullPrivateChatReqOuterClass.PullPrivateChatReq other = (emu.grasscutter.net.proto.PullPrivateChatReqOuterClass.PullPrivateChatReq) obj;
if (getFromSequence()
!= other.getFromSequence()) return false;
if (getTargetUid()
!= other.getTargetUid()) return false;
if (getFromSequence()
!= other.getFromSequence()) return false;
if (getPullNum()
!= other.getPullNum()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
@@ -248,11 +376,11 @@ public final class PullPrivateChatReqOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FROM_SEQUENCE_FIELD_NUMBER;
hash = (53 * hash) + getFromSequence();
hash = (37 * hash) + TARGET_UID_FIELD_NUMBER;
hash = (37 * hash) + TARGETUID_FIELD_NUMBER;
hash = (53 * hash) + getTargetUid();
hash = (37 * hash) + PULL_NUM_FIELD_NUMBER;
hash = (37 * hash) + FROMSEQUENCE_FIELD_NUMBER;
hash = (53 * hash) + getFromSequence();
hash = (37 * hash) + PULLNUM_FIELD_NUMBER;
hash = (53 * hash) + getPullNum();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
@@ -350,17 +478,6 @@ public final class PullPrivateChatReqOuterClass {
return builder;
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4993;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code PullPrivateChatReq}
*/
public static final class Builder extends
@@ -398,10 +515,10 @@ public final class PullPrivateChatReqOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
fromSequence_ = 0;
targetUid_ = 0;
fromSequence_ = 0;
pullNum_ = 0;
return this;
@@ -430,8 +547,8 @@ public final class PullPrivateChatReqOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.PullPrivateChatReqOuterClass.PullPrivateChatReq buildPartial() {
emu.grasscutter.net.proto.PullPrivateChatReqOuterClass.PullPrivateChatReq result = new emu.grasscutter.net.proto.PullPrivateChatReqOuterClass.PullPrivateChatReq(this);
result.fromSequence_ = fromSequence_;
result.targetUid_ = targetUid_;
result.fromSequence_ = fromSequence_;
result.pullNum_ = pullNum_;
onBuilt();
return result;
@@ -481,12 +598,12 @@ public final class PullPrivateChatReqOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.PullPrivateChatReqOuterClass.PullPrivateChatReq other) {
if (other == emu.grasscutter.net.proto.PullPrivateChatReqOuterClass.PullPrivateChatReq.getDefaultInstance()) return this;
if (other.getFromSequence() != 0) {
setFromSequence(other.getFromSequence());
}
if (other.getTargetUid() != 0) {
setTargetUid(other.getTargetUid());
}
if (other.getFromSequence() != 0) {
setFromSequence(other.getFromSequence());
}
if (other.getPullNum() != 0) {
setPullNum(other.getPullNum());
}
@@ -519,40 +636,9 @@ public final class PullPrivateChatReqOuterClass {
return this;
}
private int fromSequence_ ;
/**
* <code>uint32 from_sequence = 5;</code>
* @return The fromSequence.
*/
@java.lang.Override
public int getFromSequence() {
return fromSequence_;
}
/**
* <code>uint32 from_sequence = 5;</code>
* @param value The fromSequence to set.
* @return This builder for chaining.
*/
public Builder setFromSequence(int value) {
fromSequence_ = value;
onChanged();
return this;
}
/**
* <code>uint32 from_sequence = 5;</code>
* @return This builder for chaining.
*/
public Builder clearFromSequence() {
fromSequence_ = 0;
onChanged();
return this;
}
private int targetUid_ ;
/**
* <code>uint32 target_uid = 12;</code>
* <code>uint32 targetUid = 1;</code>
* @return The targetUid.
*/
@java.lang.Override
@@ -560,7 +646,7 @@ public final class PullPrivateChatReqOuterClass {
return targetUid_;
}
/**
* <code>uint32 target_uid = 12;</code>
* <code>uint32 targetUid = 1;</code>
* @param value The targetUid to set.
* @return This builder for chaining.
*/
@@ -571,7 +657,7 @@ public final class PullPrivateChatReqOuterClass {
return this;
}
/**
* <code>uint32 target_uid = 12;</code>
* <code>uint32 targetUid = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTargetUid() {
@@ -581,9 +667,40 @@ public final class PullPrivateChatReqOuterClass {
return this;
}
private int fromSequence_ ;
/**
* <code>uint32 fromSequence = 4;</code>
* @return The fromSequence.
*/
@java.lang.Override
public int getFromSequence() {
return fromSequence_;
}
/**
* <code>uint32 fromSequence = 4;</code>
* @param value The fromSequence to set.
* @return This builder for chaining.
*/
public Builder setFromSequence(int value) {
fromSequence_ = value;
onChanged();
return this;
}
/**
* <code>uint32 fromSequence = 4;</code>
* @return This builder for chaining.
*/
public Builder clearFromSequence() {
fromSequence_ = 0;
onChanged();
return this;
}
private int pullNum_ ;
/**
* <code>uint32 pull_num = 11;</code>
* <code>uint32 pullNum = 6;</code>
* @return The pullNum.
*/
@java.lang.Override
@@ -591,7 +708,7 @@ public final class PullPrivateChatReqOuterClass {
return pullNum_;
}
/**
* <code>uint32 pull_num = 11;</code>
* <code>uint32 pullNum = 6;</code>
* @param value The pullNum to set.
* @return This builder for chaining.
*/
@@ -602,7 +719,7 @@ public final class PullPrivateChatReqOuterClass {
return this;
}
/**
* <code>uint32 pull_num = 11;</code>
* <code>uint32 pullNum = 6;</code>
* @return This builder for chaining.
*/
public Builder clearPullNum() {
@@ -678,10 +795,13 @@ public final class PullPrivateChatReqOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\030PullPrivateChatReq.proto\"Q\n\022PullPrivat" +
"eChatReq\022\025\n\rfrom_sequence\030\005 \001(\r\022\022\n\ntarge" +
"t_uid\030\014 \001(\r\022\020\n\010pull_num\030\013 \001(\rB\033\n\031emu.gra" +
"sscutter.net.protob\006proto3"
"\n\030PullPrivateChatReq.proto\"\260\001\n\022PullPriva" +
"teChatReq\022\021\n\ttargetUid\030\001 \001(\r\022\024\n\014fromSequ" +
"ence\030\004 \001(\r\022\017\n\007pullNum\030\006 \001(\r\"`\n\013NIJLIODNK" +
"PO\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\240\'\022\017\n\013DCDNIL" +
"FDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\022\017\n\013EAJIABGAOCI\020" +
"\001\032\002\020\001B\033\n\031emu.grasscutter.net.protob\006prot" +
"o3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -692,7 +812,7 @@ public final class PullPrivateChatReqOuterClass {
internal_static_PullPrivateChatReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PullPrivateChatReq_descriptor,
new java.lang.String[] { "FromSequence", "TargetUid", "PullNum", });
new java.lang.String[] { "TargetUid", "FromSequence", "PullNum", });
}
// @@protoc_insertion_point(outer_class_scope)