OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
containerstate.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_ESM_CONTAINERSTATE_H
2 #define OPENMW_ESM_CONTAINERSTATE_H
3 
4 #include "objectstate.hpp"
5 #include "inventorystate.hpp"
6 
7 namespace ESM
8 {
9  // format 0, saved games only
10 
11  struct ContainerState : public ObjectState
12  {
14 
15  virtual void load (ESMReader &esm);
16  virtual void save (ESMWriter &esm, bool inInventory = false) const;
17  };
18 }
19 
20 #endif
Definition: containerstate.hpp:11
Definition: esmreader.hpp:21
InventoryState mInventory
Definition: containerstate.hpp:13
Definition: esmwriter.hpp:17
<
Definition: objectstate.hpp:19
State for inventories and containers.
Definition: inventorystate.hpp:16
virtual void save(ESMWriter &esm, bool inInventory=false) const
Definition: containerstate.cpp:10
virtual void load(ESMReader &esm)
Definition: containerstate.cpp:3