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

◆ ActionCondition()

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

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

25 {
26 PlayerBase targetPlayer;
27 if (Class.CastTo(targetPlayer, target.GetObject()))
28 {
29 if (IsWearingGag(targetPlayer) && null == player.GetHumanInventory().GetEntityInHands())
30 {
31 return true;
32 }
33 }
34 return false;
35 }
bool IsWearingGag(PlayerBase player)
Определения ActionUngagTarget.c:54

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