public static enum IslandLeaveEvent.LeaveCause extends java.lang.Enum<IslandLeaveEvent.LeaveCause>
Enum Constant and Description |
---|
INVALID |
PLAYER_MOVE |
PLAYER_QUIT |
PLAYER_TELEPORT |
Modifier and Type | Method and Description |
---|---|
static IslandLeaveEvent.LeaveCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IslandLeaveEvent.LeaveCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IslandLeaveEvent.LeaveCause PLAYER_MOVE
public static final IslandLeaveEvent.LeaveCause PLAYER_TELEPORT
public static final IslandLeaveEvent.LeaveCause PLAYER_QUIT
public static final IslandLeaveEvent.LeaveCause INVALID
public static IslandLeaveEvent.LeaveCause[] values()
for (IslandLeaveEvent.LeaveCause c : IslandLeaveEvent.LeaveCause.values()) System.out.println(c);
public static IslandLeaveEvent.LeaveCause 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