Package emu.grasscutter.net.proto
Enum Class ProtEntityTypeOuterClass.ProtEntityType
java.lang.Object
java.lang.Enum<ProtEntityTypeOuterClass.ProtEntityType>
emu.grasscutter.net.proto.ProtEntityTypeOuterClass.ProtEntityType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProtEntityTypeOuterClass.ProtEntityType>,Constable
- Enclosing class:
- ProtEntityTypeOuterClass
public static enum ProtEntityTypeOuterClass.ProtEntityType
extends Enum<ProtEntityTypeOuterClass.ProtEntityType>
implements com.google.protobuf.ProtocolMessageEnum
Name: APHMIMMPMDIProtobuf enum
ProtEntityType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPROT_ENTITY_TYPE_AVATAR = 1;PROT_ENTITY_TYPE_EYE_POINT = 13;PROT_ENTITY_TYPE_GADGET = 4;PROT_ENTITY_TYPE_MASSIVE_ENTITY = 10;PROT_ENTITY_TYPE_MAX = 14;PROT_ENTITY_TYPE_MONSTER = 2;PROT_ENTITY_TYPE_MP_LEVEL = 11;PROT_ENTITY_TYPE_NONE = 0;PROT_ENTITY_TYPE_NPC = 3;PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY = 12;PROT_ENTITY_TYPE_REGION = 5;PROT_ENTITY_TYPE_SCENE = 8;PROT_ENTITY_TYPE_TEAM = 9;PROT_ENTITY_TYPE_WEAPON = 6;PROT_ENTITY_TYPE_WEATHER = 7; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPROT_ENTITY_TYPE_AVATAR = 1;static final intPROT_ENTITY_TYPE_EYE_POINT = 13;static final intPROT_ENTITY_TYPE_GADGET = 4;static final intPROT_ENTITY_TYPE_MASSIVE_ENTITY = 10;static final intPROT_ENTITY_TYPE_MAX = 14;static final intPROT_ENTITY_TYPE_MONSTER = 2;static final intPROT_ENTITY_TYPE_MP_LEVEL = 11;static final intPROT_ENTITY_TYPE_NONE = 0;static final intPROT_ENTITY_TYPE_NPC = 3;static final intPROT_ENTITY_TYPE_PLAY_TEAM_ENTITY = 12;static final intPROT_ENTITY_TYPE_REGION = 5;static final intPROT_ENTITY_TYPE_SCENE = 8;static final intPROT_ENTITY_TYPE_TEAM = 9;static final intPROT_ENTITY_TYPE_WEAPON = 6;static final intPROT_ENTITY_TYPE_WEATHER = 7; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ProtEntityTypeOuterClass.ProtEntityType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROT_ENTITY_TYPE_NONE
PROT_ENTITY_TYPE_NONE = 0; -
PROT_ENTITY_TYPE_AVATAR
PROT_ENTITY_TYPE_AVATAR = 1; -
PROT_ENTITY_TYPE_MONSTER
PROT_ENTITY_TYPE_MONSTER = 2; -
PROT_ENTITY_TYPE_NPC
PROT_ENTITY_TYPE_NPC = 3; -
PROT_ENTITY_TYPE_GADGET
PROT_ENTITY_TYPE_GADGET = 4; -
PROT_ENTITY_TYPE_REGION
PROT_ENTITY_TYPE_REGION = 5; -
PROT_ENTITY_TYPE_WEAPON
PROT_ENTITY_TYPE_WEAPON = 6; -
PROT_ENTITY_TYPE_WEATHER
PROT_ENTITY_TYPE_WEATHER = 7; -
PROT_ENTITY_TYPE_SCENE
PROT_ENTITY_TYPE_SCENE = 8; -
PROT_ENTITY_TYPE_TEAM
PROT_ENTITY_TYPE_TEAM = 9; -
PROT_ENTITY_TYPE_MASSIVE_ENTITY
PROT_ENTITY_TYPE_MASSIVE_ENTITY = 10; -
PROT_ENTITY_TYPE_MP_LEVEL
PROT_ENTITY_TYPE_MP_LEVEL = 11; -
PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY
PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY = 12; -
PROT_ENTITY_TYPE_EYE_POINT
PROT_ENTITY_TYPE_EYE_POINT = 13; -
PROT_ENTITY_TYPE_MAX
PROT_ENTITY_TYPE_MAX = 14; -
UNRECOGNIZED
-
-
Field Details
-
PROT_ENTITY_TYPE_NONE_VALUE
public static final int PROT_ENTITY_TYPE_NONE_VALUEPROT_ENTITY_TYPE_NONE = 0;- See Also:
-
PROT_ENTITY_TYPE_AVATAR_VALUE
public static final int PROT_ENTITY_TYPE_AVATAR_VALUEPROT_ENTITY_TYPE_AVATAR = 1;- See Also:
-
PROT_ENTITY_TYPE_MONSTER_VALUE
public static final int PROT_ENTITY_TYPE_MONSTER_VALUEPROT_ENTITY_TYPE_MONSTER = 2;- See Also:
-
PROT_ENTITY_TYPE_NPC_VALUE
public static final int PROT_ENTITY_TYPE_NPC_VALUEPROT_ENTITY_TYPE_NPC = 3;- See Also:
-
PROT_ENTITY_TYPE_GADGET_VALUE
public static final int PROT_ENTITY_TYPE_GADGET_VALUEPROT_ENTITY_TYPE_GADGET = 4;- See Also:
-
PROT_ENTITY_TYPE_REGION_VALUE
public static final int PROT_ENTITY_TYPE_REGION_VALUEPROT_ENTITY_TYPE_REGION = 5;- See Also:
-
PROT_ENTITY_TYPE_WEAPON_VALUE
public static final int PROT_ENTITY_TYPE_WEAPON_VALUEPROT_ENTITY_TYPE_WEAPON = 6;- See Also:
-
PROT_ENTITY_TYPE_WEATHER_VALUE
public static final int PROT_ENTITY_TYPE_WEATHER_VALUEPROT_ENTITY_TYPE_WEATHER = 7;- See Also:
-
PROT_ENTITY_TYPE_SCENE_VALUE
public static final int PROT_ENTITY_TYPE_SCENE_VALUEPROT_ENTITY_TYPE_SCENE = 8;- See Also:
-
PROT_ENTITY_TYPE_TEAM_VALUE
public static final int PROT_ENTITY_TYPE_TEAM_VALUEPROT_ENTITY_TYPE_TEAM = 9;- See Also:
-
PROT_ENTITY_TYPE_MASSIVE_ENTITY_VALUE
public static final int PROT_ENTITY_TYPE_MASSIVE_ENTITY_VALUEPROT_ENTITY_TYPE_MASSIVE_ENTITY = 10;- See Also:
-
PROT_ENTITY_TYPE_MP_LEVEL_VALUE
public static final int PROT_ENTITY_TYPE_MP_LEVEL_VALUEPROT_ENTITY_TYPE_MP_LEVEL = 11;- See Also:
-
PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY_VALUE
public static final int PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY_VALUEPROT_ENTITY_TYPE_PLAY_TEAM_ENTITY = 12;- See Also:
-
PROT_ENTITY_TYPE_EYE_POINT_VALUE
public static final int PROT_ENTITY_TYPE_EYE_POINT_VALUEPROT_ENTITY_TYPE_EYE_POINT = 13;- See Also:
-
PROT_ENTITY_TYPE_MAX_VALUE
public static final int PROT_ENTITY_TYPE_MAX_VALUEPROT_ENTITY_TYPE_MAX = 14;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ProtEntityTypeOuterClass.ProtEntityType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ProtEntityTypeOuterClass.ProtEntityType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-