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

◆ ActionCondition()

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

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

29 {
30 if ( GetGame().IsMultiplayer() && GetGame().IsServer() )
31 return true;
32
33 Object targetObject = target.GetObject();
34 return targetObject.IsBush() && targetObject.IsCuttable();
35 }
class LOD Object
proto native CGame GetGame()

Перекрестные ссылки ActionTarget и GetGame().