Class Subscription<T>

java.lang.Object
net.botwithus.rs3.events.Subscription<T>
Type Parameters:
T - The event type the subscription owns.

public class Subscription<T> extends Object
The Subscription is responsible for managing ownership of the event type and listener.
See Also:
  • Constructor Details

  • Method Details

    • isGlobal

      public boolean isGlobal()
    • getEventType

      public Class<T> getEventType()
    • getOwner

      public Script getOwner()
    • getListener

      public Consumer<T> getListener()