CGPlayer_C::OnWorldClick
function · objectlayer · primitive
- Address
0x5e0320· 193 bytes, up to0x5e03e0- Meaning
- Walks the active mover to a clicked terrain point, acts on a clicked object, or clears the target
- Confidence
- verified, proof one
- Finding
- objectlayer/interaction#world-clicks
Finding: World clicks in objectlayer: interaction
0x5e0320(record) handles a click in the world: on terrain (kind 4) the active mover walks to the
point, moved into the transport's frame; on an object it calls 0x495300; otherwise it clears
the target when a target is shown.
The derivation is in the doc.
Callers 1
Callees 6
- ClntObjMgrObjectPtr objectlayer
- CGGameUI::SelectTarget ui
- GetCursorItemInfo ui
- ConfirmDestroyCursorItem ui
- CGUnit_C::WalkToPoint objectlayer
- CMovement::WorldToTransport collision
Calls and jumps by a bare address, from tables/calls.tsv.