ManaPlus
|
#include "enums/simpletypes/skiperror.h"
#include "utils/stringvector.h"
#include <map>
#include "localconsts.h"
Go to the source code of this file.
Namespaces | |
ItemDB | |
Typedefs | |
typedef std::map< int, ItemInfo * > | ItemDB::ItemInfos |
typedef std::map< std::string, ItemInfo * > | ItemDB::NamedItemInfos |
Functions | |
void | ItemDB::load () |
void | ItemDB::unload () |
void | ItemDB::loadXmlFile (const std::string &fileName, int &tagNum, const SkipError skipError) |
const StringVect & | ItemDB::getTags () |
bool | ItemDB::exists (const int id) |
bool | ItemDB::exists (const std::string &name) |
const ItemInfo & | ItemDB::get (const int id) |
const ItemInfo & | ItemDB::get (const std::string &name) |
const ItemInfo & | ItemDB::getEmpty () |
int | ItemDB::getNumOfHairstyles () |
const ItemDB::ItemInfos & | ItemDB::getItemInfos () |
std::string | ItemDB::getNamesStr (const std::vector< int > &parts) |
int | ItemDB::getTagId (const std::string &tagName) |