Class GrandExchangeOfferChanged


  • public class GrandExchangeOfferChanged
    extends java.lang.Object
    An event where a GrandExchangeOffer 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 Detail

      • GrandExchangeOfferChanged

        public GrandExchangeOfferChanged()
    • Method Detail

      • 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.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object