Package net.runelite.api.events
Class GrandExchangeOfferChanged
- java.lang.Object
-
- net.runelite.api.events.GrandExchangeOfferChanged
-
public class GrandExchangeOfferChanged extends Object
An event where aGrandExchangeOfferhas been updated with new information.When the client initially logs in, this event is called for all grand exchange slots with the
GrandExchangeOfferState.EMPTYstate, regardless of whether any slots have offers. Once the exchange is initialized, the client then updates any offers with items as it receives information from the server.See
GrandExchangeOfferStatefor potential states an offer can change into.
-
-
Constructor Summary
Constructors Constructor Description GrandExchangeOfferChanged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)GrandExchangeOffergetOffer()The offer that has been modified.intgetSlot()The index value of the slot.inthashCode()voidsetOffer(GrandExchangeOffer offer)The offer that has been modified.voidsetSlot(int slot)The index value of the slot.StringtoString()
-
-
-
Method Detail
-
getOffer
public GrandExchangeOffer getOffer()
The offer that has been modified.
-
getSlot
public int getSlot()
The index value of the slot.
-
setOffer
public void setOffer(GrandExchangeOffer offer)
The offer that has been modified.
-
setSlot
public void setSlot(int slot)
The index value of the slot.
-
canEqual
protected boolean canEqual(Object other)
-
-