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

Method CallOnCoreMapStart

core/logic/ExtensionSys.cpp:1320–1336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1318}
1319
1320void CExtensionManager::CallOnCoreMapStart(edict_t *pEdictList, int edictCount, int clientMax)
1321{
1322 IExtensionInterface *pAPI;
1323 List<CExtension *>::iterator iter;
1324
1325 for (iter=m_Libs.begin(); iter!=m_Libs.end(); iter++)
1326 {
1327 if ((pAPI = (*iter)->GetAPI()) == NULL)
1328 {
1329 continue;
1330 }
1331 if (pAPI->GetExtensionVersion() > 3)
1332 {
1333 pAPI->OnCoreMapStart(pEdictList, edictCount, clientMax);
1334 }
1335 }
1336}
1337
1338void CExtensionManager::CallOnCoreMapEnd()
1339{

Callers 1

OnServerActivateMethod · 0.80

Calls 5

GetAPIMethod · 0.80
GetExtensionVersionMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
OnCoreMapStartMethod · 0.45

Tested by

no test coverage detected