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

Method SetAutoRemove

ogsr_engine/xrGame/PHSkeleton.cpp:427–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void CPHSkeleton::SetAutoRemove(u32 time /*=CSE_PHSkeleton::existence_time*/)
428{
429 b_removing = true;
430 m_remove_time = Device.dwTimeGlobal + iFloor(time / phTimefactor);
431 SetNotNeedSave();
432 PPhysicsShellHolder()->SheduleRegister();
433}
434
435static bool removable; // for RecursiveBonesCheck
436void CPHSkeleton::RecursiveBonesCheck(u16 id)

Callers 5

StopEngineParticlesMethod · 0.45
StopFlyParticlesMethod · 0.45
StopFlameParticlesMethod · 0.45
NotificatePartMethod · 0.45
~CScriptParticlesMethod · 0.45

Calls 2

SheduleRegisterMethod · 0.80
PPhysicsShellHolderFunction · 0.70

Tested by

no test coverage detected