CGCharacterModelBase::AttachDisplayModel
function · ui · orchestration
- Address
0x505a70· 189 bytes, up to0x505b2c- Signature
void __thiscall (CGCharacterModelBase *this, void *display)- Meaning
- Creates the model of a creature display record in the pane's scene and arms Stand
- Confidence
- verified, proof one
- Finding
- ui/playermodel#the-pane-model
Finding: The pane model in ui: PlayerModel, DressUpModel and TabardModel
A pane shows a duplicate of the unit's model, never the unit's own. Showing the pane builds the duplicate from the unit named by the GUID, or from the display record; hiding it destroys the model. A copy is built by creating the unit's model in the pane's scene, resetting its partial attach state, handing it to the frame (slot 36), registering the pane's completion callback, arming Stand with a random variation, and re-applying the two hand grips.
The derivation is in the doc.
Callers 2
Callees 6
- ApplyCreatureDisplay charactermodel
- CreateModelFromPath models
- HandleClose2 models
- CM2Model::SetDoneCallback models
- CM2Model::PlayAnimation models
- SimpleModelGetScene ui
Calls and jumps by a bare address, from tables/calls.tsv.