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

◆ EjectBulletVerified()

bool WeaponManager::EjectBulletVerified ( ActionBase control_action = NULL)
inlineprotected

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

463 {
464 if ( m_WeaponInHand )
465 {
466 int mi = m_WeaponInHand.GetCurrentMuzzle();
467 if ( !m_WeaponInHand.IsChamberFiredOut(mi) && !m_WeaponInHand.IsChamberEmpty(mi) )
468 {
470 return StartAction(AT_WPN_EJECT_BULLET, NULL, NULL, control_action);
471 }
472 else
473 {
474 return StartAction(AT_WPN_EJECT_BULLET, NULL, NULL, control_action);
475 }
476 }
477 return false;
478 }
const int AT_WPN_EJECT_BULLET
DayZGame g_Game
Определения DayZGame.c:3942
int m_ForceEjectBulletTimestamp
Определения WeaponManager.c:26
Weapon_Base m_WeaponInHand
Определения WeaponManager.c:23
bool StartAction(int action, Magazine mag, InventoryLocation il, ActionBase control_action=NULL)
Определения WeaponManager.c:772

Перекрестные ссылки AT_WPN_EJECT_BULLET, g_Game, m_ForceEjectBulletTimestamp, m_WeaponInHand и StartAction().