1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 03:32:36 +00:00
OpenMW/components/esm3/containerstate.cpp

21 lines
331 B
C++
Raw Normal View History

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