2015-01-16 23:11:36 +00:00
|
|
|
#ifndef OPENMW_ESSIMPORT_CELLREF_H
|
|
|
|
#define OPENMW_ESSIMPORT_CELLREF_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <components/esm/cellref.hpp>
|
|
|
|
|
|
|
|
#include "importacdt.hpp"
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
class ESMReader;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace ESSImport
|
|
|
|
{
|
|
|
|
|
|
|
|
// Not sure if we can share any code with ESM::CellRef here
|
|
|
|
struct CellRef
|
|
|
|
{
|
|
|
|
std::string mIndexedRefId;
|
|
|
|
ESM::RefNum mRefNum;
|
|
|
|
|
2015-01-18 18:59:29 +00:00
|
|
|
ActorData mActorData;
|
2015-01-16 23:11:36 +00:00
|
|
|
|
|
|
|
ESM::Position mPos;
|
|
|
|
|
2015-01-18 18:59:29 +00:00
|
|
|
std::string mScript;
|
|
|
|
|
2015-01-18 15:13:52 +00:00
|
|
|
bool mEnabled;
|
|
|
|
|
2015-01-16 23:11:36 +00:00
|
|
|
void load(ESM::ESMReader& esm);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|