1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 10:49:57 +00:00
openmw-tes3mp/apps/opencs/model/world/refcollection.hpp
2013-07-30 12:53:03 +02:00

29 lines
581 B
C++

#ifndef CSM_WOLRD_REFCOLLECTION_H
#define CSM_WOLRD_REFCOLLECTION_H
#include "collection.hpp"
#include "ref.hpp"
#include "record.hpp"
namespace CSMWorld
{
struct Cell;
/// \brief References in cells
class RefCollection : public Collection<CellRef>
{
Collection<Cell>& mCells;
int mNextId;
public:
RefCollection (Collection<Cell>& cells);
void load (ESM::ESMReader& reader, int cellIndex, bool base);
///< Load a sequence of references.
std::string getNewId();
};
}
#endif