summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 17:56:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 17:58:36 +0300
commit4edf9cac82776c5333afaa647f7a982383837406 (patch)
tree8a70af55c3a7417d25c4be0bdbb422dae38edefb /src/net/tmwa/playerhandler.cpp
parent2cd8b88679b9dd99e50bdc5ca03ba5694a0198a8 (diff)
downloadplus-4edf9cac82776c5333afaa647f7a982383837406.tar.gz
plus-4edf9cac82776c5333afaa647f7a982383837406.tar.bz2
plus-4edf9cac82776c5333afaa647f7a982383837406.tar.xz
plus-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.cpp16
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)