From 3c0d5ff41079e9ffa2853f1f44b1512a5949926a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 23 Aug 2015 00:51:02 +0300 Subject: Impliment packet SMSG_PET_CATCH_PROCESS. --- src/enums/resources/notifytypes.h | 1 + src/net/eathena/pethandler.cpp | 2 +- src/resources/notifications.h | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/enums/resources/notifytypes.h b/src/enums/resources/notifytypes.h index f04ce2dc9..318688863 100644 --- a/src/enums/resources/notifytypes.h +++ b/src/enums/resources/notifytypes.h @@ -202,6 +202,7 @@ namespace NotifyTypes UNIGNORE_PLAYER_FAILURE, UNIGNORE_PLAYER_UNKNOWN, IGNORE_PLAYER_TYPE_UNKNOWN, + PET_CATCH_PROCESS, TYPE_END }; diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index 8b0103bab..c6a68b04e 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -349,7 +349,7 @@ void PetHandler::startAi(const bool start A_UNUSED) const void PetHandler::processPetCatchProcess(Net::MessageIn &msg) { - UNIMPLIMENTEDPACKET; + NotifyManager::notify(NotifyTypes::PET_CATCH_PROCESS); } } // namespace EAthena diff --git a/src/resources/notifications.h b/src/resources/notifications.h index 946889596..132708035 100644 --- a/src/resources/notifications.h +++ b/src/resources/notifications.h @@ -734,6 +734,10 @@ namespace NotifyManager // TRANSLATORS: notification message N_("Unknown ignore type."), NotifyFlags::EMPTY}, + {"pet catch process", + // TRANSLATORS: notification message + N_("Pet catch started."), + NotifyFlags::EMPTY}, }; } // namespace NotifyManager #endif // RESOURCES_NOTIFICATIONS_H -- cgit v1.2.3-70-g09d2