From 6eb5d96b568de3632ba755ff7e794a59083d1f62 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Mar 2015 12:43:42 +0300 Subject: eathena: add packet CMSG_SET_CHAT_ROOM_OWNER 0x00e0. --- src/net/eathena/chathandler.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/net/eathena/chathandler.cpp') diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index ad30750a5..3fb487a3a 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -958,4 +958,11 @@ void ChatHandler::setChatRoomOptions(const int limit, outMsg.writeString(title, sz, "title"); } +void ChatHandler::setChatRoomOwner(const std::string &nick) const +{ + createOutPacket(CMSG_SET_CHAT_ROOM_OWNER); + outMsg.writeInt32(0, "role (unused)"); + outMsg.writeString(nick, 24, "nick"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50