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

Method texturePackList

launcher/minecraft/MinecraftInstance.cpp:996–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994}
995
996std::shared_ptr<ModFolderModel> MinecraftInstance::texturePackList() const
997{
998 if (!m_texture_pack_list)
999 {
1000 m_texture_pack_list.reset(new TexturePackFolderModel(texturePacksDir()));
1001 m_texture_pack_list->disableInteraction(isRunning());
1002 connect(this, &BaseInstance::runningStatusChanged, m_texture_pack_list.get(), &ModFolderModel::disableInteraction);
1003 }
1004 return m_texture_pack_list;
1005}
1006
1007std::shared_ptr<ModFolderModel> MinecraftInstance::shaderPackList() const
1008{

Callers 1

TexturePackPageClass · 0.80

Calls 3

resetMethod · 0.45
disableInteractionMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected