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

◆ ActionCondition()

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

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

30 {
31 PowerGeneratorBase pg;
32
33 if ( Class.CastTo(pg,target.GetObject()) )
34 {
35 if ( pg.CanAddFuel( item ) )
36 {
37 return true;
38 }
39 }
40
41 return false;
42 }

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