As with any property or method from the CoreBots.cs
file, you can call upon them by starting with Core.
(Core Dot)
Method Definition | Return Type | Description |
---|---|---|
CheckInventory(string item, int quant = 1, bool toInv = true) |
bool | Check the Bank, Inventory and Temp Inventory for the item |
CheckInventory(int itemID, int quant = 1, bool toInv = true) |
bool | Checks the Bank and Inventory for the item with it’s ID |
CheckInventory(string[] itemNames, int quant = 1, bool any = false, bool toInv = true) |
bool | Check if the Bank/Inventory has at least 1 of all listed items |
CheckSpaces(ref int counter, params string[] items) |
void | Checks an array of string item names to see if you have enough spaces to run through something, and will warn the player and stop the bot if need be |
Unbank(params string[] items) |
void | Move items from bank to inventory |
ToBank(params string[] items) |
void | Move items from inventory to bank |
BuyItem(string map, int shopID, string itemName, int quant = 1, int shopQuant = 1, int shopItemID = 0) |
void | Buys a item till you have the desired quantity |
BuyItem(string map, int shopID, int itemID, int quant = 1, int shopQuant = 1, int shopItemID = 0) |
void | Buys a item till it have the desired quantity |
SellItem(string itemName, int quant = 0, bool all = false) |
void | Sells a item till you have the desired quantity |
GetShopItems(string map, int shopID) |
List<ShopItem> | Loads the shop and returns the shop item Data |
parseShopItem(List<ShopItem> shopItem, int shopID, string itemNameID, int shopItemID = 0) |
ShopItem | Parses a singular ShopItem from a list, based on either the item Name/ID or ShopItemID |