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

24 lines
416 B
C++
Raw Normal View History

#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.writeHNString("FNAM", name);
2012-04-06 19:14:52 +00:00
esm.writeHNOString("TNAM", texture);
esm.writeHNOString("DESC", description);
powers.save(esm);
}
}