Enum Class BankType

java.lang.Object
java.lang.Enum<BankType>
com.valhalla.sdk.api.bank.BankType
All Implemented Interfaces:
Serializable, Comparable<BankType>, Constable

public enum BankType extends Enum<BankType>
Recognized in-world banking interaction categories.
  • Enum Constant Details

    • BOOTH

      public static final BankType BOOTH
      Standard bank booth.
    • CHEST

      public static final BankType CHEST
      Bank chest.
    • EXCHANGE

      public static final BankType EXCHANGE
      Deposit or exchange object.
    • NPC

      public static final BankType NPC
      Banker NPC.
    • TABLE

      public static final BankType TABLE
      Bank table.
    • BUFFALO

      public static final BankType BUFFALO
      Buffalo-style bank NPC compatibility category.
  • Method Details

    • values

      public static BankType[] 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 BankType 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
    • getActions

      public String[] getActions()
      Returns a defensive copy of recognized interaction actions.
      Returns:
      a defensive copy of recognized interaction actions