public enum ActionType extends java.lang.Enum<ActionType>
Enum Constant and Description |
---|
ATTACK |
EFFECTTARGET |
EFFECTUSER |
EQUIP |
LOOT |
NONE |
READ |
REST |
Modifier and Type | Method and Description |
---|---|
static ActionType |
fromString(java.lang.String actionName)
Converts action type name to ActionType enum
|
static ActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionType NONE
public static final ActionType ATTACK
public static final ActionType EFFECTUSER
public static final ActionType EFFECTTARGET
public static final ActionType READ
public static final ActionType LOOT
public static final ActionType EQUIP
public static final ActionType REST
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType 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 ActionType fromString(java.lang.String actionName)
actionName
- String with action type name