summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/partyhandler.h')
-rw-r--r--src/net/ea/partyhandler.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h
index 5db4d43a..df38bd6c 100644
--- a/src/net/ea/partyhandler.h
+++ b/src/net/ea/partyhandler.h
@@ -24,6 +24,7 @@
#include "net/messagehandler.h"
#include "net/net.h"
+#include "net/partyhandler.h"
class PartyHandler : public MessageHandler, public Net::PartyHandler
{
@@ -32,21 +33,23 @@ class PartyHandler : public MessageHandler, public Net::PartyHandler
~PartyHandler();
- virtual void handleMessage(MessageIn &msg);
+ void handleMessage(MessageIn &msg);
- virtual void create(const std::string &name="");
+ void create(const std::string &name = "");
- virtual void join(int partyId);
+ void join(int partyId);
- virtual void invite(int playerId);
+ void invite(int playerId);
- virtual void inviteResponse(bool accept);
+ void inviteResponse(bool accept);
- virtual void leave();
+ void leave();
- virtual void kick(int playerId);
+ void kick(int playerId);
- virtual void chat(const std::string &text);
+ void chat(const std::string &text);
+
+ void requestPartyMembers();
};
extern PartyHandler *partyHandler;