mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Remove no longer used serialization methods
This commit is contained in:
@@ -41,15 +41,6 @@ public:
|
||||
ui8 movementCost;
|
||||
|
||||
RoadType();
|
||||
|
||||
template <typename Handler> void serialize(Handler& h, const int version)
|
||||
{
|
||||
h & tilesFilename;
|
||||
h & identifier;
|
||||
h & modScope;
|
||||
h & id;
|
||||
h & movementCost;
|
||||
}
|
||||
};
|
||||
|
||||
class DLL_LINKAGE RoadTypeService : public EntityServiceT<RoadId, RoadType>
|
||||
@@ -71,11 +62,6 @@ public:
|
||||
virtual const std::vector<std::string> & getTypeNames() const override;
|
||||
virtual std::vector<JsonNode> loadLegacyData() override;
|
||||
virtual std::vector<bool> getDefaultAllowed() const override;
|
||||
|
||||
template <typename Handler> void serialize(Handler & h, const int version)
|
||||
{
|
||||
h & objects;
|
||||
}
|
||||
};
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
||||
Reference in New Issue
Block a user