m
Move page script moved page API GameTooltip SetBagItem to WoW:API GameTooltip SetBagItem without leaving a redirect
No edit summary |
m (Move page script moved page API GameTooltip SetBagItem to WoW:API GameTooltip SetBagItem without leaving a redirect) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} | ||
hasCooldown, repairCost = GameTooltip:SetBagItem(bag, slot); | hasCooldown, repairCost = GameTooltip:SetBagItem(bag, slot); | ||
Sets the GameTooltip to contain text information about the specified item, as well as returning whether the item is "cooling down" and the cost to repair the item (which may be 0 (or nil?) if non-applicable). | Sets the GameTooltip to contain text information about the specified item, as well as returning whether the item is "cooling down" and the cost to repair the item (which may be 0 (or nil?) if non-applicable). | ||
| Line 13: | Line 7: | ||
---- | ---- | ||
;''Arguments'' | ;''Arguments'' | ||
:(bag, slot) | :(bag, slot) | ||
| Line 22: | Line 14: | ||
---- | ---- | ||
;''Returns'' | ;''Returns'' | ||
:hasCooldown, repairCost | :hasCooldown, repairCost | ||
| Line 31: | Line 21: | ||
---- | ---- | ||
;''Details'' | ;''Details'' | ||
: This simply sets the text of the game tooltip to contain various information about the item under the given slot. | : This simply sets the text of the game tooltip to contain various information about the item under the given slot. | ||