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

Method GetLocalMods

Source/Internal/modloading.cpp:2418–2426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2416}
2417
2418std::vector<ModInstance*> ModLoading::GetLocalMods() {
2419 std::vector<ModInstance*> lmods;
2420 for (auto& mod : mods) {
2421 if (mod->modsource == ModSourceLocalModFolder) {
2422 lmods.push_back(mod);
2423 }
2424 }
2425 return lmods;
2426}
2427
2428std::vector<ModInstance*> ModLoading::GetAllMods() {
2429 std::vector<ModInstance*> lmods;

Callers 1

DrawUpdateToSteamworksFunction · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected