![]() |
ManaPlus
|
Functions | |
| void | load () |
| void | loadXmlFile (const std::string &fileName, const SkipError skipError) |
| void | unload () |
| BeingInfo * | get (const BeingTypeId id) |
| BeingInfo * PETDB::get | ( | const BeingTypeId | id | ) |
Definition at line 157 of file petdb.cpp.
References anonymous_namespace{petdb.cpp}::mPETInfos, reportAlways, toInt, and BeingInfo::unknown.
Referenced by BrowserBoxTools::replaceLinkCommands(), and Being::setSubtype().
| void PETDB::load | ( | ) |
Definition at line 45 of file petdb.cpp.
References Configuration::getStringValue(), loadXmlDir, loadXmlFile(), Logger::log1(), logger, anonymous_namespace{petdb.cpp}::mLoaded, paths, SkipError_false, SkipError_true, and Net::unload().
Referenced by DbManager::loadDb().
| void PETDB::loadXmlFile | ( | const std::string & | fileName, |
| const SkipError | skipError | ||
| ) |
Definition at line 57 of file petdb.cpp.
References _, BeingTypeId_negOne, fileName, for_each_xml_child_node, fromInt, XML::getBoolProperty(), XML::getProperty(), Configuration::getStringValue(), XML::langProperty(), loadXmlFile(), Logger::log(), logger, anonymous_namespace{petdb.cpp}::mPETInfos, SpriteDisplay::particles, paths, BeingCommon::readBasicAttributes(), BeingCommon::readWalkingAttributes(), reportAlways, XML::Document::rootNode(), BeingInfo::setDeadSortOffsetY(), BeingInfo::setDisplay(), BeingInfo::setName(), BeingInfo::setString(), BeingInfo::setTargetSelection(), SpriteReference::sprite, SpriteDisplay::sprites, UseVirtFs_true, and SpriteReference::variant.
| void PETDB::unload | ( | ) |
Definition at line 148 of file petdb.cpp.
References delete_all(), Logger::log1(), logger, anonymous_namespace{petdb.cpp}::mLoaded, and anonymous_namespace{petdb.cpp}::mPETInfos.
Referenced by DbManager::unloadDb().