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

public enum NexoriSetPlayerAfkStatus extends Enum<NexoriSetPlayerAfkStatus>
  • Enum Constant Details

    • UPDATED

      public static final NexoriSetPlayerAfkStatus UPDATED
      Nexori changed the player's public AFK state.
    • UNCHANGED

      public static final NexoriSetPlayerAfkStatus UNCHANGED
      The player was already in the requested AFK state.
    • MATCH_MISSING

      public static final NexoriSetPlayerAfkStatus MATCH_MISSING
      Nexori does not know the requested match id.
    • PLAYER_MISSING

      public static final NexoriSetPlayerAfkStatus PLAYER_MISSING
      The requested player is not part of the active match runtime.
    • MATCH_ALREADY_COMPLETED

      public static final NexoriSetPlayerAfkStatus MATCH_ALREADY_COMPLETED
      The match already completed and no longer accepts AFK state updates.
    • INVALID_REQUEST

      public static final NexoriSetPlayerAfkStatus INVALID_REQUEST
      The request was missing required data.
    • NOT_SUPPORTED

      public static final NexoriSetPlayerAfkStatus NOT_SUPPORTED
      This implementation does not support external AFK state updates.
  • Method Details

    • values

      public static NexoriSetPlayerAfkStatus[] 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

      public static NexoriSetPlayerAfkStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null