Class GrandExchangeService


  • @Singleton
    public class GrandExchangeService
    extends java.lang.Object
    Grand Exchange slot readback and visible offer commands.
    • Method Detail

      • isOpen

        public boolean isOpen()
      • open

        public void open​(NpcRef clerk)
      • openSlot

        public void openSlot​(int zeroBasedSlot,
                             boolean buy)
      • selectSellItem

        public void selectSellItem​(InventoryItem item)
      • setQuantity

        public void setQuantity​(int quantity)
      • openPriceEntry

        public void openPriceEntry()
        Opens the price input; submit the value on a later client tick.
      • submitPrice

        public void submitPrice​(int price)
        Sends the active price input value.
      • openQuantityEntry

        public void openQuantityEntry()
        Opens the quantity input; submit the value on a later client tick.
      • submitQuantity

        public void submitQuantity​(int quantity)
        Sends the active quantity input value.
      • setPrice

        public void setPrice​(int price)
      • confirm

        public void confirm()
      • collectAll

        public void collectAll()
      • collectSlot

        public void collectSlot​(int zeroBasedSlot)
        Collects one completed offer when the global collect control is unavailable.
      • collectSelected

        public void collectSelected()
      • cancelSelected

        public void cancelSelected()