Interface CancellableEvent

All Superinterfaces:
Event
All Known Implementing Classes:
AbstractCancellableEvent, AbstractCancellablePlayerEvent, PlayerJoinEvent

public interface CancellableEvent extends Event
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.lucypoulton.squirtgun.platform.event.Event

    Event.Result
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancels this event.
    boolean
    Whether the event has been cancelled by a handler.
    default boolean
    Inverse of isCancelled()
  • Method Details

    • cancel

      void cancel()
      Cancels this event.
    • willContinue

      default boolean willContinue()
      Inverse of isCancelled()
    • isCancelled

      boolean isCancelled()
      Whether the event has been cancelled by a handler.