Interface Cancellable

All Known Subinterfaces:
CarbonChatEvent, CarbonPrivateChatEvent

public interface Cancellable
Marks an event as cancellable.
Since:
3.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets if the event is cancelled.
    void
    cancelled(boolean cancelled)
    Sets the cancelled state.
  • Method Details

    • cancelled

      boolean cancelled()
      Gets if the event is cancelled.
      Returns:
      if the event is cancelled
      Since:
      3.0.0
    • cancelled

      void cancelled(boolean cancelled)
      Sets the cancelled state.
      Parameters:
      cancelled - new cancelled state
      Since:
      3.0.0