diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/maprecv.cpp | 9 | ||||
-rw-r--r-- | src/net/eathena/maprecv.h | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/maprecv.cpp b/src/net/eathena/maprecv.cpp index c55bc8fba..e6d861725 100644 --- a/src/net/eathena/maprecv.cpp +++ b/src/net/eathena/maprecv.cpp @@ -65,4 +65,13 @@ void MapRecv::processAddMapMarker(Net::MessageIn &msg) msg.readInt16("y"); } +void MapRecv::processCameraInfo(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readUInt8("action"); + msg.readInt32("range"); + msg.readInt32("rotation"); + msg.readInt32("latitude"); +} + } // namespace EAthena diff --git a/src/net/eathena/maprecv.h b/src/net/eathena/maprecv.h index 948286769..f98e7118a 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 processAddMapMarker(Net::MessageIn &msg); + void processCameraInfo(Net::MessageIn &msg); } // namespace MapRecv } // namespace EAthena diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index b4ab91b42..d59b6b3ac 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -978,6 +978,12 @@ if (packetVersion >= 20150513) packet(SMSG_QUEST_NOTIFY_OBJECTIVES, 0x08fe, -1, &QuestRecv::processUpdateQuestsObjectives2, 20150513); } +// 20160525 +if (packetVersion >= 20160525) +{ + packet(SMSG_CAMERA_INFO, 0x0a78, 15, &MapRecv::processCameraInfo, 20160525); +} + // 20150805 if (packetVersion >= 20150805) { |