diff options
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; |