mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
19 lines
297 B
C++
19 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);
|
|
}
|
|
|
|
}
|