Enum Class Bank.QuantityMode

java.lang.Object
java.lang.Enum<Bank.QuantityMode>
net.storm.sdk.items.Bank.QuantityMode
All Implemented Interfaces:
Serializable, Comparable<Bank.QuantityMode>, Constable
Enclosing class:
Bank

public static enum Bank.QuantityMode extends Enum<Bank.QuantityMode>
Enumeration of bank withdraw quantity modes.

These modes determine how many items are withdrawn/deposited by default when clicking items.

  • Enum Constant Details

  • Method Details

    • values

      public static Bank.QuantityMode[] 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

      public static Bank.QuantityMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCurrent

      public static Bank.QuantityMode getCurrent()
      Gets the currently active quantity mode from game state.
      Returns:
      the current Bank.QuantityMode