1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/components/esm/loadingr.cpp

18 lines
308 B
C++
Raw Normal View History

#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");
}
}