mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
22 lines
303 B
C++
22 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);
|
|
}
|
|
|
|
}
|