OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
stolenitems.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_COMPONENTS_ESM_STOLENITEMS_H
2 #define OPENMW_COMPONENTS_ESM_STOLENITEMS_H
3 
4 #include <map>
5 #include <string>
6 
7 namespace ESM
8 {
9  class ESMReader;
10  class ESMWriter;
11 
12  // format 0, saved games only
13  struct StolenItems
14  {
15  typedef std::map<std::string, std::map<std::pair<std::string, bool>, int> > StolenItemsMap;
17 
18  void load(ESM::ESMReader& esm);
19  void write(ESM::ESMWriter& esm) const;
20  };
21 
22 }
23 
24 #endif
void load(ESM::ESMReader &esm)
Definition: stolenitems.cpp:26
Definition: stolenitems.hpp:13
Definition: esmreader.hpp:21
void write(ESM::ESMWriter &esm) const
Definition: stolenitems.cpp:9
Definition: esmwriter.hpp:17
StolenItemsMap mStolenItems
Definition: stolenitems.hpp:16
std::map< std::string, std::map< std::pair< std::string, bool >, int > > StolenItemsMap
Definition: stolenitems.hpp:15