Script::GetBattlefieldInstanceExpiration
function · ui · primitive
- Address
0x4ab6d0· 94 bytes, up to0x4ab72d- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes the milliseconds left until the running instance expires
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/battlefield#queue-status
Finding: Queue status in ui: battlegrounds
GetBattlefieldStatus(index), index 1 to 3, returns five values on every path: the status word (none, queued,
confirm, active for 0 to 3, error above), the map name (Name_lang of the Map row at +0x10 + 4*locale, or nil),
the instance id and the two bracket levels. An index outside 1 to 3 returns nil, nil, 0, 0, 0. Five time functions return one
number each, in milliseconds: the port deadline and the instance expiration give deadline minus now, 0 when unset or past;
the instance run time and the time waited give now minus the stamp, 0 when unset; the estimated wait gives the stored value.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- OsGetAsyncTimeMs core
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.