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