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

Method loaderModList

launcher/minecraft/MinecraftInstance.cpp:960–969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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