summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-31 02:44:53 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-31 04:55:37 +0300
commit935d70ec604feaac02deb7cc23352706ad6a2f03 (patch)
tree92361309a58a8039bdebba5fee15ce8fa8100729 /src/net/tmwa/playerhandler.h
parentab2f28cfa2995dffeaf95a3a160654eee363c593 (diff)
downloadmv-935d70ec604feaac02deb7cc23352706ad6a2f03.tar.gz
mv-935d70ec604feaac02deb7cc23352706ad6a2f03.tar.bz2
mv-935d70ec604feaac02deb7cc23352706ad6a2f03.tar.xz
mv-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.h15
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