Class ClientEvent

java.lang.Object
com.craftmend.openaudiomc.api.events.BaseEvent
com.craftmend.openaudiomc.api.events.ClientEvent
Direct Known Subclasses:
CancellableClientEvent, ClientConnectEvent, ClientDisconnectEvent, ClientPeerRemovedEvent, MediaErrorEvent, MicrophoneMuteEvent, MicrophoneUnmuteEvent, VoicechatDeafenEvent, VoicechatReadyEvent, VoicechatUndeafenEvent

public class ClientEvent extends BaseEvent
Base event for all events carrying a client
  • Constructor Details

    • ClientEvent

      public ClientEvent(Client client)
      Create a new client event
      Parameters:
      client - the client that this event is about
  • Method Details

    • getClient

      public Client getClient()
      Get the client that this event is about
      Returns:
      the client