1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:53:53 +00:00
openmw/components/esm/loadacti.hpp

20 lines
300 B
C++

#ifndef _ESM_ACTI_H
#define _ESM_ACTI_H
#include "esm_reader.hpp"
namespace ESM {
struct Activator
{
std::string name, script, model;
void load(ESMReader &esm)
{
model = esm.getHNString("MODL");
name = esm.getHNString("FNAM");
script = esm.getHNOString("SCRI");
}
};
}
#endif