2010-02-19 14:23:22 +01:00
|
|
|
#ifndef _ESM_ACTI_H
|
|
|
|
#define _ESM_ACTI_H
|
|
|
|
|
2012-04-08 11:51:52 +02:00
|
|
|
#include "record.hpp"
|
2010-02-19 14:23:22 +01:00
|
|
|
|
2011-04-06 20:11:08 +04:00
|
|
|
namespace ESM
|
|
|
|
{
|
2010-02-19 14:23:22 +01:00
|
|
|
|
2012-04-08 11:51:52 +02:00
|
|
|
struct Activator : public Record
|
2010-02-19 14:23:22 +01:00
|
|
|
{
|
2012-09-17 11:37:50 +04:00
|
|
|
std::string mName, mScript, mModel;
|
2010-02-19 14:23:22 +01:00
|
|
|
|
2011-04-06 20:11:08 +04:00
|
|
|
void load(ESMReader &esm);
|
2012-04-06 21:04:30 +02:00
|
|
|
void save(ESMWriter &esm);
|
2012-04-08 11:51:52 +02:00
|
|
|
|
|
|
|
int getName() { return REC_ACTI; }
|
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
|