1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/components/esm/loadglob.cpp
2013-03-05 08:02:05 +01:00

25 lines
476 B
C++

#include "loadglob.hpp"
namespace ESM
{
void Global::load (ESMReader &esm)
{
mValue.read (esm, ESM::Variant::Format_Global);
}
void Global::save (ESMWriter &esm)
{
mValue.write (esm, ESM::Variant::Format_Global);
}
void Global::blank()
{
mValue.setType (ESM::VT_None);
}
bool operator== (const Global& left, const Global& right)
{
return left.mId==right.mId && left.mValue==right.mValue;
}
}