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

◆ EjectBulletVerified()

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

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

462 {
463 if ( m_WeaponInHand )
464 {
465 int mi = m_WeaponInHand.GetCurrentMuzzle();
466 if ( !m_WeaponInHand.IsChamberFiredOut(mi) && !m_WeaponInHand.IsChamberEmpty(mi) )
467 {
469 return StartAction(AT_WPN_EJECT_BULLET, NULL, NULL, control_action);
470 }
471 else
472 {
473 return StartAction(AT_WPN_EJECT_BULLET, NULL, NULL, control_action);
474 }
475 }
476 return false;
477 }
const int AT_WPN_EJECT_BULLET
Определения _constants.c:15
proto int GetTime()
returns mission time in milliseconds
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:770
proto native CGame GetGame()

Перекрестные ссылки AT_WPN_EJECT_BULLET, GetGame(), CGame::GetTime(), m_ForceEjectBulletTimestamp, m_WeaponInHand и StartAction().