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

◆ EOnContact()

void DayZInfected::EOnContact ( IEntity other,
Contact extra )
inlineprotected

Phx contact event

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

1019 {
1020 if ( !IsAlive() )
1021 return;
1022
1023 Transport transport = Transport.Cast(other);
1024 if ( transport )
1025 {
1026 if ( GetGame().IsServer() )
1027 {
1028 RegisterTransportHit(transport);
1029 }
1030 }
1031 }
proto native CGame GetGame()

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