openmw-tes3coop/components/esm/loadstat.cpp
2012-09-17 11:37:50 +04:00

18 lines
252 B
C++

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