refactor: decouple minecraft/ from app/ via IGameServices virtual interface

This commit is contained in:
MatthewBeshay
2026-04-06 16:14:25 +10:00
committed by Tropical
parent 7787015025
commit 5d9bcac156
246 changed files with 1897 additions and 2224 deletions

View File

@@ -1,4 +1,4 @@
#include "minecraft/GameHostOptions.h"
#include "minecraft/IGameServices.h"
#include "minecraft/util/Log.h"
#include "ServerConnection.h"
@@ -176,7 +176,7 @@ void ServerConnection::handleServerSettingsChanged(
// if(packet->action==ServerSettingsChangedPacket::HOST_IN_GAME_SETTINGS)//
// options
// {
// GameHostOptions::set(eGameHostOption_All,packet->m_serverSettings)
// gameServices().setGameHostOption(eGameHostOption_All,packet->m_serverSettings)
// }
// else
// {