MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / GetPluginById

Method GetPluginById

src/render/plugin_interface/gr_plugin_interface.cpp:382–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380 }
381
382 GrPluginInterface* GrPluginInterface::GetPluginById(const std::string& plugin_id) {
383 for (const auto& [id, plugin] : total_plugins_) {
384 if (plugin_id == plugin->GetPluginId()) {
385 return plugin;
386 }
387 }
388 return nullptr;
389 }
390
391}

Callers

nothing calls this directly

Calls 1

GetPluginIdMethod · 0.45

Tested by

no test coverage detected