From 59607172a197cbe622dabc4619100f69067403dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 23 Nov 2015 22:11:49 +0300 Subject: Impliment packet SMSG_SKILL_SNAP (hercules). --- src/net/eathena/packetsin.inc | 2 +- src/net/eathena/skillrecv.cpp | 8 -------- src/net/eathena/skillrecv.h | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 30c7a526b..1e36f156b 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -399,7 +399,7 @@ packet(SMSG_SKILL_GROUND_NO_DAMAGE, 0x0117, 18, &BeingRecv::processSkill packet(SMSG_SKILL_ITEM_LIST_WINDOW, 0x07e3, 6, &SkillRecv::processSkillItemListWindow); packet(SMSG_SKILL_MEMO_MESSAGE, 0x011e, 3, &SkillRecv::processSkillMemoMessage); packet(SMSG_SKILL_NO_DAMAGE, 0x011a, 15, &Ea::BeingRecv::processSkillNoDamage); -packet(SMSG_SKILL_SNAP, 0x08d2, 10, &SkillRecv::processSkillSnap); +packet(SMSG_SKILL_SNAP, 0x08d2, 10, &BeingRecv::processBeingSlide); packet(SMSG_SKILL_UNIT_UPDATE, 0x01ac, 6, &SkillRecv::processSkillUnitUpdate); packet(SMSG_SKILL_WARP_POINT, 0x011c, 68, &SkillRecv::processSkillWarpPoint); packet(SMSG_SOLVE_CHAR_NAME, 0x0194, 30, &BeingRecv::processSolveCharName); diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index f0ce13cdd..75e6464f4 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -325,14 +325,6 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg) NotifyManager::notify(NotifyTypes::SKILL_FAIL_MESSAGE, txt); } -void SkillRecv::processSkillSnap(Net::MessageIn &msg) -{ - UNIMPLIMENTEDPACKET; - msg.readBeingId("being id"); - msg.readInt16("x"); - msg.readInt16("y"); -} - void SkillRecv::processSkillWarpPoint(Net::MessageIn &msg) { const int skillId = msg.readInt16("skill id"); diff --git a/src/net/eathena/skillrecv.h b/src/net/eathena/skillrecv.h index 56dbb1100..556982b3e 100644 --- a/src/net/eathena/skillrecv.h +++ b/src/net/eathena/skillrecv.h @@ -36,7 +36,6 @@ namespace EAthena void processPlayerSkills(Net::MessageIn &msg); void processSkillCoolDown(Net::MessageIn &msg); void processSkillCoolDownList(Net::MessageIn &msg); - void processSkillSnap(Net::MessageIn &msg); void processSkillAdd(Net::MessageIn &msg); void processSkillUpdate(Net::MessageIn &msg); void processSkillDelete(Net::MessageIn &msg); -- cgit v1.2.3-70-g09d2