3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/game/StartIntent.h"
7#include "mc/deps/core/threading/Async.h"
21 virtual ~IGameServerStartup() =
default;
23 virtual bool canStartLocalServer()
const = 0;
25 virtual ::Bedrock::Threading::Async<void> startLocalServerAsync(
26 ::std::string
const& levelId,
27 ::std::string
const& levelName,
28 ::ContentIdentity
const& premiumTemplateContentIdentity,
29 ::LevelSettings
const& settings,
30 ::StartIntent startIntent
33 virtual bool isHostingLocalDedicatedServer()
const = 0;
35 virtual ::TaskGroup& _getServerInitTaskGroup() = 0;
44 ::std::string
const& levelId,
45 ::std::string
const& levelName,
48 ::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 TaskGroup.h:57
Definition LevelSummary.h:30