ServerSourceAudioPacketEvent

This event is fired when the SourceAudioPacket is about to send to the players.

Constructors

Link copied to clipboard
constructor(@NotNull source: @NotNull ServerAudioSource<out Any>, @NotNull packet: @NotNull SourceAudioPacket, @Nullable activationInfo: @Nullable PlayerActivationInfo)
constructor(@NotNull source: @NotNull ServerAudioSource<out Any>, @NotNull packet: @NotNull SourceAudioPacket, distance: Short, @Nullable activationInfo: @Nullable PlayerActivationInfo)

Types

Link copied to clipboard
enum Result
Packet handling result.

Functions

Link copied to clipboard
open fun isCancelled(): Boolean
Link copied to clipboard
open fun setCancelled(cancel: Boolean)