Enum SpecialWeapon
- java.lang.Object
-
- java.lang.Enum<SpecialWeapon>
-
- net.runelite.client.plugins.specialcounter.SpecialWeapon
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpecialWeapon>
public enum SpecialWeapon extends java.lang.Enum<SpecialWeapon>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCLIGHT
BANDOS_GODSWORD
BARRELCHEST_ANCHOR
BONE_DAGGER
BULWARK
DARKLIGHT
DORGESHUUN_CROSSBOW
DRAGON_WARHAMMER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getItemID()
java.lang.String
getName()
java.util.function.Function<SpecialCounterConfig,java.lang.Integer>
getThreshold()
boolean
isDamage()
static SpecialWeapon
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpecialWeapon[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAGON_WARHAMMER
public static final SpecialWeapon DRAGON_WARHAMMER
-
ARCLIGHT
public static final SpecialWeapon ARCLIGHT
-
DARKLIGHT
public static final SpecialWeapon DARKLIGHT
-
BANDOS_GODSWORD
public static final SpecialWeapon BANDOS_GODSWORD
-
BARRELCHEST_ANCHOR
public static final SpecialWeapon BARRELCHEST_ANCHOR
-
BONE_DAGGER
public static final SpecialWeapon BONE_DAGGER
-
DORGESHUUN_CROSSBOW
public static final SpecialWeapon DORGESHUUN_CROSSBOW
-
BULWARK
public static final SpecialWeapon BULWARK
-
-
Method Detail
-
values
public static SpecialWeapon[] 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 (SpecialWeapon c : SpecialWeapon.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpecialWeapon 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
public java.lang.String getName()
-
getItemID
public int[] getItemID()
-
isDamage
public boolean isDamage()
-
getThreshold
public java.util.function.Function<SpecialCounterConfig,java.lang.Integer> getThreshold()
-
-