mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
21 lines
336 B
C++
21 lines
336 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)
|
|
{
|
|
esm.writeHNString("DATA", mData);
|
|
esm.writeHNString("NAME", mScript);
|
|
}
|
|
|
|
}
|