GrandExchange
Threaded Grand Exchange API.
ClassRLPlugins API
public class GrandExchangeThese helpers wait. Call them only from VitaPlugin.loop(); on the game thread, for example in a @Subscribe method, they freeze the game.
Members
Static methods
- voidbuy(int, int, boolean)
Fully automated buy offer with retries.
- voidbuy(int, int, int)
Fully automated buy offer.
- voidbuy(int, int, boolean, int)
Fully automated buy offer with retries.
- voidbuy(int, int, int, boolean)
Fully automated buy offer.
- voidsell(int, int, boolean)
Fully automated sell offer.
buy(int, int, boolean)static
public static void buy(int id, int quantity, boolean noted)Fully automated buy offer with retries.
Parameters
id- Item id.
quantity- Amount.
noted- Withdraw as noted.
buy(int, int, int)static
public static void buy(int id, int quantity, int price)Fully automated buy offer.
Parameters
id- Item id.
quantity- Amount.
price- Price per item.
buy(int, int, boolean, int)static
public static void buy(int id, int quantity, boolean noted, int tries)Fully automated buy offer with retries.
Parameters
id- Item id.
quantity- Amount.
noted- Withdraw as noted.
tries- Number of retries (increasing the offer by 5% each retry).
buy(int, int, int, boolean)static
public static void buy(int id, int quantity, int price, boolean noted)Fully automated buy offer.
Parameters
id- Item id.
quantity- Amount.
price- Price per item.
noted- Withdraw as noted.
sell(int, int, boolean)static
public static void sell(int id, int quantity, boolean immediate)Fully automated sell offer.
Parameters
id- Item id.
quantity- Amount.
immediate- Attempt to insta sell.
Also allowed
Every class has these, as in plain Java.
equals, toString