diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-07 21:16:24 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-07 21:23:27 -0600 |
commit | 73c773adfb8b65e1305242ab55607882a46e71c3 (patch) | |
tree | 5b6d767ce2f44e33283f4e78edbb5a08f0c2b52a /src/net/partyhandler.h | |
parent | aefbc69aac9f7c793725153eefce2631555bfd1f (diff) | |
download | mana-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.h | 6 |
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; |