2015-01-16 23:11:36 +00:00
|
|
|
#ifndef OPENMW_ESSIMPORT_NPCC_H
|
|
|
|
#define OPENMW_ESSIMPORT_NPCC_H
|
|
|
|
|
2022-01-22 14:58:41 +00:00
|
|
|
#include <components/esm3/loadcont.hpp>
|
2015-01-16 23:11:36 +00:00
|
|
|
|
2022-01-22 14:58:41 +00:00
|
|
|
#include <components/esm3/aipackage.hpp>
|
2015-01-18 21:52:11 +00:00
|
|
|
|
|
|
|
#include "importinventory.hpp"
|
|
|
|
|
2015-01-16 23:11:36 +00:00
|
|
|
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
|
|
|
|
{
|
2015-01-20 17:22:02 +00:00
|
|
|
unsigned char mDisposition;
|
|
|
|
unsigned char unknown;
|
2015-01-16 23:11:36 +00:00
|
|
|
unsigned char mReputation;
|
2015-01-20 19:18:30 +00:00
|
|
|
unsigned char unknown2;
|
|
|
|
int mIndex;
|
2015-01-16 23:11:36 +00:00
|
|
|
} mNPDT;
|
|
|
|
|
2015-01-18 21:52:11 +00:00
|
|
|
Inventory mInventory;
|
2015-02-14 11:25:52 +00:00
|
|
|
ESM::AIPackageList mAiPackages;
|
2015-01-18 18:59:29 +00:00
|
|
|
|
2015-01-16 23:11:36 +00:00
|
|
|
void load(ESM::ESMReader &esm);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|