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

Method GetConfig

core/logic/PluginSys.cpp:705–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703}
704
705AutoConfig *CPlugin::GetConfig(size_t i)
706{
707 if (i >= GetConfigCount())
708 {
709 return NULL;
710 }
711
712 return m_configs[i];
713}
714
715void CPlugin::AddConfig(bool autoCreate, const char *cfg, const char *folder)
716{

Callers 2

SM_ExecuteForPluginFunction · 0.80
SM_ExecuteAllConfigsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected