diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-07 21:48:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-07 21:48:57 +0300 |
commit | 9138384a9d3ebfe52e72e25d5508d51bdf241c2a (patch) | |
tree | 812cca3e9a51bbcd318f22ca0068da1a4112d729 /src | |
parent | caf133d6bff72e77a3b19c8e0f053f05b98bf78d (diff) | |
download | manaplus-9138384a9d3ebfe52e72e25d5508d51bdf241c2a.tar.gz manaplus-9138384a9d3ebfe52e72e25d5508d51bdf241c2a.tar.bz2 manaplus-9138384a9d3ebfe52e72e25d5508d51bdf241c2a.tar.xz manaplus-9138384a9d3ebfe52e72e25d5508d51bdf241c2a.zip |
Add packet SMSG_ADD_MAP_MARKER 0x09c1.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/maprecv.cpp | 8 | ||||
-rw-r--r-- | src/net/eathena/maprecv.h | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 1 |
3 files changed, 10 insertions, 0 deletions
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) |