Enum Class NexoriSetPlayerAfkStatus
java.lang.Object
java.lang.Enum<NexoriSetPlayerAfkStatus>
io.github.hyjn.nexori.plugin.api.minigame.NexoriSetPlayerAfkStatus
- All Implemented Interfaces:
Serializable, Comparable<NexoriSetPlayerAfkStatus>, Constable
Result states returned by
NexoriMinigameApi.setPlayerAfk(NexoriSetPlayerAfkRequest).-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe request was missing required data.The match already completed and no longer accepts AFK state updates.Nexori does not know the requested match id.This implementation does not support external AFK state updates.The requested player is not part of the active match runtime.The player was already in the requested AFK state.Nexori changed the player's public AFK state. -
Method Summary
Modifier and TypeMethodDescriptionstatic NexoriSetPlayerAfkStatusReturns the enum constant of this class with the specified name.static NexoriSetPlayerAfkStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATED
Nexori changed the player's public AFK state. -
UNCHANGED
The player was already in the requested AFK state. -
MATCH_MISSING
Nexori does not know the requested match id. -
PLAYER_MISSING
The requested player is not part of the active match runtime. -
MATCH_ALREADY_COMPLETED
The match already completed and no longer accepts AFK state updates. -
INVALID_REQUEST
The request was missing required data. -
NOT_SUPPORTED
This implementation does not support external AFK state updates.
-
-
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
-