Mana
|
Ability information database. More...
Functions | |
void | init () |
void | readAbilityNode (XML::Node node, const std::string &filename) |
void | checkStatus () |
void | unload () |
AbilityInfo * | get (int id) |
Gets the ability info for ID. | |
AbilityInfo * | find (std::string_view name) |
Finds an ability by name. | |
Ability information database.
void AbilityDB::checkStatus | ( | ) |
Definition at line 76 of file abilitydb.cpp.
AbilityInfo * AbilityDB::find | ( | std::string_view | name | ) |
Finds an ability by name.
Returns nullptr when the ability could not be found.
Definition at line 98 of file abilitydb.cpp.
AbilityInfo * AbilityDB::get | ( | int | id | ) |
Gets the ability info for ID.
Will return nullptr when it is a server-specific ability.
Definition at line 89 of file abilitydb.cpp.
void AbilityDB::init | ( | ) |
Definition at line 49 of file abilitydb.cpp.
void AbilityDB::readAbilityNode | ( | XML::Node | node, |
const std::string & | filename | ||
) |
Definition at line 55 of file abilitydb.cpp.
void AbilityDB::unload | ( | ) |
Definition at line 81 of file abilitydb.cpp.