diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-19 09:01:46 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-19 09:01:46 -0600 |
commit | 822690170b501397b86626e13b5a542712a1719d (patch) | |
tree | 327bd24839195d677beca694b9a8fca7b18245ca /src/net/partyhandler.h | |
parent | 124865b5d67c8c7b199046d19380e1e154ee99e4 (diff) | |
download | mana-client-822690170b501397b86626e13b5a542712a1719d.tar.gz mana-client-822690170b501397b86626e13b5a542712a1719d.tar.bz2 mana-client-822690170b501397b86626e13b5a542712a1719d.tar.xz mana-client-822690170b501397b86626e13b5a542712a1719d.zip |
Flesh out eAtehan party handling
Diffstat (limited to 'src/net/partyhandler.h')
-rw-r--r-- | src/net/partyhandler.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/net/partyhandler.h b/src/net/partyhandler.h index 85b7a2ba..f4107b67 100644 --- a/src/net/partyhandler.h +++ b/src/net/partyhandler.h @@ -26,6 +26,12 @@ class Player; +enum PartyShare { + PARTY_SHARE_NO, + PARTY_SHARE, + PARTY_SHARE_NOT_POSSIBLE = 2 +}; + namespace Net { class PartyHandler @@ -43,12 +49,22 @@ class PartyHandler virtual void leave() = 0; - virtual void kick(int playerId) = 0; + virtual void kick(Player *player) = 0; + + virtual void kick(const std::string &name) = 0; virtual void chat(const std::string &text) = 0; virtual void requestPartyMembers() = 0; + virtual PartyShare getShareExperience() = 0; + + virtual void setShareExperience(PartyShare share) = 0; + + virtual PartyShare getShareItems() = 0; + + virtual void setShareItems(PartyShare share) = 0; + // virtual void options() = 0; // virtual void message() = 0; |