LibBabble-Spell-3.0

From WowAce Wiki
Jump to: navigation, search

API Documentation

Note: This documentation is auto-generated. Please note that direct modifications may be overwritten on next autogenerate.

:GetShortSpellIcon("spell")

Arguments

"spell"
string - name of the spell in either English or the current locale.

Returns

string or nil - the name of the icon or nil if it doesn't exist

Example

local BS = LibStub("LibBabble-Spell-3.0")
assert(BS:GetSpellIcon("Wyvern Sting") == "INV_Spear_02")

:GetSpellIcon("spell")

Arguments

"spell"
string - name of the spell in either English or the current locale.

Returns

string or nil - the full path to the icon or nil if it doesn't exist

Example

local BS = LibStub("LibBabble-Spell-3.0")
assert(BS:GetSpellIcon("Wyvern Sting") == "Interface\\Icons\\INV_Spear_02")