SetActiveMover
function · objectlayer · primitive
- Address
0x6006e0· 375 bytes, up to0x600856- Meaning
- Switches the active mover 0xc4da98: resets the old one, sends 0x2d1 or 0x26a, resets the new one
- Confidence
- verified, proof two
- Finding
- objectlayer/unitmovement#the-active-mover
Finding: The active mover in objectlayer: unit movement
The active mover is the GUID at 0xc4da98. 0x6006e0(guid) switches it: the old mover's
auto-move stops, bit 31 of its flags clears and, with no running spline, its queue resets; the
active player's old mover sends 0x2d1. The new GUID is stored and, when nonzero, sent with 0x26a;
the new mover resets. 0x6006b0 stops the auto-move and clears it.
The derivation is in the doc.
Callers 3
- RestorePlayerControlOnArrival ui
- CGPlayer_C::UpdateFarSight objectlayer
- CGUnit_C::SetClientControl objectlayer
Callees 12
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- OsGetAsyncTimeMs core
- ClntObjMgrObjectPtr objectlayer
- GetInputControl input
- CInputControl::Tick input
- ClientServices::Send net
- IsActivePlayerUnit objectlayer
- CGUnit_C::SendMovementPacketNow objectlayer
- CGUnit_C::StopAutoMove objectlayer
- CGUnit_C::IsAutoMoving objectlayer
- CMovement::ResetForMoverChange collision
Calls and jumps by a bare address, from tables/calls.tsv.