summaryrefslogtreecommitdiff
path: root/src/net/partyhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 14:31:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 14:31:43 +0300
commitb643a5c48d53dbeca7672e3c8b5182f9d698abcb (patch)
treeab596dc9a0c573764c1e0b427f22303faa1bfec1 /src/net/partyhandler.h
parent6281c1281fe85a1c75155df44c99aa843561a4f2 (diff)
downloadManaVerse-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.gz
ManaVerse-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.bz2
ManaVerse-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.xz
ManaVerse-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.zip
Convert PacketShare enum into strong typed enum.
Diffstat (limited to 'src/net/partyhandler.h')
-rw-r--r--src/net/partyhandler.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/net/partyhandler.h b/src/net/partyhandler.h
index 2d148d247..f93f07b44 100644
--- a/src/net/partyhandler.h
+++ b/src/net/partyhandler.h
@@ -54,16 +54,13 @@ class PartyHandler notfinal
virtual void chat(const std::string &text) const = 0;
- virtual Net::PartyShare::Type getShareExperience()
- const A_WARN_UNUSED = 0;
+ virtual PartyShareT getShareExperience() const A_WARN_UNUSED = 0;
- virtual void setShareExperience(const Net::PartyShare::Type
- share) const = 0;
+ virtual void setShareExperience(const PartyShareT share) const = 0;
- virtual Net::PartyShare::Type getShareItems() const A_WARN_UNUSED = 0;
+ virtual PartyShareT getShareItems() const A_WARN_UNUSED = 0;
- virtual void setShareItems(const Net::PartyShare::Type
- share) const = 0;
+ virtual void setShareItems(const PartyShareT share) const = 0;
virtual void changeLeader(const std::string &name) const = 0;