MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / allMods

Method allMods

launcher/minecraft/mod/ModFolderModel.cpp:334–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334auto ModFolderModel::allMods() -> QList<Mod*>
335{
336 QList<Mod*> mods;
337
338 for (auto& res : qAsConst(m_resources)) {
339 mods.append(static_cast<Mod*>(res.get()));
340 }
341
342 return mods;
343}
344
345void ModFolderModel::onUpdateSucceeded()
346{

Callers 9

collectHashesMethod · 0.80
collectHashesMethod · 0.80
isPackInstalledMethod · 0.80
updateModsMethod · 0.80
exportModMetadataMethod · 0.80
verboseDescriptionMethod · 0.80
test_addFromWatchFunction · 0.80

Calls 2

appendMethod · 0.80
getMethod · 0.45

Tested by 1

test_addFromWatchFunction · 0.64