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 TryEnterHomeReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool is_transfer_to_safe_point = 13;</code>
* @return The isTransferToSafePoint.
*/
boolean getIsTransferToSafePoint();
/**
* <code>uint32 target_point = 10;</code>
* <code>uint32 targetPoint = 11;</code>
* @return The targetPoint.
*/
int getTargetPoint();
/**
* <code>uint32 target_uid = 1;</code>
* <code>bool isTransferToSafePoint = 4;</code>
* @return The isTransferToSafePoint.
*/
boolean getIsTransferToSafePoint();
/**
* <code>uint32 targetUid = 6;</code>
* @return The targetUid.
*/
int getTargetUid();
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4648;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code TryEnterHomeReq}
*/
public static final class TryEnterHomeReq extends
@@ -92,21 +81,21 @@ public final class TryEnterHomeReqOuterClass {
case 0:
done = true;
break;
case 8: {
case 32: {
isTransferToSafePoint_ = input.readBool();
break;
}
case 48: {
targetUid_ = input.readUInt32();
break;
}
case 80: {
case 88: {
targetPoint_ = input.readUInt32();
break;
}
case 104: {
isTransferToSafePoint_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -139,21 +128,149 @@ public final class TryEnterHomeReqOuterClass {
emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq.class, emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq.Builder.class);
}
public static final int IS_TRANSFER_TO_SAFE_POINT_FIELD_NUMBER = 13;
private boolean isTransferToSafePoint_;
/**
* <code>bool is_transfer_to_safe_point = 13;</code>
* @return The isTransferToSafePoint.
* Protobuf enum {@code TryEnterHomeReq.PIDLCBDIAGA}
*/
@java.lang.Override
public boolean getIsTransferToSafePoint() {
return isTransferToSafePoint_;
public enum PIDLCBDIAGA
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 4455;</code>
*/
PEPPOHPHJOJ(1, 4455),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final PIDLCBDIAGA DCDNILFDFLB = NONE;
/**
* <code>EAJIABGAOCI = 1;</code>
*/
public static final PIDLCBDIAGA EAJIABGAOCI = NNBKOLMPOEA;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 4455;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 4455;
/**
* <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 PIDLCBDIAGA 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 PIDLCBDIAGA forNumber(int value) {
switch (value) {
case 0: return NONE;
case 4455: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<PIDLCBDIAGA>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PIDLCBDIAGA> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<PIDLCBDIAGA>() {
public PIDLCBDIAGA findValueByNumber(int number) {
return PIDLCBDIAGA.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.TryEnterHomeReqOuterClass.TryEnterHomeReq.getDescriptor().getEnumTypes().get(0);
}
private static final PIDLCBDIAGA[] VALUES = getStaticValuesArray();
private static PIDLCBDIAGA[] getStaticValuesArray() {
return new PIDLCBDIAGA[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI,
};
}
public static PIDLCBDIAGA 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 PIDLCBDIAGA(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:TryEnterHomeReq.PIDLCBDIAGA)
}
public static final int TARGET_POINT_FIELD_NUMBER = 10;
public static final int TARGETPOINT_FIELD_NUMBER = 11;
private int targetPoint_;
/**
* <code>uint32 target_point = 10;</code>
* <code>uint32 targetPoint = 11;</code>
* @return The targetPoint.
*/
@java.lang.Override
@@ -161,10 +278,21 @@ public final class TryEnterHomeReqOuterClass {
return targetPoint_;
}
public static final int TARGET_UID_FIELD_NUMBER = 1;
public static final int ISTRANSFERTOSAFEPOINT_FIELD_NUMBER = 4;
private boolean isTransferToSafePoint_;
/**
* <code>bool isTransferToSafePoint = 4;</code>
* @return The isTransferToSafePoint.
*/
@java.lang.Override
public boolean getIsTransferToSafePoint() {
return isTransferToSafePoint_;
}
public static final int TARGETUID_FIELD_NUMBER = 6;
private int targetUid_;
/**
* <code>uint32 target_uid = 1;</code>
* <code>uint32 targetUid = 6;</code>
* @return The targetUid.
*/
@java.lang.Override
@@ -186,14 +314,14 @@ public final class TryEnterHomeReqOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (isTransferToSafePoint_ != false) {
output.writeBool(4, isTransferToSafePoint_);
}
if (targetUid_ != 0) {
output.writeUInt32(1, targetUid_);
output.writeUInt32(6, targetUid_);
}
if (targetPoint_ != 0) {
output.writeUInt32(10, targetPoint_);
}
if (isTransferToSafePoint_ != false) {
output.writeBool(13, isTransferToSafePoint_);
output.writeUInt32(11, targetPoint_);
}
unknownFields.writeTo(output);
}
@@ -204,17 +332,17 @@ public final class TryEnterHomeReqOuterClass {
if (size != -1) return size;
size = 0;
if (isTransferToSafePoint_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, isTransferToSafePoint_);
}
if (targetUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, targetUid_);
.computeUInt32Size(6, targetUid_);
}
if (targetPoint_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, targetPoint_);
}
if (isTransferToSafePoint_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, isTransferToSafePoint_);
.computeUInt32Size(11, targetPoint_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -231,10 +359,10 @@ public final class TryEnterHomeReqOuterClass {
}
emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq other = (emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq) obj;
if (getIsTransferToSafePoint()
!= other.getIsTransferToSafePoint()) return false;
if (getTargetPoint()
!= other.getTargetPoint()) return false;
if (getIsTransferToSafePoint()
!= other.getIsTransferToSafePoint()) return false;
if (getTargetUid()
!= other.getTargetUid()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
@@ -248,12 +376,12 @@ public final class TryEnterHomeReqOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + IS_TRANSFER_TO_SAFE_POINT_FIELD_NUMBER;
hash = (37 * hash) + TARGETPOINT_FIELD_NUMBER;
hash = (53 * hash) + getTargetPoint();
hash = (37 * hash) + ISTRANSFERTOSAFEPOINT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsTransferToSafePoint());
hash = (37 * hash) + TARGET_POINT_FIELD_NUMBER;
hash = (53 * hash) + getTargetPoint();
hash = (37 * hash) + TARGET_UID_FIELD_NUMBER;
hash = (37 * hash) + TARGETUID_FIELD_NUMBER;
hash = (53 * hash) + getTargetUid();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
@@ -351,17 +479,6 @@ public final class TryEnterHomeReqOuterClass {
return builder;
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4648;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
* </pre>
*
* Protobuf type {@code TryEnterHomeReq}
*/
public static final class Builder extends
@@ -399,10 +516,10 @@ public final class TryEnterHomeReqOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
isTransferToSafePoint_ = false;
targetPoint_ = 0;
isTransferToSafePoint_ = false;
targetUid_ = 0;
return this;
@@ -431,8 +548,8 @@ public final class TryEnterHomeReqOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq buildPartial() {
emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq result = new emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq(this);
result.isTransferToSafePoint_ = isTransferToSafePoint_;
result.targetPoint_ = targetPoint_;
result.isTransferToSafePoint_ = isTransferToSafePoint_;
result.targetUid_ = targetUid_;
onBuilt();
return result;
@@ -482,12 +599,12 @@ public final class TryEnterHomeReqOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq other) {
if (other == emu.grasscutter.net.proto.TryEnterHomeReqOuterClass.TryEnterHomeReq.getDefaultInstance()) return this;
if (other.getIsTransferToSafePoint() != false) {
setIsTransferToSafePoint(other.getIsTransferToSafePoint());
}
if (other.getTargetPoint() != 0) {
setTargetPoint(other.getTargetPoint());
}
if (other.getIsTransferToSafePoint() != false) {
setIsTransferToSafePoint(other.getIsTransferToSafePoint());
}
if (other.getTargetUid() != 0) {
setTargetUid(other.getTargetUid());
}
@@ -520,40 +637,9 @@ public final class TryEnterHomeReqOuterClass {
return this;
}
private boolean isTransferToSafePoint_ ;
/**
* <code>bool is_transfer_to_safe_point = 13;</code>
* @return The isTransferToSafePoint.
*/
@java.lang.Override
public boolean getIsTransferToSafePoint() {
return isTransferToSafePoint_;
}
/**
* <code>bool is_transfer_to_safe_point = 13;</code>
* @param value The isTransferToSafePoint to set.
* @return This builder for chaining.
*/
public Builder setIsTransferToSafePoint(boolean value) {
isTransferToSafePoint_ = value;
onChanged();
return this;
}
/**
* <code>bool is_transfer_to_safe_point = 13;</code>
* @return This builder for chaining.
*/
public Builder clearIsTransferToSafePoint() {
isTransferToSafePoint_ = false;
onChanged();
return this;
}
private int targetPoint_ ;
/**
* <code>uint32 target_point = 10;</code>
* <code>uint32 targetPoint = 11;</code>
* @return The targetPoint.
*/
@java.lang.Override
@@ -561,7 +647,7 @@ public final class TryEnterHomeReqOuterClass {
return targetPoint_;
}
/**
* <code>uint32 target_point = 10;</code>
* <code>uint32 targetPoint = 11;</code>
* @param value The targetPoint to set.
* @return This builder for chaining.
*/
@@ -572,7 +658,7 @@ public final class TryEnterHomeReqOuterClass {
return this;
}
/**
* <code>uint32 target_point = 10;</code>
* <code>uint32 targetPoint = 11;</code>
* @return This builder for chaining.
*/
public Builder clearTargetPoint() {
@@ -582,9 +668,40 @@ public final class TryEnterHomeReqOuterClass {
return this;
}
private boolean isTransferToSafePoint_ ;
/**
* <code>bool isTransferToSafePoint = 4;</code>
* @return The isTransferToSafePoint.
*/
@java.lang.Override
public boolean getIsTransferToSafePoint() {
return isTransferToSafePoint_;
}
/**
* <code>bool isTransferToSafePoint = 4;</code>
* @param value The isTransferToSafePoint to set.
* @return This builder for chaining.
*/
public Builder setIsTransferToSafePoint(boolean value) {
isTransferToSafePoint_ = value;
onChanged();
return this;
}
/**
* <code>bool isTransferToSafePoint = 4;</code>
* @return This builder for chaining.
*/
public Builder clearIsTransferToSafePoint() {
isTransferToSafePoint_ = false;
onChanged();
return this;
}
private int targetUid_ ;
/**
* <code>uint32 target_uid = 1;</code>
* <code>uint32 targetUid = 6;</code>
* @return The targetUid.
*/
@java.lang.Override
@@ -592,7 +709,7 @@ public final class TryEnterHomeReqOuterClass {
return targetUid_;
}
/**
* <code>uint32 target_uid = 1;</code>
* <code>uint32 targetUid = 6;</code>
* @param value The targetUid to set.
* @return This builder for chaining.
*/
@@ -603,7 +720,7 @@ public final class TryEnterHomeReqOuterClass {
return this;
}
/**
* <code>uint32 target_uid = 1;</code>
* <code>uint32 targetUid = 6;</code>
* @return This builder for chaining.
*/
public Builder clearTargetUid() {
@@ -679,10 +796,13 @@ public final class TryEnterHomeReqOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\025TryEnterHomeReq.proto\"^\n\017TryEnterHomeR" +
"eq\022!\n\031is_transfer_to_safe_point\030\r \001(\010\022\024\n" +
"\014target_point\030\n \001(\r\022\022\n\ntarget_uid\030\001 \001(\rB" +
"\033\n\031emu.grasscutter.net.protob\006proto3"
"\n\025TryEnterHomeReq.proto\"\272\001\n\017TryEnterHome" +
"Req\022\023\n\013targetPoint\030\013 \001(\r\022\035\n\025isTransferTo" +
"SafePoint\030\004 \001(\010\022\021\n\ttargetUid\030\006 \001(\r\"`\n\013PI" +
"DLCBDIAGA\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\347\"\022\017\n" +
"\013DCDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\022\017\n\013EAJIA" +
"BGAOCI\020\001\032\002\020\001B\033\n\031emu.grasscutter.net.prot" +
"ob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -693,7 +813,7 @@ public final class TryEnterHomeReqOuterClass {
internal_static_TryEnterHomeReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TryEnterHomeReq_descriptor,
new java.lang.String[] { "IsTransferToSafePoint", "TargetPoint", "TargetUid", });
new java.lang.String[] { "TargetPoint", "IsTransferToSafePoint", "TargetUid", });
}
// @@protoc_insertion_point(outer_class_scope)