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

Method AddFunction

core/logic/ForwardSys.cpp:413–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413bool CForward::AddFunction(IPluginContext *pContext, funcid_t index)
414{
415 IPluginFunction *pFunc = pContext->GetFunctionById(index);
416
417 if (!pFunc)
418 {
419 return false;
420 }
421
422 return AddFunction(pFunc);
423}
424
425bool CForward::RemoveFunction(IPluginContext *pContext, funcid_t index)
426{

Callers 11

HookEventMethod · 0.80
AddListenerMethod · 0.80
HookConVarChangeMethod · 0.80
OnPluginLoadedMethod · 0.80
OnPluginPauseChangeMethod · 0.80
AddLogHookMethod · 0.80
sm_AddToForwardFunction · 0.80
sm_AddFrameActionFunction · 0.80
AddFunctionsToForwardMethod · 0.80
AddSettingsMenuItemFunction · 0.80

Calls 2

IsRunnableMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected