From bdc996059d8dac1bcd063890dcf80b3ce6932c50 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 13:33:04 +0300 Subject: eathena: add partial support for packet SMSG_PLAYER_NOTIFY_MAPINFO 0x0189. --- src/net/eathena/playerhandler.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/net/eathena/playerhandler.cpp') diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 85c3cfd93..7f5944f20 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -63,6 +63,7 @@ PlayerHandler::PlayerHandler() : SMSG_MAP_MASK, SMSG_MAP_MUSIC, SMSG_ONLINE_LIST, + SMSG_PLAYER_NOTIFY_MAPINFO, 0 }; handledMessages = _messages; @@ -146,6 +147,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg) processOnlineList(msg); break; + case SMSG_PLAYER_NOTIFY_MAPINFO: + processNotifyMapInfo(msg); + break; + default: break; } @@ -514,4 +519,10 @@ void PlayerHandler::setStat(const int type, Ea::PlayerHandler::setStat(type, base, mod, notify); } +void PlayerHandler::processNotifyMapInfo(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("type"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50