Enum BarrowsItem
- java.lang.Object
-
- java.lang.Enum<BarrowsItem>
-
- org.rspeer.game.config.item.constant.BarrowsItem
-
- All Implemented Interfaces:
Serializable
,Comparable<BarrowsItem>
,InterchangeableItem
public enum BarrowsItem extends Enum<BarrowsItem> implements InterchangeableItem
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
String
getKey()
String[]
getNames()
static BarrowsItem
valueOf(String name)
Returns the enum constant of this type with the specified name.static BarrowsItem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AHRIMS_HOOD
public static final BarrowsItem AHRIMS_HOOD
-
AHRIMS_ROBETOP
public static final BarrowsItem AHRIMS_ROBETOP
-
AHRIMS_ROBESKIRT
public static final BarrowsItem AHRIMS_ROBESKIRT
-
AHRIMS_STAFF
public static final BarrowsItem AHRIMS_STAFF
-
DHAROKS_HELM
public static final BarrowsItem DHAROKS_HELM
-
DHAROKS_GREATAXE
public static final BarrowsItem DHAROKS_GREATAXE
-
DHAROKS_PLATEBODY
public static final BarrowsItem DHAROKS_PLATEBODY
-
DHAROKS_PLATELEGS
public static final BarrowsItem DHAROKS_PLATELEGS
-
GUTHANS_HELM
public static final BarrowsItem GUTHANS_HELM
-
GUTHANS_WARSPEAR
public static final BarrowsItem GUTHANS_WARSPEAR
-
GUTHANS_PLATEBODY
public static final BarrowsItem GUTHANS_PLATEBODY
-
GUTHANS_CHAINSKIRT
public static final BarrowsItem GUTHANS_CHAINSKIRT
-
KARILS_COIF
public static final BarrowsItem KARILS_COIF
-
KARILS_CROSSBOW
public static final BarrowsItem KARILS_CROSSBOW
-
KARILS_TOP
public static final BarrowsItem KARILS_TOP
-
KARILS_SKIRT
public static final BarrowsItem KARILS_SKIRT
-
TORAGS_HELM
public static final BarrowsItem TORAGS_HELM
-
TORAGS_HAMMERS
public static final BarrowsItem TORAGS_HAMMERS
-
TORAGS_PLATEBODY
public static final BarrowsItem TORAGS_PLATEBODY
-
TORAGS_PLATELEGS
public static final BarrowsItem TORAGS_PLATELEGS
-
VERACS_HELM
public static final BarrowsItem VERACS_HELM
-
VERACS_FLAIL
public static final BarrowsItem VERACS_FLAIL
-
VERACS_BRASSARD
public static final BarrowsItem VERACS_BRASSARD
-
VERACS_PLATESKIRT
public static final BarrowsItem VERACS_PLATESKIRT
-
-
Method Detail
-
values
public static BarrowsItem[] 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 (BarrowsItem c : BarrowsItem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BarrowsItem valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public int getId()
- Specified by:
getId
in interfaceInterchangeableItem
- Returns:
- The ID of the base item for use in restocking
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceInterchangeableItem
- Returns:
- An identifier for the item, typically the base name
-
getNames
public String[] getNames()
- Specified by:
getNames
in interfaceInterchangeableItem
- Returns:
- An array of interchangeable names
-
-