CGUnit_C::OnPetLoyaltyChanged
function · objectlayer · primitive
- Address
0x5ff860· 492 bytes, up to0x5ffa4b- Meaning
- Plays the loyalty rise or fall effects and logs it for the active player's pet
- Confidence
- verified, proof one
- Finding
- objectlayer/units#unit-flags-and-bytes
Finding: Unit flags and bytes in objectlayer: units
0x5ff580(old) acts on the flags that changed: the active player's control bits, looting,
disarm, reaction, PvP, the pet's attack events, two more interface refreshes and UNIT_AURA.
0x5ff800 follows byte 3 of UNIT_FIELD_BYTES_1, 0x5ff860 the pet loyalty in byte 1, and
0x60cdd0 a level change.
The derivation is in the doc.
Callers 1
- CGUnit_C::OnLoyaltyFieldChanged objectlayer
Callees 6
- ClntObjMgrGetActivePlayer objectlayer
- CEffect::CEffect objectlayer
- AddHardcodedEffect objectlayer
- CEffect::Release objectlayer
- LogPetLoyalty objectlayer
- SMemAlloc storm
Calls and jumps by a bare address, from tables/calls.tsv.