RSS

Четверг, 09.05.2024, 03:09
Главная » WoW API » API Виджеты » Внутриигровая подсказка »

name, unit = GameTooltip:GetUnit()

[ править ]
Returns information about the unit displayed in the tooltip.
[клоны]
Returns information about the unit displayed in the tooltip.


Signature:
Code
name, unit = GameTooltip:GetUnit()

Returns:
  • name - Name of the unit displayed in the tooltip, or nil (string)
  • unit - Unit identifier of the unit, or nil if the unit cannot be referenced by a unitID (string, unitID)

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