Package com.valhalla.sdk.api.bank
Class BankSnapshot
java.lang.Object
com.valhalla.sdk.api.bank.BankSnapshot
Immutable native bank-container and interface-state snapshot.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBankSnapshot(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 Summary
Modifier and TypeMethodDescriptionstatic BankSnapshotempty()intintintintintgetItems()intintlongbooleanisLoaded()booleanisOpen()booleanboolean
-
Field Details
-
DEFAULT_CAPACITY
public static final int DEFAULT_CAPACITY- See Also:
-
-
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
-
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
-
getRearrangeMode
-
getDefaultQuantity
-
isPlaceholdersEnabled
public boolean isPlaceholdersEnabled() -
isSearchOpen
public boolean isSearchOpen() -
getUpdatedTick
public long getUpdatedTick()
-