Class GrandExchange
java.lang.Object
org.highlife.api.methods.grandexchange.GrandExchange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddBuyItem(String itemName) static booleanaddBuyItem(Item item) static booleanaddSellItem(String itemName) static booleanaddSellItem(Item item) static booleanbuyItem(int itemId, int amount, int price) static booleanstatic booleanstatic booleancancelOffer(int slot) static booleanclose()static booleancollect()static booleancollect(boolean force) static booleanstatic booleancollectToBank(boolean force) static booleanconfirm()static booleancontains(int[] ids) static booleanstatic booleanstatic booleanstatic WidgetChildstatic intDeprecated.static Itemstatic intstatic intDeprecated.static intstatic intstatic WidgetChildstatic WidgetChildstatic WidgetChildstatic WidgetChildstatic WidgetChildstatic intstatic WidgetChildstatic WidgetChildstatic WidgetChildstatic GrandExchangeItemgetItem(int[] ids) static GrandExchangeItemstatic GrandExchangeItemstatic GrandExchangeItemstatic WidgetChildgetItemChildInSearch(String itemName) static WidgetChildgetItemChildInSearch(String name, int id) static GrandExchangeItem[]getItems()static Itemstatic intstatic intDeprecated.static WidgetChildstatic WidgetChildstatic Stringstatic intstatic intstatic Stringstatic intstatic booleangoBack()static booleanstatic booleanstatic booleanisOpen()static booleanstatic booleanisReadyToCollect(int slot) static booleanstatic booleanstatic booleanisSlotEnabled(int slot) static booleanitemVisible(WidgetChild item) static booleanopen()static booleanstatic booleanopenBuyScreen(int slot) static booleanopenSellScreen(int slot) static booleanopenSlotInterface(int slot) static booleanstatic booleanstatic booleanscrollToItem(WidgetChild item) static booleansearchItem(String itemName) static booleansellItem(int itemId, int amount, int price) static booleanstatic booleansetPrice(int amount) static booleansetQuantity(int amount) static booleanslotContainsItem(int slot)
-
Constructor Details
-
GrandExchange
public GrandExchange()
-
-
Method Details
-
open
-
open
public static boolean open() -
isOpen
public static boolean isOpen() -
isGeneralOpen
public static boolean isGeneralOpen() -
isSellOpen
public static boolean isSellOpen() -
getOpenSlot
public static int getOpenSlot() -
isBuyOpen
public static boolean isBuyOpen() -
isSearchOpen
public static boolean isSearchOpen() -
getOfferText
-
openSellScreen
public static boolean openSellScreen(int slot) -
openBuyScreen
public static boolean openBuyScreen(int slot) -
openSlotInterface
public static boolean openSlotInterface(int slot) -
addSellItem
-
addSellItem
-
searchItem
-
getSearchedItem
-
addBuyItem
-
addBuyItem
-
itemVisible
-
scrollToItem
-
getItemChildInSearch
-
getItemChildInSearch
-
setQuantity
public static boolean setQuantity(int amount) -
setPrice
public static boolean setPrice(int amount) -
readyToEnterAmount
public static boolean readyToEnterAmount() -
readyToEnterPrice
public static boolean readyToEnterPrice() -
getOfferFirstItemWidget
-
getOfferSecondItemWidget
-
getEnterQuantityButton
-
getEnterAllButton
-
getCurrentPrice
public static int getCurrentPrice() -
getCurrentQuantity
public static int getCurrentQuantity() -
getCurrentAmount
Deprecated. -
getEnterPriceButton
-
getGuidePriceButton
-
getDecreasePriceFivePercentButton
-
getIncreasePriceFivePercentButton
-
getDecreasePriceXPercentButton
-
getIncreasePriceXPercentButton
-
close
public static boolean close() -
getCloseButton
-
sellItem
-
sellItem
public static boolean sellItem(int itemId, int amount, int price) -
buyItem
-
buyItem
public static boolean buyItem(int itemId, int amount, int price) -
confirm
public static boolean confirm() -
goBack
public static boolean goBack() -
cancelOffer
public static boolean cancelOffer(int slot) -
cancelAll
public static boolean cancelAll() -
collect
public static boolean collect() -
collect
public static boolean collect(boolean force) -
collectToBank
public static boolean collectToBank() -
collectToBank
public static boolean collectToBank(boolean force) -
isReadyToCollect
public static boolean isReadyToCollect(int slot) -
isReadyToCollect
public static boolean isReadyToCollect() -
slotContainsItem
public static boolean slotContainsItem(int slot) -
getFirstOpenSlot
public static int getFirstOpenSlot() -
isSlotEnabled
public static boolean isSlotEnabled(int slot) -
getItems
-
getCurrentChosenItemId
public static int getCurrentChosenItemId() -
getCurrentChosenItemID
Deprecated. -
getLastChosenItemId
public static int getLastChosenItemId() -
getLastChosenItemID
Deprecated. -
getCurrentChosenItem
-
getLastChosenItem
-
getUsedSlots
public static int getUsedSlots() -
getOpenSlots
public static int getOpenSlots() -
contains
-
contains
public static boolean contains(int[] ids) -
contains
-
contains
-
getItem
-
getItem
-
getItem
-
getItem
-