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

Method HasSecondaryAmmo

src/game/shared/basecombatweapon_shared.cpp:1283–1301  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Returns true if the weapon currently has ammo or doesn't need ammo Output : -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

ReapplyProvisionMethod · 0.80
CheckAmmoMethod · 0.80
CC_GiveCurrentAmmoFunction · 0.80
HasAnyAmmoOfTypeMethod · 0.80

Calls 1

GetAmmoCountMethod · 0.45

Tested by

no test coverage detected