From 660d3b585ab50038e5b2ea3fb9cf4049a7e697d1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Sep 2014 12:12:43 +0300 Subject: eathena: add packet CMSG_PET_CATCH 0x019f. --- src/net/tmwa/pethandler.cpp | 4 ++++ src/net/tmwa/pethandler.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp index edc18b02d..dc15929ed 100644 --- a/src/net/tmwa/pethandler.cpp +++ b/src/net/tmwa/pethandler.cpp @@ -74,4 +74,8 @@ void PetHandler::emote(const uint8_t emoteId, const int petId A_UNUSED) static_cast(emoteId), mRandCounter), GENERAL_CHANNEL); } +void PetHandler::catchPet(const Being *const being A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/pethandler.h b/src/net/tmwa/pethandler.h index bcfa6b1a6..93d3ef2d4 100644 --- a/src/net/tmwa/pethandler.h +++ b/src/net/tmwa/pethandler.h @@ -49,6 +49,8 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void emote(const uint8_t emoteId, const int petId) override final; + void catchPet(const Being *const being) const override final; + protected: int mRandCounter; }; -- cgit v1.2.3-70-g09d2