From a4fb6c80502e707c19ab70432418295ea4c48d6a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Oct 2014 13:34:13 +0300 Subject: eathena: add packet SMSG_PLAYER_DELETE_SKILL 0x0441. --- src/net/eathena/skillhandler.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/net/eathena/skillhandler.cpp') diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index de1b53c18..595f5a8a2 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -59,6 +59,7 @@ SkillHandler::SkillHandler() : SMSG_PLAYER_SKILL_COOLDOWN_LIST, SMSG_SKILL_SNAP, SMSG_PLAYER_ADD_SKILL, + SMSG_PLAYER_DELETE_SKILL, 0 }; handledMessages = _messages; @@ -97,6 +98,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg) processSkillAdd(msg); break; + case SMSG_PLAYER_DELETE_SKILL: + processSkillDelete(msg); + break; + default: break; } @@ -207,6 +212,12 @@ void SkillHandler::processSkillAdd(Net::MessageIn &msg) } } +void SkillHandler::processSkillDelete(Net::MessageIn &msg) +{ + // ignored, because after this packet server will send all skills. + msg.readInt32("skill id"); +} + void SkillHandler::processSkillCoolDown(Net::MessageIn &msg) { const int skillId = msg.readInt16("skill id"); -- cgit v1.2.3-60-g2f50