diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-11 16:36:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-11 16:36:57 +0300 |
commit | 1755745c3486fbed6b92c2ebacddae2fc6086443 (patch) | |
tree | 4cb9cbe1ce2a53d89272486740ce33a80a6e4d10 /src/net/tmwa | |
parent | 23b35de445d6af7d6e00576f4fbdfa1d15ba37df (diff) | |
download | mv-1755745c3486fbed6b92c2ebacddae2fc6086443.tar.gz mv-1755745c3486fbed6b92c2ebacddae2fc6086443.tar.bz2 mv-1755745c3486fbed6b92c2ebacddae2fc6086443.tar.xz mv-1755745c3486fbed6b92c2ebacddae2fc6086443.zip |
eathena: add packet CMSG_PET_SET_NAME 0x01a5.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/pethandler.cpp | 6 | ||||
-rw-r--r-- | src/net/tmwa/pethandler.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp index a9c854de0..0ca5f7c63 100644 --- a/src/net/tmwa/pethandler.cpp +++ b/src/net/tmwa/pethandler.cpp @@ -78,7 +78,11 @@ void PetHandler::catchPet(const Being *const being A_UNUSED) const { } -void PetHandler::requestPetState(const int data) const +void PetHandler::requestPetState(const int data A_UNUSED) const +{ +} + +void PetHandler::setName(const std::string &name A_UNUSED) const { } diff --git a/src/net/tmwa/pethandler.h b/src/net/tmwa/pethandler.h index 2aeb4dd13..113fba6b6 100644 --- a/src/net/tmwa/pethandler.h +++ b/src/net/tmwa/pethandler.h @@ -53,6 +53,8 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void requestPetState(const int data) const override final; + void setName(const std::string &name) const override final; + protected: int mRandCounter; }; |