diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-31 02:44:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-31 04:55:37 +0300 |
commit | 935d70ec604feaac02deb7cc23352706ad6a2f03 (patch) | |
tree | 92361309a58a8039bdebba5fee15ce8fa8100729 /src/net/tmwa/playerhandler.h | |
parent | ab2f28cfa2995dffeaf95a3a160654eee363c593 (diff) | |
download | ManaVerse-935d70ec604feaac02deb7cc23352706ad6a2f03.tar.gz ManaVerse-935d70ec604feaac02deb7cc23352706ad6a2f03.tar.bz2 ManaVerse-935d70ec604feaac02deb7cc23352706ad6a2f03.tar.xz ManaVerse-935d70ec604feaac02deb7cc23352706ad6a2f03.zip |
Extract shared logic from npchandler and playerhandler netcode to ea namespace.
Diffstat (limited to 'src/net/tmwa/playerhandler.h')
-rw-r--r-- | src/net/tmwa/playerhandler.h | 15 |
1 files changed, 3 insertions, 12 deletions
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 |