Package com.epicbot.api.shared.model
Enum Class InventoryId
- All Implemented Interfaces:
Serializable,Comparable<InventoryId>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBank inventory.Barrows reward chest inventory.Chambers of Xeric chest inventory.Equipment inventory.Standard player inventory.Monkey madness puzzle box inventory.A puzzle box inventory.Theater of Blood reward chest inventory (Raids 2)The other trade inventory. -
Method Summary
Modifier and TypeMethodDescriptionintgetId()Gets the raw inventory type ID.static InventoryIdReturns the enum constant of this class with the specified name.static InventoryId[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRADE
-
TRADEOTHER
The other trade inventory. -
INVENTORY
Standard player inventory. -
EQUIPMENT
Equipment inventory. -
BANK
Bank inventory. -
PUZZLE_BOX
A puzzle box inventory. -
BARROWS_REWARD
Barrows reward chest inventory. -
MONKEY_MADNESS_PUZZLE_BOX
Monkey madness puzzle box inventory. -
CHAMBERS_OF_XERIC_CHEST
Chambers of Xeric chest inventory. -
THEATRE_OF_BLOOD_CHEST
Theater of Blood reward chest inventory (Raids 2)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getId
public int getId()Gets the raw inventory type ID.- Returns:
- inventory type
-