1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00
OpenMW/components/esm/loadacti.hpp

29 lines
555 B
C++
Raw Normal View History

2012-09-23 22:11:08 +04:00
#ifndef OPENMW_ESM_ACTI_H
#define OPENMW_ESM_ACTI_H
2010-02-19 14:23:22 +01:00
2012-10-01 00:51:54 +04:00
#include <string>
2010-02-19 14:23:22 +01:00
namespace ESM
{
2010-02-19 14:23:22 +01:00
2012-10-01 00:51:54 +04:00
class ESMReader;
class ESMWriter;
struct Activator
2010-02-19 14:23:22 +01:00
{
static unsigned int sRecordId;
/// Return a string descriptor for this record type. Currently used for debugging / error logs only.
static std::string getRecordType() { return "Activator"; }
std::string mId, mName, mScript, mModel;
2010-02-19 14:23:22 +01:00
void load(ESMReader &esm);
void save(ESMWriter &esm) const;
void blank();
///< Set record to default state (does not touch the ID).
2010-02-19 14:23:22 +01:00
};
2012-09-17 11:37:50 +04:00
2010-02-19 14:23:22 +01:00
}
#endif