MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / getMod

Method getMod

src/modlist.cpp:844–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842}
843
844MOBase::IModInterface* ModList::getMod(const QString& name) const
845{
846 unsigned int index = ModInfo::getIndex(name);
847 return index == UINT_MAX ? nullptr : ModInfo::getByIndex(index).data();
848}
849
850bool ModList::removeMod(MOBase::IModInterface* mod)
851{

Callers 4

createEmptyModMethod · 0.45
createSeparatorMethod · 0.45

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected