diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-20 17:56:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-20 17:58:36 +0300 |
commit | 4edf9cac82776c5333afaa647f7a982383837406 (patch) | |
tree | 8a70af55c3a7417d25c4be0bdbb422dae38edefb /src/net/tmwa/playerhandler.cpp | |
parent | 2cd8b88679b9dd99e50bdc5ca03ba5694a0198a8 (diff) | |
download | manaverse-4edf9cac82776c5333afaa647f7a982383837406.tar.gz manaverse-4edf9cac82776c5333afaa647f7a982383837406.tar.bz2 manaverse-4edf9cac82776c5333afaa647f7a982383837406.tar.xz manaverse-4edf9cac82776c5333afaa647f7a982383837406.zip |
Remove unused old evol packets from tmwa namespace.
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index 6e638687a..f0d9d5b08 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -54,8 +54,6 @@ PlayerHandler::PlayerHandler() : SMSG_PLAYER_STAT_UPDATE_5, SMSG_PLAYER_STAT_UPDATE_6, SMSG_PLAYER_ARROW_MESSAGE, - SMSG_ONLINE_LIST, - SMSG_MAP_MASK, SMSG_MAP_MUSIC, 0 }; @@ -105,14 +103,6 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg) processPlayerArrowMessage(msg); break; - case SMSG_ONLINE_LIST: - processOnlineList(msg); - break; - - case SMSG_MAP_MASK: - processMapMask(msg); - break; - case SMSG_MAP_MUSIC: processMapMusic(msg); break; @@ -227,7 +217,6 @@ void PlayerHandler::respawn() const void PlayerHandler::requestOnlineList() const { - createOutPacket(CMSG_ONLINE_LIST); } void PlayerHandler::removeOption() const @@ -242,11 +231,8 @@ void PlayerHandler::setMemo() const { } -void PlayerHandler::updateStatus(const uint8_t status) const +void PlayerHandler::updateStatus(const uint8_t status A_UNUSED) const { - createOutPacket(CMSG_SET_STATUS); - outMsg.writeInt8(status, "status"); - outMsg.writeInt8(0, "unused"); } void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg) |