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