Package dev.twilite.game.facade
Enum Class Prayer
- All Implemented Interfaces:
Serializable,Comparable<Prayer>,Constable
Prayers and their live-client state metadata.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionintReturns this prayer's packed prayerbook component id.Returns a readable prayer name.intReturns the base Prayer level required to use this prayer.intmask()Returns this prayer's bit mask in the active prayer varp.toString()booleanunlocked()Returns whether account-state unlock requirements are satisfied.static PrayerReturns the enum constant of this class with the specified name.static Prayer[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
THICK_SKIN
-
BURST_OF_STRENGTH
-
CLARITY_OF_THOUGHT
-
SHARP_EYE
-
MYSTIC_WILL
-
ROCK_SKIN
-
SUPERHUMAN_STRENGTH
-
IMPROVED_REFLEXES
-
RAPID_RESTORE
-
RAPID_HEAL
-
PROTECT_ITEM
-
HAWK_EYE
-
MYSTIC_LORE
-
STEEL_SKIN
-
ULTIMATE_STRENGTH
-
INCREDIBLE_REFLEXES
-
PROTECT_FROM_MAGIC
-
PROTECT_FROM_MISSILES
-
PROTECT_FROM_MELEE
-
EAGLE_EYE
-
MYSTIC_MIGHT
-
RETRIBUTION
-
REDEMPTION
-
SMITE
-
PRESERVE
-
CHIVALRY
-
DEADEYE
-
MYSTIC_VIGOUR
-
PIETY
-
RIGOUR
-
AUGURY
-
-
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
-
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
Returns a readable prayer name. -
toString
-