Interface Event
- All Known Subinterfaces:
ClientEvent, ClientReceiveSoundEvent, ClientReceiveSoundEvent.EntitySound, ClientReceiveSoundEvent.LocationalSound, ClientReceiveSoundEvent.StaticSound, ClientSoundEvent, ClientVoicechatConnectionEvent, ClientVoicechatInitializationEvent, CreateGroupEvent, CreateOpenALContextEvent, DestroyOpenALContextEvent, EntitySoundPacketEvent, GroupEvent, JoinGroupEvent, LeaveGroupEvent, LocationalSoundPacketEvent, MergeClientSoundEvent, MicrophoneMuteEvent, MicrophonePacketEvent, NameTagIconRenderEvent, OpenALSoundEvent, OpenALSoundEvent.Post, OpenALSoundEvent.Pre, PacketEvent<T>, PlayerConnectedEvent, PlayerDisconnectedEvent, PlayerStateChangedEvent, RegisterVolumeCategoryEvent, RemoveGroupEvent, ServerEvent, SoundPacketEvent<T>, StaticSoundPacketEvent, UnregisterVolumeCategoryEvent, VoicechatDisableEvent, VoicechatServerStartedEvent, VoicechatServerStartingEvent, VoicechatServerStoppedEvent, VoiceDistanceEvent, VoiceHostEvent, VolumeCategoryEvent
public interface Event
-
Method Summary
-
Method Details
-
isCancellable
boolean isCancellable()- Returns:
- if this event can be cancelled
-
cancel
boolean cancel()Cancels this event. Does nothing if the event isn't cancellable.- Returns:
- if the event was actually cancelled
-
isCancelled
boolean isCancelled()- Returns:
- if the event was cancelled
-