Class BankSnapshot

java.lang.Object
com.valhalla.sdk.api.bank.BankSnapshot

public final class BankSnapshot extends Object
Immutable native bank-container and interface-state snapshot.
  • Field Details

  • Constructor Details

    • BankSnapshot

      public BankSnapshot(List<Item> items, boolean loaded, boolean open, int capacity, int currentTab, int availableTabs, int scrollHeight, int customWithdrawAmount, int firstVisibleSlot, int lastVisibleSlot, BankMode withdrawMode, BankMode rearrangeMode, BankQuantitySelection defaultQuantity, boolean placeholdersEnabled, boolean searchOpen, long updatedTick)
  • Method Details

    • empty

      public static BankSnapshot empty()
    • getItems

      public List<Item> getItems()
    • isLoaded

      public boolean isLoaded()
    • isOpen

      public boolean isOpen()
    • getCapacity

      public int getCapacity()
    • getCurrentTab

      public int getCurrentTab()
    • getAvailableTabs

      public int getAvailableTabs()
    • getScrollHeight

      public int getScrollHeight()
    • getCustomWithdrawAmount

      public int getCustomWithdrawAmount()
    • getFirstVisibleSlot

      public int getFirstVisibleSlot()
    • getLastVisibleSlot

      public int getLastVisibleSlot()
    • getWithdrawMode

      public BankMode getWithdrawMode()
    • getRearrangeMode

      public BankMode getRearrangeMode()
    • getDefaultQuantity

      public BankQuantitySelection getDefaultQuantity()
    • isPlaceholdersEnabled

      public boolean isPlaceholdersEnabled()
    • isSearchOpen

      public boolean isSearchOpen()
    • getUpdatedTick

      public long getUpdatedTick()