30 lines
675 B
C++
30 lines
675 B
C++
#include "CKSceneObject.hpp"
|
|
#include "../CKStateChunk.hpp"
|
|
#include "CKBeObject.hpp"
|
|
|
|
namespace LibCmo::CK2::ObjImpls {
|
|
|
|
bool CKBeObject::Save(CKStateChunk* chunk, CKFileVisitor* file, CKDWORD flags) {
|
|
bool suc = CKSceneObject::Save(chunk, file, flags);
|
|
if (!suc) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
bool CKBeObject::Load(CKStateChunk* chunk, CKFileVisitor* file) {
|
|
bool suc = CKSceneObject::Load(chunk, file);
|
|
if (!suc) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
bool CKBeObject::IsInGroup(CKGroup* group) {
|
|
return false;
|
|
}
|
|
|
|
void CKBeObject::CKGroup_SetGroups(CKDWORD pos, bool val) {
|
|
if (pos >= m_Groups.size()) m_Groups.resize(pos + 1);
|
|
m_Groups[pos] = val;
|
|
}
|
|
|
|
} |