Fills the tooltip with information about an item in the player's bags

Signature:

hasCooldown, repairCost = GameTooltip:SetBagItem(container, slot)

Arguments:

  • container - Index of one of the player's bags or other containers (number, containerID)
  • slot - Index of an item slot within the container (number, containerSlotID)

Returns:

  • hasCooldown - 1 if the item is currently on cooldown, otherwise nil (number, 1nil)
  • repairCost - Cost of repairing the item (in copper, ignoring faction discounts) (number)