WoW API < GetBattleFieldInstanceRunTime

Returns the time in ms since the current battlefield has opened.

battlefieldRunTime = GetBattleFieldInstanceRunTime();

Parameters Edit

Returns Edit

Integer - the time in ms since the current battlefield has opened or zero if you are not in any battleground.

Internal Implementation Edit

WoW Version 3.2.0 Edit

Whenever you enter a battleground, WoW retrieves the start-time from the server and saves a DWORD-value at 0x1129334 containing the time between system startup of the user and battleground start. This function simply gets the time between system startup and now and substracts that saved value from it. The windows client calls GetTickCount() to get those times, see: MSDN WinAPI reference

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.