RSS

Среда, 24.04.2024, 13:11
Главная » WoW API » API Виджеты » Внутриигровая подсказка »

success = GameTooltip:SetHyperlinkCompareItem("hyperlink" [, index])

[ править ]
Fills the tooltip with information about the item currently equipped in the slot used the supplied item.
[клоны]
Fills the tooltip with information about the item currently equipped in the slot used the supplied item.


Signature:
Code
success = GameTooltip:SetHyperlinkCompareItem("hyperlink" [, index])

Arguments:
  • hyperlink - A full hyperlink, or the linktype:linkdata portion thereof, for an item to compare against the player's equipped similar item (string, hyperlink)
  • index - Index of the slot to compare against (1, 2, or 3), if more than one item of the equipment type can be equipped at once (e.g. rings and trinkets) (number)

Returns:
  • success - 1 if an item's information was loaded into the tooltip; otherwise nil (number, 1nil)

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