1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Remove no longer used serialization methods

This commit is contained in:
Ivan Savenko
2023-11-04 18:54:15 +02:00
parent c7676bde53
commit 54103813dd
23 changed files with 12 additions and 559 deletions

View File

@ -62,16 +62,6 @@ public:
std::string getJsonKey() const;
std::string getNameTextID() const;
std::string getNameTranslated() const;
template <typename Handler> void serialize(Handler &h, const int version)
{
h & id;
h & handlerName;
h & base;
h & objects;
h & identifier;
h & modScope;
}
};
/// Main class responsible for creation of all adventure map objects
@ -130,11 +120,6 @@ public:
std::string getObjectHandlerName(MapObjectID type) const;
std::string getJsonKey(MapObjectID type) const;
template <typename Handler> void serialize(Handler &h, const int version)
{
h & objects;
}
};
VCMI_LIB_NAMESPACE_END