From c07baee8d0b788225966355533a58b49ae67c3a4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 3 Nov 2018 00:35:51 +0300 Subject: Add packet SMSG_CAMERA_INFO 0x0a78. --- src/net/eathena/maprecv.cpp | 9 +++++++++ src/net/eathena/maprecv.h | 1 + src/net/eathena/packetsin.inc | 6 ++++++ 3 files changed, 16 insertions(+) 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) { -- cgit v1.2.3-70-g09d2