ManaPlus
|
Functions | |
void | load () |
void | loadXmlFile (const std::string &fileName, const SkipError skipError) |
void | unload () |
std::string | getRandomString () |
Char information database.
std::string DeadDB::getRandomString | ( | ) |
Definition at line 103 of file deaddb.cpp.
References PoDict::getStr(), anonymous_namespace{deaddb.cpp}::mMessages, and translator.
Referenced by DialogsManager::playerDeath().
void DeadDB::load | ( | ) |
Loads the chars data.
Definition at line 39 of file deaddb.cpp.
References Configuration::getStringValue(), loadXmlDir, loadXmlFile(), Logger::log1(), logger, anonymous_namespace{deaddb.cpp}::mLoaded, paths, SkipError_false, SkipError_true, and Net::unload().
Referenced by DbManager::loadDb().
void DeadDB::loadXmlFile | ( | const std::string & | fileName, |
const SkipError | skipError | ||
) |
Definition at line 52 of file deaddb.cpp.
References data, fileName, for_each_xml_child_node, XML::getProperty(), Configuration::getStringValue(), loadXmlFile(), Logger::log(), logger, anonymous_namespace{deaddb.cpp}::mMessages, paths, XML::Document::rootNode(), and UseVirtFs_true.
void DeadDB::unload | ( | ) |
Clear the chars data
Definition at line 96 of file deaddb.cpp.
References Logger::log1(), logger, anonymous_namespace{deaddb.cpp}::mLoaded, and anonymous_namespace{deaddb.cpp}::mMessages.
Referenced by DbManager::unloadDb().