![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Functions | |
| void | ejectBulletAndStoreInMagazine (Weapon_Base weapon, int muzzleIndex, Magazine mag, DayZPlayer p) |
| bool | magazinesHaveEqualSizes (notnull Magazine mag, notnull Magazine mag2) |
| 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 ) |
no magazine configured in parent state, looking in inventory
Definition at line 58 of file weapon_utils.c.
References DayZPlayerUtils(), Error(), g_Game, LogManager::IsWeaponLogEnable(), and wpnDebugPrint().
Referenced by WeaponStateBase::OnEntry().
| bool magazinesHaveEqualSizes | ( | notnull Magazine | mag, |
| notnull Magazine | mag2 ) |
Definition at line 100 of file weapon_utils.c.
References g_Game, LogManager::IsWeaponLogEnable(), and wpnDebugPrint().
Referenced by WeaponGuardBase::GuardCondition().
| bool pushToChamberFromAttachedMagazine | ( | Weapon_Base | weapon, |
| int | muzzleIndex ) |
Definition at line 1 of file weapon_utils.c.
References Error(), LogManager::IsWeaponLogEnable(), and wpnDebugPrint().
Referenced by WeaponEjectAllMuzzles::OnAbort(), WeaponStateBase::OnAbort(), WeaponEjectCasing::OnEntry(), WeaponFire::OnEntry(), WeaponStateBase::OnEntry(), WeaponEjectAllMuzzles::OnExit(), and WeaponStateBase::OnExit().
| bool pushToChamberFromInnerMagazine | ( | Weapon_Base | weapon, |
| int | muzzleIndex ) |
Definition at line 33 of file weapon_utils.c.
References Error(), LogManager::IsWeaponLogEnable(), and wpnDebugPrint().
Referenced by OnEntry(), and WeaponFire::OnEntry().