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

◆ EOnContact()

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

Phx contact event

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

3766 {
3767 if (!IsAlive())
3768 return;
3769
3770 if (GetParent() == other)
3771 return;
3772
3773 Transport transport = Transport.Cast(other);
3774 if (transport)
3775 {
3776 if (GetGame().IsServer())
3777 {
3778 RegisterTransportHit(transport);
3779 }
3780 }
3781 }
proto native CGame GetGame()
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:407

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