summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 14:15:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 14:15:18 +0300
commit9b9a37c488c12c448e2d0287dc54df15e57c9f38 (patch)
treeb777e1bcab4018e138c0e3339cfd5f77087126a1 /src/net/eathena/skillhandler.cpp
parentd0e9d200299f9b6c2cc8a95f405c7821d8d5dc78 (diff)
downloadplus-9b9a37c488c12c448e2d0287dc54df15e57c9f38.tar.gz
plus-9b9a37c488c12c448e2d0287dc54df15e57c9f38.tar.bz2
plus-9b9a37c488c12c448e2d0287dc54df15e57c9f38.tar.xz
plus-9b9a37c488c12c448e2d0287dc54df15e57c9f38.zip
eathena: add partial support for packet SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST 0x018d.
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 11164c3be..2e19d1e10 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -63,6 +63,7 @@ SkillHandler::SkillHandler() :
SMSG_PLAYER_UPDATE_SKILL,
SMSG_SKILL_WARP_POINT,
SMSG_SKILL_MEMO_MESSAGE,
+ SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST,
0
};
handledMessages = _messages;
@@ -117,6 +118,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg)
processSkillMemoMessage(msg);
break;
+ case SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST:
+ processSkillProduceMixList(msg);
+ break;
+
default:
break;
}
@@ -398,4 +403,17 @@ void SkillHandler::processSkillMemoMessage(Net::MessageIn &msg)
msg.readUInt8("type");
}
+void SkillHandler::processSkillProduceMixList(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ const int count = (msg.readInt16("len") - 8) / 8;
+ for (int f = 0; f < count; f ++)
+ {
+ msg.readInt16("item id");
+ for (int d = 0; d < 3; d ++)
+ msg.readInt16("material id");
+ }
+}
+
} // namespace EAthena