Wikia

WoWWiki

API GameTooltip GetItem

Talk0
101,311pages on
this wiki
Revision as of 00:03, July 15, 2008 by Charibot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Widget API


itemName, ItemLink = GameTooltip:GetItem();

Returns the name and link of the item displayed on a GameTooltip.


Arguments
none

Returns
itemName, ItemLink
itemName
Plain text item name (e.g. "Broken Fang").
ItemLink
Formatted item link (e.g. "|cff9d9d9d|Hitem:7073:0:0:0:0:0:0:0|h[Broken Fang]|h|r").

Around Wikia's network

Random Wiki