diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 14:30:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 14:30:20 +0300 |
commit | 0f9ec2061c4ad6157c3186f1cab9c4d8558980b5 (patch) | |
tree | 6259593b8436178ad8d981a96a8fd71eab9e04cc /src/net/adminhandler.h | |
parent | 01773c71a4698c6f01fe70d864f922bda65506cb (diff) | |
download | manaverse-0f9ec2061c4ad6157c3186f1cab9c4d8558980b5.tar.gz manaverse-0f9ec2061c4ad6157c3186f1cab9c4d8558980b5.tar.bz2 manaverse-0f9ec2061c4ad6157c3186f1cab9c4d8558980b5.tar.xz manaverse-0f9ec2061c4ad6157c3186f1cab9c4d8558980b5.zip |
Add strong typed int type BeingId.
Diffstat (limited to 'src/net/adminhandler.h')
-rw-r--r-- | src/net/adminhandler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/adminhandler.h b/src/net/adminhandler.h index 70e683769..77f0508a8 100644 --- a/src/net/adminhandler.h +++ b/src/net/adminhandler.h @@ -23,10 +23,12 @@ #ifndef NET_ADMINHANDLER_H #define NET_ADMINHANDLER_H -#include "localconsts.h" +#include "enums/simpletypes/beingid.h" #include <string> +#include "localconsts.h" + class Being; namespace Net @@ -44,7 +46,7 @@ class AdminHandler notfinal virtual void hide(const bool hide) const = 0; - virtual void kick(const int playerId) const = 0; + virtual void kick(const BeingId playerId) const = 0; virtual void kickName(const std::string &name) const = 0; |