mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
23 lines
414 B
C++
23 lines
414 B
C++
#include "loadsscr.hpp"
|
|
|
|
#include "esmreader.hpp"
|
|
#include "esmwriter.hpp"
|
|
#include "defs.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
unsigned int StartScript::sRecordId = REC_SSCR;
|
|
|
|
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);
|
|
}
|
|
|
|
}
|