summaryrefslogtreecommitdiff
path: root/src/chat-server/chathandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/chat-server/chathandler.h')
-rw-r--r--src/chat-server/chathandler.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/chat-server/chathandler.h b/src/chat-server/chathandler.h
index 9796bf78..af22e453 100644
--- a/src/chat-server/chathandler.h
+++ b/src/chat-server/chathandler.h
@@ -113,6 +113,12 @@ class ChatHandler : public ConnectionHandler
void handlePartyInvite(MessageIn &msg);
/**
+ * Sends an announce to all connected clients.
+ */
+ void handleAnnounce(const std::string &message, int senderId,
+ const std::string &senderName);
+
+ /**
* Returns ChatClient from the Player Map
* @param The name of the character
* @return The Chat Client
@@ -156,7 +162,6 @@ class ChatHandler : public ConnectionHandler
void handleCommand(ChatClient &client, const std::string &command);
void handleChatMessage(ChatClient &client, MessageIn &msg);
- void handleAnnounceMessage(ChatClient &client, MessageIn &msg);
void handlePrivMsgMessage(ChatClient &client, MessageIn &msg);
void handleWhoMessage(ChatClient &client);