MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / FindToolByName

Method FindToolByName

core/logic/ProfileTools.cpp:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53IProfilingTool *
54ProfileToolManager::FindToolByName(const char *name)
55{
56 for (size_t i = 0; i < tools_.size(); i++) {
57 if (strcmp(tools_[i]->Name(), name) == 0)
58 return tools_[i];
59 }
60 return nullptr;
61}
62
63static void
64render_help(const char *fmt, ...)

Callers

nothing calls this directly

Calls 2

NameMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected