2010-02-19 13:23:22 +00:00
|
|
|
#ifndef _ESM_ACTI_H
|
|
|
|
#define _ESM_ACTI_H
|
|
|
|
|
2012-04-08 09:51:52 +00:00
|
|
|
#include "record.hpp"
|
2010-02-19 13:23:22 +00:00
|
|
|
#include "esm_reader.hpp"
|
2012-04-06 19:04:30 +00:00
|
|
|
#include "esm_writer.hpp"
|
2010-02-19 13:23:22 +00:00
|
|
|
|
2011-04-06 16:11:08 +00:00
|
|
|
namespace ESM
|
|
|
|
{
|
2010-02-19 13:23:22 +00:00
|
|
|
|
2012-04-08 09:51:52 +00:00
|
|
|
struct Activator : public Record
|
2010-02-19 13:23:22 +00:00
|
|
|
{
|
2011-04-06 16:11:08 +00:00
|
|
|
std::string name, script, model;
|
2010-02-19 13:23:22 +00:00
|
|
|
|
2011-04-06 16:11:08 +00:00
|
|
|
void load(ESMReader &esm);
|
2012-04-06 19:04:30 +00:00
|
|
|
void save(ESMWriter &esm);
|
2012-04-08 09:51:52 +00:00
|
|
|
|
|
|
|
int getName() { return REC_ACTI; }
|
2010-02-19 13:23:22 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|