diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-03 00:35:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-03 00:35:51 +0300 |
commit | c07baee8d0b788225966355533a58b49ae67c3a4 (patch) | |
tree | 1487e1bfc45156acada4d7a37b5e93c5f937cf07 /src/net | |
parent | 9e5d035a2e43424ad63f159a6c8971a15a9079f4 (diff) | |
download | manaverse-c07baee8d0b788225966355533a58b49ae67c3a4.tar.gz manaverse-c07baee8d0b788225966355533a58b49ae67c3a4.tar.bz2 manaverse-c07baee8d0b788225966355533a58b49ae67c3a4.tar.xz manaverse-c07baee8d0b788225966355533a58b49ae67c3a4.zip |
Add packet SMSG_CAMERA_INFO 0x0a78.
Diffstat (limited to 'src/net')
-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) { |