diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 08:12:03 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 08:14:37 -0600 |
commit | ffe62a721cf3c17b815da591af753e1424003a77 (patch) | |
tree | 6b3bd4dcec199ef10e138b7755d1c853db85a7d7 /src/net/ea/skillhandler.cpp | |
parent | 004b2853d37a18a67c348c29e4500f3ef68337b5 (diff) | |
download | mana-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.cpp | 21 |
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 |