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

◆ EOnContact()

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

Phx contact event

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

3832 {
3833 if (!IsAlive())
3834 return;
3835
3836 if (GetParent() == other)
3837 return;
3838
3839 Transport transport = Transport.Cast(other);
3840 if (transport)
3841 {
3842 if (GetGame().IsServer())
3843 {
3844 RegisterTransportHit(transport);
3845 }
3846 }
3847 }
proto native CGame GetGame()
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:422

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