From 34e6d6c9c6d13623b9adf00ff19081770c4d9f24 Mon Sep 17 00:00:00 2001 From: David Athay Date: Wed, 16 Apr 2008 16:02:32 +0000 Subject: Removed private channels --- src/net/chatserver/chatserver.cpp | 5 +---- src/net/protocol.h | 6 ++++++ 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/net') diff --git a/src/net/chatserver/chatserver.cpp b/src/net/chatserver/chatserver.cpp index 67cb5796..9f2c871a 100644 --- a/src/net/chatserver/chatserver.cpp +++ b/src/net/chatserver/chatserver.cpp @@ -81,12 +81,9 @@ void Net::ChatServer::privMsg(const std::string &recipient, } void Net::ChatServer::registerChannel(const std::string &name, - const std::string &announcement, const std::string &password, - char isPrivate) + const std::string &announcement, const std::string &password) { MessageOut msg(PCMSG_REGISTER_CHANNEL); - - msg.writeInt8(isPrivate); msg.writeString(name); msg.writeString(announcement); msg.writeString(password); diff --git a/src/net/protocol.h b/src/net/protocol.h index 79e1f2ca..5aab202c 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -147,6 +147,12 @@ enum { CPMSG_GUILD_INVITED = 0x0370, // S char name, S guild name, W id CPMSG_GUILD_REJOIN = 0x0371, // S name, W guild, B rights, W channel + // Party + PCMSG_PARTY_CREATE = 0x03A0, // - + CPMSG_PARTY_CREATE_RESPONSE = 0x03A1, // B error + PCMSG_PARTY_QUIT = 0x03AA, // - + CPMSG_PARTY_QUIT_RESPONSE = 0x03AB, // B error + // Chat CPMSG_ERROR = 0x0401, // B error CPMSG_ANNOUNCEMENT = 0x0402, // S text -- cgit v1.2.3-70-g09d2