1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Code cleanup

This commit is contained in:
Ivan Savenko
2024-01-26 17:40:31 +02:00
parent 322c5faf63
commit eaca128c99
10 changed files with 32 additions and 30 deletions

View File

@ -133,14 +133,14 @@ CServerHandler::~CServerHandler()
}
CServerHandler::CServerHandler()
: state(EClientState::NONE)
, networkHandler(INetworkHandler::createHandler())
, applier(std::make_unique<CApplier<CBaseForLobbyApply>>())
: applier(std::make_unique<CApplier<CBaseForLobbyApply>>())
, lobbyClient(std::make_unique<GlobalLobbyClient>())
, client(nullptr)
, loadMode(ELoadMode::NONE)
, screenType(ESelectionScreen::unknown)
, networkHandler(INetworkHandler::createHandler())
, state(EClientState::NONE)
, campaignStateToSend(nullptr)
, screenType(ESelectionScreen::unknown)
, loadMode(ELoadMode::NONE)
, client(nullptr)
, campaignServerRestartLock(false)
{
uuid = boost::uuids::to_string(boost::uuids::random_generator()());