mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-24 17:23:50 +00:00
17 lines
355 B
C++
17 lines
355 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.writeHNCString("MODL", model);
|
|
esm.writeHNCString("FNAM", name);
|
|
esm.writeHNOCString("SCRI", script);
|
|
}
|
|
}
|