LeviLamina
Loading...
Searching...
No Matches
IGameServerStartup.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/client/game/StartIntent.h"
7
#include "mc/deps/core/threading/Async.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
ContentIdentity
;
12
class
LevelSettings
;
13
class
TaskGroup
;
14
struct
LevelSummary
;
15
// clang-format on
16
17
class
IGameServerStartup
{
18
public
:
19
// virtual functions
20
// NOLINTBEGIN
21
virtual
~IGameServerStartup() =
default
;
22
23
virtual
bool
canStartLocalServer()
const
= 0;
24
25
virtual ::Bedrock::Threading::Async<void> startLocalServerAsync(
26
::std::string
const
&,
27
::std::string
const
&,
28
::ContentIdentity
const
&,
29
::LevelSettings
const
&,
30
::StartIntent
31
) = 0;
32
33
virtual
bool
isHostingLocalDedicatedServer()
const
= 0;
34
35
virtual ::TaskGroup& _getServerInitTaskGroup() = 0;
36
// NOLINTEND
37
38
public
:
39
// member functions
40
// NOLINTBEGIN
41
MCNAPI ::Bedrock::Threading::Async<void>
startLocalServerAsyncFromSummary
(
::LevelSummary
const
& levelSummary);
42
43
MCNAPI
bool
startLocalServerBlocking
(
44
::std::string
const
& levelId,
45
::std::string
const
& levelName,
46
::ContentIdentity
const
& premiumTemplateContentIdentity,
47
::LevelSettings
const
& settings,
48
::StartIntent startIntent
49
);
50
// NOLINTEND
51
52
public
:
53
// virtual function thunks
54
// NOLINTBEGIN
55
56
// NOLINTEND
57
};
ContentIdentity
Definition
ContentIdentity.h:8
IGameServerStartup
Definition
IGameServerStartup.h:5
IGameServerStartup::startLocalServerBlocking
MCAPI bool startLocalServerBlocking(::std::string const &levelId, ::std::string const &levelName, ::ContentIdentity const &premiumTemplateContentIdentity, ::LevelSettings const &settings, ::StartIntent startIntent)
IGameServerStartup::startLocalServerAsyncFromSummary
MCAPI ::Bedrock::Threading::Async< void > startLocalServerAsyncFromSummary(::LevelSummary const &levelSummary)
LevelSettings
Definition
LevelSettings.h:39
TaskGroup
Definition
TaskGroup.h:53
LevelSummary
Definition
LevelSummary.h:27
src-client
mc
client
game
IGameServerStartup.h
Generated on
for LeviLamina by
1.16.1