Functions | |
bool | pushToChamberFromAttachedMagazine (Weapon_Base weapon, int muzzleIndex) |
bool | pushToChamberFromInnerMagazine (Weapon_Base weapon, int muzzleIndex) |
void | ejectBulletAndStoreInMagazine (Weapon_Base weapon, int muzzleIndex, Magazine mag, DayZPlayer p) |
bool | magazinesHaveEqualSizes (notnull Magazine mag, notnull Magazine mag2) |
void ejectBulletAndStoreInMagazine | ( | Weapon_Base | weapon, |
int | muzzleIndex, | ||
Magazine | mag, | ||
DayZPlayer | p | ||
) |
no magazine configured in parent state, looking in inventory
References DayZPlayerUtils(), Error(), GetGame(), LogManager::IsWeaponLogEnable(), and wpnDebugPrint().
Referenced by WeaponStateBase::OnEntry().
bool magazinesHaveEqualSizes | ( | notnull Magazine | mag, |
notnull Magazine | mag2 | ||
) |
References GetGame(), CGame::GetInventoryItemSize(), LogManager::IsWeaponLogEnable(), and wpnDebugPrint().
Referenced by WeaponGuardBase::GuardCondition().
bool pushToChamberFromAttachedMagazine | ( | Weapon_Base | weapon, |
int | muzzleIndex | ||
) |
bool pushToChamberFromInnerMagazine | ( | Weapon_Base | weapon, |
int | muzzleIndex | ||
) |
References Error(), LogManager::IsWeaponLogEnable(), and wpnDebugPrint().
Referenced by WeaponStateBase::OnEntry(), and WeaponFire::OnEntry().