diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 20:58:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 20:58:21 +0300 |
commit | a87db81b6b7551a248e31e2850577aefda092538 (patch) | |
tree | f47c20512183113face758cf58ec71369c82806c /src/net/playerhandler.h | |
parent | 92c019dad798f1a84c5d3e8e8331a885f6458133 (diff) | |
download | plus-a87db81b6b7551a248e31e2850577aefda092538.tar.gz plus-a87db81b6b7551a248e31e2850577aefda092538.tar.bz2 plus-a87db81b6b7551a248e31e2850577aefda092538.tar.xz plus-a87db81b6b7551a248e31e2850577aefda092538.zip |
Replace most bools usage in playerinfo to strong typed bools.
Diffstat (limited to 'src/net/playerhandler.h')
-rw-r--r-- | src/net/playerhandler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h index 2cdfdf062..af4b09958 100644 --- a/src/net/playerhandler.h +++ b/src/net/playerhandler.h @@ -25,6 +25,8 @@ #include "flooritem.h" +#include "enums/simpletypes.h" + #include "enums/being/beingaction.h" #include "net/messagein.h" @@ -38,7 +40,7 @@ class PlayerHandler notfinal virtual ~PlayerHandler() { } - virtual void attack(const int id, const bool keep) const = 0; + virtual void attack(const int id, const Keep keep) const = 0; virtual void stopAttack() const = 0; @@ -101,7 +103,7 @@ class PlayerHandler notfinal const int type, const int base, const int mod, - const bool notify) const = 0; + const Notify notify) const = 0; }; } // namespace Net |