1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:49:56 +00:00
openmw-tes3mp/apps/opencs/model/world/cell.hpp

24 lines
479 B
C++
Raw Normal View History

2013-04-14 15:04:55 +00:00
#ifndef CSM_WOLRD_CELL_H
#define CSM_WOLRD_CELL_H
#include <vector>
#include <string>
2013-04-14 15:04:55 +00:00
#include <components/esm/loadcell.hpp>
namespace CSMWorld
{
/// \brief Wrapper for Cell record
struct Cell : public ESM::Cell
{
std::string mId;
std::vector<std::pair<std::string, bool> > mRefs; // ID, modified
std::vector<std::string> mDeletedRefs;
2013-04-14 15:04:55 +00:00
void load (ESM::ESMReader &esm);
void addRef (const std::string& id);
2013-04-14 15:04:55 +00:00
};
}
#endif