LeviLamina
Loading...
Searching...
No Matches
EditorManagerServiceProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Bedrock::PubSub { class Subscription; }
8namespace Editor { class EditorManager; }
9namespace Editor { class ServiceProviderCollection; }
10// clang-format on
11
12namespace Editor {
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual ~EditorManagerServiceProvider() = default;
19
20 virtual ::Editor::ServiceProviderCollection& getServiceProviders() = 0;
21
22 virtual bool isEditorModeEnabled() const = 0;
23
24 virtual ::Bedrock::PubSub::Subscription
25 registerLevelInitializeSubscriber(::std::function<void(bool, ::Editor::EditorManager&)> func) = 0;
26
27 virtual ::Bedrock::PubSub::Subscription
28 registerLevelTickSubscriber(::std::function<void(::Editor::EditorManager&)> func) = 0;
29 // NOLINTEND
30};
31
32} // namespace Editor
Definition Subscription.h:10
Definition EditorManagerServiceProvider.h:14
Definition EditorManager.h:31
Definition ServiceProviderCollection.h:7