CGPlayer_C::UpdateFarSight
function · objectlayer · primitive
- Address
0x5ee290· 755 bytes, up to0x5ee582- Signature
uint8_t __thiscall (CGPlayer_C *this)- Meaning
- Starts or ends far sight on PLAYER_FARSIGHT's object, moving control and telling the server
- Confidence
- verified, proof one
- Finding
- objectlayer/interaction#far-sight
Finding: Far sight in objectlayer: interaction
0x5ee290 follows PLAYER_FARSIGHT. With no far-sight object, or with the camera already on it,
it ends far sight: sends 0x27a with 0 if it is on, stops spell targeting and makes the player the
active mover (none when not client-controlled). Otherwise it sends 0x27a with 1 once, stops the
melee attack, and makes the object the active mover when it is a unit the client controls, else
calls 0x514640 on the input control. A set GUID with no object
returns 0 after restoring control.
The derivation is in the doc.
Callers 4
- CGWorldFrame::OnRender ui
- CGPlayer_C::StartFarSight objectlayer
- CGPlayer_C::EndFarSight objectlayer
- Spell_C::CancelAura spell
Callees 17
- CDataStore::PutInt8 base
- CDataStore::PutUInt32 base
- OsGetAsyncTimeMs core
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- GetActiveCamera ui
- SetCameraTarget ui
- SetCameraTargetByGuid ui
- 0x48efa0 ui
- 0x4c9a80 ui
- GetInputControl input
- CInputControl::Tick input
- ClientServices::Send net
- CGPlayer_C::StopMeleeAttack objectlayer
- CGUnit_C::IsClientControlled objectlayer
- SetActiveMover objectlayer
- StopSpellTargetingForOtherCaster spell
Calls and jumps by a bare address, from tables/calls.tsv.