From 605691e70927a3b44064562f7507c14e4600c3d3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Sep 2014 22:46:03 +0300 Subject: eathena: add packet CMSG_NPC_IDENTIFY 0x0178. --- src/net/eathena/npchandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/npchandler.cpp') 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 -- cgit v1.2.3-70-g09d2