You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
477 B
C++
27 lines
477 B
C++
#include "loadstat.hpp"
|
|
|
|
#include "esmreader.hpp"
|
|
#include "esmwriter.hpp"
|
|
#include "defs.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
unsigned int Static::sRecordId = REC_STAT;
|
|
|
|
void Static::load(ESMReader &esm)
|
|
{
|
|
mPersistent = (esm.getRecordFlags() & 0x0400) != 0;
|
|
|
|
mModel = esm.getHNString("MODL");
|
|
}
|
|
void Static::save(ESMWriter &esm) const
|
|
{
|
|
esm.writeHNCString("MODL", mModel);
|
|
}
|
|
|
|
void Static::blank()
|
|
{
|
|
mModel.clear();
|
|
}
|
|
}
|