diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-29 12:43:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-29 12:43:42 +0300 |
commit | 6eb5d96b568de3632ba755ff7e794a59083d1f62 (patch) | |
tree | 3c60ee0a369825fa16d347d46ff1c36ad486446e /src/net/eathena/chathandler.cpp | |
parent | 23b0787ad33fc01e3a65bd53f2d8bc9f52a91224 (diff) | |
download | manaplus-6eb5d96b568de3632ba755ff7e794a59083d1f62.tar.gz manaplus-6eb5d96b568de3632ba755ff7e794a59083d1f62.tar.bz2 manaplus-6eb5d96b568de3632ba755ff7e794a59083d1f62.tar.xz manaplus-6eb5d96b568de3632ba755ff7e794a59083d1f62.zip |
eathena: add packet CMSG_SET_CHAT_ROOM_OWNER 0x00e0.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 |