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
channelInfo | ChatChannelInfo |
|---|
Returns
enabled | bool |
|---|
C_TTSSettings.GetCharacterSettingsSaved
settingsBeenSaved = C_TTSSettings.GetCharacterSettingsSaved()
Returns
settingsBeenSaved | bool |
|---|
C_TTSSettings.GetChatTypeEnabled
enabled = C_TTSSettings.GetChatTypeEnabled(chatName)
Arguments
chatName | cstring |
|---|
Returns
enabled | bool |
|---|
C_TTSSettings.GetSetting
enabled = C_TTSSettings.GetSetting(setting)
Arguments
setting | TtsBoolSetting |
|---|
Returns
enabled | bool |
|---|
C_TTSSettings.GetSpeechRate
rate = C_TTSSettings.GetSpeechRate()
Returns
rate | number |
|---|
C_TTSSettings.GetSpeechVolume
volume = C_TTSSettings.GetSpeechVolume()
Returns
volume | number |
|---|
C_TTSSettings.GetVoiceOptionID
voiceID = C_TTSSettings.GetVoiceOptionID(voiceType)
Arguments
voiceType | TtsVoiceType |
|---|
Returns
voiceID | number |
|---|
C_TTSSettings.GetVoiceOptionName
voiceName = C_TTSSettings.GetVoiceOptionName(voiceType)
Arguments
voiceType | TtsVoiceType |
|---|
Returns
voiceName | cstring |
|---|
C_TTSSettings.MarkCharacterSettingsSaved
C_TTSSettings.MarkCharacterSettingsSaved()
C_TTSSettings.SetChannelEnabled
C_TTSSettings.SetChannelEnabled(channelInfo, [newVal])
Arguments
channelInfo | ChatChannelInfo | |
|---|---|---|
newVal | bool default false |
C_TTSSettings.SetChannelKeyEnabled
C_TTSSettings.SetChannelKeyEnabled(channelKey, [newVal])
Arguments
channelKey | string | |
|---|---|---|
newVal | bool default false |
C_TTSSettings.SetChatTypeEnabled
C_TTSSettings.SetChatTypeEnabled(chatName, [newVal])
Arguments
chatName | cstring | |
|---|---|---|
newVal | bool default false |
C_TTSSettings.SetDefaultSettings
C_TTSSettings.SetDefaultSettings()
C_TTSSettings.SetSetting
C_TTSSettings.SetSetting(setting, [newVal])
Arguments
setting | TtsBoolSetting | |
|---|---|---|
newVal | bool default false |
C_TTSSettings.SetSpeechRate
C_TTSSettings.SetSpeechRate(newVal)
Arguments
newVal | number |
|---|
C_TTSSettings.SetSpeechVolume
C_TTSSettings.SetSpeechVolume(newVal)
Arguments
newVal | number |
|---|
C_TTSSettings.SetVoiceOption
C_TTSSettings.SetVoiceOption(voiceType, voiceID)
Arguments
voiceType | TtsVoiceType | |
|---|---|---|
voiceID | number |
C_TTSSettings.SetVoiceOptionName
C_TTSSettings.SetVoiceOptionName(voiceType, voiceName)
Arguments
voiceType | TtsVoiceType | |
|---|---|---|
voiceName | string |
C_TTSSettings.ShouldOverrideMessage
overrideMessage = C_TTSSettings.ShouldOverrideMessage(language, messageText)
Arguments
language | number | |
|---|---|---|
messageText | string |
Returns
overrideMessage | bool |
|---|