Class RadioChannel
java.lang.Object
fr.dreamin.dreamvoice.api.radio.model.RadioChannel
Model representing a radio frequency channel.
Manages connected member UUIDs, Roger Beep audio signals, and audio filter routing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a member player to this radio channel.Returns an unmodifiable view of all member UUIDs.booleanChecks whether a player is connected to this radio channel.voidremoveMember(@NotNull UUID playerUuid) Removes a member player from this radio channel.
-
Constructor Details
-
RadioChannel
-
-
Method Details
-
addMember
Adds a member player to this radio channel.- Parameters:
playerUuid- the UUID of the player
-
removeMember
Removes a member player from this radio channel.- Parameters:
playerUuid- the UUID of the player
-
hasMember
Checks whether a player is connected to this radio channel.- Parameters:
playerUuid- the UUID of the player- Returns:
trueif the player is a member
-
getMembers
-