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
|
|
|
|
{
|
|
|
|
|
2015-01-21 21:25:37 +00:00
|
|
|
struct CellRef : public ActorData
|
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;
|
|
|
|
|
2020-06-10 06:58:07 +00:00
|
|
|
void load(ESM::ESMReader& esm) override;
|
|
|
|
|
2021-05-19 00:42:24 +00:00
|
|
|
~CellRef() override = default;
|
2015-01-16 23:11:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|