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

◆ ActionCondition()

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

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

50 {
51 if (!super.ActionCondition(player, target, item))
52 return false;
53 return true;
54 /*
55 //if staging for cans is introduced
56 if ( item && item.IsOpen() )
57 {
58 return true;
59 }
60 return false;
61 */
62 }

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