1 #ifndef GAME_MWWORLD_CELLS_H
2 #define GAME_MWWORLD_CELLS_H
34 std::vector<std::pair<std::string, CellStore *> >
mIdCache;
80 const std::map<int, int>& contentFileMap);
Cell container.
Definition: cells.hpp:28
void write(ESM::ESMWriter &writer, Loading::Listener &progress) const
Definition: cells.cpp:293
bool readRecord(ESM::ESMReader &reader, uint32_t type, const std::map< int, int > &contentFileMap)
Definition: cells.cpp:335
Definition: esmreader.hpp:21
Ptr getPtrAndCache(const std::string &name, CellStore &cellStore)
Definition: cells.cpp:57
CellStore * getCellStore(const ESM::Cell *cell)
Definition: cells.cpp:19
void getExteriorPtrs(const std::string &name, std::vector< MWWorld::Ptr > &out)
Definition: cells.cpp:248
void getInteriorPtrs(const std::string &name, std::vector< MWWorld::Ptr > &out)
Definition: cells.cpp:262
Definition: loadinglistener.hpp:8
const MWWorld::ESMStore & mStore
Definition: cells.hpp:30
Ptr getPtr(const std::string &name, CellStore &cellStore, bool searchInContainers=false)
Definition: cells.cpp:162
Definition: esmwriter.hpp:17
std::size_t mIdCacheIndex
Definition: cells.hpp:35
CellStore * getExterior(int x, int y)
Definition: cells.cpp:95
Definition: esmstore.hpp:17
void writeCell(ESM::ESMWriter &writer, CellStore &cell) const
Definition: cells.cpp:72
CellStore * getInterior(const std::string &name)
Definition: cells.cpp:134
void clear()
Definition: cells.cpp:49
std::vector< std::pair< std::string, CellStore * > > mIdCache
Definition: cells.hpp:34
Mutable state of a cell.
Definition: cellstore.hpp:53
std::map< std::string, CellStore > mInteriors
Definition: cells.hpp:32
std::vector< ESM::ESMReader > & mReader
Definition: cells.hpp:31
Definition: loadcell.hpp:64
int countSavedGameRecords() const
Definition: cells.cpp:276
std::map< std::pair< int, int >, CellStore > mExteriors
Definition: cells.hpp:33
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
Cells & operator=(const Cells &)
CellStore * getCell(const ESM::CellId &id)
Definition: cells.cpp:154
Definition: cellid.hpp:11
const char * name
Definition: crashcatcher.cpp:59