mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 20:49:56 +00:00
20 lines
336 B
C++
20 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);
|
|
}
|
|
|
|
}
|