1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 19:49:54 +00:00
openmw-tes3mp/components/esm/queststate.cpp
2013-11-30 14:41:12 +01:00

19 lines
No EOL
406 B
C++

#include "queststate.hpp"
#include "esmreader.hpp"
#include "esmwriter.hpp"
void ESM::QuestState::load (ESMReader &esm)
{
mTopic = esm.getHNString ("YETO");
esm.getHNOT (mState, "QSTAT");
esm.getHNOT (mFinished, "QFIN");
}
void ESM::QuestState::save (ESMWriter &esm) const
{
esm.writeHNString ("YETO", mTopic);
esm.writeHNT ("QSTAT", mState);
esm.writeHNT ("QFIN", mFinished);
}