WoW:API GameTooltip GetSpell: Difference between revisions
Jump to navigation
Jump to search
(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 --> | ||
spellName, spellID = ''GameTooltip'':GetSpell(); | |||
spellName | |||
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 | :spellName, spellID | ||
:;spellName: Plain text spell name (e.g. "Explosive Shot"). | :;spellName | ||
:; | :: Plain text spell name (e.g. "Explosive Shot"). | ||
: | :;spellID | ||
:: Integer spell ID (e.g. "60053"). | |||
Revision as of 04:16, 18 July 2018
← Widget API ← GameTooltip < GetSpell
spellName, spellID = GameTooltip:GetSpell();
Returns the name and link of the item displayed on a GameTooltip.
- Arguments
- none
- Returns
- spellName, spellID
- spellName
- Plain text spell name (e.g. "Explosive Shot").
- spellID
- Integer spell ID (e.g. "60053").