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

Method QueryInterfaceDrop

extensions/tf2/extension.cpp:243–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243bool TF2Tools::QueryInterfaceDrop(SMInterface *pInterface)
244{
245 if (pInterface == g_pBinTools)
246 {
247 return false;
248 }
249
250 if (pInterface == g_pSDKHooks)
251 {
252 return false;
253 }
254
255 if (pInterface == g_pSDKTools)
256 {
257 g_pSDKTools = NULL;
258 }
259
260 return IExtensionInterface::QueryInterfaceDrop(pInterface);
261}
262
263void TF2Tools::NotifyInterfaceDrop(SMInterface *pInterface)
264{

Callers 3

BindDependencyMethod · 0.45
UnloadExtensionMethod · 0.45
OnRootConsoleCommandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected