AddHardcodedEffect
function · objectlayer · primitive
- Address
0x61fae0· 281 bytes, up to0x61fbf8- Meaning
- Hangs a hard-coded effect on a unit at its attachment
- Confidence
- verified, proof one
- Finding
- objectlayer/effects#hard-coded-effects
Finding: Hard-coded effects in objectlayer: effects
At start-up 0x61f5b0 finds 14 SpellVisualEffectName rows by name: HARDCODED Footstep Water Run Spray, … Walk Spray, Breath Underwater, Breath Cold, Loot Art, Unit Level Up,
Mount Poof, Inebriated Bubbles, PetLoyalty Up Base, … Up Head, … Down Base, … Down Head, Meeting Stone Join and Reputation. 0x61fae0(kind, guid, done) hangs kind's model on
the unit at the attachment of 0x80c968, 19 when the model lacks it; the footstep kinds 0 and 1
have none and are skipped. 0x61fc00 plants one at a point; 0x61fa10 hangs the loot art at 19.
The derivation is in the doc.
Callers 6
- HandleMeetingstoneSetQueuePacket ui
- HandleSetFactionStandingPacket ui
- CGUnit_C::OnPetLoyaltyChanged objectlayer
- CGUnit_C::OnMountDisplayChanged objectlayer
- CGUnit_C::OnModelEvent objectlayer
- CGUnit_C::OnLevelChanged objectlayer
Callees 8
- ClntObjMgrObjectPtr objectlayer
- CEffect::Link objectlayer
- StopUnitEffectsAt objectlayer
- CreateModelFromPath models
- CM2Model::GetScene models
- CM2Model::SetDoneCallback models
- CM2Model::HasAttachment models
- CM2Model::SetEventCallback models
Calls and jumps by a bare address, from tables/calls.tsv.