3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/game/StartIntent.h"
7#include "mc/deps/core/threading/Async.h"
22 virtual ~IGameServerStartup() =
default;
24 virtual bool canStartLocalServer()
const = 0;
26 virtual ::Bedrock::Threading::Async<void> _startLocalServerAsync(
27 ::std::string
const& levelId,
28 ::std::string
const& levelName,
29 ::ContentIdentity
const& premiumTemplateContentIdentity,
30 ::LevelSettings
const& settings,
31 ::std::unique_ptr<::ServerInitialization::IServerInitializer> initializer,
32 ::StartIntent startIntent
35 virtual bool isHostingLocalDedicatedServer()
const = 0;
37 virtual ::TaskGroup& _getServerInitTaskGroup() = 0;
46 ::std::string
const& levelId,
47 ::std::string
const& levelName,
50 ::StartIntent startIntent
Definition ContentIdentity.h:8
Definition IGameServerStartup.h:5
MCAPI bool startLocalServerBlocking(::std::string const &levelId, ::std::string const &levelName, ::ContentIdentity const &premiumTemplateContentIdentity, ::LevelSettings const &settings, ::StartIntent startIntent)
MCAPI ::Bedrock::Threading::Async< void > startLocalServerAsyncFromSummary(::LevelSummary const &levelSummary)
Definition LevelSettings.h:39
Definition IServerInitializer.h:21
Definition TaskGroup.h:85
Definition LevelSummary.h:30