diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-02 02:10:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:55 +0300 |
commit | 315367ce060371d8e2fec2d9f4894165dc238088 (patch) | |
tree | 74f0dd8119db0b2826f8ce42eabcacdfc66f5c9e /src/net/eathena/beinghandler.cpp | |
parent | 2fbf7747666bd9c33bc758f28e2d5e255e6abd02 (diff) | |
download | manaverse-315367ce060371d8e2fec2d9f4894165dc238088.tar.gz manaverse-315367ce060371d8e2fec2d9f4894165dc238088.tar.bz2 manaverse-315367ce060371d8e2fec2d9f4894165dc238088.tar.xz manaverse-315367ce060371d8e2fec2d9f4894165dc238088.zip |
eathena: add partial support for packet SMSG_MAP_TYPE_PROPERTY2 0x099b.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index efcaa634c..96cb87ab7 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -91,6 +91,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_BEING_IP_RESPONSE, SMSG_PVP_MAP_MODE, SMSG_PVP_SET, + SMSG_MAP_TYPE_PROPERTY2, 0 }; handledMessages = _messages; @@ -214,6 +215,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processPvpSet(msg); break; + case SMSG_MAP_TYPE_PROPERTY2: + processMapTypeProperty(msg); + break; + default: break; } @@ -815,4 +820,11 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg) statusEffects & 0xffffU)); } +void BeingHandler::processMapTypeProperty(Net::MessageIn &msg) const +{ + msg.readInt16("type"); + // need get pvp and other flags from here + msg.readInt32("flags"); +} + } // namespace EAthena |