1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 10:23:56 +00:00
openmw/components/esm3/containerstate.cpp

21 lines
331 B
C++
Raw Normal View History

#include "containerstate.hpp"
namespace ESM
{
2022-09-22 18:26:05 +00:00
void ContainerState::load(ESMReader& esm)
{
ObjectState::load(esm);
2022-09-22 18:26:05 +00:00
mInventory.load(esm);
}
2022-09-22 18:26:05 +00:00
void ContainerState::save(ESMWriter& esm, bool inInventory) const
{
ObjectState::save(esm, inInventory);
2022-09-22 18:26:05 +00:00
mInventory.save(esm);
}
}