Class DepositBox
java.lang.Object
org.rspeer.game.component.DepositBox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandeposit(int id, int amount) static booleanstatic booleanstatic booleandepositAll(Function<ItemQuery, ItemQueryResults> function) static booleandepositAllExcept(Function<ItemQuery, ItemQueryResults> function) static booleanstatic booleanstatic booleanstatic booleanisOpen()static booleanopen()Walks to the nearest deposit box determined via webstatic booleanopen(Bank.Location loc) Walks to the deposit box using the web and opens it.static booleanopen(Bank.Location loc, boolean strict) Walks to the deposit box using the web and opens it.
-
Constructor Details
-
DepositBox
public DepositBox()
-
-
Method Details
-
isOpen
public static boolean isOpen() -
open
Walks to the deposit box using the web and opens it.- Parameters:
loc- the deposit box you want to open- Returns:
- returns true when we are in any deposit box or successfully clicked the deposit box
-
open
Walks to the deposit box using the web and opens it.- Parameters:
loc- the deposit box you want to openstrict- if true it will guarantee you are at the correct deposit box before opening- Returns:
- returns true when we are in the deposit box or successfully clicked the deposit box
-
open
public static boolean open()Walks to the nearest deposit box determined via web- Returns:
- returns true if we are in the deposit box or successfully clicked the deposit box
-
deposit
-
depositAll
-
depositAllExcept
-
deposit
-
deposit
public static boolean deposit(int id, int amount) -
depositInventory
public static boolean depositInventory() -
depositEquipment
public static boolean depositEquipment() -
depositLoot
public static boolean depositLoot()
-