From 9138384a9d3ebfe52e72e25d5508d51bdf241c2a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 7 May 2016 21:48:57 +0300 Subject: Add packet SMSG_ADD_MAP_MARKER 0x09c1. --- src/net/eathena/maprecv.cpp | 8 ++++++++ src/net/eathena/maprecv.h | 1 + src/net/eathena/packetsin.inc | 1 + 3 files changed, 10 insertions(+) (limited to 'src/net') diff --git a/src/net/eathena/maprecv.cpp b/src/net/eathena/maprecv.cpp index ed152551b..44afba62d 100644 --- a/src/net/eathena/maprecv.cpp +++ b/src/net/eathena/maprecv.cpp @@ -82,4 +82,12 @@ void MapRecv::processSetTilesType(Net::MessageIn &msg) } } +void MapRecv::processAddMapMarker(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readBeingId("account id"); + msg.readInt16("x"); + msg.readInt16("y"); +} + } // namespace EAthena diff --git a/src/net/eathena/maprecv.h b/src/net/eathena/maprecv.h index 2f642add2..4fd740c75 100644 --- a/src/net/eathena/maprecv.h +++ b/src/net/eathena/maprecv.h @@ -35,6 +35,7 @@ namespace EAthena void processInstanceInfo(Net::MessageIn &msg); void processInstanceDelete(Net::MessageIn &msg); void processSetTilesType(Net::MessageIn &msg); + void processAddMapMarker(Net::MessageIn &msg); } // namespace MapRecv } // namespace EAthena diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index affdc4b81..7fd62d8cc 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -290,6 +290,7 @@ packet(SMSG_BOOKING_ADD_FILTERING_LIST, 0x090b, 30, nullptr, packet(SMSG_BOOKING_SUB_FILTERING_LIST, 0x090c, 30, nullptr, 0); packet(SMSG_MERGE_ITEM, 0x096d, -1, &InventoryRecv::processMergeItem, 0); packet(SMSG_ACK_MERGE_ITEMS, 0x096f, 7, &InventoryRecv::processMergeItemResponse, 0); +packet(SMSG_ADD_MAP_MARKER, 0x09c1, 10, &MapRecv::processAddMapMarker, 0); // 3 if (packetVersion >= 3) -- cgit v1.2.3-70-g09d2