From 935d70ec604feaac02deb7cc23352706ad6a2f03 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 Jul 2011 02:44:53 +0300 Subject: Extract shared logic from npchandler and playerhandler netcode to ea namespace. --- src/net/tmwa/playerhandler.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/net/tmwa/playerhandler.h') diff --git a/src/net/tmwa/playerhandler.h b/src/net/tmwa/playerhandler.h index fc4230856..4fd108e94 100644 --- a/src/net/tmwa/playerhandler.h +++ b/src/net/tmwa/playerhandler.h @@ -26,6 +26,8 @@ #include "net/net.h" #include "net/playerhandler.h" +#include "net/ea/playerhandler.h" + #include "net/tmwa/messagehandler.h" #ifdef __GNUC__ @@ -37,7 +39,7 @@ namespace TmwAthena { -class PlayerHandler : public MessageHandler, public Net::PlayerHandler +class PlayerHandler : public MessageHandler, public Ea::PlayerHandler { public: PlayerHandler(); @@ -49,7 +51,6 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler void emote(Uint8 emoteId); void increaseAttribute(int attr); - void decreaseAttribute(int attr); void increaseSkill(unsigned short skillId); void pickUp(FloorItem *floorItem); @@ -58,16 +59,6 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler void changeAction(Being::Action action); void respawn(); - - void ignorePlayer(const std::string &player, bool ignore); - void ignoreAll(bool ignore); - - bool canUseMagic() const; - bool canCorrectAttributes() const; - - int getJobLocation() const; - - Vector getDefaultWalkSpeed() const; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2