summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 13:33:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 13:33:04 +0300
commitbdc996059d8dac1bcd063890dcf80b3ce6932c50 (patch)
treec95f500edd64e18537c52a3a3eb9a27c1a025f86 /src/net/eathena/playerhandler.cpp
parentf4b973c1e75e43d75ab9d6eb4f629eb10d15a520 (diff)
downloadmanaverse-bdc996059d8dac1bcd063890dcf80b3ce6932c50.tar.gz
manaverse-bdc996059d8dac1bcd063890dcf80b3ce6932c50.tar.bz2
manaverse-bdc996059d8dac1bcd063890dcf80b3ce6932c50.tar.xz
manaverse-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.cpp11
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