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

◆ SetEffectCooldown()

void VehicleVFXComponent::SetEffectCooldown ( EVehicleVFXEffect effectId,
float seconds )
inlineprotected

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

304 {
305 VehicleVFXData data = m_EffectsMap.Get(effectId);
306 if (data)
307 data.SetCooldown(seconds);
308 #ifdef DIAG_DEVELOPER
309 else
310 ErrorEx(string.Format("Cannot set cooldown, effect '%1' does not exist.", EnumTools.EnumToString(EVehicleVFXEffect, effectId)));
311 #endif
312 }
EVehicleVFXEffect
Identifiers of individual vehicle VFX effects.
Определения EVehicleVFXTypes.c:3
ref map< int, ref VehicleVFXData > m_EffectsMap
keyed by EVehicleVFXEffect
Определения VehicleVFXComponent.c:102
void SetCooldown(float seconds)
set the cooldown window (in seconds); 0 disables the guard
Определения VehicleVFXComponent.c:28
enum ShapeType ErrorEx

Перекрестные ссылки EnumTools::EnumToString(), ErrorEx, m_EffectsMap и VehicleVFXData::SetCooldown().