CGUnit_C::OnDisplayChanged
function · objectlayer · primitive
- Address
0x60abe0· 558 bytes, up to0x60ae0d- Meaning
- Rebuilds the body model, textures, name, auras and mount when the display records change
- 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 3
- CGUnit_C::PostUpdate objectlayer
- CGUnit_C::OnHealthFieldChanged objectlayer
- CGUnit_C::OnDisplayFieldChanged objectlayer
Callees 28
- DeleteCharacterComponent charactermodel
- ApplyCreatureDisplay charactermodel
- GetActiveCamera ui
- SetCameraTargetByGuid ui
- CGUnit_C::CacheModelData objectlayer
- CGUnit_C::GetCurrentAnimation objectlayer
- CGUnit_C::PlayAnimation objectlayer
- CGUnit_C::ShowAllAuraSlots objectlayer
- CGUnit_C::CreateNameDesc objectlayer
- CGUnit_C::ReleaseNameDesc objectlayer
- CGUnit_C::RefreshQuestGiverStatus objectlayer
- CGUnit_C::Mount objectlayer
- CGUnit_C::Dismount objectlayer
- CGUnit_C::DisplayNeedsRebuild objectlayer
- CGUnit_C::ResolveDisplayRecords objectlayer
- CGUnit_C::SendStandState objectlayer
- CGUnit_C::RestoreAlpha objectlayer
- PlayUnitSpellVisualKit objectlayer
- CGUnit_C::StartChannelVisual objectlayer
- CGObject_C::SetModel objectlayer
- CEffect::Stop objectlayer
- CGUnit_C::StopLoopSound objectlayer
- CGUnit_C::UpdateLoopSound objectlayer
- GetSpellVisualRecord spell
- CreateModelFromPath models
- HandleClose2 models
- CM2Model::SetDoneCallback models
- CM2Model::SetEventCallback models
Calls and jumps by a bare address, from tables/calls.tsv.