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

Method AddRequiredLib

core/logic/PluginSys.cpp:1183–1187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1181}
1182
1183void CPlugin::AddRequiredLib(const char *name)
1184{
1185 if (m_RequiredLibs.find(name) == m_RequiredLibs.end())
1186 m_RequiredLibs.push_back(name);
1187}
1188
1189bool CPlugin::ForEachRequiredLib(ke::Function<bool(const char *)> callback)
1190{

Callers 1

Calls 3

push_backMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected