Package net.runelite.api.events
Class GrandExchangeOfferChanged
- java.lang.Object
-
- net.runelite.api.events.GrandExchangeOfferChanged
-
public class GrandExchangeOfferChanged extends Object
An event where aGrandExchangeOffer
has been updated with new information.When the client initially logs in, this event is called for all grand exchange slots with the
GrandExchangeOfferState.EMPTY
state, 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
GrandExchangeOfferState
for 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 boolean
canEqual(Object other)
boolean
equals(Object o)
GrandExchangeOffer
getOffer()
The offer that has been modified.int
getSlot()
The index value of the slot.int
hashCode()
void
setOffer(GrandExchangeOffer offer)
The offer that has been modified.void
setSlot(int slot)
The index value of the slot.String
toString()
-
-
-
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)
-
-