summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-12 13:01:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-12 13:01:36 +0300
commit89ed065dd03979e7029f76cb44185dd9fc861576 (patch)
tree29a05084e55cddfb796adb72da895bfe27e6ce4a /src/net/eathena/playerhandler.cpp
parentc98f3b83900b8cd3cb3cdfb30215541e6f08d140 (diff)
downloadmv-89ed065dd03979e7029f76cb44185dd9fc861576.tar.gz
mv-89ed065dd03979e7029f76cb44185dd9fc861576.tar.bz2
mv-89ed065dd03979e7029f76cb44185dd9fc861576.tar.xz
mv-89ed065dd03979e7029f76cb44185dd9fc861576.zip
eathena: add partial support for packet SMSG_PLAYER_FAME_BLACKSMITH 0x021b.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 7f5944f20..12d39531f 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -64,6 +64,7 @@ PlayerHandler::PlayerHandler() :
SMSG_MAP_MUSIC,
SMSG_ONLINE_LIST,
SMSG_PLAYER_NOTIFY_MAPINFO,
+ SMSG_PLAYER_FAME_BLACKSMITH,
0
};
handledMessages = _messages;
@@ -151,6 +152,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
processNotifyMapInfo(msg);
break;
+ case SMSG_PLAYER_FAME_BLACKSMITH:
+ processPlayerFameBlacksmith(msg);
+ break;
+
default:
break;
}
@@ -525,4 +530,11 @@ void PlayerHandler::processNotifyMapInfo(Net::MessageIn &msg)
msg.readInt16("type");
}
+void PlayerHandler::processPlayerFameBlacksmith(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("points");
+ msg.readInt32("total points");
+}
+
} // namespace EAthena