From 34891cab564d7ed5752d4f161f2b76e727830e50 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 May 2018 19:28:41 +0300 Subject: Add packet SMSG_PRIVATE_AIRSHIP_RESPONSE 0x0A4A. --- src/net/eathena/npcrecv.cpp | 6 ++++++ src/net/eathena/npcrecv.h | 1 + src/net/eathena/packetsin.inc | 6 ++++++ 3 files changed, 13 insertions(+) diff --git a/src/net/eathena/npcrecv.cpp b/src/net/eathena/npcrecv.cpp index f926aff1a..cc727e57a 100644 --- a/src/net/eathena/npcrecv.cpp +++ b/src/net/eathena/npcrecv.cpp @@ -140,4 +140,10 @@ void NpcRecv::processNpcSkin(Net::MessageIn &msg) } } +void NpcRecv::processPrivateAirShipResponse(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readUInt32("flag"); +} + } // namespace EAthena diff --git a/src/net/eathena/npcrecv.h b/src/net/eathena/npcrecv.h index b9b943ada..483157758 100644 --- a/src/net/eathena/npcrecv.h +++ b/src/net/eathena/npcrecv.h @@ -43,6 +43,7 @@ namespace EAthena void processProgressBarAbort(Net::MessageIn &msg); void processShowProgressBarFree(Net::MessageIn &msg); void processNpcSkin(Net::MessageIn &msg); + void processPrivateAirShipResponse(Net::MessageIn &msg); } // namespace NpcRecv } // namespace EAthena diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 1771ad711..86a484864 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -1056,6 +1056,12 @@ if (packetVersionRe >= 20180307) packet(SMSG_OPEN_WINDOW2, 0x0ae2, 7, &AttendanceRecv::processOpenWindow, 20180307); } +// re 20180321 +if (packetVersionRe >= 20180321) +{ + packet(SMSG_PRIVATE_AIRSHIP_RESPONSE, 0x0A4A, 6, &NpcRecv::processPrivateAirShipResponse, 20180321); +} + // main 20180404 if (packetVersionMain >= 20180404) { -- cgit v1.2.3-70-g09d2