Wikia

WoWWiki

Watchlist Recent changes

API GetBattleFieldInstanceRunTime

Main Menue



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

battlefieldRunTime = GetBattleFieldInstanceRunTime();

Parameters Edit

Returns Edit

battlefieldRunTime
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

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki