1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-12 12:38:02 +00:00
OpenMW/components/esm/loadstat.cpp

23 lines
311 B
C++

#include "loadstat.hpp"
#include "esmreader.hpp"
#include "esmwriter.hpp"
namespace ESM
{
void Static::load(ESMReader &esm)
{
mModel = esm.getHNString("MODL");
}
void Static::save(ESMWriter &esm)
{
esm.writeHNCString("MODL", mModel);
}
void Static::blank()
{
mModel.clear();
}
}