mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
- Introduced ServerLogger for logging startup steps and world I/O operations. - Implemented ServerProperties for loading and saving server configuration from `server.properties`. - Added WorldManager to handle world loading and creation based on server properties. - Updated ServerMain to integrate server properties loading and world management. - Enhanced project files to include new source and header files for the server components.
14 lines
307 B
C++
14 lines
307 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace ServerRuntime
|
|
{
|
|
std::string WideToUtf8(const std::wstring &value);
|
|
std::wstring Utf8ToWide(const char *value);
|
|
|
|
void LogStartupStep(const char *message);
|
|
void LogWorldIO(const char *message);
|
|
void LogWorldName(const char *prefix, const std::wstring &name);
|
|
}
|