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

Method ActiveLevelHooks

Source/Internal/modloading.cpp:2684–2695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2682}
2683
2684std::vector<std::string> ModLoading::ActiveLevelHooks() {
2685 std::vector<ModInstance*>::iterator modit = mods.begin();
2686 std::vector<std::string> files;
2687
2688 for (; modit != mods.end(); modit++) {
2689 if ((*modit)->IsActive()) {
2690 files.insert(files.end(), (*modit)->level_hook_files.begin(), (*modit)->level_hook_files.end());
2691 }
2692 }
2693
2694 return files;
2695}
2696
2697void ModLoading::RebuildLocalization() {
2698 std::vector<ModInstance*>::iterator modit = mods.begin();

Callers 1

InitializeMethod · 0.80

Calls 4

beginMethod · 0.45
endMethod · 0.45
IsActiveMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected