public enum QuitReason extends java.lang.Enum<QuitReason>
Enum Constant and Description |
---|
INVENTORY_FULL |
NPC_NOT_FOUND |
OBJECT_NOT_FOUND |
PATH_TILE_NOT_REACHABLE |
QUEST_COMPLETED |
QUEST_STAGE_NOT_IN_SWITCH |
SCRIPT_STOPPED |
UNABLE_TO_WALK_TO_LOCATION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
static QuitReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuitReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuitReason SCRIPT_STOPPED
public static final QuitReason QUEST_COMPLETED
public static final QuitReason INVENTORY_FULL
public static final QuitReason NPC_NOT_FOUND
public static final QuitReason OBJECT_NOT_FOUND
public static final QuitReason PATH_TILE_NOT_REACHABLE
public static final QuitReason QUEST_STAGE_NOT_IN_SWITCH
public static final QuitReason UNABLE_TO_WALK_TO_LOCATION
public static QuitReason[] values()
for (QuitReason c : QuitReason.values()) System.out.println(c);
public static QuitReason 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 java.lang.String getMessage()