Package org.dreambot.api.methods.hotkeys
Enum PlayerAttackOption
- java.lang.Object
-
- java.lang.Enum<PlayerAttackOption>
-
- org.dreambot.api.methods.hotkeys.PlayerAttackOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PlayerAttackOption>
public enum PlayerAttackOption extends java.lang.Enum<PlayerAttackOption>
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 PlayerAttackOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PlayerAttackOption[]
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 PlayerAttackOption LEFT_CLICK_AVAILABLE
-
DEPEND_ON_CB_LEVEL
public static final PlayerAttackOption DEPEND_ON_CB_LEVEL
-
ALWAYS_RIGHT
public static final PlayerAttackOption ALWAYS_RIGHT
-
HIDDEN
public static final PlayerAttackOption HIDDEN
-
-
Method Detail
-
values
public static PlayerAttackOption[] 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 (PlayerAttackOption c : PlayerAttackOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlayerAttackOption 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()
-
-