2011-04-08 13:58:21 +00:00
|
|
|
#include "loadstat.hpp"
|
|
|
|
|
2012-09-23 18:41:41 +00:00
|
|
|
#include "esmreader.hpp"
|
|
|
|
#include "esmwriter.hpp"
|
2012-09-17 07:37:50 +00:00
|
|
|
|
2011-04-08 13:58:21 +00:00
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
|
|
|
|
void Static::load(ESMReader &esm)
|
|
|
|
{
|
2012-09-17 07:37:50 +00:00
|
|
|
mModel = esm.getHNString("MODL");
|
2011-04-08 13:58:21 +00:00
|
|
|
}
|
2012-04-06 19:04:30 +00:00
|
|
|
void Static::save(ESMWriter &esm)
|
|
|
|
{
|
2012-09-17 07:37:50 +00:00
|
|
|
esm.writeHNCString("MODL", mModel);
|
2011-04-08 13:58:21 +00:00
|
|
|
}
|
|
|
|
|
2013-05-06 12:10:43 +00:00
|
|
|
void Static::blank()
|
|
|
|
{
|
|
|
|
mModel.clear();
|
|
|
|
}
|
2011-04-08 13:58:21 +00:00
|
|
|
}
|