Class GrandExchangeSearched


  • public class GrandExchangeSearched
    extends java.lang.Object
    An event where the Grand Exchange has been searched.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      void consume()
      Marks the event as having been consumed.
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      boolean isConsumed()
      Whether or not the event has been consumed by a subscriber.
      void setConsumed​(boolean consumed)
      Whether or not the event has been consumed by a subscriber.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GrandExchangeSearched

        public GrandExchangeSearched()
    • Method Detail

      • consume

        public void consume()
        Marks the event as having been consumed.

        Setting this state indicates that a plugin has set the GE search results and that the event will not be passed on for handling by vanilla client code.

      • isConsumed

        public boolean isConsumed()
        Whether or not the event has been consumed by a subscriber.
      • setConsumed

        public void setConsumed​(boolean consumed)
        Whether or not the event has been consumed by a subscriber.
      • 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