summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-18 19:28:41 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-18 19:28:41 +0300
commit34891cab564d7ed5752d4f161f2b76e727830e50 (patch)
tree67683f580aee9fce02522a7cdfb000ea57214319
parent66c811e7fc51f67372de620236eee922ebd99527 (diff)
downloadmv-34891cab564d7ed5752d4f161f2b76e727830e50.tar.gz
mv-34891cab564d7ed5752d4f161f2b76e727830e50.tar.bz2
mv-34891cab564d7ed5752d4f161f2b76e727830e50.tar.xz
mv-34891cab564d7ed5752d4f161f2b76e727830e50.zip
Add packet SMSG_PRIVATE_AIRSHIP_RESPONSE 0x0A4A.
-rw-r--r--src/net/eathena/npcrecv.cpp6
-rw-r--r--src/net/eathena/npcrecv.h1
-rw-r--r--src/net/eathena/packetsin.inc6
3 files changed, 13 insertions, 0 deletions
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)
{