summaryrefslogtreecommitdiff
path: root/src/net/eathena/pethandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 14:30:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 14:30:35 +0300
commitc28671db8583dc66e7e3c3b1428c870f5222dbcc (patch)
tree2bd07a040b6045a7438929651a413a3c28349b7c /src/net/eathena/pethandler.cpp
parent90135ee39f6d28d5a7e1cdc58c3a90533aa6fa25 (diff)
downloadmv-c28671db8583dc66e7e3c3b1428c870f5222dbcc.tar.gz
mv-c28671db8583dc66e7e3c3b1428c870f5222dbcc.tar.bz2
mv-c28671db8583dc66e7e3c3b1428c870f5222dbcc.tar.xz
mv-c28671db8583dc66e7e3c3b1428c870f5222dbcc.zip
eathena: add partial support for packet SMSG_PET_CATCH_PROCESS 0x019e.
Diffstat (limited to 'src/net/eathena/pethandler.cpp')
-rw-r--r--src/net/eathena/pethandler.cpp10
1 files changed, 10 insertions, 0 deletions
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