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

Method RefreshAll

core/logic/PluginSys.cpp:2124–2137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2122}
2123
2124void CPluginManager::RefreshAll()
2125{
2126 /* If we're in a load lock, just skip this whole bit. */
2127 if (m_LoadingLocked)
2128 {
2129 return;
2130 }
2131
2132 for (PluginIter iter(m_plugins); !iter.done(); iter.next()) {
2133 CPlugin *pl = (*iter);
2134 if (pl->HasUpdatedFile())
2135 UnloadPlugin(pl);
2136 }
2137}
2138
2139bool CPlugin::HasUpdatedFile()
2140{

Callers 1

LevelShutdownMethod · 0.80

Calls 3

doneMethod · 0.80
nextMethod · 0.80
HasUpdatedFileMethod · 0.80

Tested by

no test coverage detected