CGUnit_C::BuildCharacterComponent
function · objectlayer · primitive
- Address
0x5fb200· 990 bytes, up to0x5fb5dd- Meaning
- Builds the character component from the extra row or player bytes, then dresses its equipment and hands
- 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
- CGUnit_C::OnModelUpdate objectlayer
Callees 12
- NewCharacterComponent charactermodel
- DeleteCharacterComponent charactermodel
- InitCharacterComponent charactermodel
- EquipBodySlotById charactermodel
- RefreshPortrait ui
- CGPlayer_C::ApplyEquipmentDisplay objectlayer
- CGPlayer_C::GetVisibleItem objectlayer
- CGUnit_C::AttachHandItem objectlayer
- CGUnit_C::HasDisplayExtra objectlayer
- CGUnit_C::GetBakedTextureName objectlayer
- SStrPrintf storm
- CM2Model::AddRef models
Calls and jumps by a bare address, from tables/calls.tsv.