openmw-tes3coop/components/esm/loadacti.cpp
2012-04-06 21:14:52 +02:00

17 lines
352 B
C++

#include "loadacti.hpp"
namespace ESM
{
void Activator::load(ESMReader &esm)
{
model = esm.getHNString("MODL");
name = esm.getHNString("FNAM");
script = esm.getHNOString("SCRI");
}
void Activator::save(ESMWriter &esm)
{
esm.writeHNString("MODL", model);
esm.writeHNString("FNAM", name);
esm.writeHNOString("SCRI", script);
}
}