diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-07 01:37:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-07 01:54:33 +0300 |
commit | f2ce478013f9cf60af1978cce37f2c4f32a6d038 (patch) | |
tree | 4f8e5f7f776a29b44e8d3cc935d563fab94e34d4 /src/net/eathena/questrecv.cpp | |
parent | d483510d3c721e49c671a6510b23dc950332ba73 (diff) | |
download | manaplus-f2ce478013f9cf60af1978cce37f2c4f32a6d038.tar.gz manaplus-f2ce478013f9cf60af1978cce37f2c4f32a6d038.tar.bz2 manaplus-f2ce478013f9cf60af1978cce37f2c4f32a6d038.tar.xz manaplus-f2ce478013f9cf60af1978cce37f2c4f32a6d038.zip |
Add packet SMSG_QUEST_NOTIFY_OBJECTIVES 0x08fe.
Diffstat (limited to 'src/net/eathena/questrecv.cpp')
-rw-r--r-- | src/net/eathena/questrecv.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/questrecv.cpp b/src/net/eathena/questrecv.cpp index f7ce0b312..b05d85c64 100644 --- a/src/net/eathena/questrecv.cpp +++ b/src/net/eathena/questrecv.cpp @@ -194,6 +194,19 @@ void QuestRecv::processUpdateQuestsObjectives(Net::MessageIn &msg) } } +void QuestRecv::processUpdateQuestsObjectives2(Net::MessageIn &msg) +{ + // ignored + const int num = (msg.readInt16("len") - 4) / 12; + for (int f = 0; f < num; f ++) + { + msg.readInt32("quest id"); + msg.readInt32("monster id"); + msg.readInt16("max count"); + msg.readInt16("count"); + } +} + void QuestRecv::processRemoveQuest(Net::MessageIn &msg) { const int var = msg.readInt32("quest id"); |