Enum Class EliminationCause
- All Implemented Interfaces:
Serializable,Comparable<EliminationCause>,Constable
Why a player was eliminated by something other than an ordinary death.
Zentrix uses this only for diagnostics and for the leave reason reported to addons; it never
changes what the elimination does, which EliminationOptions decides on its own.
- Since:
- 1.6.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn administrator or a command removed the player from the match.An addon eliminated the player for a reason of its own.A scenario's own rules ended this player's match — an objective, a countdown, a wager. -
Method Summary
Modifier and TypeMethodDescriptionstatic EliminationCauseReturns the enum constant of this class with the specified name.static EliminationCause[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCENARIO
A scenario's own rules ended this player's match — an objective, a countdown, a wager. -
ADMINISTRATIVE
An administrator or a command removed the player from the match. -
PLUGIN
An addon eliminated the player for a reason of its own.
-
-
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
-