summaryrefslogtreecommitdiffstats
path: root/src/game/server/chat.hh
blob: 671fd221fbe953d4cf6a64ffa524debc9600ee26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: chat.hh
// Description: Chat handling

#ifndef SERVER_CHAT_HH
#define SERVER_CHAT_HH
#pragma once

struct Session;

namespace server_chat
{
void init(void);
void broadcast(std::string_view message);
void broadcast(std::string_view message, std::string_view sender);
void send(Session* session, std::string_view message);
void send(Session* session, std::string_view message, std::string_view sender);
} // namespace server_chat

#endif