ManaPlus
|
Functions | |
void | load () |
void | unload () |
void | loadXmlFile (const std::string &fileName, const SkipError skipError) |
CommandsMap & | getAll () |
std::map< int, TextCommand * > & CommandsDB::getAll | ( | ) |
Definition at line 160 of file commandsdb.cpp.
References anonymous_namespace{commandsdb.cpp}::mCommands.
Referenced by SpellManager::fillSpells().
void CommandsDB::load | ( | ) |
Definition at line 40 of file commandsdb.cpp.
References Configuration::getStringValue(), loadXmlDir, loadXmlFile(), Logger::log1(), logger, anonymous_namespace{commandsdb.cpp}::mLoaded, paths, SkipError_false, SkipError_true, and Net::unload().
Referenced by SpellManager::fillSpells().
void CommandsDB::loadXmlFile | ( | const std::string & | fileName, |
const SkipError | skipError | ||
) |
Definition at line 63 of file commandsdb.cpp.
References fileName, for_each_xml_child_node, XML::getIntProperty(), XML::getProperty(), XML::langProperty(), loadXmlFile(), Logger::log(), logger, anonymous_namespace{commandsdb.cpp}::mCommands, parseTarget(), XML::Document::rootNode(), and UseVirtFs_true.
void CommandsDB::unload | ( | ) |
Definition at line 153 of file commandsdb.cpp.
References Logger::log1(), logger, anonymous_namespace{commandsdb.cpp}::mCommands, and anonymous_namespace{commandsdb.cpp}::mLoaded.
Referenced by SpellManager::fillSpells().