From 9a215b52f97968426b4163da93f2820a3b9f8146 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Sep 2014 21:47:47 +0300 Subject: eathena: add packet CMSG_NPC_REFINE 0x0222. --- 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 f00b0fa07..bf6e874e1 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -223,6 +223,12 @@ void NpcHandler::repair(const int index) const outMsg.writeInt16(static_cast(index), "index"); } +void NpcHandler::refine(const int index) const +{ + MessageOut outMsg(CMSG_NPC_REFINE); + outMsg.writeInt32(index, "index"); +} + int NpcHandler::getNpc(Net::MessageIn &msg) { if (msg.getId() == SMSG_NPC_CHOICE -- cgit v1.2.3-60-g2f50