public enum BattleEndTaskType extends java.lang.Enum<BattleEndTaskType>
Enum Constant and Description |
---|
ALWAYS_QUEUE
Queue the consumer for execution at the end of the player's next battle, even if they aren't currently in one.
|
QUEUE_IF_BATTLE_OTHERWISE_RUN
If the target player is in a battle, queue the consumer for execution at the end.
|
QUEUE_IF_BATTLE_OTHERWISE_SKIP
If the target player is in a battle, queue the consumer for execution at the end.
|
Modifier and Type | Method and Description |
---|---|
static BattleEndTaskType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BattleEndTaskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BattleEndTaskType QUEUE_IF_BATTLE_OTHERWISE_RUN
public static final BattleEndTaskType QUEUE_IF_BATTLE_OTHERWISE_SKIP
public static final BattleEndTaskType ALWAYS_QUEUE
public static BattleEndTaskType[] values()
for (BattleEndTaskType c : BattleEndTaskType.values()) System.out.println(c);
public static BattleEndTaskType 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 null