OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
ESM::InventoryState Struct Reference

State for inventories and containers. More...

#include <inventorystate.hpp>

Collaboration diagram for ESM::InventoryState:

Public Types

typedef std::map< std::string,
std::vector< std::pair< float,
float > > > 
TEffectMagnitudes
 

Public Member Functions

 InventoryState ()
 
virtual ~InventoryState ()
 
virtual void load (ESMReader &esm)
 
virtual void save (ESMWriter &esm) const
 

Public Attributes

std::vector< ObjectStatemItems
 
std::map< int, intmEquipmentSlots
 
std::map< std::pair
< std::string, std::string >
, int
mLevelledItemMap
 
TEffectMagnitudes mPermanentMagicEffectMagnitudes
 
int mSelectedEnchantItem
 

Detailed Description

State for inventories and containers.

Member Typedef Documentation

typedef std::map<std::string, std::vector<std::pair<float, float> > > ESM::InventoryState::TEffectMagnitudes

Constructor & Destructor Documentation

ESM::InventoryState::InventoryState ( )
inline
virtual ESM::InventoryState::~InventoryState ( )
inlinevirtual

Member Function Documentation

void ESM::InventoryState::load ( ESMReader esm)
virtual

Here is the call graph for this function:

Here is the caller graph for this function:

void ESM::InventoryState::save ( ESMWriter esm) const
virtual

Here is the call graph for this function:

Member Data Documentation

std::map<int, int> ESM::InventoryState::mEquipmentSlots
std::vector<ObjectState> ESM::InventoryState::mItems
std::map<std::pair<std::string, std::string>, int> ESM::InventoryState::mLevelledItemMap
TEffectMagnitudes ESM::InventoryState::mPermanentMagicEffectMagnitudes
int ESM::InventoryState::mSelectedEnchantItem

The documentation for this struct was generated from the following files: