>wowhelm_
~/forever/addon-api/function/C_Spell.GetSpellDescriptionForItemLocation

C_Spell.GetSpellDescriptionForItemLocation

documented function · Spell
C_Spell.GetSpellDescriptionForItemLocation(spellIdentifier, itemLocation) : description

Returns nil if spell is not found

──ARGUMENTS
spellIdentifier
SpellIdentifier
itemLocation
ItemLocation (ItemLocationMixin)
──RETURNS
description
string (May be empty if spell's data isn't loaded yet; Listen for SPELL_TEXT_UPDATE event, or use SpellMixin to load asynchronously)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.