summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-14 01:41:41 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-14 01:41:41 +0300
commit21ff910b7b30b1a515db24e890d3a7b443b2d859 (patch)
treea4550c89b26d652d9b718f56f6440ea946d04606
parent2822bd9efe74131a6f0614f8092db9c990a0e708 (diff)
downloadmv-21ff910b7b30b1a515db24e890d3a7b443b2d859.tar.gz
mv-21ff910b7b30b1a515db24e890d3a7b443b2d859.tar.bz2
mv-21ff910b7b30b1a515db24e890d3a7b443b2d859.tar.xz
mv-21ff910b7b30b1a515db24e890d3a7b443b2d859.zip
Add packet SMSG_PET_EVOLUTION_RESULT 0x09fc
-rw-r--r--src/net/eathena/packetsin.inc3
-rw-r--r--src/net/eathena/petrecv.cpp6
-rw-r--r--src/net/eathena/petrecv.h1
3 files changed, 10 insertions, 0 deletions
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