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

Method HasUpdatedFile

core/logic/PluginSys.cpp:2139–2147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2137}
2138
2139bool CPlugin::HasUpdatedFile()
2140{
2141 time_t t = GetFileTimeStamp();
2142 if (!t || t > m_LastFileModTime) {
2143 m_LastFileModTime = t;
2144 return true;
2145 }
2146 return false;
2147}
2148
2149void CPluginManager::_SetPauseState(CPlugin *pl, bool paused)
2150{

Callers 1

RefreshAllMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected