1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 03:39:14 +00:00
OpenMW/components/esm/loadbsgn.cpp

24 lines
419 B
C++

#include "loadbsgn.hpp"
namespace ESM
{
void BirthSign::load(ESMReader &esm)
{
name = esm.getHNString("FNAM");
texture = esm.getHNOString("TNAM");
description = esm.getHNOString("DESC");
powers.load(esm);
}
void BirthSign::save(ESMWriter &esm)
{
esm.writeHNCString("FNAM", name);
esm.writeHNOCString("TNAM", texture);
esm.writeHNOCString("DESC", description);
powers.save(esm);
}
}