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

◆ SetupAction()

override bool ActionGetOutTransport::SetupAction ( PlayerBase player,
ActionTarget target,
ItemBase item,
out ActionData action_data,
Param extra_data = NULL )
inlineprotected

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

87 {
88 if (super.SetupAction(player, target, item, action_data, extra_data))
89 {
90 HumanCommandVehicle vehCommand = action_data.m_Player.GetCommand_Vehicle();
91 if (vehCommand)
92 {
93 Transport trans = vehCommand.GetTransport();
94 if (trans)
95 {
96 GetOutTransportActionData gotActionData = GetOutTransportActionData.Cast(action_data);
97 ProcessGetOutTransportActionData(trans, gotActionData);
98 return true;
99 }
100 }
101 }
102 return false;
103 }
void ProcessGetOutTransportActionData(Transport veh, GetOutTransportActionData got_action_data)
Определения ActionGetOutTransport.c:138
proto native Transport GetTransport()

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