summaryrefslogtreecommitdiff
path: root/src/net/ea/skillhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-06 08:12:03 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-06 08:14:37 -0600
commitffe62a721cf3c17b815da591af753e1424003a77 (patch)
tree6b3bd4dcec199ef10e138b7755d1c853db85a7d7 /src/net/ea/skillhandler.h
parent004b2853d37a18a67c348c29e4500f3ef68337b5 (diff)
downloadmana-ffe62a721cf3c17b815da591af753e1424003a77.tar.gz
mana-ffe62a721cf3c17b815da591af753e1424003a77.tar.bz2
mana-ffe62a721cf3c17b815da591af753e1424003a77.tar.xz
mana-ffe62a721cf3c17b815da591af753e1424003a77.zip
Add TMWServ's SkillHandler
Also namespace both Player- and TradeHandlers
Diffstat (limited to 'src/net/ea/skillhandler.h')
-rw-r--r--src/net/ea/skillhandler.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/net/ea/skillhandler.h b/src/net/ea/skillhandler.h
index b4e464ed..c1965213 100644
--- a/src/net/ea/skillhandler.h
+++ b/src/net/ea/skillhandler.h
@@ -26,6 +26,8 @@
#include "net/net.h"
#include "net/skillhandler.h"
+namespace EAthena {
+
class SkillHandler : public MessageHandler, public Net::SkillHandler
{
public:
@@ -34,8 +36,14 @@ class SkillHandler : public MessageHandler, public Net::SkillHandler
void handleMessage(MessageIn &msg);
void up(int skillId);
+
+ void use(int skillId, int level, int beingId);
+
+ void use(int skillId, int level, int x, int y);
+
+ void use(int skillId, const std::string &map);
};
-extern SkillHandler *skillHandler;
+} // namespace EAthena
#endif // NET_EA_SKILLHANDLER_H