summaryrefslogtreecommitdiff
path: root/src/net/eathena/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-24 16:14:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-24 16:14:23 +0300
commit26c14c26a425f0a4ddad526ebbddf4f3e3ff449d (patch)
treeb85eedcd796a7a137140a844caabc81ab2fd15ff /src/net/eathena/beingrecv.cpp
parent8db46ea7b77a193d0b79b38d1eba753a4d3f0748 (diff)
downloadmv-26c14c26a425f0a4ddad526ebbddf4f3e3ff449d.tar.gz
mv-26c14c26a425f0a4ddad526ebbddf4f3e3ff449d.tar.bz2
mv-26c14c26a425f0a4ddad526ebbddf4f3e3ff449d.tar.xz
mv-26c14c26a425f0a4ddad526ebbddf4f3e3ff449d.zip
Add packet CMSG_NAVIGATE_TO
Diffstat (limited to 'src/net/eathena/beingrecv.cpp')
-rw-r--r--src/net/eathena/beingrecv.cpp15
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)