ManaPlus
|
Functions | |
void | load () |
void | unload () |
void | loadXmlFile (const std::string &fileName, const SkipError skipError) |
const ClanInfo * | get (const int clanId) |
Clan information database.
const ClanInfo * ClanDb::get | ( | const int | clanId | ) |
Definition at line 122 of file clandb.cpp.
References anonymous_namespace{clandb.cpp}::mClansInfos, and reportAlways.
Referenced by EAthena::BeingRecv::processBeingAttrs(), and EAthena::ClanRecv::processClanInfo().
void ClanDb::load | ( | ) |
Definition at line 46 of file clandb.cpp.
References Configuration::getStringValue(), loadXmlDir, loadXmlFile(), Logger::log1(), logger, anonymous_namespace{clandb.cpp}::mLoaded, paths, SkipError_false, SkipError_true, and Net::unload().
Referenced by DbManager::loadDb().
void ClanDb::loadXmlFile | ( | const std::string & | fileName, |
const SkipError | skipError | ||
) |
Definition at line 59 of file clandb.cpp.
References _, fileName, for_each_xml_child_node, ItemFieldDb::getAddFields(), XML::getProperty(), Configuration::getStringValue(), ClanInfo::id, XML::langProperty(), loadXmlFile(), Logger::log(), logger, anonymous_namespace{clandb.cpp}::mClansInfos, anonymous_namespace{clandb.cpp}::mLoaded, ClanInfo::name, paths, readItemStatsVector(), reportAlways, XML::Document::rootNode(), ClanInfo::stats, and UseVirtFs_true.
void ClanDb::unload | ( | ) |
Definition at line 113 of file clandb.cpp.
References delete_all(), Logger::log1(), logger, anonymous_namespace{clandb.cpp}::mClansInfos, and anonymous_namespace{clandb.cpp}::mLoaded.
Referenced by DbManager::unloadDb().