summaryrefslogtreecommitdiff
path: root/src/net/partyhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-07 21:16:24 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-07 21:23:27 -0600
commit73c773adfb8b65e1305242ab55607882a46e71c3 (patch)
tree5b6d767ce2f44e33283f4e78edbb5a08f0c2b52a /src/net/partyhandler.h
parentaefbc69aac9f7c793725153eefce2631555bfd1f (diff)
downloadmana-73c773adfb8b65e1305242ab55607882a46e71c3.tar.gz
mana-73c773adfb8b65e1305242ab55607882a46e71c3.tar.bz2
mana-73c773adfb8b65e1305242ab55607882a46e71c3.tar.xz
mana-73c773adfb8b65e1305242ab55607882a46e71c3.zip
Implement TMWServ's PartyHandler
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;