public enum InventoryID extends java.lang.Enum<InventoryID>
Enum Constant and Description |
---|
BANK
Bank inventory.
|
EQUIPMENT
Equipment inventory.
|
INVENTORY
Standard player inventory.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gets the raw inventory type ID.
|
static InventoryID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InventoryID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryID INVENTORY
public static final InventoryID EQUIPMENT
public static final InventoryID BANK
public static InventoryID[] values()
for (InventoryID c : InventoryID.values()) System.out.println(c);
public static InventoryID 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 int getId()