Mana
|
Classes | |
struct | Attribute |
Functions | |
unsigned int | getCreationPoints () |
Give the attribute points given to a character at its creation. | |
unsigned int | getAttributeMinimum () |
Give the minimum attribute point possible at character's creation. | |
unsigned int | getAttributeMaximum () |
Give the maximum attribute point possible at character's creation. | |
std::vector< std::string > & | getLabels () |
Returns the list of base attribute labels. | |
int | getPlayerInfoIdFromAttrId (int attrId) |
Give back the corresponding playerinfo Id from the attribute id defined in the xml file. | |
void | init () |
void | readAttributeNode (XML::Node node, const std::string &filename) |
Read attribute node. | |
void | readPointsNode (XML::Node node, const std::string &filename) |
Read points node. | |
void | checkStatus () |
Check if all the data loaded by readPointsNode and readAttributeNode is ok. | |
void | unload () |
void | informItemDB () |
void | informStatusWindow () |
void Attributes::checkStatus | ( | ) |
Check if all the data loaded by readPointsNode and readAttributeNode is ok.
Definition at line 331 of file attributes.cpp.
unsigned int Attributes::getAttributeMaximum | ( | ) |
Give the maximum attribute point possible at character's creation.
Definition at line 80 of file attributes.cpp.
unsigned int Attributes::getAttributeMinimum | ( | ) |
Give the minimum attribute point possible at character's creation.
Definition at line 75 of file attributes.cpp.
unsigned int Attributes::getCreationPoints | ( | ) |
Give the attribute points given to a character at its creation.
Definition at line 70 of file attributes.cpp.
std::vector< std::string > & Attributes::getLabels | ( | ) |
Returns the list of base attribute labels.
Definition at line 85 of file attributes.cpp.
int Attributes::getPlayerInfoIdFromAttrId | ( | int | attrId | ) |
Give back the corresponding playerinfo Id from the attribute id defined in the xml file.
Definition at line 143 of file attributes.cpp.
void Attributes::informItemDB | ( | ) |
Definition at line 363 of file attributes.cpp.
void Attributes::informStatusWindow | ( | ) |
Definition at line 373 of file attributes.cpp.
void Attributes::init | ( | ) |
Definition at line 229 of file attributes.cpp.
void Attributes::readAttributeNode | ( | XML::Node | node, |
const std::string & | filename | ||
) |
Read attribute node.
Definition at line 238 of file attributes.cpp.
void Attributes::readPointsNode | ( | XML::Node | node, |
const std::string & | filename | ||
) |
Read points node.
Definition at line 317 of file attributes.cpp.
void Attributes::unload | ( | ) |
Definition at line 358 of file attributes.cpp.