aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/mods/modmanager.h
diff options
context:
space:
mode:
authorunknown <for.oliver.kirkham@gmail.com>2023-02-13 16:29:29 +0000
committerBobTheBob <for.oliver.kirkham@gmail.com>2023-02-22 22:18:57 +0000
commitc6c95424345a3065cdcaf86377b414d0da2d6313 (patch)
tree614a2a190631c575507659ebf3737e35f08f1518 /NorthstarDLL/mods/modmanager.h
parent93871f36c2e36996d880aa68d6445c7d3802c100 (diff)
downloadNorthstarLauncher-c6c95424345a3065cdcaf86377b414d0da2d6313.tar.gz
NorthstarLauncher-c6c95424345a3065cdcaf86377b414d0da2d6313.zip
local commit for merging main
Diffstat (limited to 'NorthstarDLL/mods/modmanager.h')
-rw-r--r--NorthstarDLL/mods/modmanager.h2
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();