CGPlayer_C::SendStandStateChange
function · objectlayer · primitive
- Address
0x5ed430· 319 bytes, up to0x5ed56e- Signature
void __thiscall (CGPlayer_C *this, uint32_t state)- Meaning
- Sends CMSG_STANDSTATECHANGE when the active player may change to the state
- Confidence
- verified, proof one
- Finding
- objectlayer/interaction#stand-state
Finding: Stand state in objectlayer: interaction
0x5ed430(state) sends 0x101 for the active player unless it is channelling or busy, mounted,
under UNIT_FIELD_FLAGS 0x100000, dead or a cast is in progress; any state but 0 needs the mover
without flags 0x20000f, and state 3 also without 0x30. After the send the unit runs
CGUnit_C::OnStandStateChanged, which keeps the local state +0x1d68 through 0x5f0790: state 0
calls 0x514640 on the input control, another state ends looting and the melee attack.
The derivation is in the doc.
Callers 5
- CGWorldFrame::OnRender ui
- Script::SitOrStand ui
- CGPlayer_C::StartMeleeAttack objectlayer
- CGPlayer_C::SendTextEmote objectlayer
- CGUnit_C::SendStandState objectlayer
Callees 5
- CDataStore::PutUInt32 base
- CDataStore::PutUInt32_3 base
- ClntObjMgrGetActivePlayer objectlayer
- ClientServices::Send net
- CGUnit_C::OnStandStateChanged objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.