summaryrefslogtreecommitdiff
path: root/src/net/eathena/pethandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-25 18:13:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-25 18:13:48 +0300
commitc1657f9dd2099796c6b20b9672d500aee30e205b (patch)
tree07e274728a1ec25c8890abf07ac9943818381c55 /src/net/eathena/pethandler.h
parenta886446d41ed6656afbdd348b6dc6cb617309040 (diff)
downloadmv-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.gz
mv-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.bz2
mv-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.xz
mv-c1657f9dd2099796c6b20b9672d500aee30e205b.zip
Move all receive (process) methods into protected.
Diffstat (limited to 'src/net/eathena/pethandler.h')
-rw-r--r--src/net/eathena/pethandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h
index 967df6795..46bdf8f90 100644
--- a/src/net/eathena/pethandler.h
+++ b/src/net/eathena/pethandler.h
@@ -51,8 +51,6 @@ class PetHandler final : public MessageHandler, public Net::PetHandler
void sendPetMessage(const int data) const override final;
- void processPetMessage(Net::MessageIn &msg);
-
void setName(const std::string &name) const override final;
void requestStatus() const override final;
@@ -70,6 +68,8 @@ class PetHandler final : public MessageHandler, public Net::PetHandler
void startAi(const bool start) const override final;
protected:
+ void processPetMessage(Net::MessageIn &msg);
+
static void processPetRoulette(Net::MessageIn &msg);
static void processEggsList(Net::MessageIn &msg);