aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/modmanager.h
diff options
context:
space:
mode:
authorBobTheBob9 <for.oliver.kirkham@gmail.com>2022-08-22 21:59:18 +0100
committerBobTheBob9 <for.oliver.kirkham@gmail.com>2022-08-22 21:59:18 +0100
commitee8ae568bc42cb5311edd7294eb0f8f2ae078bd1 (patch)
tree9cb1cdb308d81772812cd4456f94634ee10b6670 /NorthstarDLL/modmanager.h
parent921668fd9578d514258edec7432b656cc5d7041d (diff)
downloadNorthstarLauncher-ee8ae568bc42cb5311edd7294eb0f8f2ae078bd1.tar.gz
NorthstarLauncher-ee8ae568bc42cb5311edd7294eb0f8f2ae078bd1.zip
add more prs
Diffstat (limited to 'NorthstarDLL/modmanager.h')
-rw-r--r--NorthstarDLL/modmanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDLL/modmanager.h b/NorthstarDLL/modmanager.h
index 4cd335ff..336ef804 100644
--- a/NorthstarDLL/modmanager.h
+++ b/NorthstarDLL/modmanager.h
@@ -57,6 +57,7 @@ struct ModRpakEntry
public:
bool m_bAutoLoad;
std::string m_sPakName;
+ std::string m_sLoadAfterPak;
};
class Mod
@@ -102,6 +103,8 @@ class Mod
std::unordered_map<std::string, std::string>
RpakAliases; // paks we alias to other rpaks, e.g. to load sp_crashsite paks on the map mp_crashsite
+ std::unordered_map<std::string, std::string> DependencyConstants;
+
public:
Mod(fs::path modPath, char* jsonBuf);
};
@@ -127,6 +130,7 @@ class ModManager
public:
std::vector<Mod> m_LoadedMods;
std::unordered_map<std::string, ModOverrideFile> m_ModFiles;
+ std::unordered_map<std::string, std::string> m_DependencyConstants;
public:
ModManager();