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

Method registerFeature

src/gamefeaturesproxy.cpp:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9{}
10
11bool GameFeaturesProxy::registerFeature(QStringList const& games,
12 std::shared_ptr<MOBase::GameFeature> feature,
13 int priority, bool replace)
14{
15 if (replace) {
16 m_Features.unregisterGameFeatures(m_CoreProxy.plugin(), feature->typeInfo());
17 }
18 return m_Features.registerGameFeature(m_CoreProxy.plugin(), games, feature, priority);
19}
20
21bool GameFeaturesProxy::registerFeature(MOBase::IPluginGame* game,
22 std::shared_ptr<MOBase::GameFeature> feature,

Callers

nothing calls this directly

Calls 4

registerGameFeatureMethod · 0.80
pluginMethod · 0.45
gameNameMethod · 0.45

Tested by

no test coverage detected