v0.13.8

C_VoiceChat

namespaceavailable in: camelot

Status in wowlua

82 functions: 1 implemented, 9 recorded, 72 guessed. 51 events, 6 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
ActivateChannelMakes a voice chat channel the active one. · by wowlua
(channelID: VoiceChatID)
guessed
ActivateChannelTranscriptionTurns on speech-to-text transcription for a voice chat channel. · by wowlua
(channelID: VoiceChatID)
guessed
BeginLocalCaptureStarts capturing the microphone, for example to test it. · by wowlua
(listenToLocalUser: boolean)
guessed
CanAccessSettingsWhether the player can access the voice chat settings. · by wowlua
(): boolean
guessed
CanPlayerUseVoiceChatWhether the player can use voice chat. · by wowlua
(): boolean
guessed
CreateChannelCreates a voice chat channel and returns the status of the request. · by wowlua
(channelDisplayName: string): VoiceChatStatusCode
guessed
DeactivateChannelStops a voice chat channel from being the active one. · by wowlua
(channelID: VoiceChatID)
guessed
DeactivateChannelTranscriptionTurns off speech-to-text transcription for a voice chat channel. · by wowlua
(channelID: VoiceChatID)
guessed
EndLocalCaptureStops capturing the microphone started with C_VoiceChat.BeginLocalCapture. · by wowlua
()
guessed
GetActiveChannelIDReturns the ID of the active voice chat channel. · by wowlua
(): VoiceChatID?
guessed
GetActiveChannelTypeReturns the type of the active voice chat channel. · by wowlua
(): ChatChannelType?
recorded
GetActiveVoiceProviderIDReturns the ID of the active voice chat provider. · by wowlua
(): VoiceProviderID
recorded
GetAvailableInputDevicesReturns the audio input devices voice chat can use. · by wowlua
(): VoiceAudioDevice[]?
guessed
GetAvailableOutputDevicesReturns the audio output devices voice chat can use. · by wowlua
(): VoiceAudioDevice[]?
guessed
GetChannelReturns information about a voice chat channel. · by wowlua
(channelID: VoiceChatID): VoiceChatChannel?
guessed
GetChannelForChannelTypeReturns the voice chat channel of a channel type. · by wowlua
(channelType: ChatChannelType): VoiceChatChannel?
guessed
GetChannelForCommunityStreamReturns the voice chat channel of a community stream. · by wowlua
(clubId: ClubId, streamId: ClubStreamId): VoiceChatChannel?
guessed
GetCommunicationModeReturns how the player transmits voice: push-to-talk or open mic. · by wowlua
(): CommunicationMode?
guessed
GetCurrentVoiceChatConnectionStatusCodeReturns the status of the voice chat connection. · by wowlua
(): VoiceChatStatusCode?
guessed
GetInputVolumeReturns the microphone volume. · by wowlua
(): number?
guessed
GetJoinClubVoiceChannelErrorReturns why the player cannot join a community's voice channel, or nil if they can. · by wowlua
(clubId: ClubId): VoiceChannelErrorReason?
guessed
GetLocalPlayerActiveChannelMemberInfoReturns the player's member information in the active voice chat channel. · by wowlua
(): VoiceChatMember?
guessed
GetLocalPlayerMemberIDReturns the player's member ID in a voice chat channel. · by wowlua
(channelID: VoiceChatID): VoiceChatID?
guessed
GetMasterVolumeScaleReturns the master volume scale of voice chat. · by wowlua
(): number
guessed
GetMemberGUIDReturns the player GUID of a voice chat channel member. · by wowlua
(memberID: VoiceChatID, channelID: VoiceChatID): string
guessed
GetMemberIDReturns the member ID of a player in a voice chat channel. · by wowlua
(channelID: VoiceChatID, memberGUID: string): VoiceChatID?
guessed
GetMemberInfoReturns information about a voice chat channel member. · by wowlua
(memberID: VoiceChatID, channelID: VoiceChatID): VoiceChatMember?
guessed
GetMemberNameReturns the name of a voice chat channel member. · by wowlua
(memberID: VoiceChatID, channelID: VoiceChatID): string?
guessed
GetMemberVolumeReturns the volume at which the player hears a voice chat member. · by wowlua
(playerLocation: PlayerLocationMixin): number?
guessed
GetOutputVolumeReturns the voice chat output volume. · by wowlua
(): number?
guessed
GetPTTButtonPressedStateWhether the push-to-talk key is held down. · by wowlua
(): boolean?
guessed
GetProcessesReturns the voice chat processes. · by wowlua
(): VoiceChatProcess[]?
guessed
GetPushToTalkBindingReturns the keys bound to push-to-talk. · by wowlua
(): string[]?
recorded
GetRemoteTtsVoicesReturns the remote text-to-speech voices. · by wowlua
(): VoiceTtsVoiceType[]
guessed
GetTtsVoicesReturns the text-to-speech voices. · by wowlua
(): VoiceTtsVoiceType[]
implemented
GetVADSensitivityReturns the voice activation sensitivity. · by wowlua
(): number?
guessed
IsChannelJoinPendingWhether a request to join a voice chat channel is still pending. · by wowlua
(channelType: ChatChannelType, clubId: ClubId?, streamId: ClubStreamId?): boolean
guessed
IsDeafenedWhether the player has deafened voice chat. · by wowlua
(): boolean?
guessed
IsEnabledWhether voice chat is enabled. · by wowlua
(): boolean
recorded
IsLoggedInWhether the player is logged in to voice chat. · by wowlua
(): boolean
recorded
IsMemberLocalPlayerWhether a voice chat channel member is the player. · by wowlua
(memberID: VoiceChatID, channelID: VoiceChatID): boolean
guessed
IsMemberMutedWhether the player has muted a voice chat member. · by wowlua
(playerLocation: PlayerLocationMixin): boolean?
guessed
IsMemberMutedForAllWhether a voice chat channel member is muted for everyone. · by wowlua
(memberID: VoiceChatID, channelID: VoiceChatID): boolean?
guessed
IsMemberSilencedWhether a voice chat channel member is silenced. · by wowlua
(memberID: VoiceChatID, channelID: VoiceChatID): boolean?
guessed
IsMutedWhether the player has muted their microphone. · by wowlua
(): boolean?
recorded
IsParentalDisabledWhether parental controls disable voice chat. · by wowlua
(): boolean
guessed
IsParentalMutedWhether parental controls mute voice chat. · by wowlua
(): boolean
guessed
IsPlayerUsingVoiceWhether a player is using voice chat. · by wowlua
(playerLocation: PlayerLocationMixin): boolean
guessed
IsSilencedWhether the player is silenced in voice chat. · by wowlua
(): boolean?
guessed
IsSpeakForMeActiveWhether text-to-speech for the player's chat messages (Speak for Me) is active. · by wowlua
(): boolean
recorded
IsSpeakForMeAllowedWhether text-to-speech for the player's chat messages (Speak for Me) is allowed. · by wowlua
(): boolean
recorded
IsTranscribingWhether voice chat is being transcribed to text. · by wowlua
(): boolean
guessed
IsTranscriptionAllowedWhether voice chat transcription is allowed. · by wowlua
(): boolean
recorded
IsVoiceChatConnectedWhether voice chat is connected. · by wowlua
(): boolean
guessed
LeaveChannelLeaves a voice chat channel. · by wowlua
(channelID: VoiceChatID)
guessed
LoginLogs in to voice chat and returns the status of the request. · by wowlua
(channelType: ChatChannelType?): VoiceChatStatusCode
guessed
LogoutLogs out of voice chat and returns the status of the request. · by wowlua
(): VoiceChatStatusCode
guessed
MarkChannelsDiscoveredOnce the UI has enumerated all channels, use this to reset the channel discovery state, it will be updated again if appropriate
()
guessed
RequestJoinAndActivateCommunityStreamChannelJoins a community stream's voice channel and makes it the active one. · by wowlua
(clubId: ClubId, streamId: ClubStreamId)
guessed
RequestJoinChannelByChannelTypeRequests to join the voice chat channel of a channel type. · by wowlua
(channelType: ChatChannelType, autoActivate: boolean?)
guessed
RestoreActiveVoiceProviderChanges the active voice provider to the party voice provider, or to the preferred voice provider when the party has none.
(): boolean
guessed
SetActiveVoiceProviderChanges the active voice provider without changing the preferred voice provider.
(voiceProviderID: VoiceProviderID): boolean
guessed
SetCommunicationModeSets how the player transmits voice: push-to-talk or open mic. · by wowlua
(communicationMode: CommunicationMode)
guessed
SetDeafenedSets whether voice chat is deafened. · by wowlua
(isDeafened: boolean)
guessed
SetInputDeviceSets the audio input device for voice chat. · by wowlua
(deviceID: string)
guessed
SetInputVolumeSets the microphone volume. · by wowlua
(volume: number)
guessed
SetMasterVolumeScaleSets the master volume scale of voice chat. · by wowlua
(scale: number)
guessed
SetMemberMutedMutes or unmutes a voice chat member for the player. · by wowlua
(playerLocation: PlayerLocationMixin, muted: boolean)
guessed
SetMemberVolumeAdjusts member volume across all channels
(playerLocation: PlayerLocationMixin, volume: number)
guessed
SetMutedMutes or unmutes the player's microphone. · by wowlua
(isMuted: boolean)
guessed
SetOutputDeviceSets the audio output device for voice chat. · by wowlua
(deviceID: string)
guessed
SetOutputVolumeSets the voice chat output volume. · by wowlua
(volume: number)
guessed
SetPortraitTextureSets a texture to the portrait of a voice chat channel member. · by wowlua
(textureObject: Texture, memberID: VoiceChatID, channelID: VoiceChatID)
guessed
SetPushToTalkBindingSets the keys bound to push-to-talk. · by wowlua
(keys: string[])
guessed
SetVADSensitivitySets the voice activation sensitivity. · by wowlua
(sensitivity: number)
guessed
ShouldDiscoverChannelsUse this while loading to determine if the UI should attempt to rediscover the previously joined/active voice channels
(): boolean
guessed
SpeakRemoteTextSampleSpeaks a text sample with the remote text-to-speech voice. · by wowlua
(text: string)
guessed
SpeakTextReads text to speech.
(voiceID: number, text: string, rate: number, volume: number, overlap: boolean)
guessed
StopSpeakingTextStops text-to-speech that is speaking. · by wowlua
()
guessed
ToggleDeafenedToggles whether voice chat is deafened. · by wowlua
()
guessed
ToggleMemberMutedToggles whether the player has muted a voice chat member. · by wowlua
(playerLocation: PlayerLocationMixin)
guessed
ToggleMutedToggles whether the player's microphone is muted. · by wowlua
()
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
VOICE_CHAT_ACTIVE_INPUT_DEVICE_UPDATEDno payloadnot implemented
VOICE_CHAT_ACTIVE_OUTPUT_DEVICE_UPDATEDno payloadnot implemented
VOICE_CHAT_ACTIVE_VOICE_PROVIDER_CHANGEDvoiceProviderID: VoiceProviderIDnot implemented
VOICE_CHAT_AUDIO_CAPTURE_ENERGYisSpeaking: boolean, energy: numbernot implemented
VOICE_CHAT_AUDIO_CAPTURE_STARTEDno payloadnot implemented
VOICE_CHAT_AUDIO_CAPTURE_STOPPEDno payloadnot implemented
VOICE_CHAT_CHANNEL_ACTIVATEDchannelID: VoiceChatIDnot implemented
VOICE_CHAT_CHANNEL_DEACTIVATEDchannelID: VoiceChatIDnot implemented
VOICE_CHAT_CHANNEL_DISPLAY_NAME_CHANGEDchannelID: VoiceChatID, channelDisplayName: stringnot implemented
VOICE_CHAT_CHANNEL_JOINEDstatus: VoiceChatStatusCode, channelID: VoiceChatID, channelType: ChatChannelType, clubId: ClubId?, streamId: ClubStreamId?not implemented
VOICE_CHAT_CHANNEL_MEMBER_ACTIVE_STATE_CHANGEDmemberID: VoiceChatID, channelID: VoiceChatID, isActive: booleannot implemented
VOICE_CHAT_CHANNEL_MEMBER_ADDEDmemberID: VoiceChatID, channelID: VoiceChatIDnot implemented
VOICE_CHAT_CHANNEL_MEMBER_ENERGY_CHANGEDmemberID: VoiceChatID, channelID: VoiceChatID, speakingEnergy: numbernot implemented
VOICE_CHAT_CHANNEL_MEMBER_GUID_UPDATEDmemberID: VoiceChatID, channelID: VoiceChatIDnot implemented
VOICE_CHAT_CHANNEL_MEMBER_MUTE_FOR_ALL_CHANGEDmemberID: VoiceChatID, channelID: VoiceChatID, isMutedForAll: booleannot implemented
VOICE_CHAT_CHANNEL_MEMBER_MUTE_FOR_ME_CHANGEDmemberID: VoiceChatID, channelID: VoiceChatID, isMutedForMe: booleannot implemented
VOICE_CHAT_CHANNEL_MEMBER_REMOVEDmemberID: VoiceChatID, channelID: VoiceChatIDnot implemented
VOICE_CHAT_CHANNEL_MEMBER_SILENCED_CHANGEDmemberID: VoiceChatID, channelID: VoiceChatID, isSilenced: booleannot implemented
VOICE_CHAT_CHANNEL_MEMBER_SPEAKING_STATE_CHANGEDmemberID: VoiceChatID, channelID: VoiceChatID, isSpeaking: booleannot implemented
VOICE_CHAT_CHANNEL_MEMBER_STT_MESSAGEmemberID: VoiceChatID, channelID: VoiceChatID, message: string, language: stringnot implemented
VOICE_CHAT_CHANNEL_MEMBER_VOLUME_CHANGEDmemberID: VoiceChatID, channelID: VoiceChatID, volume: numbernot implemented
VOICE_CHAT_CHANNEL_MUTE_STATE_CHANGEDchannelID: VoiceChatID, isMuted: booleannot implemented
VOICE_CHAT_CHANNEL_PTT_CHANGEDchannelID: VoiceChatID, pushToTalkSetting: stringnot implemented
VOICE_CHAT_CHANNEL_REMOVEDchannelID: VoiceChatIDnot implemented
VOICE_CHAT_CHANNEL_TRANSCRIBING_CHANGEDchannelID: VoiceChatID, isTranscribing: booleannot implemented
VOICE_CHAT_CHANNEL_TRANSMIT_CHANGEDchannelID: VoiceChatID, isTransmitting: booleannot implemented
VOICE_CHAT_CHANNEL_VOLUME_CHANGEDchannelID: VoiceChatID, volume: numbernot implemented
VOICE_CHAT_COMMUNICATION_MODE_CHANGEDcommunicationMode: CommunicationModenot implemented
VOICE_CHAT_CONNECTION_SUCCESSno payloadimplemented
VOICE_CHAT_DEAFENED_CHANGEDisDeafened: booleanimplemented
VOICE_CHAT_DISCORD_SETTINGS_UPDATEDno payloadnot implemented
VOICE_CHAT_ERRORplatformCode: number, statusCode: VoiceChatStatusCodenot implemented
VOICE_CHAT_INPUT_DEVICES_UPDATEDno payloadimplemented
VOICE_CHAT_LOGINstatus: VoiceChatStatusCodenot implemented
VOICE_CHAT_LOGOUTstatus: VoiceChatStatusCodenot implemented
VOICE_CHAT_MUTED_CHANGEDisMuted: booleanimplemented
VOICE_CHAT_OUTPUT_DEVICES_UPDATEDno payloadimplemented
VOICE_CHAT_PENDING_CHANNEL_JOIN_STATEchannelType: ChatChannelType, clubId: ClubId?, streamId: ClubStreamId?, pendingJoin: booleannot implemented
VOICE_CHAT_PTT_BUTTON_PRESSED_STATE_CHANGEDisPressed: booleannot implemented
VOICE_CHAT_SILENCED_CHANGEDisSilenced: booleannot implemented
VOICE_CHAT_SPEAK_FOR_ME_ACTIVE_STATUS_UPDATEDno payloadnot implemented
VOICE_CHAT_SPEAK_FOR_ME_FEATURE_STATUS_UPDATEDno payloadnot implemented
VOICE_CHAT_TTS_PLAYBACK_BOOKMARKutteranceID: number, bookmarkName: stringnot implemented
VOICE_CHAT_TTS_PLAYBACK_FAILEDutteranceID: number, status: VoiceTtsStatusCodenot implemented
VOICE_CHAT_TTS_PLAYBACK_FINISHEDutteranceID: numbernot implemented
VOICE_CHAT_TTS_PLAYBACK_STARTEDutteranceID: numbernot implemented
VOICE_CHAT_TTS_SPEAK_TEXT_UPDATEstatus: VoiceTtsStatusCode, utteranceID: numbernot implemented
VOICE_CHAT_TTS_VOICES_UPDATEno payloadnot implemented
VOICE_CHAT_VAD_SETTINGS_UPDATEDno payloadimplemented
VOICE_CHAT_VOICE_PROVIDERS_AVAILABLE_CHANGEDno payloadnot implemented
VOICE_CHAT_VOICE_PROVIDER_CHANGEDvoiceProviderID: VoiceProviderIDnot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("VOICE_CHAT_ACTIVE_INPUT_DEVICE_UPDATED").

Structures

  • VoiceAudioDevice · deviceID, displayName, isActive, isSystemDefault, isCommsDefault
  • VoiceChatChannel · name, channelID, channelType, clubId, streamId, volume, isActive, isMuted, isTransmitting, isTranscribing, members
  • VoiceChatMember · energy, memberID, isActive, isSpeaking, isMutedForAll, isSilenced
  • VoiceChatProcess · name, channels
  • VoiceTtsVoiceType · voiceID, name

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (VoiceChat system, camelot 1.60.1). Descriptions: Blizzard's API documentation (Blizzard_APIDocumentationGenerated); warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.