summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 22:56:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 22:56:12 +0300
commit18038856316fdb9368848251c32e01aa6f18e0f3 (patch)
tree5e45fc9e15c49e64680245ab46abeb713d34dd1f /src/net/eathena/npchandler.cpp
parent605691e70927a3b44064562f7507c14e4600c3d3 (diff)
downloadmanaverse-18038856316fdb9368848251c32e01aa6f18e0f3.tar.gz
manaverse-18038856316fdb9368848251c32e01aa6f18e0f3.tar.bz2
manaverse-18038856316fdb9368848251c32e01aa6f18e0f3.tar.xz
manaverse-18038856316fdb9368848251c32e01aa6f18e0f3.zip
eathena: add packet CMSG_NPC_SELECT_ARROW 0x01ae.
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 33fbbea43..8d8cff626 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -235,6 +235,12 @@ void NpcHandler::identify(const int index) const
outMsg.writeInt16(index, "index");
}
+void NpcHandler::selectArrow(const int nameId) const
+{
+ MessageOut outMsg(CMSG_NPC_SELECT_ARROW);
+ outMsg.writeInt16(nameId, "name id");
+}
+
int NpcHandler::getNpc(Net::MessageIn &msg)
{
if (msg.getId() == SMSG_NPC_CHOICE