Enum Class NexoriAfkActivitySource

java.lang.Object
java.lang.Enum<NexoriAfkActivitySource>
io.github.hyjn.nexori.plugin.api.minigame.NexoriAfkActivitySource
All Implemented Interfaces:
Serializable, Comparable<NexoriAfkActivitySource>, Constable

public enum NexoriAfkActivitySource extends Enum<NexoriAfkActivitySource>
Public source for a Nexori AFK state transition.
  • Enum Constant Details

    • UNKNOWN

      public static final NexoriAfkActivitySource UNKNOWN
      The transition source was not specified.
    • IDLE_TIMEOUT

      public static final NexoriAfkActivitySource IDLE_TIMEOUT
      Nexori's local inactivity timer marked the player AFK.
    • PLAYER_INPUT

      public static final NexoriAfkActivitySource PLAYER_INPUT
      Player gameplay input marked the player active.
    • INVENTORY_PACKET

      public static final NexoriAfkActivitySource INVENTORY_PACKET
      Player inventory activity marked the player active.
    • POLICY_CHANGE

      public static final NexoriAfkActivitySource POLICY_CHANGE
      A runtime AFK policy change recalculated the player state.
    • EXTERNAL_API

      public static final NexoriAfkActivitySource EXTERNAL_API
      A public API call set or cleared the player AFK state.
  • Method Details

    • values

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