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

◆ ActionCondition()

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

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

21 {
22 if ( player.GetCommand_Vehicle() )
23 return false;
24
25 Animal_GallusGallusDomesticus chicken;
26 if ( Class.CastTo( chicken, target.GetObject() ) )
27 {
28 return !chicken.IsAlive();
29 }
30 return false;
31 }

Перекрестные ссылки ActionTarget и Class::CastTo().