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

◆ UpdateAllOverheatingParticles()

void UpdateAllOverheatingParticles ( )
private

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

547 {
549 {
550 float overheat_coef = GetOverheatingCoef();
551 int count = m_OverheatingParticles.Count();
552
553 for (int i = count; i > 0; --i)
554 {
555 int id = i - 1;
557 Particle p = OP.GetParticle();
558
559 float overheat_min = OP.GetOverheatingLimitMin();
560 float overheat_max = OP.GetOverheatingLimitMax();
561
562 if (overheat_coef < overheat_min && overheat_coef >= overheat_max)
563 {
564 if (p)
565 {
566 p.Stop();
567 OP.RegisterParticle(null);
568 }
569 }
570 }
571 }
572 }
ref array< ref OverheatingParticle > m_OverheatingParticles
Определения ItemBase.c:104
float GetOverheatingCoef()
Определения ItemBase.c:538
float GetOverheatingLimitMax()
Определения WeaponParticles.c:417
float GetOverheatingLimitMin()
Определения WeaponParticles.c:412
Particle GetParticle()
Определения WeaponParticles.c:397
void RegisterParticle(Particle p)
Определения WeaponParticles.c:392
void Stop()
Legacy function for backwards compatibility with 1.14 and below.
Определения Particle.c:266
Legacy way of using particles in the game.
Определения Particle.c:7

Перекрестные ссылки GetOverheatingCoef(), OverheatingParticle::GetOverheatingLimitMax(), OverheatingParticle::GetOverheatingLimitMin(), OverheatingParticle::GetParticle(), m_OverheatingParticles, OverheatingParticle::RegisterParticle() и Particle::Stop().

Используется в UpdateOverheating().