diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-03 18:59:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-03 19:03:30 +0300 |
commit | 98db78be9552b039090ce5dfc53803df2dd54b41 (patch) | |
tree | efda1a43723e8e11e075dcfef2776fe38c7cb3da /src/net/manaserv/attributes.cpp | |
parent | d7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff) | |
download | manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.gz manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.bz2 manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.xz manaplus-98db78be9552b039090ce5dfc53803df2dd54b41.zip |
Add some missing getters.
Diffstat (limited to 'src/net/manaserv/attributes.cpp')
-rw-r--r-- | src/net/manaserv/attributes.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/manaserv/attributes.cpp b/src/net/manaserv/attributes.cpp index 662032e29..c032b6bb8 100644 --- a/src/net/manaserv/attributes.cpp +++ b/src/net/manaserv/attributes.cpp @@ -73,16 +73,16 @@ namespace Attributes static unsigned int attributeMinimum = 0; static unsigned int attributeMaximum = 0; - unsigned int getCreationPoints() + unsigned int getCreationPoints() const { return creationPoints; } - unsigned int getAttributeMinimum() + unsigned int getAttributeMinimum() const { return attributeMinimum; } - unsigned int getAttributeMaximum() + unsigned int getAttributeMaximum() const { return attributeMaximum; } - std::vector<std::string>& getLabels() + std::vector<std::string>& getLabels() const { return attributeLabels; } /** |