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