benilla-re systems structs docs

s_bgInstanceDeadline

global · ui

Address
0xb6ebb8 · 4 bytes, up to 0xb6ebbb
Type
uint32_t
Meaning
Holds the clock value at which the running instance expires, 0 when unset
Confidence
verified, proof one
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.