summaryrefslogtreecommitdiff
path: root/src/net/ea/skillhandler.cpp
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.cpp
parent004b2853d37a18a67c348c29e4500f3ef68337b5 (diff)
downloadmana-client-ffe62a721cf3c17b815da591af753e1424003a77.tar.gz
mana-client-ffe62a721cf3c17b815da591af753e1424003a77.tar.bz2
mana-client-ffe62a721cf3c17b815da591af753e1424003a77.tar.xz
mana-client-ffe62a721cf3c17b815da591af753e1424003a77.zip
Add TMWServ's SkillHandler
Also namespace both Player- and TradeHandlers
Diffstat (limited to 'src/net/ea/skillhandler.cpp')
-rw-r--r--src/net/ea/skillhandler.cpp21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/net/ea/skillhandler.cpp b/src/net/ea/skillhandler.cpp
index 0475c057..0239a2c8 100644
--- a/src/net/ea/skillhandler.cpp
+++ b/src/net/ea/skillhandler.cpp
@@ -66,7 +66,9 @@
/** should always be zero if failed */
#define SKILL_FAILED 0x00
-SkillHandler *skillHandler;
+Net::SkillHandler *skillHandler;
+
+namespace EAthena {
SkillHandler::SkillHandler()
{
@@ -217,3 +219,20 @@ void SkillHandler::up(int skillId)
MessageOut outMsg(CMSG_SKILL_LEVELUP_REQUEST);
outMsg.writeInt16(skillId);
}
+
+void SkillHandler::use(int skillId, int level, int beingId)
+{
+ // TODO
+}
+
+void SkillHandler::use(int skillId, int level, int x, int y)
+{
+ // TODO
+}
+
+void SkillHandler::use(int skillId, const std::string &map)
+{
+ // TODO
+}
+
+} // namespace EAthena