Enum Magic.AutocastClick

java.lang.Object
java.lang.Enum<Magic.AutocastClick>
privbot.hooks.Magic.AutocastClick
All Implemented Interfaces:
Serializable, Comparable<Magic.AutocastClick>, java.lang.constant.Constable
Enclosing class:
Magic

public static enum Magic.AutocastClick extends Enum<Magic.AutocastClick>
  • Enum Constant Details

    • SENT

      public static final Magic.AutocastClick SENT
      The Autocast click went out (queued). The caller confirms it by the server's flag reading 1.
    • NOT_IN_OPEN_BOOK

      public static final Magic.AutocastClick NOT_IN_OPEN_BOOK
      The magic tab is open and does not draw the spell (another spellbook): nothing was sent.
    • NOT_SENT

      public static final Magic.AutocastClick NOT_SENT
      Nothing was sent for any other reason: the flag on (1) or unreadable, the click or the flag not supported on this server, the book not shown, or the spell's visibility unanswerable.
  • Method Details

    • values

      public static Magic.AutocastClick[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Magic.AutocastClick valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null