mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
25 lines
400 B
C++
25 lines
400 B
C++
#ifndef OPENMW_ESM_QUESTSTATE_H
|
|
#define OPENMW_ESM_QUESTSTATE_H
|
|
|
|
#include <string>
|
|
|
|
namespace ESM
|
|
{
|
|
class ESMReader;
|
|
class ESMWriter;
|
|
|
|
// format 0, saved games only
|
|
|
|
struct QuestState
|
|
{
|
|
std::string mTopic; // lower case id
|
|
int mState;
|
|
unsigned char mFinished;
|
|
|
|
void load (ESMReader &esm);
|
|
void save (ESMWriter &esm) const;
|
|
};
|
|
}
|
|
|
|
#endif
|