Enum Class Prayer

java.lang.Object
java.lang.Enum<Prayer>
dev.twilite.game.facade.Prayer
All Implemented Interfaces:
Serializable, Comparable<Prayer>, Constable

public enum Prayer extends Enum<Prayer>
Prayers and their live-client state metadata.
  • Enum Constant Details

    • THICK_SKIN

      public static final Prayer THICK_SKIN
    • BURST_OF_STRENGTH

      public static final Prayer BURST_OF_STRENGTH
    • CLARITY_OF_THOUGHT

      public static final Prayer CLARITY_OF_THOUGHT
    • SHARP_EYE

      public static final Prayer SHARP_EYE
    • MYSTIC_WILL

      public static final Prayer MYSTIC_WILL
    • ROCK_SKIN

      public static final Prayer ROCK_SKIN
    • SUPERHUMAN_STRENGTH

      public static final Prayer SUPERHUMAN_STRENGTH
    • IMPROVED_REFLEXES

      public static final Prayer IMPROVED_REFLEXES
    • RAPID_RESTORE

      public static final Prayer RAPID_RESTORE
    • RAPID_HEAL

      public static final Prayer RAPID_HEAL
    • PROTECT_ITEM

      public static final Prayer PROTECT_ITEM
    • HAWK_EYE

      public static final Prayer HAWK_EYE
    • MYSTIC_LORE

      public static final Prayer MYSTIC_LORE
    • STEEL_SKIN

      public static final Prayer STEEL_SKIN
    • ULTIMATE_STRENGTH

      public static final Prayer ULTIMATE_STRENGTH
    • INCREDIBLE_REFLEXES

      public static final Prayer INCREDIBLE_REFLEXES
    • PROTECT_FROM_MAGIC

      public static final Prayer PROTECT_FROM_MAGIC
    • PROTECT_FROM_MISSILES

      public static final Prayer PROTECT_FROM_MISSILES
    • PROTECT_FROM_MELEE

      public static final Prayer PROTECT_FROM_MELEE
    • EAGLE_EYE

      public static final Prayer EAGLE_EYE
    • MYSTIC_MIGHT

      public static final Prayer MYSTIC_MIGHT
    • RETRIBUTION

      public static final Prayer RETRIBUTION
    • REDEMPTION

      public static final Prayer REDEMPTION
    • SMITE

      public static final Prayer SMITE
    • PRESERVE

      public static final Prayer PRESERVE
    • CHIVALRY

      public static final Prayer CHIVALRY
    • DEADEYE

      public static final Prayer DEADEYE
    • MYSTIC_VIGOUR

      public static final Prayer MYSTIC_VIGOUR
    • PIETY

      public static final Prayer PIETY
    • RIGOUR

      public static final Prayer RIGOUR
    • AUGURY

      public static final Prayer AUGURY
  • Method Details

    • values

      public static Prayer[] 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 Prayer 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
    • levelRequired

      public int levelRequired()
      Returns the base Prayer level required to use this prayer.
    • mask

      public int mask()
      Returns this prayer's bit mask in the active prayer varp.
    • componentId

      public int componentId()
      Returns this prayer's packed prayerbook component id.
    • unlocked

      public boolean unlocked()
      Returns whether account-state unlock requirements are satisfied.
    • displayName

      public String displayName()
      Returns a readable prayer name.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Prayer>