MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetAllMods

Method GetAllMods

Source/Internal/modloading.cpp:2428–2434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2426}
2427
2428std::vector<ModInstance*> ModLoading::GetAllMods() {
2429 std::vector<ModInstance*> lmods;
2430 for (auto& mod : mods) {
2431 lmods.push_back(mod);
2432 }
2433 return lmods;
2434}
2435
2436void ModLoading::AddMod(const std::string& path) {
2437 std::vector<ModInstance*>::iterator modit = GetMod(path);

Callers 7

GetActiveModsStringMethod · 0.80
DrawImGuiFunction · 0.80
GetCategorizedModsFunction · 0.80
ASDeactivateAllModsFunction · 0.80
DisplayErrorFunction · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected