OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dialoguestate.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_ESM_DIALOGUESTATE_H
2 #define OPENMW_ESM_DIALOGUESTATE_H
3 
4 #include <string>
5 #include <vector>
6 #include <map>
7 
8 namespace ESM
9 {
10  class ESMReader;
11  class ESMWriter;
12 
13  // format 0, saved games only
14 
16  {
17  // must be lower case topic IDs
18  std::vector<std::string> mKnownTopics;
19 
20  // must be lower case faction IDs
21  std::map<std::string, std::map<std::string, int> > mChangedFactionReaction;
22 
23  void load (ESMReader &esm);
24  void save (ESMWriter &esm) const;
25  };
26 }
27 
28 #endif
Definition: esmreader.hpp:21
Definition: dialoguestate.hpp:15
std::vector< std::string > mKnownTopics
Definition: dialoguestate.hpp:18
Definition: esmwriter.hpp:17
void save(ESMWriter &esm) const
Definition: dialoguestate.cpp:33
void load(ESMReader &esm)
Definition: dialoguestate.cpp:6
std::map< std::string, std::map< std::string, int > > mChangedFactionReaction
Definition: dialoguestate.hpp:21