diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-03 14:31:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-03 14:31:43 +0300 |
commit | b643a5c48d53dbeca7672e3c8b5182f9d698abcb (patch) | |
tree | ab596dc9a0c573764c1e0b427f22303faa1bfec1 /src/net/tmwa/partyhandler.h | |
parent | 6281c1281fe85a1c75155df44c99aa843561a4f2 (diff) | |
download | manaplus-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.gz manaplus-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.bz2 manaplus-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.xz manaplus-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.zip |
Convert PacketShare enum into strong typed enum.
Diffstat (limited to 'src/net/tmwa/partyhandler.h')
-rw-r--r-- | src/net/tmwa/partyhandler.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h index 3768964a5..af18e2d14 100644 --- a/src/net/tmwa/partyhandler.h +++ b/src/net/tmwa/partyhandler.h @@ -56,11 +56,9 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler void chat(const std::string &text) const override final; - void setShareExperience(const Net::PartyShare::Type share) - const override final; + void setShareExperience(const PartyShareT share) const override final; - void setShareItems(const Net::PartyShare::Type - share) const override final; + void setShareItems(const PartyShareT share) const override final; void changeLeader(const std::string &name) const override final; |