summaryrefslogtreecommitdiff
path: root/src/net/eathena/friendshandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-14 12:39:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-14 12:39:55 +0300
commit470f883b5701b74ae956f02f1b91ac7e584776b2 (patch)
tree6a0d16edc598c3e95a499f1ac8da20acc2bf1e20 /src/net/eathena/friendshandler.cpp
parent633ec96c9a4403eeacdd91fdb5302f8989933265 (diff)
downloadmv-470f883b5701b74ae956f02f1b91ac7e584776b2.tar.gz
mv-470f883b5701b74ae956f02f1b91ac7e584776b2.tar.bz2
mv-470f883b5701b74ae956f02f1b91ac7e584776b2.tar.xz
mv-470f883b5701b74ae956f02f1b91ac7e584776b2.zip
eathena: add packet CMSG_FRIENDS_DELETE_PLAYER 0x020a.
Diffstat (limited to 'src/net/eathena/friendshandler.cpp')
-rw-r--r--src/net/eathena/friendshandler.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/friendshandler.cpp b/src/net/eathena/friendshandler.cpp
index fbb505e47..783ad1109 100644
--- a/src/net/eathena/friendshandler.cpp
+++ b/src/net/eathena/friendshandler.cpp
@@ -107,4 +107,11 @@ void FriendsHandler::inviteResponse(const int accountId,
outMsg.writeInt32(accept ? 1 : 0, "result");
}
+void FriendsHandler::remove(const int accountId, const int charId) const
+{
+ createOutPacket(CMSG_FRIENDS_DELETE_PLAYER);
+ outMsg.writeInt32(accountId, "account id");
+ outMsg.writeInt32(charId, "char id");
+}
+
} // namespace EAthena