summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-23 00:51:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-23 00:51:02 +0300
commit3c0d5ff41079e9ffa2853f1f44b1512a5949926a (patch)
tree6037ef3a6b1837ade45fb02bec6d91a19729463f
parent003b61e91476ef9cf7275a7a77cdf8a755be6d60 (diff)
downloadmanaverse-3c0d5ff41079e9ffa2853f1f44b1512a5949926a.tar.gz
manaverse-3c0d5ff41079e9ffa2853f1f44b1512a5949926a.tar.bz2
manaverse-3c0d5ff41079e9ffa2853f1f44b1512a5949926a.tar.xz
manaverse-3c0d5ff41079e9ffa2853f1f44b1512a5949926a.zip
Impliment packet SMSG_PET_CATCH_PROCESS.
-rw-r--r--src/enums/resources/notifytypes.h1
-rw-r--r--src/net/eathena/pethandler.cpp2
-rw-r--r--src/resources/notifications.h4
3 files changed, 6 insertions, 1 deletions
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