PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.server.event.audio.source
/
PlayerSpeakEvent
Player
Speak
Event
class
PlayerSpeakEvent
:
EventCancellableBase
This event is fired when the
PlayerAudioPacket
is received.
See also
Player
Server
Activation
Event
Player
Server
Activation
Start
Event
Members
Constructors
Player
Speak
Event
Link copied to clipboard
constructor
(
@
NotNull
player
:
@
NotNull
VoicePlayer
,
@
NotNull
packet
:
@
NotNull
PlayerAudioPacket
)
Functions
is
Cancelled
Link copied to clipboard
open
fun
isCancelled
(
)
:
Boolean
set
Cancelled
Link copied to clipboard
open
fun
setCancelled
(
cancel
:
Boolean
)