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

Function ASDeactivateAllMods

Source/Scripting/angelscript/asfuncs.cpp:7362–7367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7360}
7361
7362static void ASDeactivateAllMods() {
7363 std::vector<ModInstance*> mods = ModLoading::Instance().GetAllMods();
7364 for (auto& mod : mods) {
7365 mod->Activate(false);
7366 }
7367}
7368
7369static bool ASIsWorkshopAvailable() {
7370#if ENABLE_STEAMWORKS

Callers

nothing calls this directly

Calls 2

GetAllModsMethod · 0.80
ActivateMethod · 0.45

Tested by

no test coverage detected