1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:19:54 +00:00
openmw-tes3mp/components/esm/loadstat.cpp

22 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();
}
}