WoW:API GameTooltip GetSpell: Difference between revisions

no edit summary
(Created page with '{{widgetmethod}} <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> spellName, spellRank, spellID = ''GameTooltip'':...')
 
No edit summary
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->


<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
  spellName, spellID = ''GameTooltip'':GetSpell();
 
  spellName, spellRank, spellID = ''GameTooltip'':GetSpell();


Returns the name and link of the item displayed on a GameTooltip.
Returns the name and link of the item displayed on a GameTooltip.
Line 14: Line 12:
;''Returns''
;''Returns''


:spellName, spellRank, spellID
:spellName, spellID
:;spellName: Plain text spell name (e.g. "Explosive Shot").
:;spellName
:;spellRank: Plain text spell rank (e.g. "Rank 4").
:: Plain text spell name (e.g. "Explosive Shot").
:;spellID: Integer spell ID (e.g. "60053").
:;spellID
:: Integer spell ID (e.g. "60053").
Anonymous user