1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 22:53:53 +00:00
openmw/components/esm/npcstate.cpp
2014-02-16 15:51:45 +01:00

24 lines
No EOL
387 B
C++

#include "npcstate.hpp"
void ESM::NpcState::load (ESMReader &esm)
{
ObjectState::load (esm);
mInventory.load (esm);
mNpcStats.load (esm);
mCreatureStats.load (esm);
}
void ESM::NpcState::save (ESMWriter &esm, bool inInventory) const
{
ObjectState::save (esm, inInventory);
mInventory.save (esm);
mNpcStats.save (esm);
mCreatureStats.save (esm);
}