Add mod IDs to mod json

Each mod must have a unique ID
This commit is contained in:
PJB3005
2026-05-15 22:40:46 +02:00
parent 012b54b325
commit 3f018204b6
5 changed files with 86 additions and 28 deletions
+6 -1
View File
@@ -22,11 +22,16 @@ struct RmlTabUpdateCallback {
void* userdata;
};
struct LoadedMod {
struct ModMetadata {
std::string id;
std::string name;
std::string version;
std::string author;
std::string description;
};
struct LoadedMod {
ModMetadata metadata;
std::string mod_path;
std::string dir;