RSS

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

GameTooltip:SetMerchantCostItem(index, currency)

[ править ]
Fills the tooltip with information about an alternate currency required to purchase an item from a vendor.
[клоны]
Fills the tooltip with information about an alternate currency required to purchase an item from a vendor. Only applies to item-based currencies, not honor or arena points.


Signature:
Code
GameTooltip:SetMerchantCostItem(index, currency)

Arguments:
  • index - Index of an item in the vendor's listing (between 1 and GetMerchantNumItems()) (number)
  • currency - Index of one of the item currencies required to purchase the item (between 1 and select(3,GetMerchantItemCostInfo(index))) (number)

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