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

◆ OnAction()

override bool BoatScript::OnAction ( int action_id,
Man player,
ParamsReadContext ctx )
inlineprotected

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

856 {
857 if (super.OnAction(action_id, player, ctx))
858 return true;
859
860 if (!GetGame().IsServer())
861 {
862 return false;
863 }
864
865 switch (action_id)
866 {
867 case EActions.FLIP_ENTITY:
868 FlipVehicle();
869 return true;
870 }
871
872 return false;
873 }
EActions
Определения EActions.c:2
void FlipVehicle()
Определения BoatScript.c:721
proto native CGame GetGame()

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