summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-29 12:36:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-29 12:36:24 +0300
commit23b0787ad33fc01e3a65bd53f2d8bc9f52a91224 (patch)
tree4cf293d3c4afd9a9c40b454b811a62f70a296818 /src/net/tmwa
parent523c9239668819844966097bd82445863d89103f (diff)
downloadmanaplus-23b0787ad33fc01e3a65bd53f2d8bc9f52a91224.tar.gz
manaplus-23b0787ad33fc01e3a65bd53f2d8bc9f52a91224.tar.bz2
manaplus-23b0787ad33fc01e3a65bd53f2d8bc9f52a91224.tar.xz
manaplus-23b0787ad33fc01e3a65bd53f2d8bc9f52a91224.zip
eathena: add packet CMSG_SET_CHAT_ROOM_OPTIONS 0x00de.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp7
-rw-r--r--src/net/tmwa/chathandler.h5
2 files changed, 12 insertions, 0 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 4b426e1d8..086426901 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -692,4 +692,11 @@ void ChatHandler::leaveChatRoom() const
{
}
+void ChatHandler::setChatRoomOptions(const int limit A_UNUSED,
+ const bool isPublict A_UNUSED,
+ const std::string &passwordt A_UNUSED,
+ const std::string &titlet A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index b5b5e2a36..ab90f71d3 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/chathandler.h
@@ -87,6 +87,11 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
void leaveChatRoom() const override final;
+ void setChatRoomOptions(const int limit,
+ const bool isPublic,
+ const std::string &password,
+ const std::string &title) const override final;
+
protected:
static void processChat(Net::MessageIn &msg);