World of Warcraft Forever API · C_CovenantPreview.md, for your AI
C_CovenantPreview
2 functions, 2 events, 4 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_CovenantPreview.CloseFromUI
C_CovenantPreview.CloseFromUI()
C_CovenantPreview.GetCovenantInfoForPlayerChoiceResponseID
previewInfo = C_CovenantPreview.GetCovenantInfoForPlayerChoiceResponseID(playerChoiceResponseID)
May return nothing.
Arguments
playerChoiceResponseID | number |
|---|
Returns
previewInfo | CovenantPreviewInfo |
|---|
Events
COVENANT_PREVIEW_CLOSE
No payload.
COVENANT_PREVIEW_OPEN
previewInfo | CovenantPreviewInfo |
|---|
Tables
CovenantAbilityInfo structure
spellID | number | |
|---|---|---|
type | CovenantAbilityType |
CovenantFeatureInfo structure
name | cstring | |
|---|---|---|
description | cstring | |
texture | number |
CovenantPreviewInfo structure
textureKit | textureKit | |
|---|---|---|
transmogSetID | number | |
mountID | number | |
covenantName | string | |
covenantZone | string | |
description | string | |
covenantCrest | textureAtlas | |
covenantAbilities | CovenantAbilityInfo[] | |
fromPlayerChoice | bool | |
covenantSoulbinds | CovenantSoulbindInfo[] | |
featureInfo | CovenantFeatureInfo |
CovenantSoulbindInfo structure
spellID | number | |
|---|---|---|
uiTextureKit | textureKit | |
name | cstring | |
description | cstring | |
sortOrder | number |