#ifndef OPENMW_ESM_INVENTORYSTATE_H #define OPENMW_ESM_INVENTORYSTATE_H #include "objectstate.hpp" #include "lightstate.hpp" namespace ESM { class ESMReader; class ESMWriter; // format 0, saved games only /// \brief State for inventories and containers struct InventoryState { virtual ~InventoryState() {} // anything but lights (type, slot) std::vector > > mItems; // lights (slot) std::vector > mLights; virtual void load (ESMReader &esm); virtual void save (ESMWriter &esm) const; }; } #endif