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

Method ToolCanApplyTo

src/game/shared/econ/econ_item_tools.cpp:1254–1287  ·  view source on GitHub ↗

--------------------------------------------------------------------------------------- Purpose: given a tool and an item to apply the tool's effects upon, return true if the tool is allowed to affect the subject. This is used on the client for UI and on the GC for actual application validity testing. --------------------------------------------------------------------------------------- static */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

AssertFunction · 0.85
FindAttributeMethod · 0.80
IsTemporaryItemMethod · 0.80
GetEconToolMethod · 0.80
GetItemDefinitionMethod · 0.45
GetOriginMethod · 0.45
CanApplyToMethod · 0.45

Tested by

no test coverage detected