CheckBattlefieldListLeash
function · ui · primitive
- Address
0x4aa090· 212 bytes, up to0x4aa163- Meaning
- Closes the battlemaster list and signals BATTLEFIELDS_CLOSED when the player walked away
- Confidence
- verified, proof one
- Finding
- ui/battlefield#the-list-message
- Test
ui::dist2_4aa090
Finding: The list message in ui: battlegrounds
Opcode 0x23d, 0x4aa6c0: u64 battlemaster, u32 mapId, u8 bracket, u32 count, count times u32 instanceId. The
bracket gives the levels: min = bracket * Map[+0x9c] + Map[+0x34] and max = min(Map[+0x9c] + min - 1, 60), both 0
when the span is not positive. The handler stores the ids, signals BATTLEFIELDS_SHOW and only then stores the player's
position (three floats) as the anchor of the walk-away check, zeros without a player.
The derivation is in the doc.
Callers 1
Callees 3
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.