MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / findById

Function findById

launcher/minecraft/mod/ModFolderModel.cpp:263–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263Mod* findById(QSet<Mod*> mods, QString modId)
264{
265 auto found = std::find_if(mods.begin(), mods.end(), [modId](Mod* m) { return m->mod_id() == modId; });
266 return found != mods.end() ? *found : nullptr;
267}
268
269void ModFolderModel::onParseFinished()
270{

Callers 2

onParseFinishedMethod · 0.85
collectModsFunction · 0.85

Calls 1

mod_idMethod · 0.45

Tested by

no test coverage detected