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

Method Weapon_CanSwitchTo

src/game/server/hl2/hl2_player.cpp:3122–3152  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Returns whether or not we can switch to the given weapon. Input : pWeapon - -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

EndUseActionSlotItemFunction · 0.45

Calls 9

GetActiveWeaponFunction · 0.85
PhysCannonGetHeldEntityFunction · 0.70
GetVehicleMethod · 0.45
HasAnyAmmoMethod · 0.45
CanDeployMethod · 0.45
GetClassnameMethod · 0.45
GetSubTypeMethod · 0.45
CanHolsterMethod · 0.45

Tested by

no test coverage detected