World of Warcraft Forever API · C_GossipInfo.md, for your AI
C_GossipInfo
20 functions, 7 events, 10 tables, 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_GossipInfo.CloseGossip()
forceGossip = C_GossipInfo.ForceGossip()
Returns
info = C_GossipInfo.GetActiveQuests()
Returns
info = C_GossipInfo.GetAvailableQuests()
Returns
description = C_GossipInfo.GetCompletedOptionDescriptionString()
Returns
description | string may be nil | |
|---|
description = C_GossipInfo.GetCustomGossipDescriptionString()
Returns
description | string may be nil | |
|---|
reputationInfo = C_GossipInfo.GetFriendshipReputation(friendshipFactionID)
May return nothing.
Arguments
friendshipFactionID | number | |
|---|
Returns
rankInfo = C_GossipInfo.GetFriendshipReputationRanks(friendshipFactionID)
Arguments
friendshipFactionID | number | |
|---|
Returns
numQuests = C_GossipInfo.GetNumActiveQuests()
Returns
numQuests = C_GossipInfo.GetNumAvailableQuests()
Returns
info = C_GossipInfo.GetOptions()
Returns
gossipPoiID = C_GossipInfo.GetPoiForUiMapID(uiMapID)
Arguments
Returns
gossipPoiID | number may be nil | |
|---|
gossipPoiInfo = C_GossipInfo.GetPoiInfo(uiMapID, gossipPoiID)
Arguments
uiMapID | number | |
|---|
gossipPoiID | number | |
|---|
Returns
gossipText = C_GossipInfo.GetText()
Returns
C_GossipInfo.RefreshOptions()
C_GossipInfo.SelectActiveQuest(optionID)
Arguments
C_GossipInfo.SelectAvailableQuest(optionID)
Arguments
C_GossipInfo.SelectOption(optionID, [text], [confirmed])
Arguments
optionID | number | |
|---|
text | cstring may be nil | |
|---|
confirmed | bool may be nil | |
|---|
C_GossipInfo.SelectOptionByIndex(optionID, [text], [confirmed])
Arguments
optionID | number | |
|---|
text | cstring may be nil | |
|---|
confirmed | bool may be nil | |
|---|
Events
interactionIsContinuing | bool | |
|---|
gossipID | number | |
|---|
text | string | |
|---|
cost | WOWMONEY | |
|---|
uiTextureKit | textureKit may be nil | |
|---|
Tables
Available | 0 |
|---|
Unavailable | 1 |
|---|
Locked | 2 |
|---|
AlreadyComplete | 3 |
|---|
friendshipFactionID | number | |
|---|
standing | number | |
|---|
maxRep | number | |
|---|
name | string may be nil | |
|---|
text | string | |
|---|
texture | number | |
|---|
reaction | string | |
|---|
reactionThreshold | number | |
|---|
nextThreshold | number may be nil | |
|---|
reversedColor | bool | |
|---|
overrideColor | number may be nil | |
|---|
currentLevel | number | |
|---|
maxLevel | number | |
|---|
gossipOptionID | number may be nil | |
|---|
name | string | |
|---|
icon | fileID | |
|---|
rewards | GossipOptionRewardInfo[] | |
|---|
status | GossipOptionStatus | |
|---|
spellID | number may be nil | |
|---|
flags | number | |
|---|
overrideIconID | fileID may be nil | |
|---|
selectOptionWhenOnlyOption | bool | |
|---|
orderIndex | number | |
|---|
failureDescription | string may be nil | |
|---|
name | string | |
|---|
textureIndex | number | |
|---|
position | vector2 | |
|---|
inBattleMap | bool | |
|---|
title | string | |
|---|
questLevel | number | |
|---|
isTrivial | bool | |
|---|
frequency | number may be nil | |
|---|
repeatable | bool may be nil | |
|---|
isComplete | bool may be nil | |
|---|
isLegendary | bool | |
|---|
isIgnored | bool | |
|---|
questID | number | |
|---|
isImportant | bool | |
|---|
isMeta | bool | |
|---|
questInfoID | number | |
|---|