1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-17 19:10:24 +00:00
OpenMW/components/esm/loadsscr.cpp
2013-09-16 12:32:35 +02:00

21 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);
}
}