openmw-tes3coop/components/esm/loadsscr.cpp
2012-04-06 21:04:30 +02:00

18 lines
297 B
C++

#include "loadsscr.hpp"
namespace ESM
{
void StartScript::load(ESMReader &esm)
{
esm.getSubNameIs("DATA");
esm.skipHSub();
script = esm.getHNString("NAME");
}
void StartScript::save(ESMWriter &esm)
{
esm.writeHNString("DATA", "NIET");
esm.writeHNString("NAME", script);
}
}