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

Method GetWeaponFromAmmo

src/game/client/weapons_resource.cpp:246–269  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Get a pointer to a weapon using this ammo -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

AddToHistoryMethod · 0.80
PaintMethod · 0.80
OnDataChangedMethod · 0.80

Calls 4

GetLocalPlayerFunction · 0.85
GetSecondaryAmmoTypeMethod · 0.80
GetWeaponMethod · 0.45
GetPrimaryAmmoTypeMethod · 0.45

Tested by

no test coverage detected