MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / GetAmmoCount

Method GetAmmoCount

src/game/shared/basecombatcharacter_shared.cpp:173–183  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Returns the amount of ammunition of a particular type owned owned by the character Input : Ammo Index Output : The amount of ammo -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

CanHaveAmmoMethod · 0.45
FShouldSwitchWeaponMethod · 0.45
GetNextBestWeaponMethod · 0.45
HasAmmoMethod · 0.45
HasPrimaryAmmoMethod · 0.45
HasSecondaryAmmoMethod · 0.45
ItemPostFrameMethod · 0.45
DefaultReloadMethod · 0.45
CheckReloadMethod · 0.45
FinishReloadMethod · 0.45
PrimaryAttackMethod · 0.45

Calls 3

MaxCarryMethod · 0.80
GetAmmoDefFunction · 0.50
IndexMethod · 0.45

Tested by

no test coverage detected