public enum EnumKeyPacketMode extends java.lang.Enum<EnumKeyPacketMode>
Enum Constant and Description |
---|
ActionKeyBlock |
ActionKeyEntity |
ExternalMove |
ExternalMoveBlock |
ExternalMoveEntity |
SendPokemon |
Modifier and Type | Method and Description |
---|---|
static EnumKeyPacketMode |
getFromOrdinal(int ordinal) |
boolean |
isAction() |
boolean |
isEntity() |
static EnumKeyPacketMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumKeyPacketMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumKeyPacketMode SendPokemon
public static final EnumKeyPacketMode ActionKeyEntity
public static final EnumKeyPacketMode ActionKeyBlock
public static final EnumKeyPacketMode ExternalMoveEntity
public static final EnumKeyPacketMode ExternalMoveBlock
public static final EnumKeyPacketMode ExternalMove
public static EnumKeyPacketMode[] values()
for (EnumKeyPacketMode c : EnumKeyPacketMode.values()) System.out.println(c);
public static EnumKeyPacketMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static EnumKeyPacketMode getFromOrdinal(int ordinal)
public boolean isEntity()
public boolean isAction()