Enum TrouverItem
- java.lang.Object
-
- java.lang.Enum<TrouverItem>
-
- org.rspeer.game.config.item.constant.TrouverItem
-
- All Implemented Interfaces:
Serializable
,Comparable<TrouverItem>
,InterchangeableItem
public enum TrouverItem extends Enum<TrouverItem> 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 TrouverItem
valueOf(String name)
Returns the enum constant of this type with the specified name.static TrouverItem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNE_POUCH
public static final TrouverItem RUNE_POUCH
-
AVAS_ASSEMBLER
public static final TrouverItem AVAS_ASSEMBLER
-
DIAZANAS_QUIVER
public static final TrouverItem DIAZANAS_QUIVER
-
FIRE_CAPE
public static final TrouverItem FIRE_CAPE
-
IMBUED_GOD_CAPE
public static final TrouverItem IMBUED_GOD_CAPE
-
FIRE_MAX_CAPE
public static final TrouverItem FIRE_MAX_CAPE
-
ASSEMBLER_MAX_CAPE
public static final TrouverItem ASSEMBLER_MAX_CAPE
-
DIZANAS_MAX_CAPE
public static final TrouverItem DIZANAS_MAX_CAPE
-
IMBUED_GOD_MAX_CAPE
public static final TrouverItem IMBUED_GOD_MAX_CAPE
-
BRONZE_DEFENDER
public static final TrouverItem BRONZE_DEFENDER
-
IRON_DEFENDER
public static final TrouverItem IRON_DEFENDER
-
STEEL_DEFENDER
public static final TrouverItem STEEL_DEFENDER
-
BLACK_DEFENDER
public static final TrouverItem BLACK_DEFENDER
-
MITHRIL_DEFENDER
public static final TrouverItem MITHRIL_DEFENDER
-
ADAMANT_DEFENDER
public static final TrouverItem ADAMANT_DEFENDER
-
RUNE_DEFENDER
public static final TrouverItem RUNE_DEFENDER
-
DRAGON_DEFENDER
public static final TrouverItem DRAGON_DEFENDER
-
GHOMMALS_AVERNIC_DEFENDER
public static final TrouverItem GHOMMALS_AVERNIC_DEFENDER
-
VOID_MELEE_HELM
public static final TrouverItem VOID_MELEE_HELM
-
VOID_MAGE_HELM
public static final TrouverItem VOID_MAGE_HELM
-
VOID_RANGER_HELM
public static final TrouverItem VOID_RANGER_HELM
-
VOID_KNIGHT_TOP
public static final TrouverItem VOID_KNIGHT_TOP
-
VOID_KNIGHT_ROBE
public static final TrouverItem VOID_KNIGHT_ROBE
-
VOID_KNIGHT_GLOVES
public static final TrouverItem VOID_KNIGHT_GLOVES
-
VOID_KNIGHT_MACE
public static final TrouverItem VOID_KNIGHT_MACE
-
ELITE_VOID_TOP
public static final TrouverItem ELITE_VOID_TOP
-
ELITE_VOID_ROBE
public static final TrouverItem ELITE_VOID_ROBE
-
FIGHTER_TORSO
public static final TrouverItem FIGHTER_TORSO
-
PENANCE_SKIRT
public static final TrouverItem PENANCE_SKIRT
-
FIGHTER_HAT
public static final TrouverItem FIGHTER_HAT
-
RANGER_HAT
public static final TrouverItem RANGER_HAT
-
HEALER_HAT
public static final TrouverItem HEALER_HAT
-
RUNNER_HAT
public static final TrouverItem RUNNER_HAT
-
HALO
public static final TrouverItem HALO
-
ANCIENT_SCEPTRE
public static final TrouverItem ANCIENT_SCEPTRE
-
BARRONITE_MACE
public static final TrouverItem BARRONITE_MACE
-
-
Method Detail
-
values
public static TrouverItem[] 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 (TrouverItem c : TrouverItem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrouverItem 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
-
-