RSS

Воскресенье, 22.12.2024, 12:16
Главная » WoW API » API Виджеты » Внутриигровая подсказка »

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

[ править ]
Fills the tooltip with information about an item in the player's bags.
[клоны]
Fills the tooltip with information about an item in the player's bags.


Signature:
Code
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)

Также смотрите: Внутриигровая подсказка
Ссылки: http://wowprogramming.com/docs/widgets/GameTooltip/SetBagItem