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

Method FastCloneHandle

core/logic/HandleSys.cpp:642–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642Handle_t HandleSystem::FastCloneHandle(QHandle *pHandle, unsigned int index)
643{
644 if (pHandle->clone)
645 return FastCloneHandle(&m_Handles[pHandle->clone], pHandle->clone);
646
647 Handle_t hndl;
648 if (CloneHandle(pHandle, index, &hndl, g_pCoreIdent) != HandleError_None)
649 return BAD_HANDLE;
650
651 return hndl;
652}
653
654Handle_t HandleSystem::FastCloneHandle(Handle_t hndl)
655{

Callers 2

AutoHandleRooterMethod · 0.80
AutoHandleRooterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected