public static enum CashEvent.PlayerGetCashEvent.Cause extends java.lang.Enum<CashEvent.PlayerGetCashEvent.Cause>
Enum Constant and Description |
---|
Bank |
Command |
Other |
Pickup |
Player |
PlayerKillPlayer |
Sell |
Unknow |
Modifier and Type | Method and Description |
---|---|
static CashEvent.PlayerGetCashEvent.Cause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CashEvent.PlayerGetCashEvent.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CashEvent.PlayerGetCashEvent.Cause Player
public static final CashEvent.PlayerGetCashEvent.Cause Bank
public static final CashEvent.PlayerGetCashEvent.Cause PlayerKillPlayer
public static final CashEvent.PlayerGetCashEvent.Cause Pickup
public static final CashEvent.PlayerGetCashEvent.Cause Other
public static final CashEvent.PlayerGetCashEvent.Cause Command
public static final CashEvent.PlayerGetCashEvent.Cause Sell
public static final CashEvent.PlayerGetCashEvent.Cause Unknow
public static CashEvent.PlayerGetCashEvent.Cause[] values()
for (CashEvent.PlayerGetCashEvent.Cause c : CashEvent.PlayerGetCashEvent.Cause.values()) System.out.println(c);
public static CashEvent.PlayerGetCashEvent.Cause 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