Enum Class NexoriSetPlayerOutcomeStatus
java.lang.Object
java.lang.Enum<NexoriSetPlayerOutcomeStatus>
io.github.hyjn.nexori.plugin.api.minigame.NexoriSetPlayerOutcomeStatus
- All Implemented Interfaces:
Serializable, Comparable<NexoriSetPlayerOutcomeStatus>, Constable
Result states returned when a rules mod stores one player's runtime outcome.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe request did not provide a usable outcome.The request did not provide a usable reason.The match already completed and no longer accepts outcome changes.Nexori does not know the requested match id.The requested player is not in the official result requirement set for the match.Nexori stored or replaced the player's outcome. -
Method Summary
Modifier and TypeMethodDescriptionstatic NexoriSetPlayerOutcomeStatusReturns the enum constant of this class with the specified name.static NexoriSetPlayerOutcomeStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATED
Nexori stored or replaced the player's outcome. -
MATCH_MISSING
Nexori does not know the requested match id. -
PLAYER_MISSING
The requested player is not in the official result requirement set for the match. -
MATCH_ALREADY_COMPLETED
The match already completed and no longer accepts outcome changes. -
INVALID_OUTCOME
The request did not provide a usable outcome. -
INVALID_REASON
The request did not provide a usable reason.
-
-
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
-