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
11class Dimension;
12class Player;
13namespace Bedrock::PubSub { class Subscription; }
14namespace Editor { class ServiceProviderCollection; }
15// clang-format on
16
17namespace Editor {
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 // vIndex: 0
24 virtual ~EditorPlayerServiceProvider() = default;
25
26 // vIndex: 1
27 virtual ::Player* getPlayer() const = 0;
28
29 // vIndex: 2
30 virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
31 registerTickSubscriber(::std::function<void(::Editor::ServiceProviderCollection&)>) = 0;
32
33 // vIndex: 3
34 virtual ::Bedrock::PubSub::Subscription
35 registerDimensionChange(::std::function<void(::DimensionType, ::DimensionType)>) = 0;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41
42 // NOLINTEND
43};
44
45} // namespace Editor
Definition AutomaticID.h:6
Definition Dimension.h:83
Definition EditorPlayerServiceProvider.h:19
Definition ServiceProviderCollection.h:7
Definition Player.h:123