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

Method AddPlugin

core/logic/ExtensionSys.cpp:351–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351void CExtension::AddPlugin(CPlugin *pPlugin)
352{
353 /* Unfortunately we have to do this :( */
354 if (m_Dependents.find(pPlugin) == m_Dependents.end())
355 {
356 m_Dependents.push_back(pPlugin);
357 }
358}
359
360void CExtension::SetError(const char *error)
361{

Callers 1

BindChildPluginMethod · 0.45

Calls 3

push_backMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected