mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 13:19:54 +00:00
27 lines
No EOL
636 B
C++
27 lines
No EOL
636 B
C++
#ifndef CSM_WOLRD_CELL_H
|
|
#define CSM_WOLRD_CELL_H
|
|
|
|
#include <set>
|
|
#include <string>
|
|
|
|
#include <components/esm/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;
|
|
|
|
/// These are the references modified by the edited content file. These are stored in
|
|
/// mModified only.
|
|
std::set<std::string> mTouchedRefs;
|
|
|
|
void load (ESM::ESMReader &esm);
|
|
};
|
|
}
|
|
|
|
#endif |