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

Method LibraryActions

core/logic/PluginSys.cpp:568–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566}
567
568void CPlugin::LibraryActions(LibraryAction action)
569{
570 if (action == LibraryAction_Removed) {
571 if (!m_AddedLibraries)
572 return;
573 m_AddedLibraries = false;
574 }
575
576 for (auto iter = m_Libraries.begin(); iter != m_Libraries.end(); iter++)
577 g_PluginSys.OnLibraryAction((*iter).c_str(), action);
578
579 if (action == LibraryAction_Added)
580 m_AddedLibraries = true;
581}
582
583bool CPlugin::SetPauseState(bool paused)
584{

Callers 2

RunSecondPassMethod · 0.80
PurgeMethod · 0.80

Calls 4

OnLibraryActionMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected