New File System and Cleanup some code Part 3

* Remove stdafx.h and some <unordered_set> includes
* Update Minecraft Server Defines and remove more unused folders/files
* Unbloat stdafx.h from Minecraft.World
This commit is contained in:
GabsPuNs
2026-05-24 21:23:25 -04:00
parent 145a1ca7a1
commit bc6c09146a
1569 changed files with 109 additions and 1602 deletions

View File

@@ -1,4 +1,3 @@
#include "stdafx.h"
#include "PlayerConnection.h"
#include "ServerPlayer.h"
#include "ServerLevel.h"
@@ -155,7 +154,7 @@ void PlayerConnection::disconnect(DisconnectPacket::eDisconnectReason reason)
return;
}
#if defined(_WINDOWS64) && defined(MINECRAFT_SERVER_BUILD)
#ifdef MINECRAFT_SERVER_BUILD
ServerRuntime::ServerLogManager::OnPlayerDisconnected(
getLogSmallId(),
(player != nullptr) ? player->name : std::wstring(),
@@ -590,7 +589,7 @@ void PlayerConnection::onDisconnect(DisconnectPacket::eDisconnectReason reason,
LeaveCriticalSection(&done_cs);
return;
}
#if defined(_WINDOWS64) && defined(MINECRAFT_SERVER_BUILD)
#ifdef MINECRAFT_SERVER_BUILD
ServerRuntime::ServerLogManager::OnPlayerDisconnected(
getLogSmallId(),
(player != nullptr) ? player->name : std::wstring(),