Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
EditorPlayerPlaytestServiceProvider.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/editor/services/playtest/SessionResult.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
WeakEntityRef
;
11
namespace
Editor {
class
GameOptions
; }
12
namespace
Editor::Network {
class
PlaytestBeginSessionTransferResponsePayload
; }
13
// clang-format on
14
15
namespace
Editor::Services {
16
17
class
EditorPlayerPlaytestServiceProvider
{
18
public
:
19
// virtual functions
20
// NOLINTBEGIN
21
virtual
~EditorPlayerPlaytestServiceProvider
() =
default
;
22
23
virtual ::Editor::Playtest::SessionResult getPlaytestSessionAvailability(
::WeakEntityRef
playerRef) = 0;
24
25
virtual
void
beginPlaytestSession(
26
::WeakEntityRef
playerRef,
27
::Editor::GameOptions
const
& options,
28
::std::function<
void
(::Editor::Playtest::SessionResult
const
&)> callback
29
) = 0;
30
31
virtual
void
_handlePlayersSessionTransferResponse(
32
::WeakEntityRef
playerRef,
33
::Editor::Network::PlaytestBeginSessionTransferResponsePayload
const
& payload
34
) = 0;
35
// NOLINTEND
36
};
37
38
}
// namespace Editor::Services
Editor::GameOptions
Definition
GameOptions.h:22
Editor::Network::PlaytestBeginSessionTransferResponsePayload
Definition
PlaytestBeginSessionTransferResponsePayload.h:16
Editor::Services::EditorPlayerPlaytestServiceProvider
Definition
EditorPlayerPlaytestServiceProvider.h:17
WeakEntityRef
Definition
WeakEntityRef.h:14
src
mc
server
editor
serviceproviders
EditorPlayerPlaytestServiceProvider.h
Generated on
for LeviLamina by
1.16.1