aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/mods/modmanager.h
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-07-07 16:11:43 +0100
committerGitHub <noreply@github.com>2023-07-07 17:11:43 +0200
commit9f9e3a906f2792ee518c7d9910d70607469f80ae (patch)
tree0716bc0639a181c1a390eb3ca3d3e54a8c8bbf9d /NorthstarDLL/mods/modmanager.h
parent513705e33f59273c5b463c0da874a0066e8d0589 (diff)
downloadNorthstarLauncher-9f9e3a906f2792ee518c7d9910d70607469f80ae.tar.gz
NorthstarLauncher-9f9e3a906f2792ee518c7d9910d70607469f80ae.zip
- Removes the log spam of "changing mod search path" - Logs mods as they are loaded, alongside their ConVars, Scripts, ConCommands, etc. - Warns in the console about errors in the mod.json instead of silently skipping things
Diffstat (limited to 'NorthstarDLL/mods/modmanager.h')
-rw-r--r--NorthstarDLL/mods/modmanager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/NorthstarDLL/mods/modmanager.h b/NorthstarDLL/mods/modmanager.h
index c25c95ba..33f4ceac 100644
--- a/NorthstarDLL/mods/modmanager.h
+++ b/NorthstarDLL/mods/modmanager.h
@@ -126,6 +126,14 @@ class Mod
public:
Mod(fs::path modPath, char* jsonBuf);
+
+ private:
+ void ParseConVars(rapidjson_document& json);
+ void ParseConCommands(rapidjson_document& json);
+ void ParseScripts(rapidjson_document& json);
+ void ParseLocalization(rapidjson_document& json);
+ void ParseDependencies(rapidjson_document& json);
+ void ParseInitScript(rapidjson_document& json);
};
struct ModOverrideFile