Package net.storm.sdk.items
Enum Class Bank.QuantityMode
- All Implemented Interfaces:
Serializable,Comparable<Bank.QuantityMode>,Constable
- Enclosing class:
Bank
Enumeration of bank withdraw quantity modes.
These modes determine how many items are withdrawn/deposited by default when clicking items.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Bank.QuantityModeGets the currently active quantity mode from game state.static Bank.QuantityModeReturns the enum constant of this class with the specified name.static Bank.QuantityMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONE
Withdraw/deposit 1 item at a time -
FIVE
Withdraw/deposit 5 items at a time -
TEN
Withdraw/deposit 10 items at a time -
X
Withdraw/deposit a custom (X) amount -
ALL
Withdraw/deposit all items of that type -
UNKNOWN
Unknown or unset quantity mode
-
-
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
-
getCurrent
Gets the currently active quantity mode from game state.- Returns:
- the current
Bank.QuantityMode
-