DayZ 1.28
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CleanupEffects()

void Car::CleanupEffects ( )
inlineprotected

См. определение в файле CarScript.c строка 543

544 {
545 for (int i = 0; i < m_WheelSmokeFx.Count(); i++ )
546 {
547 Effect ps = m_WheelSmokeFx.Get(i);
548 if (ps)
549 {
550 SEffectManager.DestroyEffect(ps);
551 }
552 }
553
554 m_WheelSmokeFx.Clear();
555 m_WheelSmokePtcFx.Clear();
556
557 SEffectManager.DestroyEffect(m_coolantFx);
558 SEffectManager.DestroyEffect(m_exhaustFx);
559 SEffectManager.DestroyEffect(m_engineFx);
560
561 if (m_Headlight)
562 m_Headlight.Destroy();
563
564 if (m_RearLight)
565 m_RearLight.Destroy();
566
567 SEffectManager.DestroyEffect(m_CrashSoundLight);
568 SEffectManager.DestroyEffect(m_CrashSoundHeavy);
569 SEffectManager.DestroyEffect(m_WindowSmall);
570 SEffectManager.DestroyEffect(m_WindowLarge);
572 }
void Effect()
ctor
Определения Effect.c:72
ref EffVehicleSmoke m_engineFx
Определения CarScript.c:213
void CleanupSound(EffectSound sound)
Определения CarScript.c:574
ref EffectSound m_CrashSoundHeavy
Определения CarScript.c:250
ref EffectSound m_CarHornSoundEffect
Определения CarScript.c:255
ref EffVehicleSmoke m_coolantFx
Particles.
Определения CarScript.c:212
ref EffectSound m_WindowSmall
Определения CarScript.c:251
CarLightBase m_Headlight
Определения CarScript.c:273
CarRearLightBase m_RearLight
Определения CarScript.c:274
ref EffectSound m_CrashSoundLight
Определения CarScript.c:249
ref EffectSound m_WindowLarge
Определения CarScript.c:252
ref EffVehicleSmoke m_exhaustFx
Определения CarScript.c:214
ref array< int > m_WheelSmokePtcFx
Определения CarScript.c:297
ref array< ref EffWheelSmoke > m_WheelSmokeFx
Определения CarScript.c:296

Перекрестные ссылки CleanupSound(), SEffectManager::DestroyEffect(), Effect(), m_CarHornSoundEffect, m_coolantFx, m_CrashSoundHeavy, m_CrashSoundLight, m_engineFx, m_exhaustFx, m_Headlight, m_RearLight, m_WheelSmokeFx, m_WheelSmokePtcFx, m_WindowLarge и m_WindowSmall.

Используется в EEDelete() и ~CarScript().