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

◆ EOnContact()

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

Phx contact event

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

3815 {
3816 if (!IsAlive())
3817 return;
3818
3819 if (GetParent() == other)
3820 return;
3821
3822 Transport transport = Transport.Cast(other);
3823 if (transport)
3824 {
3825 if (g_Game.IsServer())
3826 {
3827 RegisterTransportHit(transport);
3828 }
3829 }
3830 }
DayZGame g_Game
Определения DayZGame.c:3942
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:422

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