LeviLamina
Loading...
Searching...
No Matches
SelectionServiceProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/StackRefResult.h"
7#include "mc/deps/game_refs/WeakRef.h"
8#include "mc/deps/scripting/runtime/Result.h"
9#include "mc/deps/scripting/runtime/Result_deprecated.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace Bedrock::PubSub { class Subscription; }
14namespace Editor::Selection { class SelectionContainer; }
15namespace Editor::Services { struct SelectionEvent; }
16namespace mce { class UUID; }
17// clang-format on
18
19namespace Editor::Services {
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 0
26 virtual ~SelectionServiceProvider() = default;
27
28 // vIndex: 1
29 virtual ::Scripting::Result_deprecated<::WeakRef<::Editor::Selection::SelectionContainer>> createContainer() = 0;
30
31 // vIndex: 2
32 virtual ::Scripting::Result<void> destroyContainer(::WeakRef<::Editor::Selection::SelectionContainer>) = 0;
33
34 // vIndex: 3
35 virtual ::StackRefResult<::Editor::Selection::SelectionContainer> getPrimaryContainer() const = 0;
36
37 // vIndex: 4
38 virtual ::Scripting::Result_deprecated<::WeakRef<::Editor::Selection::SelectionContainer>>
39 findContainer(::mce::UUID const&) const = 0;
40
41 // vIndex: 5
42 virtual ::Scripting::Result_deprecated<::std::vector<::mce::UUID>> getContainerIdList() const = 0;
43
44 // vIndex: 6
45 virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
46 registerSelectionEventListener(::std::function<void(::Editor::Services::SelectionEvent const&)>) = 0;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58
59 // NOLINTEND
60};
61
62} // namespace Editor::Services
Definition SelectionServiceProvider.h:21
Definition WeakRef.h:8
Definition UUID.h:7
Definition SelectionEvent.h:7