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

◆ EEHealthLevelChanged()

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

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

14 {
15 if (GetGame().IsServer())
16 {
17 if( newLevel == GameConstants.STATE_RUINED )
18 {
19 SetQuantity(0);
20 }
21 }
22 }
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity re...
Определения ItemBase.c:8006
proto native CGame GetGame()

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