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

Method RemoveFunction

core/logic/ForwardSys.cpp:425–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425bool CForward::RemoveFunction(IPluginContext *pContext, funcid_t index)
426{
427 IPluginFunction *pFunc = pContext->GetFunctionById(index);
428
429 if (!pFunc)
430 {
431 return false;
432 }
433
434 return RemoveFunction(pFunc);
435}
436
437bool CForward::RemoveFunction(IPluginFunction *func)
438{

Callers 5

UnhookEventMethod · 0.80
RemoveListenerMethod · 0.80
UnhookConVarChangeMethod · 0.80
RemoveLogHookMethod · 0.80
sm_RemoveFromForwardFunction · 0.80

Calls 5

IsRunnableMethod · 0.80
doneMethod · 0.80
nextMethod · 0.80
removeMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected