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

◆ GetNextPreparedMagazine()

Magazine WeaponManager::GetNextPreparedMagazine ( out int startIdx)
inlineprivate

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

1098 {
1099 int count = m_SuitableMagazines.Count();
1100 Magazine mag;
1101 for (int i = startIdx; i < count; i++)
1102 {
1103 mag = m_SuitableMagazines[i];
1104 if (mag && mag.GetAmmoCount() > 0 && (!mag.GetHierarchyParent() || mag.GetHierarchyParent().GetInventory().AreChildrenAccessible()))
1105 {
1106 startIdx = i;
1107 return m_SuitableMagazines.Get(i);
1108 }
1109 }
1110 return null;
1111 }
ref array< Magazine > m_SuitableMagazines
Определения WeaponManager.c:35

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

Используется в FirearmActionLoadMultiBulletQuick::Start().