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
function C_Spell.GetVisibilityInfo( spellID: number, visibilityType: SpellAuraVisibilityType): (boolean?, boolean?, boolean?)Parameters
| name | type | description |
|---|---|---|
spellID | number | |
visibilityType | SpellAuraVisibilityType | The context the aura is shown in. |
Returns
| # | name | type |
|---|---|---|
| 1 | hasCustom | boolean? |
| 2 | alwaysShowMine | boolean? |
| 3 | showForMySpec | boolean? |
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.