Mana
Loading...
Searching...
No Matches
Namespaces | Functions
attributes.h File Reference
#include <string>
#include <vector>
#include "utils/xml.h"

Go to the source code of this file.

Namespaces

namespace  Attributes
 

Functions

void Attributes::init ()
 
void Attributes::readAttributeNode (XML::Node node, const std::string &filename)
 Read attribute node.
 
void Attributes::readPointsNode (XML::Node node, const std::string &filename)
 Read points node.
 
void Attributes::checkStatus ()
 Check if all the data loaded by readPointsNode and readAttributeNode is ok.
 
void Attributes::unload ()
 
void Attributes::informItemDB ()
 
void Attributes::informStatusWindow ()
 
std::vector< std::string > & Attributes::getLabels ()
 Returns the list of base attribute labels.
 
int Attributes::getPlayerInfoIdFromAttrId (int attrId)
 Give back the corresponding playerinfo Id from the attribute id defined in the xml file.
 
unsigned int Attributes::getCreationPoints ()
 Give the attribute points given to a character at its creation.
 
unsigned int Attributes::getAttributeMinimum ()
 Give the minimum attribute point possible at character's creation.
 
unsigned int Attributes::getAttributeMaximum ()
 Give the maximum attribute point possible at character's creation.