CM2Model::SetDoneCallback
function · models · orchestration
- Address
0x711bb0· 25 bytes, up to0x711bc8- Meaning
- Stores an instance's animation-done callback and its two arguments
- Confidence
- verified, proof one
- Finding
- animation/hosts#doodad-model
Finding: Doodad model in animation: model hosts
CreateDoodadModel(def, wait) (0x695100) makes a placed doodad's model and arms it. It creates the instance through the scene, sets
its transform from the def, installs the done callback DoodadModelDone (0x6951b0), the event callback 0x6951e0 and the lighting
callback 0x672a20, and calls PlayAnimation(-1, 0, -1, 0, 1.0, 1, 1): Stand with a drawn variation and a blend. When the done
callback fires with reason 0, it plays the finished animation again on the same key bone with variation −1, speed 1.0 and no blend,
so a doodad redraws its variation every time a window ends.
The derivation is in the doc.
Callers 26
- BuildCreateCharacter glue
- BuildCharSelectModel glue
- CGCharacterModelBase::AttachUnitModel ui
- CGCharacterModelBase::AttachDisplayModel ui
- CCamera::LoadShot uicamera
- CGDynamicObject_C::OnCreate objectlayer
- CGGameObject_C::OnCreate objectlayer
- KitEffectHoldCallback objectlayer
- KitEffectDecayCallback objectlayer
- CGUnit_C::SetModelCallbacks objectlayer
- CGUnit_C::Mount objectlayer
- CGUnit_C::OnDisplayChanged objectlayer
- CGObject_C::~CGObject_C objectlayer
- CGUnit_C::StopSpellKits objectlayer
- AddLootArtEffect objectlayer
- AddHardcodedEffect objectlayer
- PlantHardcodedEffect objectlayer
- PlantEffect objectlayer
- CEffect::AddEffect objectlayer
- CEffect::Stop objectlayer
- CWorld::SetEntityCallback terrain
- CreateDoodadModel terrain
- SetPlacementGroupDoneCallback terrain
- CMapDoodadDef::Release terrain
- BlizzardObject::Update spell
- SimpleModelSetModel ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.