You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/components/esm/loadsscr.cpp

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);
}
}