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

Method ForEachRequiredLib

core/logic/PluginSys.cpp:1189–1196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1187}
1188
1189bool CPlugin::ForEachRequiredLib(ke::Function<bool(const char *)> callback)
1190{
1191 for (auto iter = m_RequiredLibs.begin(); iter != m_RequiredLibs.end(); iter++) {
1192 if (!callback((*iter).c_str()))
1193 return false;
1194 }
1195 return true;
1196}
1197
1198void CPlugin::SetRegistered()
1199{

Callers 1

Calls 3

beginMethod · 0.45
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected