1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00
2022-10-31 21:04:01 +01:00

28 lines
512 B
C++

#ifndef CSM_WOLRD_CELL_H
#define CSM_WOLRD_CELL_H
#include <string>
#include <components/esm3/loadcell.hpp>
namespace ESM
{
class ESMReader;
}
namespace CSMWorld
{
/// \brief Wrapper for Cell record
///
/// \attention The mData.mX and mData.mY fields of the ESM::Cell struct are not used.
/// Exterior cell coordinates are encoded in the cell ID.
struct Cell : public ESM::Cell
{
std::string mId;
void load(ESM::ESMReader& esm, bool& isDeleted);
};
}
#endif