mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 18:18:52 +00:00
26 lines
437 B
C++
26 lines
437 B
C++
#ifndef OPENMW_ESM_QUESTSTATE_H
|
|
#define OPENMW_ESM_QUESTSTATE_H
|
|
|
|
#include <components/esm/refid.hpp>
|
|
#include <string>
|
|
|
|
namespace ESM
|
|
{
|
|
class ESMReader;
|
|
class ESMWriter;
|
|
|
|
// format 0, saved games only
|
|
|
|
struct QuestState
|
|
{
|
|
ESM::RefId mTopic; // lower case id
|
|
int32_t mState;
|
|
unsigned char mFinished;
|
|
|
|
void load(ESMReader& esm);
|
|
void save(ESMWriter& esm) const;
|
|
};
|
|
}
|
|
|
|
#endif
|