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, OpenALSoundEvent, OpenALSoundEvent.Post, OpenALSoundEvent.Pre, PacketEvent<T>, PlayerConnectedEvent, PlayerDisconnectedEvent, PlayerStateChangedEvent, RegisterVolumeCategoryEvent, RemoveGroupEvent, ServerEvent, SoundPacketEvent<T>, StaticSoundPacketEvent, UnregisterVolumeCategoryEvent, VoicechatDisableEvent, VoicechatServerStartedEvent, VoicechatServerStartingEvent, VoicechatServerStoppedEvent, VoiceHostEvent, VolumeCategoryEvent

public interface Event
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Cancels this event.
    boolean
     
    boolean
     
  • 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