diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/protocol.h | 1 | ||||
-rw-r--r-- | src/net/eathena/skillhandler.cpp | 15 | ||||
-rw-r--r-- | src/net/eathena/skillhandler.h | 2 |
3 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 1993714f4..b28e561f7 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -99,6 +99,7 @@ #define SMSG_SKILL_DAMAGE 0x01de #define SMSG_SKILL_AUTO_CAST 0x0147 #define SMSG_SKILL_SNAP 0x08d2 +#define SMSG_SKILL_WARP_POINT 0x011c #define SMSG_ITEM_USE_RESPONSE 0x00a8 #define SMSG_ITEM_VISIBLE 0x009d /**< An item is on the floor */ #define SMSG_GRAFFITI_VISIBLE 0x01c9 diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index 7bddc239d..7ccc5c736 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -61,6 +61,7 @@ SkillHandler::SkillHandler() : SMSG_PLAYER_ADD_SKILL, SMSG_PLAYER_DELETE_SKILL, SMSG_PLAYER_UPDATE_SKILL, + SMSG_SKILL_WARP_POINT, 0 }; handledMessages = _messages; @@ -107,6 +108,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg) processSkillDelete(msg); break; + case SMSG_SKILL_WARP_POINT: + processSkillWarpPoint(msg); + break; + default: break; } @@ -372,4 +377,14 @@ void SkillHandler::processSkillSnap(Net::MessageIn &msg) msg.readInt16("y"); } +void SkillHandler::processSkillWarpPoint(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("skill id"); + msg.readString(16, "map name 1"); + msg.readString(16, "map name 2"); + msg.readString(16, "map name 3"); + msg.readString(16, "map name 4"); +} + } // namespace EAthena diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h index 4c6394348..265548a26 100644 --- a/src/net/eathena/skillhandler.h +++ b/src/net/eathena/skillhandler.h @@ -67,6 +67,8 @@ class SkillHandler final : public MessageHandler, public Ea::SkillHandler static void processSkillUpdate(Net::MessageIn &msg); static void processSkillDelete(Net::MessageIn &msg); + + static void processSkillWarpPoint(Net::MessageIn &msg); }; } // namespace EAthena |