write some printer for ck class

This commit is contained in:
2023-09-22 16:40:10 +08:00
parent ddf596faec
commit d37a552873
11 changed files with 440 additions and 34 deletions

View File

@ -26,7 +26,7 @@ namespace LibCmo::CK2::ObjImpls {
return true;
}
bool CKBeObject::IsInGroup(CKGroup* group) {
bool CKBeObject::IsInGroup(CKGroup* group) const {
if (group == nullptr) return false;
CKDWORD idx = group->GetGroupIndex();
return XContainer::NSXBitArray::IsSet(m_Groups, idx);