1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00
OpenMW/components/esm/loadstat.cpp

19 lines
250 B
C++
Raw Normal View History

#include "loadstat.hpp"
#include "esmreader.hpp"
#include "esmwriter.hpp"
2012-09-17 11:37:50 +04:00
namespace ESM
{
void Static::load(ESMReader &esm)
{
2012-09-17 11:37:50 +04:00
mModel = esm.getHNString("MODL");
}
void Static::save(ESMWriter &esm)
{
2012-09-17 11:37:50 +04:00
esm.writeHNCString("MODL", mModel);
}
}