summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-01 07:45:13 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-01 07:45:13 -0600
commit33048e36c1fdc642459b0101ad0ab9c63807a3e7 (patch)
treea3d311e0a820c901058f8dfe7b3eeaaf946e7618 /src/net/ea/playerhandler.h
parentea4cfda4712ac31326b64ddf9dff61e448aeed28 (diff)
downloadmana-33048e36c1fdc642459b0101ad0ab9c63807a3e7.tar.gz
mana-33048e36c1fdc642459b0101ad0ab9c63807a3e7.tar.bz2
mana-33048e36c1fdc642459b0101ad0ab9c63807a3e7.tar.xz
mana-33048e36c1fdc642459b0101ad0ab9c63807a3e7.zip
Build eAthena's PlayerHandler
Diffstat (limited to 'src/net/ea/playerhandler.h')
-rw-r--r--src/net/ea/playerhandler.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/net/ea/playerhandler.h b/src/net/ea/playerhandler.h
index 6b36d86f..f1d45a79 100644
--- a/src/net/ea/playerhandler.h
+++ b/src/net/ea/playerhandler.h
@@ -23,13 +23,38 @@
#define NET_EA_PLAYERHANDLER_H
#include "net/messagehandler.h"
+#include "net/net.h"
-class PlayerHandler : public MessageHandler
+class PlayerHandler : public MessageHandler, public Net::PlayerHandler
{
public:
PlayerHandler();
virtual void handleMessage(MessageIn &msg);
+
+ virtual void attack(Being *being);
+
+ virtual void emote(int emoteId);
+
+ virtual void increaseStat(LocalPlayer::Attribute attr);
+
+ virtual void decreaseStat(LocalPlayer::Attribute attr);
+
+ virtual void pickUp(FloorItem *floorItem);
+
+ virtual void setDirection(int direction);
+
+ virtual void setDestination(int x, int y, int direction = -1);
+
+ virtual void changeAction(Being::Action action);
+
+ virtual void respawn();
+
+ virtual void ingorePlayer(const std::string &player, bool ignore);
+
+ virtual void ingoreAll(bool ignore);
};
+extern PlayerHandler *playerHandler;
+
#endif // NET_EA_PLAYERHANDLER_H