Class OSRSBank
- java.lang.Object
-
- com.runemate.game.api.osrs.local.hud.interfaces.OSRSBank
-
public final class OSRSBank extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
CUSTOM_DEFAULT_QUANTITY_VARBIT
static int
DEFAULT_QUANTITY_VARBIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
close(boolean hotkey)
static boolean
deposit(SpriteItem item, int amount)
static boolean
depositInventory()
static boolean
depositWornItems()
static InteractableRectangle
getBoundsOf(int index)
static java.util.List<InteractableRectangle>
getSlotBounds()
static InteractableRectangle
getViewport()
static boolean
isOpen()
static boolean
openMainTab()
static boolean
openTabContaining(@NonNull SpriteItem item)
static boolean
withdraw(SpriteItem item, int amount)
static boolean
withdrawToBeastOfBurden(SpriteItem item, int amount)
-
-
-
Field Detail
-
DEFAULT_QUANTITY_VARBIT
public static final int DEFAULT_QUANTITY_VARBIT
- See Also:
- Constant Field Values
-
CUSTOM_DEFAULT_QUANTITY_VARBIT
public static final int CUSTOM_DEFAULT_QUANTITY_VARBIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isOpen
public static boolean isOpen()
-
close
public static boolean close(boolean hotkey)
-
deposit
public static boolean deposit(SpriteItem item, int amount)
-
withdraw
public static boolean withdraw(SpriteItem item, int amount)
-
withdrawToBeastOfBurden
public static boolean withdrawToBeastOfBurden(SpriteItem item, int amount)
-
depositInventory
public static boolean depositInventory()
-
depositWornItems
public static boolean depositWornItems()
-
getViewport
public static InteractableRectangle getViewport()
-
getSlotBounds
public static java.util.List<InteractableRectangle> getSlotBounds()
-
getBoundsOf
public static InteractableRectangle getBoundsOf(int index)
-
openMainTab
public static boolean openMainTab()
-
openTabContaining
public static boolean openTabContaining(@NonNull @NonNull SpriteItem item)
-
-