CGUnit_C::OnModelUpdate
function · objectlayer · orchestration
- Address
0x607da0· 256 bytes, up to0x607e9f- Meaning
- Builds a pending character component once the model loads, refreshes the portrait, updates the component (slot 16)
- Confidence
- verified, proof one
- Finding
- objectlayer/unitdisplay#changing-the-display
Finding: Changing the display in objectlayer: unit display
0x60abe0 rebuilds the body when 0x60ae10 sees a new record set. It dismounts, stops the unit's
sounds and effects, resolves the records, loads the slot 10 model and hands it to the object,
reapplies textures, name and quest marker, replays the auras, the channel and the current
animation, plays the transform spell's impact kit once, and remounts. The character component
waits until the model has loaded.
The derivation is in the doc.
Callers 1
- CGPlayer_C::OnModelUpdate objectlayer
Callees 8
- UpdateCharacterComponent charactermodel
- QueueCharacterComponent charactermodel
- RefreshPortrait ui
- CGUnit_C::BuildCharacterComponent objectlayer
- CGObject_C::IsDrawable objectlayer
- CGUnit_C::IsLargeVocalCreature objectlayer
- CM2Model::IsLoaded models
- CM2Model::SetAnimated models
Calls and jumps by a bare address, from tables/calls.tsv.