1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 17:45:34 +00:00
openmw/apps/opencs/model/world/cell.hpp
2022-09-22 21:35:26 +03:00

22 lines
472 B
C++

#ifndef CSM_WOLRD_CELL_H
#define CSM_WOLRD_CELL_H
#include <string>
#include <components/esm3/loadcell.hpp>
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