1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Implement detection of mod compatibility patches

This commit is contained in:
Ivan Savenko
2024-10-06 15:54:30 +00:00
parent d0aba56a5e
commit d849e53499
6 changed files with 62 additions and 19 deletions

View File

@@ -19,6 +19,8 @@ class CModInfo;
/// internal type to handle loading of one data type (e.g. artifacts, creatures)
class DLL_LINKAGE ContentTypeHandler
{
JsonNode conflictList;
public:
struct ModInfo
{
@@ -29,7 +31,7 @@ public:
};
/// handler to which all data will be loaded
IHandlerBase * handler;
std::string objectName;
std::string entityName;
/// contains all loaded H3 data
std::vector<JsonNode> originalData;