#include <character.hpp>
MWState::Character::Character |
( |
const boost::filesystem::path & |
saves, |
|
|
const std::string & |
game |
|
) |
| |
void MWState::Character::addSlot |
( |
const boost::filesystem::path & |
path, |
|
|
const std::string & |
game |
|
) |
| |
|
private |
Any call to createSlot and updateSlot can invalidate the returned iterator.
- Note
- Slot must belong to this character.
- Attention
- The slot pointer will be invalidated by this call.
void MWState::Character::cleanup |
( |
| ) |
|
Delete the directory we used, if it is empty.
Create new slot.
- Attention
- The ownership of the slot is not transferred.
void MWState::Character::deleteSlot |
( |
const Slot * |
slot | ) |
|
- Note
- Slot must belong to this character.
- Attention
- The slot pointer will be invalidated by this call.
const boost::filesystem::path & MWState::Character::getPath |
( |
| ) |
const |
Return signature information for this character.
- Attention
- This function must not be called if there are no slots.
boost::filesystem::path MWState::Character::mPath |
|
private |
std::vector<Slot> MWState::Character::mSlots |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwstate/character.hpp
- /home/travis/build/OpenMW/openmw/apps/openmw/mwstate/character.cpp