Package org.dreambot.api.methods.hotkeys
Enum NPCAttackOption
- java.lang.Object
-
- java.lang.Enum<NPCAttackOption>
-
- org.dreambot.api.methods.hotkeys.NPCAttackOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NPCAttackOption>
public enum NPCAttackOption extends java.lang.Enum<NPCAttackOption>
Created by Nezz on 5/24/2016.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS_RIGHT
DEPEND_ON_CB_LEVEL
HIDDEN
LEFT_CLICK_AVAILABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConfig()
int
getVal()
static NPCAttackOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NPCAttackOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT_CLICK_AVAILABLE
public static final NPCAttackOption LEFT_CLICK_AVAILABLE
-
DEPEND_ON_CB_LEVEL
public static final NPCAttackOption DEPEND_ON_CB_LEVEL
-
ALWAYS_RIGHT
public static final NPCAttackOption ALWAYS_RIGHT
-
HIDDEN
public static final NPCAttackOption HIDDEN
-
-
Method Detail
-
values
public static NPCAttackOption[] 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 (NPCAttackOption c : NPCAttackOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NPCAttackOption 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
-
getConfig
public int getConfig()
-
getVal
public int getVal()
-
-