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

Method Weapon_GetSlot

src/game/server/basecombatcharacter.cpp:2254–2270  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Returns the weapon (if any) in the requested slot Input : slot - which slot to poll -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

GetRepairAmountMethod · 0.80
OnRemoveTauntingMethod · 0.80
FOR_EACH_VECFunction · 0.80
Bot_AliveWeaponThinkMethod · 0.80
FOR_EACH_VECFunction · 0.80
UpdatePlanForCommandMethod · 0.80
UpdateMethod · 0.80
UpdateMethod · 0.80
UpdateMethod · 0.80

Calls 2

GetMethod · 0.45
GetSlotMethod · 0.45

Tested by

no test coverage detected