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,17 +19,17 @@ public final class AvatarPropNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint64 avatar_guid = 1;</code>
* <code>uint64 avatarGuid = 15;</code>
* @return The avatarGuid.
*/
long getAvatarGuid();
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
int getPropMapCount();
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
boolean containsPropMap(
int key);
@@ -40,35 +40,25 @@ public final class AvatarPropNotifyOuterClass {
java.util.Map<java.lang.Integer, java.lang.Long>
getPropMap();
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
java.util.Map<java.lang.Integer, java.lang.Long>
getPropMapMap();
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
long getPropMapOrDefault(
int key,
long defaultValue);
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
long getPropMapOrThrow(
int key);
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 1227;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code AvatarPropNotify}
*/
public static final class AvatarPropNotify extends
@@ -114,12 +104,7 @@ public final class AvatarPropNotifyOuterClass {
case 0:
done = true;
break;
case 8: {
avatarGuid_ = input.readUInt64();
break;
}
case 66: {
case 90: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
propMap_ = com.google.protobuf.MapField.newMapField(
PropMapDefaultEntryHolder.defaultEntry);
@@ -132,6 +117,11 @@ public final class AvatarPropNotifyOuterClass {
propMap__.getKey(), propMap__.getValue());
break;
}
case 120: {
avatarGuid_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -161,7 +151,7 @@ public final class AvatarPropNotifyOuterClass {
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 8:
case 11:
return internalGetPropMap();
default:
throw new RuntimeException(
@@ -176,10 +166,141 @@ public final class AvatarPropNotifyOuterClass {
emu.grasscutter.net.proto.AvatarPropNotifyOuterClass.AvatarPropNotify.class, emu.grasscutter.net.proto.AvatarPropNotifyOuterClass.AvatarPropNotify.Builder.class);
}
public static final int AVATAR_GUID_FIELD_NUMBER = 1;
/**
* Protobuf enum {@code AvatarPropNotify.OPECNEKAPGO}
*/
public enum OPECNEKAPGO
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 1224;</code>
*/
PEPPOHPHJOJ(1, 1224),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final OPECNEKAPGO DCDNILFDFLB = NONE;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 1224;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 1224;
/**
* <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 OPECNEKAPGO 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 OPECNEKAPGO forNumber(int value) {
switch (value) {
case 0: return NONE;
case 1224: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<OPECNEKAPGO>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
OPECNEKAPGO> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<OPECNEKAPGO>() {
public OPECNEKAPGO findValueByNumber(int number) {
return OPECNEKAPGO.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.AvatarPropNotifyOuterClass.AvatarPropNotify.getDescriptor().getEnumTypes().get(0);
}
private static final OPECNEKAPGO[] VALUES = getStaticValuesArray();
private static OPECNEKAPGO[] getStaticValuesArray() {
return new OPECNEKAPGO[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
};
}
public static OPECNEKAPGO 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 OPECNEKAPGO(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AvatarPropNotify.OPECNEKAPGO)
}
public static final int AVATARGUID_FIELD_NUMBER = 15;
private long avatarGuid_;
/**
* <code>uint64 avatar_guid = 1;</code>
* <code>uint64 avatarGuid = 15;</code>
* @return The avatarGuid.
*/
@java.lang.Override
@@ -187,7 +308,7 @@ public final class AvatarPropNotifyOuterClass {
return avatarGuid_;
}
public static final int PROP_MAP_FIELD_NUMBER = 8;
public static final int PROPMAP_FIELD_NUMBER = 11;
private static final class PropMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Long> defaultEntry =
@@ -214,7 +335,7 @@ public final class AvatarPropNotifyOuterClass {
return internalGetPropMap().getMap().size();
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
@java.lang.Override
@@ -232,7 +353,7 @@ public final class AvatarPropNotifyOuterClass {
return getPropMapMap();
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
@java.lang.Override
@@ -240,7 +361,7 @@ public final class AvatarPropNotifyOuterClass {
return internalGetPropMap().getMap();
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
@java.lang.Override
@@ -253,7 +374,7 @@ public final class AvatarPropNotifyOuterClass {
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
@java.lang.Override
@@ -282,15 +403,15 @@ public final class AvatarPropNotifyOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (avatarGuid_ != 0L) {
output.writeUInt64(1, avatarGuid_);
}
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetPropMap(),
PropMapDefaultEntryHolder.defaultEntry,
8);
11);
if (avatarGuid_ != 0L) {
output.writeUInt64(15, avatarGuid_);
}
unknownFields.writeTo(output);
}
@@ -300,10 +421,6 @@ public final class AvatarPropNotifyOuterClass {
if (size != -1) return size;
size = 0;
if (avatarGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, avatarGuid_);
}
for (java.util.Map.Entry<java.lang.Integer, java.lang.Long> entry
: internalGetPropMap().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Long>
@@ -312,7 +429,11 @@ public final class AvatarPropNotifyOuterClass {
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, propMap__);
.computeMessageSize(11, propMap__);
}
if (avatarGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(15, avatarGuid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -344,11 +465,11 @@ public final class AvatarPropNotifyOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER;
hash = (37 * hash) + AVATARGUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAvatarGuid());
if (!internalGetPropMap().getMap().isEmpty()) {
hash = (37 * hash) + PROP_MAP_FIELD_NUMBER;
hash = (37 * hash) + PROPMAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetPropMap().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
@@ -447,16 +568,6 @@ public final class AvatarPropNotifyOuterClass {
return builder;
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 1227;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code AvatarPropNotify}
*/
public static final class Builder extends
@@ -472,7 +583,7 @@ public final class AvatarPropNotifyOuterClass {
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 8:
case 11:
return internalGetPropMap();
default:
throw new RuntimeException(
@@ -483,7 +594,7 @@ public final class AvatarPropNotifyOuterClass {
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 8:
case 11:
return internalGetMutablePropMap();
default:
throw new RuntimeException(
@@ -634,7 +745,7 @@ public final class AvatarPropNotifyOuterClass {
private long avatarGuid_ ;
/**
* <code>uint64 avatar_guid = 1;</code>
* <code>uint64 avatarGuid = 15;</code>
* @return The avatarGuid.
*/
@java.lang.Override
@@ -642,7 +753,7 @@ public final class AvatarPropNotifyOuterClass {
return avatarGuid_;
}
/**
* <code>uint64 avatar_guid = 1;</code>
* <code>uint64 avatarGuid = 15;</code>
* @param value The avatarGuid to set.
* @return This builder for chaining.
*/
@@ -653,7 +764,7 @@ public final class AvatarPropNotifyOuterClass {
return this;
}
/**
* <code>uint64 avatar_guid = 1;</code>
* <code>uint64 avatarGuid = 15;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarGuid() {
@@ -690,7 +801,7 @@ public final class AvatarPropNotifyOuterClass {
return internalGetPropMap().getMap().size();
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
@java.lang.Override
@@ -708,7 +819,7 @@ public final class AvatarPropNotifyOuterClass {
return getPropMapMap();
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
@java.lang.Override
@@ -716,7 +827,7 @@ public final class AvatarPropNotifyOuterClass {
return internalGetPropMap().getMap();
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
@java.lang.Override
@@ -729,7 +840,7 @@ public final class AvatarPropNotifyOuterClass {
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
@java.lang.Override
@@ -750,7 +861,7 @@ public final class AvatarPropNotifyOuterClass {
return this;
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
public Builder removePropMap(
@@ -769,7 +880,7 @@ public final class AvatarPropNotifyOuterClass {
return internalGetMutablePropMap().getMutableMap();
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
public Builder putPropMap(
int key,
@@ -781,7 +892,7 @@ public final class AvatarPropNotifyOuterClass {
return this;
}
/**
* <code>map&lt;uint32, int64&gt; prop_map = 8;</code>
* <code>map&lt;uint32, int64&gt; propMap = 11;</code>
*/
public Builder putAllPropMap(
@@ -862,12 +973,13 @@ public final class AvatarPropNotifyOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\026AvatarPropNotify.proto\"\211\001\n\020AvatarPropN" +
"otify\022\023\n\013avatar_guid\030\001 \001(\004\0220\n\010prop_map\030\010" +
" \003(\0132\036.AvatarPropNotify.PropMapEntry\032.\n\014" +
"PropMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\003" +
":\0028\001B\033\n\031emu.grasscutter.net.protob\006proto" +
"3"
"\n\026AvatarPropNotify.proto\"\330\001\n\020AvatarPropN" +
"otify\022\022\n\navatarGuid\030\017 \001(\004\022/\n\007propMap\030\013 \003" +
"(\0132\036.AvatarPropNotify.PropMapEntry\032.\n\014Pr" +
"opMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\003:\002" +
"8\001\"O\n\013OPECNEKAPGO\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJ" +
"OJ\020\310\t\022\017\n\013DCDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032" +
"\002\020\001B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,