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/queststate.cpp

19 lines
404 B
C++

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