mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Advance map header serialization
This commit is contained in:
@ -257,6 +257,12 @@ public:
|
||||
*/
|
||||
std::vector<bool> getDefaultAllowedAbilities() const;
|
||||
|
||||
///json serialization helper
|
||||
static si32 decodeSkill(const std::string & identifier);
|
||||
|
||||
///json serialization helper
|
||||
static std::string encodeSkill(const si32 index);
|
||||
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
{
|
||||
h & classes & heroes & expPerLevel & ballistics & terrCosts;
|
||||
|
Reference in New Issue
Block a user