diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-25 18:13:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-25 18:13:48 +0300 |
commit | c1657f9dd2099796c6b20b9672d500aee30e205b (patch) | |
tree | 07e274728a1ec25c8890abf07ac9943818381c55 /src/net/eathena/pethandler.h | |
parent | a886446d41ed6656afbdd348b6dc6cb617309040 (diff) | |
download | manaplus-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.gz manaplus-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.bz2 manaplus-c1657f9dd2099796c6b20b9672d500aee30e205b.tar.xz manaplus-c1657f9dd2099796c6b20b9672d500aee30e205b.zip |
Move all receive (process) methods into protected.
Diffstat (limited to 'src/net/eathena/pethandler.h')
-rw-r--r-- | src/net/eathena/pethandler.h | 4 |
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); |