LeviLamina
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/core/utility/AutomaticID.h"
7
#include "mc/deps/scripting/runtime/Result_deprecated.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Dimension
;
12
class
Player
;
13
namespace
Bedrock::PubSub {
class
Subscription
; }
14
namespace
Editor {
class
ServiceProviderCollection
; }
15
// clang-format on
16
17
namespace
Editor {
18
19
class
EditorPlayerServiceProvider
{
20
public
:
21
// virtual functions
22
// NOLINTBEGIN
23
virtual
~EditorPlayerServiceProvider
() =
default
;
24
25
virtual ::Player* getPlayer()
const
= 0;
26
27
virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
28
registerTickSubscriber(::std::function<
void
(
::Editor::ServiceProviderCollection
&)>) = 0;
29
30
virtual ::Bedrock::PubSub::Subscription
31
registerDimensionChange(::std::function<
void
(::DimensionType, ::DimensionType)>) = 0;
32
// NOLINTEND
33
34
public
:
35
// virtual function thunks
36
// NOLINTBEGIN
37
38
// NOLINTEND
39
};
40
41
}
// namespace Editor
Bedrock::PubSub::Subscription
Definition
Subscription.h:10
Dimension
Definition
Dimension.h:85
Editor::EditorPlayerServiceProvider
Definition
EditorPlayerServiceProvider.h:19
Editor::ServiceProviderCollection
Definition
ServiceProviderCollection.h:7
Player
Definition
Player.h:125
src
mc
editor
serviceproviders
EditorPlayerServiceProvider.h
Generated on
for LeviLamina by
1.16.1