ManaPlus
|
Functions | |
void | load () |
void | loadXmlFile (const std::string &fileName, const SkipError skipError) |
void | unload () |
NpcQuestVarMap * | getVars () |
std::map< int, std::vector< QuestItem * > > * | getQuests () |
std::vector< QuestEffect * > * | getAllEffects () |
std::string | getName (const int id) |
std::vector< QuestEffect * > * QuestDb::getAllEffects | ( | ) |
Definition at line 244 of file questdb.cpp.
References anonymous_namespace{questdb.cpp}::mAllEffects.
Referenced by QuestsWindow::QuestsWindow().
std::string QuestDb::getName | ( | const int | id | ) |
Definition at line 249 of file questdb.cpp.
References _, and anonymous_namespace{questdb.cpp}::mQuests.
Referenced by BrowserBoxTools::replaceLinkCommands().
std::map< int, std::vector< QuestItem * > > * QuestDb::getQuests | ( | ) |
Definition at line 239 of file questdb.cpp.
References anonymous_namespace{questdb.cpp}::mQuests.
Referenced by QuestsWindow::QuestsWindow().
NpcQuestVarMap * QuestDb::getVars | ( | ) |
Definition at line 234 of file questdb.cpp.
References anonymous_namespace{questdb.cpp}::mVars.
Referenced by QuestsWindow::QuestsWindow().
void QuestDb::load | ( | ) |
Definition at line 47 of file questdb.cpp.
References Configuration::getStringValue(), loadXmlDir, loadXmlFile(), Logger::log1(), logger, paths, SkipError_false, SkipError_true, and Net::unload().
Referenced by QuestsWindow::QuestsWindow().
void QuestDb::loadXmlFile | ( | const std::string & | fileName, |
const SkipError | skipError | ||
) |
Definition at line 179 of file questdb.cpp.
References fileName, for_each_xml_child_node, XML::getProperty(), loadEffect(), loadQuest(), loadXmlFile(), anonymous_namespace{questdb.cpp}::mVars, XML::Document::rootNode(), and UseVirtFs_true.
void QuestDb::unload | ( | ) |
Definition at line 216 of file questdb.cpp.
References delete_all(), Logger::log1(), logger, anonymous_namespace{questdb.cpp}::mAllEffects, and anonymous_namespace{questdb.cpp}::mQuests.
Referenced by QuestsWindow::~QuestsWindow().