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

◆ OnAction()

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

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

803 {
804 if (super.OnAction(action_id, player, ctx))
805 return true;
806
807 if (!GetGame().IsServer())
808 {
809 return false;
810 }
811
812 switch (action_id)
813 {
814 case EActions.DELETE:
815 Delete();
816 return true;
817
818 case EActions.FLIP_ENTITY:
819 FlipVehicle();
820 return true;
821 }
822
823 return false;
824 }
EActions
Определения EActions.c:2
void FlipVehicle()
Определения BoatScript.c:665
proto native CGame GetGame()

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