OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
locals.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_ESM_LOCALS_H
2 #define OPENMW_ESM_LOCALS_H
3 
4 #include <vector>
5 #include <string>
6 
7 #include "variant.hpp"
8 
9 namespace ESM
10 {
11  class ESMReader;
12  class ESMWriter;
13 
17 
18  struct Locals
19  {
20  std::vector<std::pair<std::string, Variant> > mVariables;
21 
22  void load (ESMReader &esm);
23  void save (ESMWriter &esm) const;
24  };
25 }
26 
27 #endif
void load(ESMReader &esm)
Definition: locals.cpp:6
Definition: esmreader.hpp:21
Definition: esmwriter.hpp:17
void save(ESMWriter &esm) const
Definition: locals.cpp:19
Storage structure for local variables (only used in saved games)
Definition: locals.hpp:18
std::vector< std::pair< std::string, Variant > > mVariables
Definition: locals.hpp:20