LeviLamina
Loading...
Searching...
No Matches
ModeServiceProvider.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
#include "mc/deps/scripting/runtime/Result_deprecated.h"
8
#include "mc/editor/Mode.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
namespace
Bedrock::PubSub {
class
Subscription; }
13
// clang-format on
14
15
namespace
Editor::Services {
16
17
class
ModeServiceProvider
{
18
public
:
19
// virtual functions
20
// NOLINTBEGIN
21
// vIndex: 0
22
virtual
~ModeServiceProvider
() =
default
;
23
24
// vIndex: 1
25
virtual ::Editor::Mode getMode()
const
= 0;
26
27
// vIndex: 2
28
virtual ::Scripting::Result<void> trySetMode(::Editor::Mode) = 0;
29
30
// vIndex: 3
31
virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
32
listenForModeChange(::std::function<
void
(::Editor::Mode, ::Editor::Mode)>) = 0;
33
// NOLINTEND
34
35
public
:
36
// destructor thunk
37
// NOLINTBEGIN
38
39
// NOLINTEND
40
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
45
// NOLINTEND
46
};
47
48
}
// namespace Editor::Services
Editor::Services::ModeServiceProvider
Definition
ModeServiceProvider.h:17
src
mc
editor
serviceproviders
ModeServiceProvider.h
Generated on Sat Apr 26 2025 05:55:33 for LeviLamina by
1.12.0