2015-01-18 18:59:29 +00:00
|
|
|
#include "convertnpcc.hpp"
|
|
|
|
|
2015-01-19 11:22:51 +00:00
|
|
|
#include "convertinventory.hpp"
|
|
|
|
|
2015-01-18 18:59:29 +00:00
|
|
|
namespace ESSImport
|
|
|
|
{
|
|
|
|
|
|
|
|
void convertNPCC(const NPCC &npcc, ESM::NpcState &npcState)
|
|
|
|
{
|
2015-01-20 17:22:02 +00:00
|
|
|
npcState.mNpcStats.mDisposition = npcc.mNPDT.mDisposition;
|
2015-01-18 18:59:29 +00:00
|
|
|
npcState.mNpcStats.mReputation = npcc.mNPDT.mReputation;
|
2015-01-19 11:22:51 +00:00
|
|
|
|
|
|
|
convertInventory(npcc.mInventory, npcState.mInventory);
|
2015-01-18 18:59:29 +00:00
|
|
|
}
|
|
|
|
}
|