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
EditorPlayerServiceProvider.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/script_core/runtime/scripting/Result_deprecated.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Player
;
11
struct
DimensionType
;
12
namespace
Bedrock::PubSub {
class
Subscription
; }
13
namespace
Editor {
class
ServiceProviderCollection
; }
14
// clang-format on
15
16
namespace
Editor {
17
18
class
EditorPlayerServiceProvider
{
19
public
:
20
// virtual functions
21
// NOLINTBEGIN
22
virtual
~EditorPlayerServiceProvider
() =
default
;
23
24
virtual ::Player* getPlayer()
const
= 0;
25
26
virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
27
registerTickSubscriber(::std::function<
void
(
::Editor::ServiceProviderCollection
&)> fnTick) = 0;
28
29
virtual ::Bedrock::PubSub::Subscription
30
registerDimensionChange(::std::function<
void
(
::DimensionType
,
::DimensionType
)> fn) = 0;
31
// NOLINTEND
32
};
33
34
}
// namespace Editor
Bedrock::PubSub::Subscription
Definition
Subscription.h:10
Editor::EditorPlayerServiceProvider
Definition
EditorPlayerServiceProvider.h:18
Editor::ServiceProviderCollection
Definition
ServiceProviderCollection.h:7
Player
Definition
Player.h:131
DimensionType
Definition
DimensionType.h:5
src
mc
editor
serviceproviders
EditorPlayerServiceProvider.h
Generated on
for LeviLamina by
1.16.1