2011-04-08 17:58:21 +04:00
|
|
|
#include "loadsscr.hpp"
|
|
|
|
|
2012-09-23 22:41:41 +04:00
|
|
|
#include "esmreader.hpp"
|
|
|
|
#include "esmwriter.hpp"
|
2012-09-17 11:37:50 +04:00
|
|
|
|
2011-04-08 17:58:21 +04:00
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
|
|
|
|
void StartScript::load(ESMReader &esm)
|
|
|
|
{
|
2012-09-20 20:33:30 +04:00
|
|
|
mData = esm.getHNString("DATA");
|
2012-09-17 11:37:50 +04:00
|
|
|
mScript = esm.getHNString("NAME");
|
2011-04-08 17:58:21 +04:00
|
|
|
}
|
2012-04-06 21:04:30 +02:00
|
|
|
void StartScript::save(ESMWriter &esm)
|
|
|
|
{
|
2012-09-20 20:33:30 +04:00
|
|
|
esm.writeHNString("DATA", mData);
|
2012-09-17 11:37:50 +04:00
|
|
|
esm.writeHNString("NAME", mScript);
|
2011-04-08 17:58:21 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|