mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Integrated defaultMods into mod system
This commit is contained in:
@@ -29,7 +29,7 @@ protected:
|
||||
public:
|
||||
/// loads all original game data in vector of json nodes
|
||||
/// dataSize - is number of items that must be loaded (normally - constant from GameConstants)
|
||||
virtual std::vector<JsonNode> loadLegacyData(size_t dataSize) = 0;
|
||||
virtual std::vector<JsonNode> loadLegacyData() = 0;
|
||||
|
||||
/// loads single object into game. Scope is namespace of this object, same as name of source mod
|
||||
virtual void loadObject(std::string scope, std::string name, const JsonNode & data) = 0;
|
||||
|
||||
Reference in New Issue
Block a user