CGUnit_C::Reactivate
function · objectlayer · primitive
- Address
0x5fbd60· 152 bytes, up to0x5fbdf7- Meaning
- Rebuilds a returning unit's name and facings and rechecks low health and loot (slot 2)
- Confidence
- verified, proof one
- Finding
- objectlayer/units#lifecycle
- Test
objectlayer::diff_low_health_ratio
Finding: Lifecycle in objectlayer: units
0x5fb880(time, a, spawned) runs after creation: it resolves the display, gives the body its
callbacks, textures and sounds, sizes the mover, finds the race's sound race, sets up mount, death
time and loot sparkle, picks the first animation, and refreshes markers, tokens, name, breath,
auras and channel. Slot 1 tears a unit's client state down when it leaves; slot 2 rebuilds its
name and facings when it returns; slot 3 refreshes what an update may have changed.
The derivation is in the doc.
Callers 1
- CGPlayer_C::Reactivate objectlayer
Callees 9
- CGUnit_C::SetLowHealth objectlayer
- CGUnit_C::AddLootSparkle objectlayer
- CGUnit_C::ResetDisplayFacing objectlayer
- IsDeadOrGhost objectlayer
- CGUnit_C::CreateNameDesc objectlayer
- CGObject_C::FreeCastMissiles objectlayer
- CGObject_C::FreeStuckMissiles objectlayer
- CGObject_C::ReleaseEffects objectlayer
- CGObject_C::Reactivate objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.