summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
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 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<int16_t>(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