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

Method DropCapabilityProvider

core/logic/ShareSys.cpp:458–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458void ShareSystem::DropCapabilityProvider(IExtension *myself, IFeatureProvider *provider,
459 const char *name)
460{
461 StringHashMap<Capability>::Result r = m_caps.find(name);
462 if (!r.found())
463 return;
464 if (r->value.ext != myself || r->value.provider != provider)
465 return;
466
467 m_caps.remove(r);
468}
469
470FeatureStatus ShareSystem::TestFeature(IPluginRuntime *pRuntime, FeatureType feature,
471 const char *name)

Callers 3

OnSourceModShutdownMethod · 0.80
ShutdownMethod · 0.80
SDK_OnUnloadMethod · 0.80

Calls 2

findMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected