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

◆ SetupTrap()

void ItemBase::SetupTrap ( )
inlineprotected

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

215 {
216 if ( GetGame().IsServer() )
217 {
218 if ( GetHierarchyRootPlayer() && GetHierarchyRootPlayer().CanDropEntity( this ) )
219 {
220 SetupTrapPlayer( PlayerBase.Cast( GetHierarchyRootPlayer() ) );
221 }
222 }
223 }
void SetupTrapPlayer(PlayerBase player, bool set_position=true)
Определения TrapSpawnBase.c:225
proto native CGame GetGame()

Перекрестные ссылки GetGame() и SetupTrapPlayer().