From c28671db8583dc66e7e3c3b1428c870f5222dbcc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 14:30:35 +0300 Subject: eathena: add partial support for packet SMSG_PET_CATCH_PROCESS 0x019e. --- src/net/eathena/pethandler.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/net/eathena/pethandler.cpp') diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index 1b03cbf83..71d4d17f2 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -68,6 +68,7 @@ PetHandler::PetHandler() : SMSG_PET_DATA, SMSG_PET_STATUS, SMSG_PET_FOOD, + SMSG_PET_CATCH_PROCESS, 0 }; handledMessages = _messages; @@ -103,6 +104,10 @@ void PetHandler::handleMessage(Net::MessageIn &msg) processPetFood(msg); break; + case SMSG_PET_CATCH_PROCESS: + processPetCatchProcess(msg); + break; + default: break; } @@ -342,4 +347,9 @@ void PetHandler::startAi(const bool start A_UNUSED) const { } +void PetHandler::processPetCatchProcess(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2