You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
528 B
C++
26 lines
528 B
C++
#include "importnpcc.hpp"
|
|
|
|
#include <components/esm/esmreader.hpp>
|
|
|
|
namespace ESSImport
|
|
{
|
|
|
|
void NPCC::load(ESM::ESMReader &esm)
|
|
{
|
|
esm.getHNT(mNPDT, "NPDT");
|
|
|
|
// FIXME: use AiPackageList, need to fix getSubName()
|
|
if (esm.isNextSub("AI_W"))
|
|
esm.skipHSub();
|
|
if (esm.isNextSub("AI_E"))
|
|
esm.skipHSub();
|
|
if (esm.isNextSub("AI_T"))
|
|
esm.skipHSub();
|
|
if (esm.isNextSub("AI_F"))
|
|
esm.skipHSub();
|
|
|
|
mInventory.load(esm);
|
|
}
|
|
|
|
}
|