mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
18 lines
308 B
C++
18 lines
308 B
C++
#include "loadingr.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
|
|
void Ingredient::load(ESMReader &esm, const std::string& id)
|
|
{
|
|
mId = id;
|
|
|
|
model = esm.getHNString("MODL");
|
|
name = esm.getHNString("FNAM");
|
|
esm.getHNT(data, "IRDT", 56);
|
|
script = esm.getHNOString("SCRI");
|
|
icon = esm.getHNOString("ITEX");
|
|
}
|
|
|
|
}
|