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

Method IsRunning

core/logic/ExtensionSys.cpp:445–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445bool CExtension::IsRunning(char *error, size_t maxlength)
446{
447 if (!IsLoaded())
448 {
449 if (error)
450 {
451 ke::SafeStrcpy(error, maxlength, m_Error.c_str());
452 }
453 return false;
454 }
455
456 return m_pAPI->QueryRunning(error, maxlength);
457}
458
459void CExtension::AddLibrary(const char *library)
460{

Callers 4

ListExtensionsToClientFunction · 0.80
GetExtensionFileStatusFunction · 0.80
OnRootConsoleCommandMethod · 0.80
RequireExtensionsMethod · 0.80

Calls 2

c_strMethod · 0.45
QueryRunningMethod · 0.45

Tested by

no test coverage detected