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

Method GetNextBestWeapon

src/game/shared/multiplay_gamerules.cpp:512–577  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Returns the weapon in the player's inventory that would be better than the given weapon. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

AllowsAutoSwitchFromMethod · 0.45
CanHolsterMethod · 0.45
GetWeightMethod · 0.45
WeaponCountMethod · 0.45
GetWeaponMethod · 0.45
AllowsAutoSwitchToMethod · 0.45
HasAnyAmmoMethod · 0.45
Weapon_CanSwitchToMethod · 0.45

Tested by

no test coverage detected