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

Method AddDependent

core/logic/NativeOwner.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void CNativeOwner::AddDependent(CPlugin *pPlugin)
51{
52 if (m_Dependents.find(pPlugin) == m_Dependents.end())
53 m_Dependents.push_back(pPlugin);
54}
55
56void CNativeOwner::AddWeakRef(const WeakNative & ref)
57{

Callers 3

BindNativeToPluginMethod · 0.80

Calls 3

push_backMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected