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.h"
7
8// auto generated forward declare list
9// clang-format off
10class Player;
11namespace Bedrock::PubSub { class Subscription; }
12namespace Editor { class ServiceProviderCollection; }
13namespace Scripting { struct Error; }
14// clang-format on
15
16namespace Editor {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~EditorPlayerServiceProvider() = default;
24
25 // vIndex: 1
26 virtual ::Player* getPlayer() const = 0;
27
28 // vIndex: 2
29 virtual ::Scripting::Result<::Bedrock::PubSub::Subscription, ::Scripting::Error>
30 registerTickSubscriber(::std::function<void(::Editor::ServiceProviderCollection&)>) = 0;
31 // NOLINTEND
32
33public:
34 // destructor thunk
35 // NOLINTBEGIN
36
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42
43 // NOLINTEND
44};
45
46} // namespace Editor
Definition EditorPlayerServiceProvider.h:18
Definition ServiceProviderCollection.h:7
Definition Player.h:119