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

◆ GetProtectionLevel() [2/2]

override float MaskBase::GetProtectionLevel ( int type,
bool consider_filter = false,
int system = 0 )
inlineprivate

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

14 {
16 return 0.0;
17
18 ItemBase filter = ItemBase.Cast(FindAttachmentBySlotName("GasMaskFilter"));
19 if (filter)
20 {
21 if (type == DEF_DUST_PARTICLE_EYES)
22 return 1.0;
23
24 return filter.GetProtectionLevel(type, false, system);
25 }
26
27 return super.GetProtectionLevel(type, consider_filter, system);
28 }
bool IsDamageDestroyed(ActionTarget target)
Определения ActionBase.c:1275
class GP5GasMask extends MaskBase ItemBase
override float GetProtectionLevel(int type, bool consider_filter=false, int system=0)
Определения AirborneMask.c:18
const int DEF_DUST_PARTICLE_EYES
Определения 3_Game/DayZ/constants.c:550

Перекрестные ссылки DEF_DUST_PARTICLE_EYES, IsDamageDestroyed() и ItemBase.