diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-09 23:07:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-09 23:07:42 +0300 |
commit | 1192016bf685cdba9bee4b6578e578661f689803 (patch) | |
tree | 460a2cd9124b6abaa3ebb008877c024a445dc40b /src/net/eathena/npchandler.cpp | |
parent | 5002605f456d3b6c9656ca40cb86f48369e583f8 (diff) | |
download | manaplus-1192016bf685cdba9bee4b6578e578661f689803.tar.gz manaplus-1192016bf685cdba9bee4b6578e578661f689803.tar.bz2 manaplus-1192016bf685cdba9bee4b6578e578661f689803.tar.xz manaplus-1192016bf685cdba9bee4b6578e578661f689803.zip |
eathena: add packet CMSG_NPC_SELECT_AUTO_SPELL 0x01ce.
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 8d8cff626..cef952252 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -241,6 +241,12 @@ void NpcHandler::selectArrow(const int nameId) const outMsg.writeInt16(nameId, "name id"); } +void NpcHandler::selectAutoSpell(const int skillId) const +{ + MessageOut outMsg(CMSG_NPC_SELECT_AUTO_SPELL); + outMsg.writeInt32(skillId, "skill id"); +} + int NpcHandler::getNpc(Net::MessageIn &msg) { if (msg.getId() == SMSG_NPC_CHOICE |