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

◆ ActionCondition()

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

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

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

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