Interface IsCancellable
- All Known Implementing Classes:
ChatEvent
,HornUseEvent
,InventoryClickEvent
,JerryCanClickEvent
,JerryCanMenuOpen
,RestoreMenuOpenEvent
,TankShootEvent
,VehicleAddMemberEvent
,VehicleAddRiderEvent
,VehicleDamageEvent
,VehicleEnterEvent
,VehicleFuelEvent
,VehicleLeaveEvent
,VehicleMenuOpenEvent
,VehicleOpenTrunkEvent
,VehiclePickUpEvent
,VehiclePlaceEvent
,VehicleRemoveMemberEvent
,VehicleRemoveRiderEvent
,VehicleVoucherEvent
Deprecated.
Interface for all cancellable events.
Does not include a 'isCancelled()' method - see
MTVEvent.isCancelled()
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCancelled(boolean cancelled)
Deprecated.Sets the cancellation state of this event.
-
Method Details
-
setCancelled
void setCancelled(boolean cancelled)Deprecated.Sets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.- Parameters:
cancelled
- true if you wish to cancel this event
-
Cancellable
instead.