Class BroadcastPoint
java.lang.Object
fr.dreamin.dreamvoice.api.broadcast.model.BroadcastPoint
Model representing a physical microphone, podium, or intercom broadcast point.
When players speak within its radius, audio is broadcast directly to targeted speakers.
-
Constructor Summary
ConstructorsConstructorDescriptionBroadcastPoint(@NotNull String name, @NotNull VoiceLocation location) BroadcastPoint(@NotNull String name, @NotNull VoiceLocation location, @Nullable UUID targetEntityUuid) BroadcastPoint(@NotNull UUID uuid, @NotNull String name, @NotNull VoiceLocation location, double radius, boolean allSpeakers, @Nullable String filterId, boolean enabled) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisInRange(@NotNull VoiceLocation loc) voidlinkSpeaker(@NotNull String speakerName) booleantargetsSpeaker(@NotNull String speakerName) booleantoggle()voidunlinkSpeaker(@NotNull String speakerName)
-
Constructor Details
-
BroadcastPoint
public BroadcastPoint(@NotNull @NotNull UUID uuid, @NotNull @NotNull String name, @NotNull @NotNull VoiceLocation location, double radius, boolean allSpeakers, @Nullable @Nullable String filterId, boolean enabled) -
BroadcastPoint
-
BroadcastPoint
public BroadcastPoint(@NotNull @NotNull String name, @NotNull @NotNull VoiceLocation location, @Nullable @Nullable UUID targetEntityUuid)
-
-
Method Details
-
isInRange
-
isInRange
-
toggle
public boolean toggle() -
linkSpeaker
-
unlinkSpeaker
-
targetsSpeaker
-
getTargetSpeakers
-