mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
67bd6cd708
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
19 lines
404 B
C++
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);
|
|
}
|