RSS

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

GetBattlefieldInstanceRunTime

[ править ]
Returns the amount of time since the current battleground instance opened.
[клоны]
Returns the amount of time since the current battleground instance opened.

Signature:
Code
time = GetBattlefieldInstanceRunTime()

Returns:
  • time - Amount of time since the current battleground instance opened (in milliseconds) (number)

Examples:
-- Print the current battleground time as a string
print(SecondsToTime(GetBattlefieldInstanceRunTime()/1000))

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