From 3bf42c6ff3805a0d42bbc661794a95ff31bedc26 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 15 Mar 2025 16:22:09 +0500 Subject: Add whatever I was working on for the last month --- game/server/chat.hh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 game/server/chat.hh (limited to 'game/server/chat.hh') diff --git a/game/server/chat.hh b/game/server/chat.hh new file mode 100644 index 0000000..7efc7ff --- /dev/null +++ b/game/server/chat.hh @@ -0,0 +1,16 @@ +#ifndef SERVER_CHAT_HH +#define SERVER_CHAT_HH 1 +#pragma once + +struct Session; + +namespace server_chat +{ +void init(void); +void broadcast(const char *message); +void broadcast(const char *message, const char *sender); +void send(Session *session, const char *message); +void send(Session *session, const char *message, const char *sender); +} // namespace server_chat + +#endif /* SERVER_CHAT_HH */ -- cgit