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

Method StopParticles

ogsr_engine/xrGame/ParticlesPlayer.cpp:32–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 return pi;
31}
32void CParticlesPlayer::SBoneInfo::StopParticles(const shared_str& ps_name, bool bDestroy)
33{
34 SParticlesInfo* pi = FindParticles(ps_name);
35 if (pi)
36 {
37 if (!bDestroy)
38 pi->ps->Stop();
39 else
40 CParticlesObject::Destroy(pi->ps);
41 }
42}
43
44void CParticlesPlayer::SBoneInfo::StopParticles(u16 sender_id, bool bDestroy)
45{

Callers

nothing calls this directly

Calls 4

DestroyFunction · 0.85
StopMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected