Package us.ajg0702.queue.api.events
Interface Cancellable
- All Known Implementing Classes:
AutoQueueOnKickEvent,PreConnectEvent,PreQueueEvent
public interface Cancellable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether this event is canceled.voidsetCancelled(boolean cancelled) Allows you to cancel or un-cancel this event
-
Method Details
-
isCancelled
boolean isCancelled()Whether this event is canceled.- Returns:
- True if canceled. False if not.
-
setCancelled
void setCancelled(boolean cancelled) Allows you to cancel or un-cancel this event- Parameters:
cancelled- True to cancel the event, false to un-cancel
-