1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 12:20:41 +00:00
OpenMW/apps/essimporter/importnpcc.hpp

38 lines
588 B
C++

#ifndef OPENMW_ESSIMPORT_NPCC_H
#define OPENMW_ESSIMPORT_NPCC_H
#include <components/esm/loadcont.hpp>
namespace ESM
{
class ESMReader;
}
namespace ESSImport
{
struct NPCC
{
struct NPDT
{
unsigned char unknown[2];
unsigned char mReputation;
unsigned char unknown2[5];
} mNPDT;
struct InventoryItem
{
std::string mId;
int mCondition;
};
std::vector<InventoryItem> mInventory;
int mIndex;
void load(ESM::ESMReader &esm);
};
}
#endif