summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/playerhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-02 22:37:35 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-02 22:37:35 -0600
commitd13b3eaca82e3547c84f60b9b135464ff3a51cf0 (patch)
treee4ede7c58a991b85ff208a7155d0b74236f23bac /src/net/tmwserv/playerhandler.h
parent4916370e6130bfee7eb9ae486f03391d2214ecf4 (diff)
downloadmana-d13b3eaca82e3547c84f60b9b135464ff3a51cf0.tar.gz
mana-d13b3eaca82e3547c84f60b9b135464ff3a51cf0.tar.bz2
mana-d13b3eaca82e3547c84f60b9b135464ff3a51cf0.tar.xz
mana-d13b3eaca82e3547c84f60b9b135464ff3a51cf0.zip
Start TMWServ's PlayerHandler and InventoryHandler
Diffstat (limited to 'src/net/tmwserv/playerhandler.h')
-rw-r--r--src/net/tmwserv/playerhandler.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/net/tmwserv/playerhandler.h b/src/net/tmwserv/playerhandler.h
index c8eacc38..572c8712 100644
--- a/src/net/tmwserv/playerhandler.h
+++ b/src/net/tmwserv/playerhandler.h
@@ -23,14 +23,37 @@
#define NET_TMWSERV_PLAYERHANDLER_H
#include "net/messagehandler.h"
+#include "net/playerhandler.h"
-class PlayerHandler : public MessageHandler
+class PlayerHandler : public MessageHandler, public Net::PlayerHandler
{
public:
PlayerHandler();
void handleMessage(MessageIn &msg);
+ void attack(Being *being);
+
+ void emote(int emoteId);
+
+ void increaseStat(LocalPlayer::Attribute attr);
+
+ void decreaseStat(LocalPlayer::Attribute attr);
+
+ void pickUp(FloorItem *floorItem);
+
+ void setDirection(char direction);
+
+ void setDestination(int x, int y, int direction = -1);
+
+ void changeAction(Being::Action action);
+
+ void respawn();
+
+ void ingorePlayer(const std::string &player, bool ignore);
+
+ void ingoreAll(bool ignore);
+
private:
void handleMapChangeMessage(MessageIn &msg);
};