mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
1e60ad3cd6
Note: This does not change the structure of the ESX format.
24 lines
479 B
C++
24 lines
479 B
C++
#ifndef CSM_WOLRD_CELL_H
|
|
#define CSM_WOLRD_CELL_H
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
#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;
|
|
|
|
void load (ESM::ESMReader &esm);
|
|
|
|
void addRef (const std::string& id);
|
|
};
|
|
}
|
|
|
|
#endif |