forked from mirror/openmw-tes3mp
17 lines
352 B
C++
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);
|
|
}
|
|
}
|