LibBabble-Spell-3.0
From WowAce Wiki
Contents |
[edit]
API Documentation
Note: This documentation is auto-generated. Please note that direct modifications may be overwritten on next autogenerate.
[edit]
:GetShortSpellIcon("spell")
[edit]
Arguments
- "spell"
- string - name of the spell in either English or the current locale.
[edit]
Returns
string or nil - the name of the icon or nil if it doesn't exist
[edit]
Example
local BS = LibStub("LibBabble-Spell-3.0")
assert(BS:GetSpellIcon("Wyvern Sting") == "INV_Spear_02")
[edit]
:GetSpellIcon("spell")
[edit]
Arguments
- "spell"
- string - name of the spell in either English or the current locale.
[edit]
Returns
string or nil - the full path to the icon or nil if it doesn't exist
[edit]
Example
local BS = LibStub("LibBabble-Spell-3.0")
assert(BS:GetSpellIcon("Wyvern Sting") == "Interface\\Icons\\INV_Spear_02")

