WowAddons

World of Warcraft Forever API · C_TTSSettings.md, for your AI

C_TTSSettings

19 functions, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_TTSSettings.GetChannelEnabled

enabled = C_TTSSettings.GetChannelEnabled(channelInfo)

Arguments

channelInfoChatChannelInfo

Returns

enabledbool

C_TTSSettings.GetCharacterSettingsSaved

settingsBeenSaved = C_TTSSettings.GetCharacterSettingsSaved()

Returns

settingsBeenSavedbool

C_TTSSettings.GetChatTypeEnabled

enabled = C_TTSSettings.GetChatTypeEnabled(chatName)

Arguments

chatNamecstring

Returns

enabledbool

C_TTSSettings.GetSetting

enabled = C_TTSSettings.GetSetting(setting)

Arguments

settingTtsBoolSetting

Returns

enabledbool

C_TTSSettings.GetSpeechRate

rate = C_TTSSettings.GetSpeechRate()

Returns

ratenumber

C_TTSSettings.GetSpeechVolume

volume = C_TTSSettings.GetSpeechVolume()

Returns

volumenumber

C_TTSSettings.GetVoiceOptionID

voiceID = C_TTSSettings.GetVoiceOptionID(voiceType)

Arguments

voiceTypeTtsVoiceType

Returns

voiceIDnumber

C_TTSSettings.GetVoiceOptionName

voiceName = C_TTSSettings.GetVoiceOptionName(voiceType)

Arguments

voiceTypeTtsVoiceType

Returns

voiceNamecstring

C_TTSSettings.MarkCharacterSettingsSaved

C_TTSSettings.MarkCharacterSettingsSaved()

C_TTSSettings.SetChannelEnabled

C_TTSSettings.SetChannelEnabled(channelInfo, [newVal])

Arguments

channelInfoChatChannelInfo
newValbool default false

C_TTSSettings.SetChannelKeyEnabled

C_TTSSettings.SetChannelKeyEnabled(channelKey, [newVal])

Arguments

channelKeystring
newValbool default false

C_TTSSettings.SetChatTypeEnabled

C_TTSSettings.SetChatTypeEnabled(chatName, [newVal])

Arguments

chatNamecstring
newValbool default false

C_TTSSettings.SetDefaultSettings

C_TTSSettings.SetDefaultSettings()

C_TTSSettings.SetSetting

C_TTSSettings.SetSetting(setting, [newVal])

Arguments

settingTtsBoolSetting
newValbool default false

C_TTSSettings.SetSpeechRate

C_TTSSettings.SetSpeechRate(newVal)

Arguments

newValnumber

C_TTSSettings.SetSpeechVolume

C_TTSSettings.SetSpeechVolume(newVal)

Arguments

newValnumber

C_TTSSettings.SetVoiceOption

C_TTSSettings.SetVoiceOption(voiceType, voiceID)

Arguments

voiceTypeTtsVoiceType
voiceIDnumber

C_TTSSettings.SetVoiceOptionName

C_TTSSettings.SetVoiceOptionName(voiceType, voiceName)

Arguments

voiceTypeTtsVoiceType
voiceNamestring

C_TTSSettings.ShouldOverrideMessage

overrideMessage = C_TTSSettings.ShouldOverrideMessage(language, messageText)

Arguments

languagenumber
messageTextstring

Returns

overrideMessagebool

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows