MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / isCorePlugin

Method isCorePlugin

src/plugincontainer.cpp:238–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238bool PluginRequirements::isCorePlugin() const
239{
240 // Let's consider game plugins as "core":
241 if (m_PluginContainer->implementInterface<IPluginGame>(m_Plugin)) {
242 return true;
243 }
244
245 return s_CorePlugins.contains(m_Plugin->name());
246}
247
248bool PluginRequirements::hasRequirements() const
249{

Callers 1

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected