From 21ff910b7b30b1a515db24e890d3a7b443b2d859 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sat, 14 Jul 2018 01:41:41 +0300
Subject: Add packet SMSG_PET_EVOLUTION_RESULT 0x09fc

---
 src/net/eathena/packetsin.inc | 3 +++
 src/net/eathena/petrecv.cpp   | 6 ++++++
 src/net/eathena/petrecv.h     | 1 +
 3 files changed, 10 insertions(+)

diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 8fa74e371..50b9ae1b9 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -815,6 +815,9 @@ if (packetVersion >= 20131223)
 // 20131230
 packet(SMSG_MAIL2_SEND_RESULT,             0x09ed,   3, &Mail2Recv::processSendResult,                  20131230);
 
+// 20140122
+packet(SMSG_PET_EVOLUTION_RESULT,          0x09fc,   6, &PetRecv::processPetEvolution,                  20140122);
+
 // 20140409
 packet(SMSG_MAIL2_REQUEST_MONEY,           0x09f2,  12, &Mail2Recv::processRequestMoney,                20140409);
 packet(SMSG_MAIL2_REQUEST_ITEMS,           0x09f4,  12, &Mail2Recv::processRequestItems,                20140409);
diff --git a/src/net/eathena/petrecv.cpp b/src/net/eathena/petrecv.cpp
index 6516186f1..344b388ac 100644
--- a/src/net/eathena/petrecv.cpp
+++ b/src/net/eathena/petrecv.cpp
@@ -180,4 +180,10 @@ void PetRecv::processPetCatchProcess(Net::MessageIn &msg A_UNUSED)
     NotifyManager::notify(NotifyTypes::PET_CATCH_PROCESS);
 }
 
+void PetRecv::processPetEvolution(Net::MessageIn &msg)
+{
+    UNIMPLEMENTEDPACKET;
+    msg.readUInt8("result");
+}
+
 }  // namespace EAthena
diff --git a/src/net/eathena/petrecv.h b/src/net/eathena/petrecv.h
index 7105b6216..635d11d3b 100644
--- a/src/net/eathena/petrecv.h
+++ b/src/net/eathena/petrecv.h
@@ -37,6 +37,7 @@ namespace EAthena
         void processPetStatus(Net::MessageIn &msg);
         void processPetFood(Net::MessageIn &msg);
         void processPetCatchProcess(Net::MessageIn &msg);
+        void processPetEvolution(Net::MessageIn &msg);
     }  // namespace PetRecv
 }  // namespace EAthena
 
-- 
cgit v1.2.3-70-g09d2