Cell container.
More...
#include <cells.hpp>
|
| void | clear () |
| |
| | Cells (const MWWorld::ESMStore &store, std::vector< ESM::ESMReader > &reader) |
| |
| CellStore * | getExterior (int x, int y) |
| |
| CellStore * | getInterior (const std::string &name) |
| |
| CellStore * | getCell (const ESM::CellId &id) |
| |
| Ptr | getPtr (const std::string &name, CellStore &cellStore, bool searchInContainers=false) |
| |
| Ptr | getPtr (const std::string &name) |
| |
| void | rest () |
| |
| void | getExteriorPtrs (const std::string &name, std::vector< MWWorld::Ptr > &out) |
| |
| void | getInteriorPtrs (const std::string &name, std::vector< MWWorld::Ptr > &out) |
| |
| int | countSavedGameRecords () const |
| |
| void | write (ESM::ESMWriter &writer, Loading::Listener &progress) const |
| |
| bool | readRecord (ESM::ESMReader &reader, uint32_t type, const std::map< int, int > &contentFileMap) |
| |
| MWWorld::Cells::Cells |
( |
const Cells & |
| ) |
|
|
private |
| void MWWorld::Cells::clear |
( |
| ) |
|
| int MWWorld::Cells::countSavedGameRecords |
( |
| ) |
const |
| void MWWorld::Cells::getExteriorPtrs |
( |
const std::string & |
name, |
|
|
std::vector< MWWorld::Ptr > & |
out |
|
) |
| |
Get all Ptrs referencing name in exterior cells
- Note
- Due to the current implementation of getPtr this only supports one Ptr per cell.
-
name must be lower case
| void MWWorld::Cells::getInteriorPtrs |
( |
const std::string & |
name, |
|
|
std::vector< MWWorld::Ptr > & |
out |
|
) |
| |
Get all Ptrs referencing name in interior cells
- Note
- Due to the current implementation of getPtr this only supports one Ptr per cell.
-
name must be lower case
- Parameters
-
| searchInContainers | Only affect loaded cells. |
- Note
- name must be lower case
| MWWorld::Ptr MWWorld::Cells::getPtr |
( |
const std::string & |
name | ) |
|
- Note
- name must be lower case
| Cells& MWWorld::Cells::operator= |
( |
const Cells & |
| ) |
|
|
private |
| void MWWorld::Cells::rest |
( |
| ) |
|
| std::vector<std::pair<std::string, CellStore *> > MWWorld::Cells::mIdCache |
|
private |
| std::size_t MWWorld::Cells::mIdCacheIndex |
|
private |
| std::map<std::string, CellStore> MWWorld::Cells::mInteriors |
|
mutableprivate |
The documentation for this class was generated from the following files:
- /home/travis/build/elsid/openmw/apps/openmw/mwworld/cells.hpp
- /home/travis/build/elsid/openmw/apps/openmw/mwworld/cells.cpp