mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 21:29:56 +00:00
20 lines
331 B
C++
20 lines
331 B
C++
#include "containerstate.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
void ContainerState::load(ESMReader& esm)
|
|
{
|
|
ObjectState::load(esm);
|
|
|
|
mInventory.load(esm);
|
|
}
|
|
|
|
void ContainerState::save(ESMWriter& esm, bool inInventory) const
|
|
{
|
|
ObjectState::save(esm, inInventory);
|
|
|
|
mInventory.save(esm);
|
|
}
|
|
|
|
}
|