mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-09 03:13:43 +08:00
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:
committed by
GitHub
Unverified
parent
39b4aa1387
commit
71a1e31d37
+177
-64
@@ -19,17 +19,17 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* <code>uint64 avatarGuid = 8;</code>
|
||||
* @return The avatarGuid.
|
||||
*/
|
||||
long getAvatarGuid();
|
||||
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
int getFightPropMapCount();
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
boolean containsFightPropMap(
|
||||
int key);
|
||||
@@ -40,35 +40,25 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
java.util.Map<java.lang.Integer, java.lang.Float>
|
||||
getFightPropMap();
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
java.util.Map<java.lang.Integer, java.lang.Float>
|
||||
getFightPropMapMap();
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
|
||||
float getFightPropMapOrDefault(
|
||||
int key,
|
||||
float defaultValue);
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
|
||||
float getFightPropMapOrThrow(
|
||||
int key);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 1243;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarFightPropUpdateNotify}
|
||||
*/
|
||||
public static final class AvatarFightPropUpdateNotify extends
|
||||
@@ -114,6 +104,11 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 64: {
|
||||
|
||||
avatarGuid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
fightPropMap_ = com.google.protobuf.MapField.newMapField(
|
||||
@@ -127,11 +122,6 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
fightPropMap__.getKey(), fightPropMap__.getValue());
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
|
||||
avatarGuid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -176,10 +166,141 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.AvatarFightPropUpdateNotifyOuterClass.AvatarFightPropUpdateNotify.class, emu.grasscutter.net.proto.AvatarFightPropUpdateNotifyOuterClass.AvatarFightPropUpdateNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int AVATAR_GUID_FIELD_NUMBER = 13;
|
||||
/**
|
||||
* Protobuf enum {@code AvatarFightPropUpdateNotify.HMBDFKEJKAN}
|
||||
*/
|
||||
public enum HMBDFKEJKAN
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
NONE(0, 0),
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 1274;</code>
|
||||
*/
|
||||
PEPPOHPHJOJ(1, 1274),
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
NNBKOLMPOEA(3, 1),
|
||||
UNRECOGNIZED(-1, -1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final HMBDFKEJKAN DCDNILFDFLB = NONE;
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
public static final int NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 1274;</code>
|
||||
*/
|
||||
public static final int PEPPOHPHJOJ_VALUE = 1274;
|
||||
/**
|
||||
* <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 HMBDFKEJKAN 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 HMBDFKEJKAN forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return NONE;
|
||||
case 1274: return PEPPOHPHJOJ;
|
||||
case 1: return NNBKOLMPOEA;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<HMBDFKEJKAN>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
HMBDFKEJKAN> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<HMBDFKEJKAN>() {
|
||||
public HMBDFKEJKAN findValueByNumber(int number) {
|
||||
return HMBDFKEJKAN.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.AvatarFightPropUpdateNotifyOuterClass.AvatarFightPropUpdateNotify.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final HMBDFKEJKAN[] VALUES = getStaticValuesArray();
|
||||
private static HMBDFKEJKAN[] getStaticValuesArray() {
|
||||
return new HMBDFKEJKAN[] {
|
||||
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
|
||||
};
|
||||
}
|
||||
public static HMBDFKEJKAN 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 HMBDFKEJKAN(int index, int value) {
|
||||
this.index = index;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:AvatarFightPropUpdateNotify.HMBDFKEJKAN)
|
||||
}
|
||||
|
||||
public static final int AVATARGUID_FIELD_NUMBER = 8;
|
||||
private long avatarGuid_;
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* <code>uint64 avatarGuid = 8;</code>
|
||||
* @return The avatarGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -187,7 +308,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return avatarGuid_;
|
||||
}
|
||||
|
||||
public static final int FIGHT_PROP_MAP_FIELD_NUMBER = 10;
|
||||
public static final int FIGHTPROPMAP_FIELD_NUMBER = 10;
|
||||
private static final class FightPropMapDefaultEntryHolder {
|
||||
static final com.google.protobuf.MapEntry<
|
||||
java.lang.Integer, java.lang.Float> defaultEntry =
|
||||
@@ -214,7 +335,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return internalGetFightPropMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -232,7 +353,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return getFightPropMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -240,7 +361,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return internalGetFightPropMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -253,7 +374,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -282,15 +403,15 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (avatarGuid_ != 0L) {
|
||||
output.writeUInt64(8, avatarGuid_);
|
||||
}
|
||||
com.google.protobuf.GeneratedMessageV3
|
||||
.serializeIntegerMapTo(
|
||||
output,
|
||||
internalGetFightPropMap(),
|
||||
FightPropMapDefaultEntryHolder.defaultEntry,
|
||||
10);
|
||||
if (avatarGuid_ != 0L) {
|
||||
output.writeUInt64(13, avatarGuid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -300,6 +421,10 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (avatarGuid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(8, avatarGuid_);
|
||||
}
|
||||
for (java.util.Map.Entry<java.lang.Integer, java.lang.Float> entry
|
||||
: internalGetFightPropMap().getMap().entrySet()) {
|
||||
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Float>
|
||||
@@ -310,10 +435,6 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(10, fightPropMap__);
|
||||
}
|
||||
if (avatarGuid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(13, avatarGuid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -344,11 +465,11 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
}
|
||||
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 (!internalGetFightPropMap().getMap().isEmpty()) {
|
||||
hash = (37 * hash) + FIGHT_PROP_MAP_FIELD_NUMBER;
|
||||
hash = (37 * hash) + FIGHTPROPMAP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + internalGetFightPropMap().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -447,16 +568,6 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 1243;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AvatarFightPropUpdateNotify}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -634,7 +745,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
|
||||
private long avatarGuid_ ;
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* <code>uint64 avatarGuid = 8;</code>
|
||||
* @return The avatarGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -642,7 +753,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return avatarGuid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* <code>uint64 avatarGuid = 8;</code>
|
||||
* @param value The avatarGuid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -653,7 +764,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 avatar_guid = 13;</code>
|
||||
* <code>uint64 avatarGuid = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarGuid() {
|
||||
@@ -690,7 +801,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return internalGetFightPropMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -708,7 +819,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return getFightPropMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -716,7 +827,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return internalGetFightPropMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -729,7 +840,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -750,7 +861,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
|
||||
public Builder removeFightPropMap(
|
||||
@@ -769,7 +880,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return internalGetMutableFightPropMap().getMutableMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
public Builder putFightPropMap(
|
||||
int key,
|
||||
@@ -781,7 +892,7 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, float> fight_prop_map = 10;</code>
|
||||
* <code>map<uint32, float> fightPropMap = 10;</code>
|
||||
*/
|
||||
|
||||
public Builder putAllFightPropMap(
|
||||
@@ -862,13 +973,15 @@ public final class AvatarFightPropUpdateNotifyOuterClass {
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n!AvatarFightPropUpdateNotify.proto\"\257\001\n\033" +
|
||||
"AvatarFightPropUpdateNotify\022\023\n\013avatar_gu" +
|
||||
"id\030\r \001(\004\022F\n\016fight_prop_map\030\n \003(\0132..Avata" +
|
||||
"rFightPropUpdateNotify.FightPropMapEntry" +
|
||||
"\0323\n\021FightPropMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005va" +
|
||||
"lue\030\002 \001(\002:\0028\001B\033\n\031emu.grasscutter.net.pro" +
|
||||
"tob\006proto3"
|
||||
"\n!AvatarFightPropUpdateNotify.proto\"\375\001\n\033" +
|
||||
"AvatarFightPropUpdateNotify\022\022\n\navatarGui" +
|
||||
"d\030\010 \001(\004\022D\n\014fightPropMap\030\n \003(\0132..AvatarFi" +
|
||||
"ghtPropUpdateNotify.FightPropMapEntry\0323\n" +
|
||||
"\021FightPropMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value" +
|
||||
"\030\002 \001(\002:\0028\001\"O\n\013HMBDFKEJKAN\022\010\n\004NONE\020\000\022\020\n\013P" +
|
||||
"EPPOHPHJOJ\020\372\t\022\017\n\013DCDNILFDFLB\020\000\022\017\n\013NNBKOL" +
|
||||
"MPOEA\020\001\032\002\020\001B\033\n\031emu.grasscutter.net.proto" +
|
||||
"b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
|
||||
Reference in New Issue
Block a user