summaryrefslogtreecommitdiff
path: root/src/net/eathena/mercenaryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-25 20:09:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-25 20:09:07 +0300
commit393865bc4af7d3a7f96ff66480f6b7f7085fb41f (patch)
treea027cb78c6b9467153f139cd9ea1e19513dba245 /src/net/eathena/mercenaryhandler.cpp
parenta69c102e06d14fa9071788d6d17b6e019d9b594b (diff)
downloadmanaplus-393865bc4af7d3a7f96ff66480f6b7f7085fb41f.tar.gz
manaplus-393865bc4af7d3a7f96ff66480f6b7f7085fb41f.tar.bz2
manaplus-393865bc4af7d3a7f96ff66480f6b7f7085fb41f.tar.xz
manaplus-393865bc4af7d3a7f96ff66480f6b7f7085fb41f.zip
eathena: add packet CMSG_HOMMERC_EMOTE 0x0b14.
Diffstat (limited to 'src/net/eathena/mercenaryhandler.cpp')
-rw-r--r--src/net/eathena/mercenaryhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/mercenaryhandler.cpp b/src/net/eathena/mercenaryhandler.cpp
index 27c1e361c..857890bd7 100644
--- a/src/net/eathena/mercenaryhandler.cpp
+++ b/src/net/eathena/mercenaryhandler.cpp
@@ -230,4 +230,10 @@ void MercenaryHandler::talk(const std::string &restrict text) const
outMsg.writeInt8(0, "zero byte");
}
+void MercenaryHandler::emote(const uint8_t emoteId) const
+{
+ createOutPacket(CMSG_HOMMERC_EMOTE);
+ outMsg.writeInt8(emoteId, "emote id");
+}
+
} // namespace EAthena