MCPcopy Create free account
hub / github.com/MultiMC/Launcher / loaderModList

Method loaderModList

launcher/minecraft/MinecraftInstance.cpp:963–972  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

961}
962
963std::shared_ptr<ModFolderModel> MinecraftInstance::loaderModList() const
964{
965 if (!m_loader_mod_list)
966 {
967 m_loader_mod_list.reset(new ModFolderModel(modsRoot()));
968 m_loader_mod_list->disableInteraction(isRunning());
969 connect(this, &BaseInstance::runningStatusChanged, m_loader_mod_list.get(), &ModFolderModel::disableInteraction);
970 }
971 return m_loader_mod_list;
972}
973
974std::shared_ptr<ModFolderModel> MinecraftInstance::coreModList() const
975{

Callers 2

getPagesFunction · 0.80
executeTaskMethod · 0.80

Calls 3

resetMethod · 0.45
disableInteractionMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected