Enum Class NexoriMatchResultPlayerOutcome
java.lang.Object
java.lang.Enum<NexoriMatchResultPlayerOutcome>
io.github.hyjn.nexori.plugin.api.minigame.NexoriMatchResultPlayerOutcome
- All Implemented Interfaces:
Serializable, Comparable<NexoriMatchResultPlayerOutcome>, Constable
Player outcomes accepted by Nexori's modern minigame result commands.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlayer left or disconnected before normal completion.Player lost the match.Player should receive no win/loss result for this match.Player won the match. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static NexoriMatchResultPlayerOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WIN
Player won the match. -
LOSS
Player lost the match. -
DISCONNECTED
Player left or disconnected before normal completion. -
NO_CONTEST
Player should receive no win/loss result for this match.
-
-
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
-