diff options
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 |