Class GrandExchange


  • public class GrandExchange
    extends java.lang.Object
    • Field Detail

      • OPEN_WITH_BOOTH_PREFERENCE

        public static volatile int OPEN_WITH_BOOTH_PREFERENCE
    • Constructor Detail

      • GrandExchange

        public GrandExchange()
    • Method Detail

      • getWindowTitle

        @Nullable
        public static @Nullable java.lang.String getWindowTitle()
      • isOpen

        public static boolean isOpen()
      • close

        public static boolean close()
      • open

        public static boolean open​(boolean random)
      • openWithBooth

        public static boolean openWithBooth​(boolean random)
      • openWithClerk

        public static boolean openWithClerk​(boolean random)
      • getBooth

        @Nullable
        public static @Nullable RSObject getBooth​(boolean random)
      • getClerk

        @Nullable
        public static @Nullable RSNpc getClerk​(boolean random)
      • getCollectButton

        @Nullable
        public static @Nullable RSWidget getCollectButton()
      • collectToInventory

        public boolean collectToInventory()
      • hasCancelledOffer

        public static boolean hasCancelledOffer()
      • hasCompletedOffer

        public static boolean hasCompletedOffer()
      • hasCompletedOffer

        public static boolean hasCompletedOffer​(int itemId)
      • hasCompletedOffer

        public static boolean hasCompletedOffer​(@Nonnull
                                                Exchange.Slot offer)
      • hasBought

        public static boolean hasBought​(int itemId)
      • hasBought

        public static boolean hasBought​(@Nonnull
                                        Exchange.Slot offer)
      • hasSold

        public static boolean hasSold​(int itemId)
      • hasSold

        public static boolean hasSold​(@Nonnull
                                      Exchange.Slot offer)
      • getFreeSlots

        public static int getFreeSlots()
      • getFreeSlot

        @Nullable
        public static Exchange.Slot getFreeSlot​(boolean random)
      • getSlots

        @Nonnull
        public static java.util.List<Exchange.Slot> getSlots()
      • buy

        public static boolean buy​(@Nonnull
                                  java.lang.String name,
                                  int quantity,
                                  @Nonnull
                                  Exchange.PriceType type)
      • buy

        public static boolean buy​(@Nonnull
                                  java.lang.String name,
                                  int quantity,
                                  int price)
      • buy

        public static boolean buy​(@Nonnull
                                  java.lang.String name,
                                  int quantity,
                                  @Nonnull
                                  Exchange.Price price)
      • backToOverview

        public static boolean backToOverview()
      • collect

        public static boolean collect​(@Nonnull
                                      Exchange.Slot offer)
      • sell

        public static boolean sell​(@Nonnull
                                   java.lang.String name,
                                   int quantity,
                                   @Nonnull
                                   Exchange.PriceType type)
      • sell

        public static boolean sell​(@Nonnull
                                   java.lang.String name,
                                   int quantity,
                                   int price)
      • sell

        public static boolean sell​(@Nonnull
                                   java.lang.String name,
                                   int quantity,
                                   @Nonnull
                                   Exchange.Price price)
      • getInventoryItems

        @Nonnull
        public static java.util.List<RSWidget> getInventoryItems()