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/WeakRef.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Editor { class ProjectRegion; }
12namespace Editor::Selection { class SelectionContainerEntity; }
13namespace Editor::Selection { class SelectionContainerVolume; }
14// clang-format on
15
16namespace Editor::Services {
17
19public:
20 // SelectionServiceProvider inner types declare
21 // clang-format off
22 struct ManifestEntry;
23 struct ManifestState;
24 // clang-format on
25
26 // SelectionServiceProvider inner types define
27 struct ManifestEntry {
28 public:
29 // member variables
30 // NOLINTBEGIN
33 // NOLINTEND
34
35 public:
36 // prevent constructor by default
37 ManifestEntry& operator=(ManifestEntry const&);
38 ManifestEntry(ManifestEntry const&);
39 ManifestEntry();
40
41 public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI ::Editor::Services::SelectionServiceProvider::ManifestEntry&
46
48 // NOLINTEND
49
50 public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCNAPI void $dtor();
54 // NOLINTEND
55 };
56
57 struct ManifestState {
58 public:
59 // member variables
60 // NOLINTBEGIN
67 // NOLINTEND
68
69 public:
70 // prevent constructor by default
71 ManifestState& operator=(ManifestState const&);
72 ManifestState();
73
74 public:
75 // member functions
76 // NOLINTBEGIN
78
80 // NOLINTEND
81
82 public:
83 // constructor thunks
84 // NOLINTBEGIN
86 // NOLINTEND
87
88 public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCNAPI void $dtor();
92 // NOLINTEND
93 };
94
95public:
96 // virtual functions
97 // NOLINTBEGIN
98 virtual ~SelectionServiceProvider() = default;
99
100 virtual ::Editor::Selection::SelectionContainerVolume const& containerVolume() const = 0;
101
102 virtual ::Editor::Selection::SelectionContainerEntity const& containerEntity() const = 0;
103
104 virtual ::Editor::Selection::SelectionContainerVolume& containerVolumeNonConst() = 0;
105
106 virtual ::Editor::Selection::SelectionContainerEntity& containerEntityNonConst() = 0;
107
108 virtual ::WeakRef<::Editor::ProjectRegion> getVolumeRegion() const = 0;
109
110 virtual uint64 generateManifest() = 0;
111
112 virtual uint64 generateManifestWithCallback(
113 ::std::function<
115 ) = 0;
116
117 virtual ::Editor::Services::SelectionServiceProvider::ManifestState const& getCurrentManifest() const = 0;
118
119 virtual void
120 deselectBlocksAsync(::std::string const&, ::std::function<void(::Scripting::Result_deprecated<uint64> const&)>) = 0;
121
122 virtual void replaceBlocksAsync(
123 ::std::string const&,
124 ::std::string const&,
125 ::std::function<void(::Scripting::Result_deprecated<uint64> const&)>
126 ) = 0;
127 // NOLINTEND
128
129public:
130 // virtual function thunks
131 // NOLINTBEGIN
132
133 // NOLINTEND
134
135public:
136 // vftables
137 // NOLINTBEGIN
138 MCNAPI static void** $vftable();
139 // NOLINTEND
140};
141
142} // namespace Editor::Services
Definition ProjectRegion.h:27
Definition SelectionContainerEntity.h:10
Definition SelectionContainerVolume.h:19
Definition SelectionServiceProvider.h:18
Definition Result_deprecated.h:8
Definition SelectionServiceProvider.h:27
MCAPI::Editor::Services::SelectionServiceProvider::ManifestEntry & operator=(::Editor::Services::SelectionServiceProvider::ManifestEntry &&)
Definition SelectionServiceProvider.h:57
MCAPI ManifestState(::Editor::Services::SelectionServiceProvider::ManifestState const &)
MCAPI void * $ctor(::Editor::Services::SelectionServiceProvider::ManifestState const &)
Definition Alias.h:14