diff options
author | unknown <for.oliver.kirkham@gmail.com> | 2023-02-13 16:29:29 +0000 |
---|---|---|
committer | unknown <for.oliver.kirkham@gmail.com> | 2023-02-13 16:29:29 +0000 |
commit | 9dec8feed649024b04af82b4bf2875d1d4705664 (patch) | |
tree | da7cd19f72a1d2dc4813d810c4e4aa1be981b068 /NorthstarDLL/mods/modmanager.h | |
parent | 56372efa9706898c8646376182b544bc6350c5c7 (diff) | |
download | NorthstarLauncher-9dec8feed649024b04af82b4bf2875d1d4705664.tar.gz NorthstarLauncher-9dec8feed649024b04af82b4bf2875d1d4705664.zip |
local commit for merging main
Diffstat (limited to 'NorthstarDLL/mods/modmanager.h')
-rw-r--r-- | NorthstarDLL/mods/modmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/mods/modmanager.h b/NorthstarDLL/mods/modmanager.h index 0bb696e8..ea5c4105 100644 --- a/NorthstarDLL/mods/modmanager.h +++ b/NorthstarDLL/mods/modmanager.h @@ -225,6 +225,8 @@ class ModManager // for std::views::filter, e.g. for (Mod& mod : g_pModManager::GetMods() | ModManager::FilterEnabled) static inline constexpr auto FilterEnabled = std::views::filter([](Mod& mod) { return mod.m_bEnabled; }); + static inline constexpr auto FilterRemote = std::views::filter([](Mod& mod) { return mod.m_bRemote; }); + static inline constexpr auto FilterLocal = std::views::filter([](Mod& mod) { return !mod.m_bRemote; }); }; fs::path GetModFolderPath(); |