mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 13:57:59 +03:00
21 lines
370 B
C++
21 lines
370 B
C++
![]() |
|
||
|
#include "record.hpp"
|
||
|
|
||
|
CSMWorld::RecordBase::~RecordBase() {}
|
||
|
|
||
|
bool CSMWorld::RecordBase::isDeleted() const
|
||
|
{
|
||
|
return mState==State_Deleted || mState==State_Erased;
|
||
|
}
|
||
|
|
||
|
|
||
|
bool CSMWorld::RecordBase::isErased() const
|
||
|
{
|
||
|
return mState==State_Erased;
|
||
|
}
|
||
|
|
||
|
|
||
|
bool CSMWorld::RecordBase::isModified() const
|
||
|
{
|
||
|
return mState==State_Modified || mState==State_ModifiedOnly;
|
||
|
}
|