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

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData action_data)
private

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

112 {
113 HumanCommandVehicle vehCommand = action_data.m_Player.GetCommand_Vehicle();
114 if (vehCommand)
115 {
116 Transport trans = vehCommand.GetTransport();
117 if (trans)
118 {
119 CarScript car;
120 if (Class.CastTo(car, trans))
121 {
122 car.OnBeforeEngineStart();
123 }
124 }
125 }
126 }
Определения CivilianSedan.c:2
Super root of all classes in Enforce script.
Определения EnScript.c:11
proto native Transport GetTransport()
Определения human.c:690
Base native class for all motorized wheeled vehicles.
Определения Boat.c:28
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

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