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,45 +19,35 @@ public final class TryEnterHomeRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>uint32 targetUid = 15;</code>
* @return The targetUid.
*/
int getTargetUid();
/**
* <code>repeated uint32 paramList = 10;</code>
* @return A list containing the paramList.
*/
java.util.List<java.lang.Integer> getParamListList();
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @return The count of paramList.
*/
int getParamListCount();
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @param index The index of the element to return.
* @return The paramList at the given index.
*/
int getParamList(int index);
/**
* <code>uint32 target_uid = 2;</code>
* @return The targetUid.
*/
int getTargetUid();
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 12;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4796;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code TryEnterHomeRsp}
*/
public static final class TryEnterHomeRsp extends
@@ -104,17 +94,7 @@ public final class TryEnterHomeRspOuterClass {
case 0:
done = true;
break;
case 16: {
targetUid_ = input.readUInt32();
break;
}
case 32: {
retcode_ = input.readInt32();
break;
}
case 88: {
case 80: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
paramList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -122,7 +102,7 @@ public final class TryEnterHomeRspOuterClass {
paramList_.addInt(input.readUInt32());
break;
}
case 90: {
case 82: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -135,6 +115,16 @@ public final class TryEnterHomeRspOuterClass {
input.popLimit(limit);
break;
}
case 96: {
retcode_ = input.readInt32();
break;
}
case 120: {
targetUid_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -170,10 +160,152 @@ public final class TryEnterHomeRspOuterClass {
emu.grasscutter.net.proto.TryEnterHomeRspOuterClass.TryEnterHomeRsp.class, emu.grasscutter.net.proto.TryEnterHomeRspOuterClass.TryEnterHomeRsp.Builder.class);
}
public static final int PARAM_LIST_FIELD_NUMBER = 11;
/**
* Protobuf enum {@code TryEnterHomeRsp.HFBHBGNLNMK}
*/
public enum HFBHBGNLNMK
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 4820;</code>
*/
PEPPOHPHJOJ(1, 4820),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final HFBHBGNLNMK DCDNILFDFLB = NONE;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 4820;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 4820;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final int DCDNILFDFLB_VALUE = 0;
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
public static final int NNBKOLMPOEA_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 HFBHBGNLNMK 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 HFBHBGNLNMK forNumber(int value) {
switch (value) {
case 0: return NONE;
case 4820: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<HFBHBGNLNMK>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
HFBHBGNLNMK> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<HFBHBGNLNMK>() {
public HFBHBGNLNMK findValueByNumber(int number) {
return HFBHBGNLNMK.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.TryEnterHomeRspOuterClass.TryEnterHomeRsp.getDescriptor().getEnumTypes().get(0);
}
private static final HFBHBGNLNMK[] VALUES = getStaticValuesArray();
private static HFBHBGNLNMK[] getStaticValuesArray() {
return new HFBHBGNLNMK[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
};
}
public static HFBHBGNLNMK 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 HFBHBGNLNMK(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:TryEnterHomeRsp.HFBHBGNLNMK)
}
public static final int TARGETUID_FIELD_NUMBER = 15;
private int targetUid_;
/**
* <code>uint32 targetUid = 15;</code>
* @return The targetUid.
*/
@java.lang.Override
public int getTargetUid() {
return targetUid_;
}
public static final int PARAMLIST_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.IntList paramList_;
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @return A list containing the paramList.
*/
@java.lang.Override
@@ -182,14 +314,14 @@ public final class TryEnterHomeRspOuterClass {
return paramList_;
}
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @return The count of paramList.
*/
public int getParamListCount() {
return paramList_.size();
}
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @param index The index of the element to return.
* @return The paramList at the given index.
*/
@@ -198,21 +330,10 @@ public final class TryEnterHomeRspOuterClass {
}
private int paramListMemoizedSerializedSize = -1;
public static final int TARGET_UID_FIELD_NUMBER = 2;
private int targetUid_;
/**
* <code>uint32 target_uid = 2;</code>
* @return The targetUid.
*/
@java.lang.Override
public int getTargetUid() {
return targetUid_;
}
public static final int RETCODE_FIELD_NUMBER = 4;
public static final int RETCODE_FIELD_NUMBER = 12;
private int retcode_;
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 12;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -235,19 +356,19 @@ public final class TryEnterHomeRspOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (targetUid_ != 0) {
output.writeUInt32(2, targetUid_);
}
if (retcode_ != 0) {
output.writeInt32(4, retcode_);
}
if (getParamListList().size() > 0) {
output.writeUInt32NoTag(90);
output.writeUInt32NoTag(82);
output.writeUInt32NoTag(paramListMemoizedSerializedSize);
}
for (int i = 0; i < paramList_.size(); i++) {
output.writeUInt32NoTag(paramList_.getInt(i));
}
if (retcode_ != 0) {
output.writeInt32(12, retcode_);
}
if (targetUid_ != 0) {
output.writeUInt32(15, targetUid_);
}
unknownFields.writeTo(output);
}
@@ -257,14 +378,6 @@ public final class TryEnterHomeRspOuterClass {
if (size != -1) return size;
size = 0;
if (targetUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, targetUid_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, retcode_);
}
{
int dataSize = 0;
for (int i = 0; i < paramList_.size(); i++) {
@@ -279,6 +392,14 @@ public final class TryEnterHomeRspOuterClass {
}
paramListMemoizedSerializedSize = dataSize;
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(12, retcode_);
}
if (targetUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, targetUid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -294,10 +415,10 @@ public final class TryEnterHomeRspOuterClass {
}
emu.grasscutter.net.proto.TryEnterHomeRspOuterClass.TryEnterHomeRsp other = (emu.grasscutter.net.proto.TryEnterHomeRspOuterClass.TryEnterHomeRsp) obj;
if (!getParamListList()
.equals(other.getParamListList())) return false;
if (getTargetUid()
!= other.getTargetUid()) return false;
if (!getParamListList()
.equals(other.getParamListList())) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
@@ -311,12 +432,12 @@ public final class TryEnterHomeRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TARGETUID_FIELD_NUMBER;
hash = (53 * hash) + getTargetUid();
if (getParamListCount() > 0) {
hash = (37 * hash) + PARAM_LIST_FIELD_NUMBER;
hash = (37 * hash) + PARAMLIST_FIELD_NUMBER;
hash = (53 * hash) + getParamListList().hashCode();
}
hash = (37 * hash) + TARGET_UID_FIELD_NUMBER;
hash = (53 * hash) + getTargetUid();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
@@ -415,16 +536,6 @@ public final class TryEnterHomeRspOuterClass {
return builder;
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 4796;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code TryEnterHomeRsp}
*/
public static final class Builder extends
@@ -462,10 +573,10 @@ public final class TryEnterHomeRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
paramList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
targetUid_ = 0;
paramList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
retcode_ = 0;
return this;
@@ -495,12 +606,12 @@ public final class TryEnterHomeRspOuterClass {
public emu.grasscutter.net.proto.TryEnterHomeRspOuterClass.TryEnterHomeRsp buildPartial() {
emu.grasscutter.net.proto.TryEnterHomeRspOuterClass.TryEnterHomeRsp result = new emu.grasscutter.net.proto.TryEnterHomeRspOuterClass.TryEnterHomeRsp(this);
int from_bitField0_ = bitField0_;
result.targetUid_ = targetUid_;
if (((bitField0_ & 0x00000001) != 0)) {
paramList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.paramList_ = paramList_;
result.targetUid_ = targetUid_;
result.retcode_ = retcode_;
onBuilt();
return result;
@@ -550,6 +661,9 @@ public final class TryEnterHomeRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.TryEnterHomeRspOuterClass.TryEnterHomeRsp other) {
if (other == emu.grasscutter.net.proto.TryEnterHomeRspOuterClass.TryEnterHomeRsp.getDefaultInstance()) return this;
if (other.getTargetUid() != 0) {
setTargetUid(other.getTargetUid());
}
if (!other.paramList_.isEmpty()) {
if (paramList_.isEmpty()) {
paramList_ = other.paramList_;
@@ -560,9 +674,6 @@ public final class TryEnterHomeRspOuterClass {
}
onChanged();
}
if (other.getTargetUid() != 0) {
setTargetUid(other.getTargetUid());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
@@ -596,6 +707,37 @@ public final class TryEnterHomeRspOuterClass {
}
private int bitField0_;
private int targetUid_ ;
/**
* <code>uint32 targetUid = 15;</code>
* @return The targetUid.
*/
@java.lang.Override
public int getTargetUid() {
return targetUid_;
}
/**
* <code>uint32 targetUid = 15;</code>
* @param value The targetUid to set.
* @return This builder for chaining.
*/
public Builder setTargetUid(int value) {
targetUid_ = value;
onChanged();
return this;
}
/**
* <code>uint32 targetUid = 15;</code>
* @return This builder for chaining.
*/
public Builder clearTargetUid() {
targetUid_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList paramList_ = emptyIntList();
private void ensureParamListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
@@ -604,7 +746,7 @@ public final class TryEnterHomeRspOuterClass {
}
}
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @return A list containing the paramList.
*/
public java.util.List<java.lang.Integer>
@@ -613,14 +755,14 @@ public final class TryEnterHomeRspOuterClass {
java.util.Collections.unmodifiableList(paramList_) : paramList_;
}
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @return The count of paramList.
*/
public int getParamListCount() {
return paramList_.size();
}
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @param index The index of the element to return.
* @return The paramList at the given index.
*/
@@ -628,7 +770,7 @@ public final class TryEnterHomeRspOuterClass {
return paramList_.getInt(index);
}
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @param index The index to set the value at.
* @param value The paramList to set.
* @return This builder for chaining.
@@ -641,7 +783,7 @@ public final class TryEnterHomeRspOuterClass {
return this;
}
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @param value The paramList to add.
* @return This builder for chaining.
*/
@@ -652,7 +794,7 @@ public final class TryEnterHomeRspOuterClass {
return this;
}
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @param values The paramList to add.
* @return This builder for chaining.
*/
@@ -665,7 +807,7 @@ public final class TryEnterHomeRspOuterClass {
return this;
}
/**
* <code>repeated uint32 param_list = 11;</code>
* <code>repeated uint32 paramList = 10;</code>
* @return This builder for chaining.
*/
public Builder clearParamList() {
@@ -675,40 +817,9 @@ public final class TryEnterHomeRspOuterClass {
return this;
}
private int targetUid_ ;
/**
* <code>uint32 target_uid = 2;</code>
* @return The targetUid.
*/
@java.lang.Override
public int getTargetUid() {
return targetUid_;
}
/**
* <code>uint32 target_uid = 2;</code>
* @param value The targetUid to set.
* @return This builder for chaining.
*/
public Builder setTargetUid(int value) {
targetUid_ = value;
onChanged();
return this;
}
/**
* <code>uint32 target_uid = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTargetUid() {
targetUid_ = 0;
onChanged();
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 12;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -716,7 +827,7 @@ public final class TryEnterHomeRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 12;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -727,7 +838,7 @@ public final class TryEnterHomeRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 12;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -803,9 +914,11 @@ public final class TryEnterHomeRspOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\025TryEnterHomeRsp.proto\"J\n\017TryEnterHomeR" +
"sp\022\022\n\nparam_list\030\013 \003(\r\022\022\n\ntarget_uid\030\002 \001" +
"(\r\022\017\n\007retcode\030\004 \001(\005B\033\n\031emu.grasscutter.n" +
"\n\025TryEnterHomeRsp.proto\"\231\001\n\017TryEnterHome" +
"Rsp\022\021\n\ttargetUid\030\017 \001(\r\022\021\n\tparamList\030\n \003(" +
"\r\022\017\n\007retcode\030\014 \001(\005\"O\n\013HFBHBGNLNMK\022\010\n\004NON" +
"E\020\000\022\020\n\013PEPPOHPHJOJ\020\324%\022\017\n\013DCDNILFDFLB\020\000\022\017" +
"\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031emu.grasscutter.n" +
"et.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -817,7 +930,7 @@ public final class TryEnterHomeRspOuterClass {
internal_static_TryEnterHomeRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TryEnterHomeRsp_descriptor,
new java.lang.String[] { "ParamList", "TargetUid", "Retcode", });
new java.lang.String[] { "TargetUid", "ParamList", "Retcode", });
}
// @@protoc_insertion_point(outer_class_scope)