PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.server.player
/
VoiceServerPlayer
Voice
Server
Player
interface
VoiceServerPlayer
:
VoicePlayer
Represents a voice API for the server player.
Members
Functions
create
Player
Info
Link copied to clipboard
abstract
fun
createPlayerInfo
(
)
:
VoicePlayerInfo
get
Activation
Distance
By
Id
Link copied to clipboard
abstract
fun
getActivationDistanceById
(
p
:
@
NotNull
UUID
)
:
Int
get
Active
Activations
Link copied to clipboard
abstract
fun
getActiveActivations
(
)
:
Collection
<
ServerActivation
>
get
Instance
Link copied to clipboard
@
NotNull
abstract
fun
getInstance
(
)
:
@
NotNull
McServerPlayer
get
Mod
Version
Link copied to clipboard
abstract
fun
getModVersion
(
)
:
@
NotNull
Optional
<
String
>
get
Public
Key
Link copied to clipboard
abstract
fun
getPublicKey
(
)
:
Optional
<
PublicKey
>
has
Voice
Chat
Link copied to clipboard
abstract
fun
hasVoiceChat
(
)
:
Boolean
is
Microphone
Muted
Link copied to clipboard
abstract
fun
isMicrophoneMuted
(
)
:
Boolean
is
Voice
Disabled
Link copied to clipboard
abstract
fun
isVoiceDisabled
(
)
:
Boolean
send
Animated
Action
Bar
Link copied to clipboard
abstract
fun
sendAnimatedActionBar
(
p
:
@
NotNull
McTextComponent
)
send
Packet
Link copied to clipboard
abstract
fun
sendPacket
(
p
:
Packet
<
out
Any
>
)
visualize
Distance
Link copied to clipboard
abstract
fun
visualizeDistance
(
p
:
Int
,
p1
:
Int
)