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

◆ SetupAction()

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

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

114 {
115 if (super.SetupAction(player, target, item, action_data, extra_data))
116 {
117 #ifndef SERVER
118 ActionTarget newTarget = new ActionTarget(player.GetWeaponManager().GetPreparedMagazine(), null, -1, vector.Zero, -1);
119 action_data.m_Target = newTarget;
120 #endif
121
122 return true;
123 }
124
125 return false;
126 }
class ActionTargets ActionTarget
static const vector Zero
Определения EnConvert.c:110
Определения EnConvert.c:106

Перекрестные ссылки ActionData, ActionTarget и vector::Zero.