mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 21:19:57 +00:00
21 lines
395 B
C++
21 lines
395 B
C++
#include "loadrace.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
void Race::load(ESMReader &esm)
|
|
{
|
|
name = esm.getHNString("FNAM");
|
|
esm.getHNT(data, "RADT", 140);
|
|
powers.load(esm);
|
|
description = esm.getHNOString("DESC");
|
|
}
|
|
void Race::save(ESMWriter &esm)
|
|
{
|
|
esm.writeHNString("FNAM", name);
|
|
esm.writeHNT("RADT", data, 140);
|
|
powers.save(esm);
|
|
esm.writeHNOString("DESC", description);
|
|
}
|
|
|
|
}
|