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