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).
- (bag, slot)
- Numeric - the ID of the bag
- Numeric - the ID of the slot
- hasCooldown, repairCost
- Boolean - if the item currently has a cooldown
- Integer - the cost to repair the item, may be 0 or nil if the item cannot be repaired.
- This simply sets the text of the game tooltip to contain various information about the item under the given slot.