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

Method FShouldSwitchWeapon

src/game/shared/singleplay_gamerules.cpp:177–204  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Determine whether the player should switch to the weapon passed in Output : Returns true on success, false on failure. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

HasAnyAmmoMethod · 0.45
GetAmmoCountMethod · 0.45
GetActiveWeaponMethod · 0.45
AllowsAutoSwitchToMethod · 0.45
AllowsAutoSwitchFromMethod · 0.45
CanHolsterMethod · 0.45
GetWeightMethod · 0.45

Tested by

no test coverage detected