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

Method IsFunctionRegistered

core/logic/ForwardSys.cpp:487–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487bool CForward::IsFunctionRegistered(IPluginFunction *func)
488{
489 ReentrantList<IPluginFunction *> *lst;
490 if (func->IsRunnable())
491 lst = &m_functions;
492 else
493 lst = &m_paused;
494
495 for (FuncIter iter(lst); !iter.done(); iter.next()) {
496 if ((*iter) == func)
497 return true;
498 }
499 return false;
500}
501
502const char *CForward::GetForwardName()
503{

Callers 1

OnPluginPauseChangeMethod · 0.80

Calls 3

IsRunnableMethod · 0.80
doneMethod · 0.80
nextMethod · 0.80

Tested by

no test coverage detected