mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
24 lines
387 B
C++
24 lines
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);
|
|
} |