MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ActionCallback

Function ActionCallback

ogsr_engine/xrGame/script_entity.cpp:188–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void __stdcall ActionCallback(IKinematics* tpKinematics)
189{
190 // sounds
191 CScriptEntity* l_tpScriptMonster = smart_cast<CScriptEntity*>((CGameObject*)(tpKinematics->GetUpdateCallbackParam()));
192 VERIFY(l_tpScriptMonster);
193 if (!l_tpScriptMonster->GetCurrentAction())
194 return;
195 l_tpScriptMonster->vfUpdateSounds();
196 l_tpScriptMonster->vfUpdateParticles();
197}
198
199void CScriptEntity::vfUpdateParticles()
200{

Callers

nothing calls this directly

Calls 4

GetCurrentActionMethod · 0.80
vfUpdateSoundsMethod · 0.80
vfUpdateParticlesMethod · 0.80

Tested by

no test coverage detected