mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:49:56 +00:00
22 lines
403 B
C++
22 lines
403 B
C++
#include "importnpcc.hpp"
|
|
|
|
#include <components/esm/esmreader.hpp>
|
|
|
|
namespace ESSImport
|
|
{
|
|
|
|
void NPCC::load(ESM::ESMReader &esm)
|
|
{
|
|
esm.getHNT(mNPDT, "NPDT");
|
|
|
|
if (esm.isNextSub("AI_E"))
|
|
esm.skipHSub();
|
|
if (esm.isNextSub("AI_T"))
|
|
esm.skipHSub();
|
|
if (esm.isNextSub("AI_F"))
|
|
esm.skipHSub();
|
|
|
|
mInventory.load(esm);
|
|
}
|
|
|
|
}
|