mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
22 lines
338 B
C++
22 lines
338 B
C++
#include "loadclot.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
void Clothing::load(ESMReader &esm)
|
|
{
|
|
model = esm.getHNString("MODL");
|
|
name = esm.getHNOString("FNAM");
|
|
esm.getHNT(data, "CTDT", 12);
|
|
|
|
script = esm.getHNOString("SCRI");
|
|
icon = esm.getHNOString("ITEX");
|
|
|
|
parts.load(esm);
|
|
|
|
|
|
enchant = esm.getHNOString("ENAM");
|
|
}
|
|
|
|
}
|