summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-25 17:10:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-25 17:10:07 +0300
commite68643a3d46e6092727c21a751b86c7f03414710 (patch)
tree786faeadb397ef5a542572bd6f5061b4d7d2b847 /src/net/tmwa
parent74b96285c2ad2f07af0af9f8926bcd5e253dcde9 (diff)
downloadmanaverse-e68643a3d46e6092727c21a751b86c7f03414710.tar.gz
manaverse-e68643a3d46e6092727c21a751b86c7f03414710.tar.bz2
manaverse-e68643a3d46e6092727c21a751b86c7f03414710.tar.xz
manaverse-e68643a3d46e6092727c21a751b86c7f03414710.zip
eathena: add packet CMSG_HOMMERC_ATTACK 0x0233.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/homunculushandler.cpp5
-rw-r--r--src/net/tmwa/homunculushandler.h2
-rw-r--r--src/net/tmwa/mercenaryhandler.cpp5
-rw-r--r--src/net/tmwa/mercenaryhandler.h2
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