summaryrefslogtreecommitdiff
path: root/src/net/playerhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 21:42:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 22:43:38 +0300
commit3411edb5d3ae07d247421e4b8f7936a22b7b4027 (patch)
tree63685d0979938a42a62b3f0a880663bb06f4e8ca /src/net/playerhandler.h
parent390e5da0f9ecc4407aa7d4bcba1af5730db56271 (diff)
downloadplus-3411edb5d3ae07d247421e4b8f7936a22b7b4027.tar.gz
plus-3411edb5d3ae07d247421e4b8f7936a22b7b4027.tar.bz2
plus-3411edb5d3ae07d247421e4b8f7936a22b7b4027.tar.xz
plus-3411edb5d3ae07d247421e4b8f7936a22b7b4027.zip
Convert Attributes enum into strong typed enum.
Diffstat (limited to 'src/net/playerhandler.h')
-rw-r--r--src/net/playerhandler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h
index 5fde7db54..6f31cf7ac 100644
--- a/src/net/playerhandler.h
+++ b/src/net/playerhandler.h
@@ -25,6 +25,7 @@
#include "flooritem.h"
+#include "enums/being/attributes.h"
#include "enums/being/beingaction.h"
#include "enums/simpletypes/beingid.h"
@@ -49,9 +50,9 @@ class PlayerHandler notfinal
virtual void emote(const uint8_t emoteId) const = 0;
- virtual void increaseAttribute(const int attr) const = 0;
+ virtual void increaseAttribute(const AttributesT attr) const = 0;
- virtual void decreaseAttribute(const int attr) const = 0;
+ virtual void decreaseAttribute(const AttributesT attr) const = 0;
virtual void increaseSkill(const uint16_t skillId) const = 0;