OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
quickkeys.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_COMPONENTS_ESM_QUICKKEYS_H
2 #define OPENMW_COMPONENTS_ESM_QUICKKEYS_H
3 
4 #include <vector>
5 #include <string>
6 
7 namespace ESM
8 {
9  class ESMReader;
10  class ESMWriter;
11 
12  struct QuickKeys
13  {
14  struct QuickKey
15  {
16  int mType;
17  std::string mId; // Spell or Item ID
18  };
19 
20  std::vector<QuickKey> mKeys;
21 
22  void load (ESMReader &esm);
23  void save (ESMWriter &esm) const;
24  };
25 
26 }
27 
28 #endif
Definition: esmreader.hpp:21
int mType
Definition: quickkeys.hpp:16
void save(ESMWriter &esm) const
Definition: quickkeys.cpp:32
void load(ESMReader &esm)
Definition: quickkeys.cpp:9
Definition: esmwriter.hpp:17
Definition: quickkeys.hpp:12
std::vector< QuickKey > mKeys
Definition: quickkeys.hpp:20
Definition: quickkeys.hpp:14
std::string mId
Definition: quickkeys.hpp:17