summaryrefslogtreecommitdiff
path: root/src/playerinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-11 15:34:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-11 15:34:12 +0300
commitcd51470e6fe2cc30b6d533cc0183639041613680 (patch)
treefea875a1087d24775c302508d8b0c7662a46ed04 /src/playerinfo.h
parenta09da2427062c4454bd9691489289d45b3473fda (diff)
downloadmanaverse-cd51470e6fe2cc30b6d533cc0183639041613680.tar.gz
manaverse-cd51470e6fe2cc30b6d533cc0183639041613680.tar.bz2
manaverse-cd51470e6fe2cc30b6d533cc0183639041613680.tar.xz
manaverse-cd51470e6fe2cc30b6d533cc0183639041613680.zip
Improve playerinfo class.
Diffstat (limited to 'src/playerinfo.h')
-rw-r--r--src/playerinfo.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/playerinfo.h b/src/playerinfo.h
index d96e3e126..ff149b2cc 100644
--- a/src/playerinfo.h
+++ b/src/playerinfo.h
@@ -154,7 +154,7 @@ namespace PlayerInfo
/**
* Returns the experience of the given stat.
*/
- std::pair<int, int> getStatExperience(const int id) A_WARN_UNUSED;
+ const std::pair<int, int> getStatExperience(const int id) A_WARN_UNUSED;
/**
* Changes the experience of the given stat.
@@ -192,19 +192,6 @@ namespace PlayerInfo
*/
Item *getEquipment(const unsigned int slot) A_WARN_UNUSED;
-// --- Specials ---------------------------------------------------------------
-
- /**
- * Changes the status of the given special.
- */
- void setSpecialStatus(const int id, const int current,
- const int max, const int recharge);
-
- /**
- * Returns the status of the given special.
- */
- const SpecialsMap &getSpecialStatus();
-
// --- Misc -------------------------------------------------------------------
/**