#include <list>
#include <map>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | ItemDB |
Classes | |
struct | ItemDB::Stat |
Typedefs | |
typedef std::map< int, ItemInfo * > | ItemDB::ItemInfos |
typedef std::map< std::string, ItemInfo * > | ItemDB::NamedItemInfos |
Functions | |
void | ItemDB::load () |
Loads the item data from items.xml . | |
void | ItemDB::unload () |
Frees item data. | |
const ItemInfo & | ItemDB::get (int id) |
const ItemInfo & | ItemDB::get (const std::string &name) |
void | ItemDB::setStatsList (std::list< Stat * > stats) |