OpenMW
|
#include <charactermanager.hpp>
Public Member Functions | |
CharacterManager (const boost::filesystem::path &saves, const std::string &game) | |
Character * | getCurrentCharacter () |
void | deleteSlot (const MWState::Character *character, const MWState::Slot *slot) |
Character * | createCharacter (const std::string &name) |
void | setCurrentCharacter (const Character *character) |
std::list< Character > ::const_iterator | begin () const |
std::list< Character > ::const_iterator | end () const |
Private Member Functions | |
CharacterManager (const CharacterManager &) | |
Not implemented. More... | |
CharacterManager & | operator= (const CharacterManager &) |
Not implemented. More... | |
std::list< Character >::iterator | findCharacter (const MWState::Character *character) |
Private Attributes | |
boost::filesystem::path | mPath |
std::list< Character > | mCharacters |
Character * | mCurrent |
std::string | mGame |
|
private |
Not implemented.
MWState::CharacterManager::CharacterManager | ( | const boost::filesystem::path & | saves, |
const std::string & | game | ||
) |
std::list< MWState::Character >::const_iterator MWState::CharacterManager::begin | ( | ) | const |
MWState::Character * MWState::CharacterManager::createCharacter | ( | const std::string & | name | ) |
Create new character within saved game management
name | Name for the character (does not need to be unique) |
void MWState::CharacterManager::deleteSlot | ( | const MWState::Character * | character, |
const MWState::Slot * | slot | ||
) |
std::list< MWState::Character >::const_iterator MWState::CharacterManager::end | ( | ) | const |
|
private |
MWState::Character * MWState::CharacterManager::getCurrentCharacter | ( | ) |
|
private |
Not implemented.
void MWState::CharacterManager::setCurrentCharacter | ( | const Character * | character | ) |
|
private |
|
private |
|
private |