mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:19:55 +00:00
21 lines
309 B
C++
21 lines
309 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) const
|
|
{
|
|
esm.writeHNT("ENDT", mData, 16);
|
|
mEffects.save(esm);
|
|
}
|
|
|
|
}
|