Enum Class LostCause
- All Implemented Interfaces:
Serializable
,Comparable<LostCause>
,Constable
Enum representing various reasons why a player might lose currency.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlayer lost currency by an admin running a command affecting currency.Player lost currency by enchanting items.Player lost currency by using the pay command.Player lost currency by prestiging.Player lost currency by ranking up.Player lost currency by withdrawing it to physical form. -
Method Summary
-
Enum Constant Details
-
PAY
Player lost currency by using the pay command. -
ENCHANT
Player lost currency by enchanting items. -
PRESTIGE
Player lost currency by prestiging. -
RANKUP
Player lost currency by ranking up. -
ADMIN
Player lost currency by an admin running a command affecting currency. -
WITHDRAW
Player lost currency by withdrawing it to physical form.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-