diff options
Diffstat (limited to 'game/server/chat.hh')
| -rw-r--r-- | game/server/chat.hh | 16 |
1 files changed, 16 insertions, 0 deletions
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 */ |
