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

◆ ActionCondition()

override bool ActionTogglePlaceObjectDigging::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

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

5 {
6 if (!GetGame().IsDedicatedServer())
7 {
8 if (!CfgGameplayHandler.GetDisableColdAreaPlacementCheck() && player.GetInColdArea())
9 return false;
10 }
11
12 return true;
13 }
proto native CGame GetGame()

Перекрестные ссылки ActionTarget, CfgGameplayHandler::GetDisableColdAreaPlacementCheck() и GetGame().