mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
33 lines
508 B
C++
33 lines
508 B
C++
#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 mCount;
|
|
int mCondition;
|
|
};
|
|
std::vector<InventoryItem> mItems;
|
|
|
|
void load(ESM::ESMReader& esm);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|