Initial commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include "../../Minecraft.Client/ConsoleInputSource.h"
|
||||
#include "../../Minecraft.Client/MinecraftServer.h"
|
||||
#include "ServerProperties.h"
|
||||
|
||||
class DedicatedServer : public ConsoleInputSource
|
||||
{
|
||||
public:
|
||||
DedicatedServer();
|
||||
~DedicatedServer();
|
||||
|
||||
bool init();
|
||||
|
||||
int run();
|
||||
|
||||
void shutdown();
|
||||
|
||||
virtual void info(const wstring& string);
|
||||
virtual void warn(const wstring& string);
|
||||
virtual wstring getConsoleName();
|
||||
|
||||
static int consoleInputThread(void *param);
|
||||
|
||||
private:
|
||||
void processConsoleInput();
|
||||
|
||||
bool m_running;
|
||||
ServerProperties m_properties;
|
||||
};
|
||||
Reference in New Issue
Block a user