Package rs.kreme.ksbot.api.wrappers
Enum KSItem.Type
- java.lang.Object
-
- java.lang.Enum<KSItem.Type>
-
- rs.kreme.ksbot.api.wrappers.KSItem.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KSItem.Type>
- Enclosing class:
- KSItem
public static enum KSItem.Type extends java.lang.Enum<KSItem.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANK
BANK_INVENTORY
EQUIPMENT
INVENTORY
SHOP
TRADE
TRADE_INVENTORY
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description net.runelite.api.InventoryID
getInventoryID()
static KSItem.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KSItem.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVENTORY
public static final KSItem.Type INVENTORY
-
EQUIPMENT
public static final KSItem.Type EQUIPMENT
-
BANK
public static final KSItem.Type BANK
-
BANK_INVENTORY
public static final KSItem.Type BANK_INVENTORY
-
TRADE
public static final KSItem.Type TRADE
-
TRADE_INVENTORY
public static final KSItem.Type TRADE_INVENTORY
-
SHOP
public static final KSItem.Type SHOP
-
UNKNOWN
public static final KSItem.Type UNKNOWN
-
-
Method Detail
-
values
public static KSItem.Type[] 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 (KSItem.Type c : KSItem.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KSItem.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getInventoryID
public net.runelite.api.InventoryID getInventoryID()
-
-