1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 23:19:56 +00:00
openmw-tes3mp/components/esm/npcstate.cpp

24 lines
387 B
C++
Raw Normal View History

#include "npcstate.hpp"
void ESM::NpcState::load (ESMReader &esm)
{
ObjectState::load (esm);
mInventory.load (esm);
2014-02-16 14:06:34 +00:00
mNpcStats.load (esm);
mCreatureStats.load (esm);
}
void ESM::NpcState::save (ESMWriter &esm, bool inInventory) const
{
ObjectState::save (esm, inInventory);
mInventory.save (esm);
2014-02-16 14:06:34 +00:00
mNpcStats.save (esm);
mCreatureStats.save (esm);
}