1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 23:19:56 +00:00
openmw-tes3mp/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 07:37:50 +00:00
namespace ESM
{
void Static::load(ESMReader &esm)
{
2012-09-17 07:37:50 +00:00
mModel = esm.getHNString("MODL");
}
void Static::save(ESMWriter &esm)
{
2012-09-17 07:37:50 +00:00
esm.writeHNCString("MODL", mModel);
}
}