(One intermediate revision by one other user not shown)
Line 1:
Line 1:
{{Infobox Component
{{Infobox Component
|Image=VoiceModeSyncComponent.png
|Image=VoiceModeSyncComponent.png
|Name=Voice Mode Sync
|Name=VoiceModeSync
}}
}}
{{stub}}
== Usage ==
The '''VoiceModeSync''' component only works in [[userspace]]. It allows for getting the status of the user's chosen voice mode options and if they can use certain modes.
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|FocusedWorldVoiceMode|VoiceMode|
|FocusedWorldVoiceMode|VoiceMode| The voice mode set for the current world.
|GlobalMute|Bool|
|GlobalMute|Bool| Whether the user is muted for everyone.
|FocusedWorldMaxAllowedVoiceMode|{{RootFieldType|RawOutput`1|[[Type:VoiceMode|VoiceMode]]}}|TypeAdv2=true| The maximum voice mode their allowed by the role the user has in the current focused world.
|BroadcastAllowed|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| Whether broadcast is allowed for the user voice modes for the user in the currently focused world.
|ShoutAllowed|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| Whether shout is allowed for the user voice modes for the user in the currently focused world.
|NormalAllowed|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv5=true| Whether normal is allowed for the user voice modes for the user in the currently focused world.
|WhisperAllowed|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv6=true| Whether whisper is allowed for the user voice modes for the user in the currently focused world.
}}
}}
== Behavior ==
== Usage ==
Attach to a slot that would exist in [[userspace]], such as a [[facet]]. From there, the fields will update depending on the currently focused world.
The VoiceModeSync component only works in userspace. It allows for getting the status of the user's chosen voice mode options and if they can use certain modes.