mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 11:59:55 +00:00
20 lines
338 B
C++
20 lines
338 B
C++
#include "loadsscr.hpp"
|
|
|
|
#include "esm_reader.hpp"
|
|
#include "esm_writer.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);
|
|
}
|
|
|
|
}
|