v0.13.8

C_Spell.GetVisibilityInfo

functionguessedavailable in: camelot

Returns how the given spell's aura is shown: whether it has custom visibility, whether the player's own is always shown, and whether it is shown for the player's specialization. · description by wowlua

signaturewowlua
function C_Spell.GetVisibilityInfo(    spellID: number,    visibilityType: SpellAuraVisibilityType): (boolean?, boolean?, boolean?)

Parameters

nametypedescription
spellIDnumber
visibilityTypeSpellAuraVisibilityTypeThe context the aura is shown in.

Returns

#nametype
1hasCustomboolean?
2alwaysShowMineboolean?
3showForMySpecboolean?

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Spell system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.