libcmo21/LibCmo/CK2/ObjImpls/CKSceneObject.hpp
yyc12345 ead22d13ff fix: remove useless void in function parameter list
- according to c++ standard, single void in function parameter is equal to empty parameter list. for removing this syntax which may cause misunderstanding (becuase in C, they are different I guess), I replace all `(void)` to `()`.
2024-12-28 22:09:26 +08:00

29 lines
807 B
C++

#pragma once
#include "../../VTInternal.hpp"
#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);
virtual CK_CLASSID GetClassID() 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;
};
}