12#ifndef MINESERVER_CONSOLE_H
13#define MINESERVER_CONSOLE_H
29 std::string currentInput;
31 std::thread::native_handle_type threadHandle;
32 std::atomic<bool> isRunning;
Minecraft Chat Message implementation.
Definition chatmessage.h:28
Console manager.
Definition console.h:25
~ConsoleManager()
Destroy the Console Manager object.
Definition console.cpp:27
void stop()
Stops listening for commands.
Definition console.cpp:115
void start()
Starts listening for commands.
Definition console.cpp:102
void sendMessage(const ChatMessage &message) override
Sends a message to the console.
Definition console.cpp:138
ConsoleManager()
Construct a new Console Manager object.
Definition console.cpp:18
static void onPostPrint(logger::PostPrintEvent event)
Post print hook.
Definition console.cpp:126
static ConsoleManager & inst()
Gets Console Manager instance.
Definition console.h:79
int subId
The Subscription Id.
Definition event.h:100
Sender Interface.
Definition commands.h:29
Post print event.
Definition logger.h:249
The file handling commands logic.
The main file for the logger.