summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 12:12:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 12:12:43 +0300
commit660d3b585ab50038e5b2ea3fb9cf4049a7e697d1 (patch)
tree63512148e5891f266bbdb110758484b0fb6957a5 /src/net/tmwa
parent0a39e956218ca15bf78803f89141c7c9dfcec0d9 (diff)
downloadmanaplus-660d3b585ab50038e5b2ea3fb9cf4049a7e697d1.tar.gz
manaplus-660d3b585ab50038e5b2ea3fb9cf4049a7e697d1.tar.bz2
manaplus-660d3b585ab50038e5b2ea3fb9cf4049a7e697d1.tar.xz
manaplus-660d3b585ab50038e5b2ea3fb9cf4049a7e697d1.zip
eathena: add packet CMSG_PET_CATCH 0x019f.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/pethandler.cpp4
-rw-r--r--src/net/tmwa/pethandler.h2
2 files changed, 6 insertions, 0 deletions
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<int>(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;
};