Something went wrong. Try again.
OpenMW is an open implementation of the Morrowind engine
Something went wrong. Try again.
452 B · 23 lines
C++
123456789101112131415161718192021222324#include "queststate.hpp"
#include "esmreader.hpp"#include "esmwriter.hpp"
namespace ESM{
void QuestState::load(ESMReader& esm) { mTopic = esm.getHNRefId("YETO"); esm.getHNOT(mState, "QSTA"); esm.getHNOT(mFinished, "QFIN"); }
void QuestState::save(ESMWriter& esm) const { esm.writeHNRefId("YETO", mTopic); esm.writeHNT("QSTA", mState); esm.writeHNT("QFIN", mFinished); }
}