summaryrefslogtreecommitdiff
path: root/src/net/manaserv/playerhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/playerhandler.h')
-rw-r--r--src/net/manaserv/playerhandler.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/net/manaserv/playerhandler.h b/src/net/manaserv/playerhandler.h
index 1dd600c8..926f05dd 100644
--- a/src/net/manaserv/playerhandler.h
+++ b/src/net/manaserv/playerhandler.h
@@ -22,9 +22,10 @@
#ifndef NET_MANASERV_PLAYERHANDLER_H
#define NET_MANASERV_PLAYERHANDLER_H
-#include "net/messagehandler.h"
#include "net/playerhandler.h"
+#include "net/manaserv/messagehandler.h"
+
namespace ManaServ {
class PlayerHandler : public MessageHandler, public Net::PlayerHandler
@@ -32,7 +33,7 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler
public:
PlayerHandler();
- void handleMessage(MessageIn &msg);
+ void handleMessage(Net::MessageIn &msg);
void attack(int id);
@@ -60,10 +61,14 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler
bool canUseMagic();
+ bool canCorrectAttributes();
+
+ int getJobLocation();
+
private:
- void handleMapChangeMessage(MessageIn &msg);
+ void handleMapChangeMessage(Net::MessageIn &msg);
};
} // namespace ManaServ
-#endif
+#endif // NET_MANASERV_PLAYERHANDLER_H