diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-09 22:56:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-09 22:56:12 +0300 |
commit | 18038856316fdb9368848251c32e01aa6f18e0f3 (patch) | |
tree | 5e45fc9e15c49e64680245ab46abeb713d34dd1f /src/net/eathena/npchandler.cpp | |
parent | 605691e70927a3b44064562f7507c14e4600c3d3 (diff) | |
download | mv-18038856316fdb9368848251c32e01aa6f18e0f3.tar.gz mv-18038856316fdb9368848251c32e01aa6f18e0f3.tar.bz2 mv-18038856316fdb9368848251c32e01aa6f18e0f3.tar.xz mv-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.cpp | 6 |
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 |