mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:19:55 +00:00
19 lines
341 B
C++
19 lines
341 B
C++
#include "loadbody.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
void BodyPart::load(ESMReader &esm)
|
|
{
|
|
model = esm.getHNString("MODL");
|
|
name = esm.getHNString("FNAM");
|
|
esm.getHNT(data, "BYDT", 4);
|
|
}
|
|
void BodyPart::save(ESMWriter &esm)
|
|
{
|
|
esm.writeHNString("MODL", model);
|
|
esm.writeHNString("FNAM", name);
|
|
esm.writeHNT("BYDT", data, 4);
|
|
}
|
|
|
|
}
|