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

◆ ActionCondition()

override bool FirearmActionLoadMultiBulletQuick::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

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

126 {
127 if (!super.ActionCondition( player, target, item ))
128 return false;
129
130 Weapon_Base weapon = Weapon_Base.Cast( item );
131 return player.GetWeaponManager().CanLoadMultipleBullet(weapon ,player.GetWeaponManager().GetPreparedMagazine());
132 }

Перекрестные ссылки ActionTarget.