diff options
Diffstat (limited to 'src/game/server/chat.hh')
| -rw-r--r-- | src/game/server/chat.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/game/server/chat.hh b/src/game/server/chat.hh new file mode 100644 index 0000000..2557290 --- /dev/null +++ b/src/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 */ |
