libcmo21/LibCmo/CK2/ObjImpls/CKSceneObject.hpp

29 lines
811 B
C++
Raw Normal View History

2023-08-31 21:54:25 +08:00
#pragma once
#include "../../VTInternal.hpp"
2023-08-31 21:54:25 +08:00
#include "CKObject.hpp"
namespace LibCmo::CK2::ObjImpls {
class CKSceneObject : public CKObject {
public:
CKSceneObject(CKContext* ctx, CK_ID ckid, CKSTRING name) :
CKObject(ctx, ckid, name),
m_Scenes() {}
virtual ~CKSceneObject() {}
YYCC_DEL_CLS_COPY_MOVE(CKSceneObject);
2023-08-31 21:54:25 +08:00
virtual CK_CLASSID GetClassID(void) override {
return CK_CLASSID::CKCID_SCENEOBJECT;
}
// CKSceneObject do not override any RW functions.
//virtual void PreSave(CKFileVisitor* file, CKDWORD flags) override;
//virtual bool Save(CKStateChunk* chunk, CKFileVisitor* file, CKDWORD flags) override;
//virtual bool Load(CKStateChunk* chunk, CKFileVisitor* file) override;
//virtual void PostLoad() override;
protected:
XContainer::XBitArray m_Scenes;
};
}