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

◆ EOnContact()

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

Phx contact event

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

3959 {
3960 if (!IsAlive())
3961 return;
3962
3963 if (GetParent() == other)
3964 return;
3965
3966 Transport transport = Transport.Cast(other);
3967 if (transport)
3968 {
3969 if (g_Game.IsServer())
3970 {
3971 RegisterTransportHit(transport);
3972 }
3973 }
3974 }
DayZGame g_Game
Определения DayZGame.c:4074
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:422

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