aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/modmanager.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-06 21:46:32 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-06 21:46:32 +0100
commit900855c0036aa9a6a6305e3f17a41a55640bdfaf (patch)
tree2f6a3c07549927b600ec3b1a8389a0062a684a53 /NorthstarDedicatedTest/modmanager.h
parent51df18abbc0c344b56f88e0a66b6b46d6aca375c (diff)
downloadNorthstarLauncher-900855c0036aa9a6a6305e3f17a41a55640bdfaf.tar.gz
NorthstarLauncher-900855c0036aa9a6a6305e3f17a41a55640bdfaf.zip
add mod enabling/disabling
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.h')
-rw-r--r--NorthstarDedicatedTest/modmanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/modmanager.h b/NorthstarDedicatedTest/modmanager.h
index 079e1613..03160dd8 100644
--- a/NorthstarDedicatedTest/modmanager.h
+++ b/NorthstarDedicatedTest/modmanager.h
@@ -3,6 +3,7 @@
#include <string>
#include <vector>
#include <filesystem>
+#include "rapidjson/document.h"
namespace fs = std::filesystem;
@@ -96,6 +97,11 @@ public:
class ModManager
{
+private:
+ bool m_hasLoadedMods = false;
+ bool m_hasEnabledModsCfg;
+ rapidjson::Document m_enabledModsCfg;
+
public:
std::vector<Mod*> m_loadedMods;
std::unordered_map<std::string, ModOverrideFile*> m_modFiles;