diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-28 18:14:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-28 18:14:58 +0300 |
commit | a204d2b11e6a4b620877ab6c5b80a818eaa7d476 (patch) | |
tree | ee2112216168624403769a1fdeab120dafab4100 /src/net | |
parent | d82cd00f86cf5f902a47ef19fd24c7745e4104d4 (diff) | |
download | mv-a204d2b11e6a4b620877ab6c5b80a818eaa7d476.tar.gz mv-a204d2b11e6a4b620877ab6c5b80a818eaa7d476.tar.bz2 mv-a204d2b11e6a4b620877ab6c5b80a818eaa7d476.tar.xz mv-a204d2b11e6a4b620877ab6c5b80a818eaa7d476.zip |
Add fake commands to change pet direction.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/pethandler.cpp | 4 | ||||
-rw-r--r-- | src/net/eathena/pethandler.h | 3 | ||||
-rw-r--r-- | src/net/pethandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/pethandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/pethandler.h | 3 |
5 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index 9c78787cf..b18cc83d0 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -319,4 +319,8 @@ void PetHandler::unequip() const outMsg.writeInt8(4, "action"); } +void PetHandler::setDirection(const BeingDirection::Type type A_UNUSED) const +{ +} + } // namespace EAthena diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h index 42a03452b..b397d98d4 100644 --- a/src/net/eathena/pethandler.h +++ b/src/net/eathena/pethandler.h @@ -65,6 +65,9 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void unequip() const override final; + void setDirection(const BeingDirection::Type type) const + override final; + protected: static void processPetRoulette(Net::MessageIn &msg); diff --git a/src/net/pethandler.h b/src/net/pethandler.h index 1eaf011d8..20e4b945e 100644 --- a/src/net/pethandler.h +++ b/src/net/pethandler.h @@ -56,6 +56,8 @@ class PetHandler notfinal virtual void returnToEgg() const = 0; virtual void unequip() const = 0; + + virtual void setDirection(const BeingDirection::Type type) const = 0; }; } // namespace Net diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp index 0156ef7c2..079caae37 100644 --- a/src/net/tmwa/pethandler.cpp +++ b/src/net/tmwa/pethandler.cpp @@ -105,4 +105,8 @@ void PetHandler::unequip() const { } +void PetHandler::setDirection(const BeingDirection::Type type) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/pethandler.h b/src/net/tmwa/pethandler.h index fa46256c2..49f32e84d 100644 --- a/src/net/tmwa/pethandler.h +++ b/src/net/tmwa/pethandler.h @@ -63,6 +63,9 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void unequip() const override final; + void setDirection(const BeingDirection::Type type) const + override final; + protected: int mRandCounter; }; |