2015-01-16 23:11:36 +00:00
|
|
|
#ifndef OPENMW_ESSIMPORT_NPCC_H
|
|
|
|
#define OPENMW_ESSIMPORT_NPCC_H
|
|
|
|
|
|
|
|
#include <components/esm/loadcont.hpp>
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
class ESMReader;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace ESSImport
|
|
|
|
{
|
|
|
|
|
2015-01-18 18:59:29 +00:00
|
|
|
struct NPCC
|
2015-01-16 23:11:36 +00:00
|
|
|
{
|
|
|
|
struct NPDT
|
|
|
|
{
|
|
|
|
unsigned char unknown[2];
|
|
|
|
unsigned char mReputation;
|
|
|
|
unsigned char unknown2[5];
|
|
|
|
} mNPDT;
|
|
|
|
|
2015-01-18 18:59:29 +00:00
|
|
|
struct InventoryItem
|
|
|
|
{
|
|
|
|
std::string mId;
|
|
|
|
int mCondition;
|
|
|
|
};
|
|
|
|
std::vector<InventoryItem> mInventory;
|
|
|
|
|
|
|
|
int mIndex;
|
|
|
|
|
2015-01-16 23:11:36 +00:00
|
|
|
void load(ESM::ESMReader &esm);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|