Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Ammunition_Base Class Reference

ammo pile base More...

Inheritance diagram for Ammunition_Base:
Ammo_12gaPellets Ammo_12gaSlug Ammo_22 Ammo_308Win Ammo_308WinTracer Ammo_357 Ammo_380 Ammo_40mm_Base Ammo_45ACP Ammo_545x39 Ammo_545x39Tracer Ammo_556x45 Ammo_556x45Tracer Ammo_762x39 Ammo_762x39Tracer Ammo_762x54 Ammo_762x54Tracer Ammo_9x19 Ammo_9x39 Ammo_Flare Ammo_GrenadeM4 Ammo_LAW_HE Ammo_RPG7_AP Ammo_RPG7_HE Bolt_Base

Protected Member Functions

float GetWeightSpecialized (bool forceRecalc=false)
override void SetFromProjectile (ProjectileStoppedInfo info)
override void SetQuantityToMinimum ()

Private Member Functions

override bool IsAmmoPile ()

Static Private Member Functions

static float GetAmmoWeightByBulletType (string bulletType)

Static Private Attributes

static ref map< string, floatm_AmmoWeightByBulletType = new map<string, float>()

Detailed Description

ammo pile base

Definition at line 2 of file ammunitionpiles.c.

Member Function Documentation

◆ GetAmmoWeightByBulletType()

float GetAmmoWeightByBulletType ( string bulletType)
inlinestaticprivate

Definition at line 6 of file ammunitionpiles.c.

References ErrorEx, g_Game, and m_AmmoWeightByBulletType.

Referenced by Weapon::GetWeightSpecialized().

◆ GetWeightSpecialized()

float GetWeightSpecialized ( bool forceRecalc = false)
inlineprotected

Definition at line 32 of file ammunitionpiles.c.

References WeightDebugData::SetCalcDetails().

◆ IsAmmoPile()

override bool IsAmmoPile ( )
inlineprivate

Definition at line 27 of file ammunitionpiles.c.

◆ SetFromProjectile()

override void SetFromProjectile ( ProjectileStoppedInfo info)
inlineprotected

◆ SetQuantityToMinimum()

override void SetQuantityToMinimum ( )
inlineprotected

Definition at line 45 of file ammunitionpiles.c.

Referenced by SetFromProjectile().

Field Documentation

◆ m_AmmoWeightByBulletType

ref map<string, float> m_AmmoWeightByBulletType = new map<string, float>()
staticprivate

Definition at line 4 of file ammunitionpiles.c.

Referenced by GetAmmoWeightByBulletType().


The documentation for this class was generated from the following file: