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/scripting/runtime/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
public
:
34
// virtual function thunks
35
// NOLINTBEGIN
36
37
// NOLINTEND
38
};
39
40
}
// 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:137
DimensionType
Definition
DimensionType.h:5
src
mc
editor
serviceproviders
EditorPlayerServiceProvider.h
Generated on
for LeviLamina by
1.16.1