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

◆ ActionCondition()

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

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

11 {
12 // Client
13 if ( !GetGame().IsDedicatedServer() )
14 return item.CanBePlaced( player, player.GetPosition() );
15
16 // Server
17 return true;
18 }
override bool CanBePlaced(Man player, vector position)
Определения TentBase.c:947
proto native CGame GetGame()

Перекрестные ссылки ActionTarget, ItemBase::CanBePlaced() и GetGame().