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

Function GetPluginIterator

core/logic/smn_core.cpp:325–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325static cell_t GetPluginIterator(IPluginContext *pContext, const cell_t *params)
326{
327 IPluginIterator *iter = scripts->GetPluginIterator();
328
329 Handle_t hndl = handlesys->CreateHandle(g_PlIter, iter, pContext->GetIdentity(), g_pCoreIdent, NULL);
330
331 if (hndl == BAD_HANDLE)
332 {
333 iter->Release();
334 }
335
336 return hndl;
337}
338
339static cell_t MorePlugins(IPluginContext *pContext, const cell_t *params)
340{

Callers

nothing calls this directly

Calls 4

GetPluginIteratorMethod · 0.45
CreateHandleMethod · 0.45
GetIdentityMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected