mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-28 14:53:58 +00:00
21 lines
421 B
C++
21 lines
421 B
C++
|
|
#include "livecellref.hpp"
|
|
|
|
#include <components/esm/objectstate.hpp>
|
|
|
|
void MWWorld::LiveCellRefBase::loadImp (const ESM::ObjectState& state)
|
|
{
|
|
mRef = state.mRef;
|
|
mData = RefData (state);
|
|
}
|
|
|
|
void MWWorld::LiveCellRefBase::saveImp (ESM::ObjectState& state) const
|
|
{
|
|
state.mRef = mRef;
|
|
mData.write (state);
|
|
}
|
|
|
|
bool MWWorld::LiveCellRefBase::checkStateImp (const ESM::ObjectState& state)
|
|
{
|
|
return true;
|
|
} |