public class AIOAIO_Script_Utils
extends java.lang.Object
Constructor and Description |
---|
AIOAIO_Script_Utils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkAccountValue() |
static int |
getDistanceToNearestBanker()
Gets the distance to the nearest banker NPC Useful because sometimes the banker NPC isn't null,
but it's also not nearby
|
static boolean |
towardsDepositAll(int... exceptions)
Progressively takes steps towards depositing everything except the passed in Ids Returns true
if it's done (bank will be open)
|
static boolean |
towardsGetFromBank(ItemId item,
int amount,
boolean depositEverythingElse)
Progressively takes steps to withdrawing an item from the bank (i.e going to the bank, banking,
etc) Returns true if performed a step correctly.
|
static boolean |
towardsOpenBank()
Progressively takes steps towards opening a bank
|
public static boolean towardsGetFromBank(ItemId item, int amount, boolean depositEverythingElse)
item
- amount
- -1 if withdraw allpublic static boolean towardsDepositAll(int... exceptions)
exceptions
- Item Ids to not depositpublic static boolean towardsOpenBank()
public static int getDistanceToNearestBanker()
public static void checkAccountValue()