]> git.localhorst.tv Git - blank.git/blob - src/server/NetworkCLIFeedback.hpp
make command output visible to player(s)
[blank.git] / src / server / NetworkCLIFeedback.hpp
1 #ifndef BLANK_SERVER_NETWORKCLIFEEDBACK_HPP_
2 #define BLANK_SERVER_NETWORKCLIFEEDBACK_HPP_
3
4 #include "../shared/CLIContext.hpp"
5
6
7 namespace blank {
8
9 namespace server {
10
11 class ClientConnection;
12
13 class NetworkCLIFeedback
14 : public CLIContext {
15
16 public:
17         NetworkCLIFeedback(Player &, ClientConnection &);
18
19         void Error(const std::string &) override;
20         void Message(const std::string &) override;
21         void Broadcast(const std::string &) override;
22
23 private:
24         ClientConnection &conn;
25
26 };
27
28 }
29 }
30
31 #endif