OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
queststate.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_ESM_QUESTSTATE_H
2 #define OPENMW_ESM_QUESTSTATE_H
3 
4 #include <string>
5 
6 namespace ESM
7 {
8  class ESMReader;
9  class ESMWriter;
10 
11  // format 0, saved games only
12 
13  struct QuestState
14  {
15  std::string mTopic; // lower case id
16  int mState;
17  unsigned char mFinished;
18 
19  void load (ESMReader &esm);
20  void save (ESMWriter &esm) const;
21  };
22 }
23 
24 #endif
void load(ESMReader &esm)
Definition: queststate.cpp:6
std::string mTopic
Definition: queststate.hpp:15
Definition: esmreader.hpp:21
Definition: queststate.hpp:13
int mState
Definition: queststate.hpp:16
void save(ESMWriter &esm) const
Definition: queststate.cpp:13
Definition: esmwriter.hpp:17
unsigned char mFinished
Definition: queststate.hpp:17