mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Advance map header serialization
This commit is contained in:
@@ -360,6 +360,12 @@ public:
|
||||
|
||||
const std::string getTypeName() const override;
|
||||
|
||||
///json serialization helper
|
||||
static si32 decodeSpell(const std::string & identifier);
|
||||
|
||||
///json serialization helper
|
||||
static std::string encodeSpell(const si32 index);
|
||||
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
{
|
||||
h & objects ;
|
||||
|
||||
Reference in New Issue
Block a user