Enum AutoCast.Spell
- java.lang.Object
-
- java.lang.Enum<AutoCast.Spell>
-
- com.osrsbots.orb.api.interactables.combat.magic.AutoCast.Spell
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AutoCast.Spell>
- Enclosing class:
- AutoCast
public static enum AutoCast.Spell extends java.lang.Enum<AutoCast.Spell>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EARTH_BLASTEARTH_BOLTEARTH_STRIKEEARTH_SURGEEARTH_WAVEFIRE_BLASTFIRE_BOLTFIRE_STRIKEFIRE_SURGEFIRE_WAVENONEWATER_BLASTWATER_BOLTWATER_STRIKEWATER_SURGEWATER_WAVEWIND_BLASTWIND_BOLTWIND_STRIKEWIND_SURGEWIND_WAVE
-
Field Summary
Fields Modifier and Type Field Description intlevelRequired
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.StringgetName()java.lang.String @Nullable []getRequiredRunes()static AutoCast.SpellvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AutoCast.Spell[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AutoCast.Spell NONE
-
WIND_STRIKE
public static final AutoCast.Spell WIND_STRIKE
-
WATER_STRIKE
public static final AutoCast.Spell WATER_STRIKE
-
EARTH_STRIKE
public static final AutoCast.Spell EARTH_STRIKE
-
FIRE_STRIKE
public static final AutoCast.Spell FIRE_STRIKE
-
WIND_BOLT
public static final AutoCast.Spell WIND_BOLT
-
WATER_BOLT
public static final AutoCast.Spell WATER_BOLT
-
EARTH_BOLT
public static final AutoCast.Spell EARTH_BOLT
-
FIRE_BOLT
public static final AutoCast.Spell FIRE_BOLT
-
WIND_BLAST
public static final AutoCast.Spell WIND_BLAST
-
WATER_BLAST
public static final AutoCast.Spell WATER_BLAST
-
EARTH_BLAST
public static final AutoCast.Spell EARTH_BLAST
-
FIRE_BLAST
public static final AutoCast.Spell FIRE_BLAST
-
WIND_WAVE
public static final AutoCast.Spell WIND_WAVE
-
WATER_WAVE
public static final AutoCast.Spell WATER_WAVE
-
EARTH_WAVE
public static final AutoCast.Spell EARTH_WAVE
-
FIRE_WAVE
public static final AutoCast.Spell FIRE_WAVE
-
WIND_SURGE
public static final AutoCast.Spell WIND_SURGE
-
WATER_SURGE
public static final AutoCast.Spell WATER_SURGE
-
EARTH_SURGE
public static final AutoCast.Spell EARTH_SURGE
-
FIRE_SURGE
public static final AutoCast.Spell FIRE_SURGE
-
-
Method Detail
-
values
public static AutoCast.Spell[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AutoCast.Spell c : AutoCast.Spell.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoCast.Spell valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
@NotNull public @NotNull java.lang.String getName()
-
getRequiredRunes
public java.lang.String @Nullable [] getRequiredRunes()
-
-