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

Method GetBaseItemForClass

src/game/shared/tf/tf_item_inventory.cpp:656–716  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Returns the item data for the base item in the loadout slot for a given class -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

UpdateActivityUIMethod · 0.80
UpdateActivityMethod · 0.80
HoldFirstValidItemMethod · 0.80
GetItemInLoadoutMethod · 0.80
AcceptMethod · 0.80
GetLoadoutItemMethod · 0.80

Calls 9

AssertFunction · 0.85
TFGameRulesFunction · 0.85
GetAccountIndexMethod · 0.80
IsUsingSpellsMethod · 0.80
IsUsingGrapplingHookMethod · 0.80
IsMannVsMachineModeMethod · 0.80
AddToTailMethod · 0.45
GetDefinitionIndexMethod · 0.45
GetItemDefIndexMethod · 0.45

Tested by

no test coverage detected