1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Added 'Serializeable' base class for classes serializeable by pointer

This commit is contained in:
Ivan Savenko
2024-05-07 19:17:05 +00:00
parent cce3f1cb2d
commit 84bc6c42db
42 changed files with 145 additions and 79 deletions

View File

@@ -9,10 +9,11 @@
*/
#pragma once
#include "../GameCallbackHolder.h"
#include "../constants/EntityIdentifiers.h"
#include "../networkPacks/EInfoWindowMode.h"
#include "../networkPacks/ObjProperty.h"
#include "../constants/EntityIdentifiers.h"
#include "../GameCallbackHolder.h"
#include "../serializer/Serializeable.h"
VCMI_LIB_NAMESPACE_BEGIN
@@ -29,7 +30,7 @@ class int3;
class MetaString;
class PlayerColor;
class DLL_LINKAGE IObjectInterface : public GameCallbackHolder
class DLL_LINKAGE IObjectInterface : public GameCallbackHolder, public virtual Serializeable
{
public:
using GameCallbackHolder::GameCallbackHolder;