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

◆ OnExecute()

override void OnExecute ( ActionData action_data)

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

60 {
61 HumanCommandVehicle vehCommand = action_data.m_Player.GetCommand_Vehicle();
62 if (vehCommand)
63 {
64 Transport trans = vehCommand.GetTransport();
65 if (trans)
66 {
67 Boat boat = Boat.Cast(trans);
68 if (boat)
69 boat.OnBeforeEngineStart();
70 }
71 }
72 }
proto native Transport GetTransport()
Определения human.c:690
Base native class for all motorized wheeled vehicles.
Определения Boat.c:28

Перекрестные ссылки ActionData и HumanCommandVehicle::GetTransport().