RSS

Четверг, 14.11.2024, 06:18
Главная » WoW API » API Функции » Поля сражений »

GetBattlefieldStatInfo

[ править ]
Returns information about a battleground-specific scoreboard column.
[клоны]
Returns information about a battleground-specific scoreboard column. Battleground-specific statistics include flags captured in Warsong Gulch, towers assaulted in Alterac Valley, etc.

Signature:
Code
text, icon, tooltip = GetBattlefieldStatInfo(statIndex)

Arguments:
  • statIndex - Index of a battleground-specific statistic (between 1 and GetNumBattlefieldStats()) (number)

Returns:
  • text - Name to display for the statistic's scoreboard column header (string)
  • icon - Path to an icon texture for the statistic (string)
  • tooltip - Text to be displayed as a tooltip when mousing over the scoreboard column (string)

Также смотрите: Поля сражений , Battlefield functions
Ссылки: http://wowprogramming.com/docs/api/GetBattlefieldStatInfo