diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 13:33:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 13:33:04 +0300 |
commit | bdc996059d8dac1bcd063890dcf80b3ce6932c50 (patch) | |
tree | c95f500edd64e18537c52a3a3eb9a27c1a025f86 /src/net/eathena/playerhandler.cpp | |
parent | f4b973c1e75e43d75ab9d6eb4f629eb10d15a520 (diff) | |
download | plus-bdc996059d8dac1bcd063890dcf80b3ce6932c50.tar.gz plus-bdc996059d8dac1bcd063890dcf80b3ce6932c50.tar.bz2 plus-bdc996059d8dac1bcd063890dcf80b3ce6932c50.tar.xz plus-bdc996059d8dac1bcd063890dcf80b3ce6932c50.zip |
eathena: add partial support for packet SMSG_PLAYER_NOTIFY_MAPINFO 0x0189.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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 |