OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
importinventory.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_ESSIMPORT_IMPORTINVENTORY_H
2 #define OPENMW_ESSIMPORT_IMPORTINVENTORY_H
3 
4 #include <vector>
5 #include <string>
6 
8 #include "importscri.hpp"
9 
10 namespace ESM
11 {
12  class ESMReader;
13 }
14 
15 namespace ESSImport
16 {
17 
18  struct Inventory
19  {
20  struct InventoryItem : public ESM::CellRef
21  {
22  std::string mId;
23  int mCount;
26  };
27  std::vector<InventoryItem> mItems;
28 
29  void load(ESM::ESMReader& esm);
30  };
31 
32 }
33 
34 #endif
Definition: importinventory.hpp:18
SCRI mSCRI
Definition: importinventory.hpp:25
Definition: esmreader.hpp:21
std::vector< InventoryItem > mItems
Definition: importinventory.hpp:27
Local variable assignments for a running script.
Definition: importscri.hpp:17
int mRelativeEquipmentSlot
Definition: importinventory.hpp:24
int mCount
Definition: importinventory.hpp:23
Definition: cellref.hpp:34
Definition: importinventory.hpp:20
std::string mId
Definition: importinventory.hpp:22
void load(ESM::ESMReader &esm)
Definition: importinventory.cpp:12