summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 22:46:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 22:46:03 +0300
commit605691e70927a3b44064562f7507c14e4600c3d3 (patch)
treefe6bd13b3528a9bda1e0d85bdafa408246e52a7d /src/net/eathena/npchandler.cpp
parent8a6f2c9d9a88668a12e69ea0ce632b1633c1c0eb (diff)
downloadplus-605691e70927a3b44064562f7507c14e4600c3d3.tar.gz
plus-605691e70927a3b44064562f7507c14e4600c3d3.tar.bz2
plus-605691e70927a3b44064562f7507c14e4600c3d3.tar.xz
plus-605691e70927a3b44064562f7507c14e4600c3d3.zip
eathena: add packet CMSG_NPC_IDENTIFY 0x0178.
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r--src/net/eathena/npchandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index bf6e874e1..33fbbea43 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -229,6 +229,12 @@ void NpcHandler::refine(const int index) const
outMsg.writeInt32(index, "index");
}
+void NpcHandler::identify(const int index) const
+{
+ MessageOut outMsg(CMSG_NPC_IDENTIFY);
+ outMsg.writeInt16(index, "index");
+}
+
int NpcHandler::getNpc(Net::MessageIn &msg)
{
if (msg.getId() == SMSG_NPC_CHOICE