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

Method Weapon_Switch

src/game/shared/basecombatcharacter_shared.cpp:38–65  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Switches to the given weapon (providing it has ammo) Input : Output : true is switch succeeded -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

IsWeaponVisibleMethod · 0.80
GetMethod · 0.45
IsHolsteredMethod · 0.45
DeployMethod · 0.45
HolsterMethod · 0.45

Tested by

no test coverage detected