Mana
|
Monster information database. More...
Functions | |
void | init () |
Initialize MonsterDB. | |
void | setMonsterIdOffset (int offset) |
void | readMonsterNode (XML::Node node, const std::string &filename) |
Read <monster> node from settings. | |
void | checkStatus () |
Check if everything was loaded correctly. | |
void | unload () |
BeingInfo * | get (int id) |
Monster information database.
void MonsterDB::checkStatus | ( | ) |
Check if everything was loaded correctly.
Definition at line 152 of file monsterdb.cpp.
BeingInfo * MonsterDB::get | ( | int | id | ) |
Definition at line 165 of file monsterdb.cpp.
void MonsterDB::init | ( | ) |
Initialize MonsterDB.
If it was initialized before, unload() will be called first.
Definition at line 51 of file monsterdb.cpp.
void MonsterDB::readMonsterNode | ( | XML::Node | node, |
const std::string & | filename | ||
) |
Read <monster> node from settings.
Definition at line 68 of file monsterdb.cpp.
void MonsterDB::setMonsterIdOffset | ( | int | offset | ) |
Definition at line 60 of file monsterdb.cpp.
void MonsterDB::unload | ( | ) |
Definition at line 157 of file monsterdb.cpp.