mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
IdentifierStorage is now separate handler in VLC
This commit is contained in:
@@ -54,13 +54,9 @@ class DLL_LINKAGE CModHandler : boost::noncopyable
|
||||
/// Attempt to set active mods according to provided list of mods from save, throws on failure
|
||||
void trySetActiveMods(std::vector<TModID> saveActiveMods, const std::map<TModID, CModVersion> & modList);
|
||||
|
||||
std::unique_ptr<CIdentifierStorage> identifiers;
|
||||
|
||||
public:
|
||||
std::shared_ptr<CContentHandler> content; //(!)Do not serialize FIXME: make private
|
||||
|
||||
CIdentifierStorage & getIdentifiers();
|
||||
|
||||
/// receives list of available mods and trying to load mod.json from all of them
|
||||
void initializeConfig();
|
||||
void loadMods(bool onlyEssential = false);
|
||||
@@ -109,8 +105,6 @@ public:
|
||||
|
||||
trySetActiveMods(saveActiveMods, modVersions);
|
||||
}
|
||||
|
||||
h & identifiers;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user