openmw-tes3coop/components/esm/loadsscr.cpp
2013-09-16 12:32:35 +02:00

20 lines
342 B
C++

#include "loadsscr.hpp"
#include "esmreader.hpp"
#include "esmwriter.hpp"
namespace ESM
{
void StartScript::load(ESMReader &esm)
{
mData = esm.getHNString("DATA");
mScript = esm.getHNString("NAME");
}
void StartScript::save(ESMWriter &esm) const
{
esm.writeHNString("DATA", mData);
esm.writeHNString("NAME", mScript);
}
}