public static enum IslandRestrictMoveEvent.RestrictReason extends java.lang.Enum<IslandRestrictMoveEvent.RestrictReason>
Enum Constant and Description |
---|
BANNED_FROM_ISLAND |
ENTER_EVENT_CANCELLED |
ENTER_PROTECTED_EVENT_CANCELLED |
LEAVE_EVENT_CANCELLED |
LEAVE_ISLAND_TO_OUTSIDE |
LEAVE_PROTECTED_EVENT_CANCELLED |
LOCKED_ISLAND |
Modifier and Type | Method and Description |
---|---|
static IslandRestrictMoveEvent.RestrictReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IslandRestrictMoveEvent.RestrictReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IslandRestrictMoveEvent.RestrictReason LEAVE_ISLAND_TO_OUTSIDE
public static final IslandRestrictMoveEvent.RestrictReason LEAVE_PROTECTED_EVENT_CANCELLED
public static final IslandRestrictMoveEvent.RestrictReason LEAVE_EVENT_CANCELLED
public static final IslandRestrictMoveEvent.RestrictReason BANNED_FROM_ISLAND
public static final IslandRestrictMoveEvent.RestrictReason LOCKED_ISLAND
public static final IslandRestrictMoveEvent.RestrictReason ENTER_PROTECTED_EVENT_CANCELLED
public static final IslandRestrictMoveEvent.RestrictReason ENTER_EVENT_CANCELLED
public static IslandRestrictMoveEvent.RestrictReason[] values()
for (IslandRestrictMoveEvent.RestrictReason c : IslandRestrictMoveEvent.RestrictReason.values()) System.out.println(c);
public static IslandRestrictMoveEvent.RestrictReason 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