Enum Constant and Description |
---|
AGILITY |
ATTACK |
COOKING |
CRAFTING |
DEFENSE |
FIREMAKING |
FISHING |
FLETCHING |
HARVESTING |
HERBLAW |
HITS |
MAGIC |
MINING |
NOTHING |
PRAYER |
RANGED |
RUNECRAFT |
SMITHING |
STRENGTH |
THIEVING |
WOODCUTTING |
Modifier and Type | Method and Description |
---|---|
static SkillId |
getById(java.lang.Integer id)
Retrieves the SkillId Name associated with the given id.
|
static SkillId |
getByName(java.lang.String name)
Retrieves the SkillId associated with the given name.
|
int |
getId()
Returns the ID of the object.
|
static SkillId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SkillId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkillId NOTHING
public static final SkillId ATTACK
public static final SkillId DEFENSE
public static final SkillId STRENGTH
public static final SkillId HITS
public static final SkillId RANGED
public static final SkillId PRAYER
public static final SkillId MAGIC
public static final SkillId COOKING
public static final SkillId WOODCUTTING
public static final SkillId FLETCHING
public static final SkillId FISHING
public static final SkillId FIREMAKING
public static final SkillId CRAFTING
public static final SkillId SMITHING
public static final SkillId MINING
public static final SkillId HERBLAW
public static final SkillId AGILITY
public static final SkillId THIEVING
public static final SkillId RUNECRAFT
public static final SkillId HARVESTING
public static SkillId[] values()
for (SkillId c : SkillId.values()) System.out.println(c);
public static SkillId valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SkillId getById(java.lang.Integer id)
id
- the id of the SkillId to retrievepublic static SkillId getByName(java.lang.String name)
name
- the name of the skill