>wowhelm_
~/forever/addon-api/function/C_SpellBook.GetSpellBookItemTradeSkillLink

C_SpellBook.GetSpellBookItemTradeSkillLink

documented function · SpellBook
C_SpellBook.GetSpellBookItemTradeSkillLink(spellBookItemSlotIndex, spellBookItemSpellBank) : spellLink

Returns nil if SpellBookItem is not associated with a trade skill

──ARGUMENTS
spellBookItemSlotIndex
luaIndex
spellBookItemSpellBank
SpellBookSpellBank
──RETURNS
spellLink
string
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

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