2015-01-16 23:11:36 +00:00
|
|
|
#ifndef OPENMW_ESSIMPORT_CELLREF_H
|
|
|
|
#define OPENMW_ESSIMPORT_CELLREF_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2022-01-22 14:58:41 +00:00
|
|
|
#include <components/esm3/cellref.hpp>
|
2015-01-16 23:11:36 +00:00
|
|
|
|
|
|
|
#include "importacdt.hpp"
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
class ESMReader;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace ESSImport
|
|
|
|
{
|
|
|
|
|
2022-07-30 16:13:41 +00:00
|
|
|
struct CellRef : public ESM::CellRef
|
2015-01-16 23:11:36 +00:00
|
|
|
{
|
|
|
|
std::string mIndexedRefId;
|
|
|
|
|
2015-01-18 18:59:29 +00:00
|
|
|
std::string mScript;
|
|
|
|
|
2015-01-18 15:13:52 +00:00
|
|
|
bool mEnabled;
|
|
|
|
|
2015-01-21 21:25:37 +00:00
|
|
|
bool mDeleted;
|
|
|
|
|
2022-07-30 16:13:41 +00:00
|
|
|
ActorData mActorData;
|
2020-06-10 06:58:07 +00:00
|
|
|
|
2022-07-30 16:13:41 +00:00
|
|
|
void load(ESM::ESMReader& esm);
|
|
|
|
|
|
|
|
~CellRef() = default;
|
2015-01-16 23:11:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|