PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.server.connection
/
PacketManager
Packet
Manager
interface
PacketManager
<
T
:
PacketHandler
?
,
P
:
VoicePlayer
?
>
Represents a base interface for sending a Plasmo Voice related packets to the players.
Inheritors
UdpConnectionManager
Members
Functions
broadcast
Link copied to clipboard
open
fun
broadcast
(
@
NotNull
packet
:
@
NotNull
Packet
<
T
>
)
abstract
fun
broadcast
(
@
NotNull
packet
:
@
NotNull
Packet
<
T
>
,
@
Nullable
filter
:
Predicate
<
P
>
)
Broadcasts a packet to all players with voice chat installed.