Interface OwnedSubscriber<O,T>

All Superinterfaces:
Subscriber<T>
All Known Implementing Classes:
OwnedSubscriberImpl

public interface OwnedSubscriber<O,T> extends Subscriber<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull O
    Gets the instance that owns this event subscription.

    Methods inherited from interface org.geysermc.event.subscribe.Subscriber

    eventClass, ignoreCancelled, invoke, order
  • Method Details

    • owner

      @NonNull O owner()
      Gets the instance that owns this event subscription.
      Returns:
      the instance that owns this subscription