Class GrandExchange

java.lang.Object
org.highlife.api.methods.grandexchange.GrandExchange

public class GrandExchange extends Object
  • Constructor Details

    • GrandExchange

      public GrandExchange()
  • Method Details

    • open

      public static boolean open(String action)
    • 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

      public static String getOfferText()
    • openSellScreen

      public static boolean openSellScreen(int slot)
    • openBuyScreen

      public static boolean openBuyScreen(int slot)
    • openSlotInterface

      public static boolean openSlotInterface(int slot)
    • addSellItem

      public static boolean addSellItem(String itemName)
    • addSellItem

      public static boolean addSellItem(Item item)
    • searchItem

      public static boolean searchItem(String itemName)
    • getSearchedItem

      public static String getSearchedItem()
    • addBuyItem

      public static boolean addBuyItem(String itemName)
    • addBuyItem

      public static boolean addBuyItem(Item item)
    • itemVisible

      public static boolean itemVisible(WidgetChild item)
    • scrollToItem

      public static boolean scrollToItem(WidgetChild item)
    • getItemChildInSearch

      public static WidgetChild getItemChildInSearch(String itemName)
    • getItemChildInSearch

      public static WidgetChild getItemChildInSearch(String name, int id)
    • 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

      public static WidgetChild getOfferFirstItemWidget()
    • getOfferSecondItemWidget

      public static WidgetChild getOfferSecondItemWidget()
    • getEnterQuantityButton

      public static WidgetChild getEnterQuantityButton()
    • getEnterAllButton

      public static WidgetChild getEnterAllButton()
    • getCurrentPrice

      public static int getCurrentPrice()
    • getCurrentQuantity

      public static int getCurrentQuantity()
    • getCurrentAmount

      @Deprecated public static int getCurrentAmount()
      Deprecated.
    • getEnterPriceButton

      public static WidgetChild getEnterPriceButton()
    • getGuidePriceButton

      public static WidgetChild getGuidePriceButton()
    • getDecreasePriceFivePercentButton

      public static WidgetChild getDecreasePriceFivePercentButton()
    • getIncreasePriceFivePercentButton

      public static WidgetChild getIncreasePriceFivePercentButton()
    • getDecreasePriceXPercentButton

      public static WidgetChild getDecreasePriceXPercentButton()
    • getIncreasePriceXPercentButton

      public static WidgetChild getIncreasePriceXPercentButton()
    • close

      public static boolean close()
    • getCloseButton

      public static WidgetChild getCloseButton()
    • sellItem

      public static boolean sellItem(String itemName, int amount, int price)
    • sellItem

      public static boolean sellItem(int itemId, int amount, int price)
    • buyItem

      public static boolean buyItem(String itemName, int amount, int price)
    • 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

      public static GrandExchangeItem[] getItems()
    • getCurrentChosenItemId

      public static int getCurrentChosenItemId()
    • getCurrentChosenItemID

      @Deprecated public static int getCurrentChosenItemID()
      Deprecated.
    • getLastChosenItemId

      public static int getLastChosenItemId()
    • getLastChosenItemID

      @Deprecated public static int getLastChosenItemID()
      Deprecated.
    • getCurrentChosenItem

      public static Item getCurrentChosenItem()
    • getLastChosenItem

      public static Item getLastChosenItem()
    • getUsedSlots

      public static int getUsedSlots()
    • getOpenSlots

      public static int getOpenSlots()
    • contains

      public static boolean contains(Integer... ids)
    • contains

      public static boolean contains(int[] ids)
    • contains

      public static boolean contains(String... names)
    • contains

      public static boolean contains(Filter<Item> filter)
    • getItem

      public static GrandExchangeItem getItem(Integer... ids)
    • getItem

      public static GrandExchangeItem getItem(int[] ids)
    • getItem

      public static GrandExchangeItem getItem(String... names)
    • getItem

      public static GrandExchangeItem getItem(Filter<Item> filter)