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

Function SM_CvarExistsInConfig

core/CoreConfig.cpp:397–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397inline bool SM_CvarExistsInConfig(ke::HashMap<std::string, std::string, StringPolicy> &cvars, const char *cvar_name)
398{
399 return cvars.find(cvar_name).found();
400}
401
402bool SM_CvarExistsInPlugin(List<const ConVar *> &convars, const char *cvar_name)
403{

Callers 1

Calls 1

findMethod · 0.45

Tested by

no test coverage detected