summaryrefslogtreecommitdiff
path: root/src/net/partyhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/partyhandler.h')
-rw-r--r--src/net/partyhandler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/partyhandler.h b/src/net/partyhandler.h
index af84a746..85b7a2ba 100644
--- a/src/net/partyhandler.h
+++ b/src/net/partyhandler.h
@@ -24,6 +24,8 @@
#include <string>
+class Player;
+
namespace Net {
class PartyHandler
@@ -33,11 +35,11 @@ class PartyHandler
virtual void join(int partyId) = 0;
- virtual void invite(int playerId) = 0;
+ virtual void invite(Player *player) = 0;
virtual void invite(const std::string &name) = 0;
- virtual void inviteResponse(bool accept) = 0;
+ virtual void inviteResponse(const std::string &inviter, bool accept) = 0;
virtual void leave() = 0;