mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-19 00:17:56 +02:00
It is now possible to export or import mod preset to/from clipboard
This commit is contained in:
@ -58,6 +58,9 @@ public:
|
||||
std::vector<std::string> getAllPresets() const;
|
||||
std::string getActivePreset() const;
|
||||
|
||||
JsonNode exportCurrentPreset() const;
|
||||
void importPreset(const JsonNode & data);
|
||||
|
||||
void setModActive(const TModID & modName, bool isActive);
|
||||
|
||||
void addRootMod(const TModID & modName);
|
||||
@ -155,6 +158,9 @@ public:
|
||||
|
||||
std::vector<std::string> getAllPresets() const;
|
||||
std::string getActivePreset() const;
|
||||
|
||||
JsonNode exportCurrentPreset() const;
|
||||
void importPreset(const JsonNode & data);
|
||||
};
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user