diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-25 17:10:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-25 17:10:07 +0300 |
commit | e68643a3d46e6092727c21a751b86c7f03414710 (patch) | |
tree | 786faeadb397ef5a542572bd6f5061b4d7d2b847 /src/net/tmwa | |
parent | 74b96285c2ad2f07af0af9f8926bcd5e253dcde9 (diff) | |
download | mv-e68643a3d46e6092727c21a751b86c7f03414710.tar.gz mv-e68643a3d46e6092727c21a751b86c7f03414710.tar.bz2 mv-e68643a3d46e6092727c21a751b86c7f03414710.tar.xz mv-e68643a3d46e6092727c21a751b86c7f03414710.zip |
eathena: add packet CMSG_HOMMERC_ATTACK 0x0233.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/homunculushandler.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/homunculushandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/mercenaryhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/mercenaryhandler.h | 2 |
4 files changed, 14 insertions, 0 deletions
diff --git a/src/net/tmwa/homunculushandler.cpp b/src/net/tmwa/homunculushandler.cpp index 598aed30e..727053e17 100644 --- a/src/net/tmwa/homunculushandler.cpp +++ b/src/net/tmwa/homunculushandler.cpp @@ -54,4 +54,9 @@ void HomunculusHandler::move(const int x A_UNUSED, const int y A_UNUSED) const { } +void HomunculusHandler::attack(const int targetId A_UNUSED, + const bool keep A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/homunculushandler.h b/src/net/tmwa/homunculushandler.h index 41a3e3426..2b9935325 100644 --- a/src/net/tmwa/homunculushandler.h +++ b/src/net/tmwa/homunculushandler.h @@ -43,6 +43,8 @@ class HomunculusHandler final : public MessageHandler, void moveToMaster() const override final; void move(const int x, const int y) const override final; + + void attack(const int targetId, const bool keep) const override final; }; } // namespace TmwAthena diff --git a/src/net/tmwa/mercenaryhandler.cpp b/src/net/tmwa/mercenaryhandler.cpp index de4ca5f7e..1497a0789 100644 --- a/src/net/tmwa/mercenaryhandler.cpp +++ b/src/net/tmwa/mercenaryhandler.cpp @@ -58,4 +58,9 @@ void MercenaryHandler::move(const int x A_UNUSED, const int y A_UNUSED) const { } +void MercenaryHandler::attack(const int targetId A_UNUSED, + const bool keep A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/mercenaryhandler.h b/src/net/tmwa/mercenaryhandler.h index e327247df..098f7aac3 100644 --- a/src/net/tmwa/mercenaryhandler.h +++ b/src/net/tmwa/mercenaryhandler.h @@ -45,6 +45,8 @@ class MercenaryHandler final : public MessageHandler, void moveToMaster() const override final; void move(const int x, const int y) const override final; + + void attack(const int targetId, const bool keep) const override final; }; } // namespace TmwAthena |