mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Restored mod list display functionality in launcher
This commit is contained in:
@@ -69,9 +69,11 @@ class ModsStorage : boost::noncopyable
|
||||
std::map<TModID, ModDescription> mods;
|
||||
|
||||
public:
|
||||
ModsStorage(const TModList & modsToLoad, const std::vector<JsonNode> & repositoryList);
|
||||
ModsStorage(const TModList & modsToLoad, const JsonNode & repositoryList);
|
||||
|
||||
const ModDescription & getMod(const TModID & fullID) const;
|
||||
|
||||
TModList getAllMods() const;
|
||||
};
|
||||
|
||||
/// Provides public interface to access mod state
|
||||
@@ -92,13 +94,13 @@ class DLL_LINKAGE ModManager : boost::noncopyable
|
||||
void addNewModsToPreset();
|
||||
|
||||
public:
|
||||
ModManager(const std::vector<JsonNode> & repositoryList);
|
||||
ModManager(const JsonNode & repositoryList);
|
||||
ModManager();
|
||||
~ModManager();
|
||||
|
||||
const ModDescription & getModDescription(const TModID & modID) const;
|
||||
const TModList & getActiveMods() const;
|
||||
const TModList & getAllMods() const;
|
||||
TModList getAllMods() const;
|
||||
bool isModActive(const TModID & modID) const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user