You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
484 B
C++
32 lines
484 B
C++
10 years ago
|
#ifndef OPENMW_ESSIMPORT_IMPORTINVENTORY_H
|
||
|
#define OPENMW_ESSIMPORT_IMPORTINVENTORY_H
|
||
|
|
||
|
#include <vector>
|
||
|
#include <string>
|
||
|
|
||
|
#include <components/esm/cellref.hpp>
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
class ESMReader;
|
||
|
}
|
||
|
|
||
|
namespace ESSImport
|
||
|
{
|
||
|
|
||
|
struct Inventory
|
||
|
{
|
||
|
struct InventoryItem : public ESM::CellRef
|
||
|
{
|
||
|
std::string mId;
|
||
|
int mCondition;
|
||
|
};
|
||
|
std::vector<InventoryItem> mItems;
|
||
|
|
||
|
void load(ESM::ESMReader& esm);
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|