summaryrefslogtreecommitdiff
path: root/src/net/eathena/friendshandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 20:54:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 20:54:19 +0300
commit66f9a6c93e9b172938136dabc1e3fe8840310ca6 (patch)
tree48088b96222412978fd41c5dbb5ac0de140666b8 /src/net/eathena/friendshandler.cpp
parent674269cdc7ce138b4c9b89f19ade3186888119cc (diff)
downloadmanaverse-66f9a6c93e9b172938136dabc1e3fe8840310ca6.tar.gz
manaverse-66f9a6c93e9b172938136dabc1e3fe8840310ca6.tar.bz2
manaverse-66f9a6c93e9b172938136dabc1e3fe8840310ca6.tar.xz
manaverse-66f9a6c93e9b172938136dabc1e3fe8840310ca6.zip
eathena: add partial support for packet SMSG_FRIENDS_DELETE_PLAYER 0x020a.
Diffstat (limited to 'src/net/eathena/friendshandler.cpp')
-rw-r--r--src/net/eathena/friendshandler.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/friendshandler.cpp b/src/net/eathena/friendshandler.cpp
index fafe3c76b..91f08a205 100644
--- a/src/net/eathena/friendshandler.cpp
+++ b/src/net/eathena/friendshandler.cpp
@@ -41,6 +41,7 @@ FriendsHandler::FriendsHandler() :
SMSG_FRIENDS_LIST,
SMSG_FRIENDS_REQUEST_ACK,
SMSG_FRIENDS_REQUEST,
+ SMSG_FRIENDS_DELETE_PLAYER,
0
};
handledMessages = _messages;
@@ -67,6 +68,10 @@ void FriendsHandler::handleMessage(Net::MessageIn &msg)
processRequest(msg);
break;
+ case SMSG_FRIENDS_DELETE_PLAYER:
+ processDeletePlayer(msg);
+ break;
+
default:
break;
}
@@ -132,4 +137,11 @@ void FriendsHandler::remove(const int accountId, const int charId) const
outMsg.writeInt32(charId, "char id");
}
+void FriendsHandler::processDeletePlayer(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("account id");
+ msg.readInt32("char id");
+}
+
} // namespace EAthena