From 73c773adfb8b65e1305242ab55607882a46e71c3 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 7 Apr 2009 21:16:24 -0600 Subject: Implement TMWServ's PartyHandler --- src/net/partyhandler.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/net/partyhandler.h') 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 +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; -- cgit v1.2.3-70-g09d2