summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-31 23:02:12 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-31 23:02:12 -0600
commitea4cfda4712ac31326b64ddf9dff61e448aeed28 (patch)
tree2bff17828862ebed77d44e65729a2d2944602ba9 /src/net/ea/partyhandler.h
parent78e67de6f70aab502a85578264b60493a818b39f (diff)
downloadmana-client-ea4cfda4712ac31326b64ddf9dff61e448aeed28.tar.gz
mana-client-ea4cfda4712ac31326b64ddf9dff61e448aeed28.tar.bz2
mana-client-ea4cfda4712ac31326b64ddf9dff61e448aeed28.tar.xz
mana-client-ea4cfda4712ac31326b64ddf9dff61e448aeed28.zip
Implement a few more handlers for eAthena
Party, skill, and trade handlers made for eAthena.
Diffstat (limited to 'src/net/ea/partyhandler.h')
-rw-r--r--src/net/ea/partyhandler.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h
index 34c3022e..5db4d43a 100644
--- a/src/net/ea/partyhandler.h
+++ b/src/net/ea/partyhandler.h
@@ -23,8 +23,9 @@
#define NET_EA_PARTYHANDLER_H
#include "net/messagehandler.h"
+#include "net/net.h"
-class PartyHandler : public MessageHandler
+class PartyHandler : public MessageHandler, public Net::PartyHandler
{
public:
PartyHandler();
@@ -32,6 +33,22 @@ class PartyHandler : public MessageHandler
~PartyHandler();
virtual void handleMessage(MessageIn &msg);
+
+ virtual void create(const std::string &name="");
+
+ virtual void join(int partyId);
+
+ virtual void invite(int playerId);
+
+ virtual void inviteResponse(bool accept);
+
+ virtual void leave();
+
+ virtual void kick(int playerId);
+
+ virtual void chat(const std::string &text);
};
+extern PartyHandler *partyHandler;
+
#endif // NET_EA_PARTYHANDLER_H