mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Remove no longer used serialization methods
This commit is contained in:
@@ -53,19 +53,6 @@ public:
|
||||
std::string getNameTranslated() const override;
|
||||
void registerIcons(const IconRegistar & cb) const override;
|
||||
BattleField getId() const override;
|
||||
|
||||
template <typename Handler> void serialize(Handler & h, const int version)
|
||||
{
|
||||
h & name;
|
||||
h & identifier;
|
||||
h & isSpecial;
|
||||
h & graphics;
|
||||
h & icon;
|
||||
h & iconIndex;
|
||||
h & battlefield;
|
||||
h & impassableHexes;
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
class DLL_LINKAGE BattleFieldService : public EntityServiceT<BattleField, BattleFieldInfo>
|
||||
@@ -85,11 +72,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