Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
weapon_utils.c File Reference

Go to the source code of this file.

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)
 

Function Documentation

◆ ejectBulletAndStoreInMagazine()

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.

◆ magazinesHaveEqualSizes()

bool magazinesHaveEqualSizes ( notnull Magazine  mag,
notnull Magazine  mag2 
)

Definition at line 98 of file weapon_utils.c.

◆ pushToChamberFromAttachedMagazine()

bool pushToChamberFromAttachedMagazine ( Weapon_Base  weapon,
int  muzzleIndex 
)

Definition at line 1 of file weapon_utils.c.

◆ pushToChamberFromInnerMagazine()

bool pushToChamberFromInnerMagazine ( Weapon_Base  weapon,
int  muzzleIndex 
)

Definition at line 33 of file weapon_utils.c.