2013-06-08 10:45:13 +00:00
|
|
|
#ifndef CSM_WOLRD_REF_H
|
|
|
|
#define CSM_WOLRD_REF_H
|
|
|
|
|
|
|
|
#include <components/esm/cellref.hpp>
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
class ESMReader;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace CSMWorld
|
|
|
|
{
|
|
|
|
class Cell;
|
|
|
|
|
|
|
|
/// \brief Wrapper for CellRef sub record
|
|
|
|
struct CellRef : public ESM::CellRef
|
|
|
|
{
|
|
|
|
std::string mId;
|
2013-07-06 15:06:06 +00:00
|
|
|
std::string mCellId;
|
2013-06-08 10:45:13 +00:00
|
|
|
|
2013-06-18 09:27:05 +00:00
|
|
|
void load (ESM::ESMReader &esm, Cell& cell, const std::string& id);
|
|
|
|
///< Load cell ref and register it with \a cell.
|
2013-06-08 10:45:13 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|