diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-24 16:14:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-24 16:14:23 +0300 |
commit | 26c14c26a425f0a4ddad526ebbddf4f3e3ff449d (patch) | |
tree | b85eedcd796a7a137140a844caabc81ab2fd15ff /src/net/eathena/beingrecv.cpp | |
parent | 8db46ea7b77a193d0b79b38d1eba753a4d3f0748 (diff) | |
download | manaplus-26c14c26a425f0a4ddad526ebbddf4f3e3ff449d.tar.gz manaplus-26c14c26a425f0a4ddad526ebbddf4f3e3ff449d.tar.bz2 manaplus-26c14c26a425f0a4ddad526ebbddf4f3e3ff449d.tar.xz manaplus-26c14c26a425f0a4ddad526ebbddf4f3e3ff449d.zip |
Add packet CMSG_NAVIGATE_TO
Diffstat (limited to 'src/net/eathena/beingrecv.cpp')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 34475af26..a40639457 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -1954,6 +1954,21 @@ void BeingRecv::processSkillDamage(Net::MessageIn &msg) BLOCK_END("BeingRecv::processSkillDamage") } +void BeingRecv::processNavigateTo(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + // 0 position + // 1 no position + // 3 monster + msg.readUInt8("navigate type"); + msg.readUInt8("transportation flag"); + msg.readUInt8("hide window"); + msg.readString(16, "map name"); + msg.readInt16("x"); + msg.readInt16("y"); + msg.readInt16("mob id"); +} + void BeingRecv::applyPlayerAction(Net::MessageIn &msg, Being *const being, const uint8_t type) |