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

◆ EEHealthLevelChanged()

override void GasMask_Filter::EEHealthLevelChanged ( int oldLevel,
int newLevel,
string zone )
inlineprivate

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

16 {
17 if (GetGame().IsServer())
18 {
19 if( newLevel == GameConstants.STATE_RUINED )
20 {
21 SetQuantity(0);
22 }
23 }
24 }
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Определения PileOfWoodenPlanks.c:88
proto native CGame GetGame()

Перекрестные ссылки GetGame(), ItemBase::SetQuantity() и GameConstants::STATE_RUINED.