1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 23:19:56 +00:00
openmw-tes3mp/components/esm/loadench.cpp

21 lines
303 B
C++

#include "loadench.hpp"
#include "esmreader.hpp"
#include "esmwriter.hpp"
namespace ESM
{
void Enchantment::load(ESMReader &esm)
{
esm.getHNT(mData, "ENDT", 16);
mEffects.load(esm);
}
void Enchantment::save(ESMWriter &esm)
{
esm.writeHNT("ENDT", mData, 16);
mEffects.save(esm);
}
}