LeviLamina
Loading...
Searching...
No Matches
BrushShapeManagerServiceProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8#include "mc/deps/scripting/script_engine/Closure.h"
9#include "mc/editor/services/native_brush/BrushPaintCompletionState.h"
10#include "mc/editor/services/native_brush/BrushPaintMode.h"
11
12// auto generated forward declare list
13// clang-format off
15class Vec3;
16namespace Editor::BlockMask { class BlockMaskList; }
17namespace Editor::Brush { class BrushShape; }
18namespace Editor::Brush { class UIElement; }
19namespace Editor::ScriptModule { class ScriptUIElement; }
20namespace ScriptModuleMinecraft { class ScriptCompoundBlockVolume; }
21// clang-format on
22
23namespace Editor::Services {
24
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 0
30 virtual ~BrushShapeManagerServiceProvider() = default;
31
32 // vIndex: 1
33 virtual ::std::shared_ptr<::Editor::Brush::BrushShape> getCurrentBrushShape() const = 0;
34
35 // vIndex: 2
36 virtual ::std::shared_ptr<::CompoundBlockVolume> getCurrentBrushVolume() const = 0;
37
38 // vIndex: 3
39 virtual ::Scripting::Result_deprecated<::CompoundBlockVolume> switchBrushShape(::std::string const&) = 0;
40
41 // vIndex: 4
42 virtual ::Scripting::Result_deprecated<::std::vector<::std::shared_ptr<::Editor::Brush::UIElement>>>
43 getUIElements(::std::string const&) = 0;
44
45 // vIndex: 5
46 virtual ::Scripting::Result_deprecated<bool>
47 uiElementValueChanged(::std::string const&, ::std::variant<float, bool, ::Vec3, ::std::string>) = 0;
48
49 // vIndex: 6
50 virtual ::std::vector<::std::shared_ptr<::Editor::Brush::BrushShape>> getBrushShapeList() const = 0;
51
52 // vIndex: 7
53 virtual void
55
56 // vIndex: 8
57 virtual void activateBrushTool() = 0;
58
59 // vIndex: 9
60 virtual void switchBrushPaintMode(::Editor::Brush::BrushPaintMode) = 0;
61
62 // vIndex: 11
63 virtual void setBrushShape(::std::vector<::Vec3> const&) = 0;
64
65 // vIndex: 10
66 virtual void setBrushShape(::CompoundBlockVolume const&) = 0;
67
68 // vIndex: 12
69 virtual void setBrushMask(::Editor::BlockMask::BlockMaskList const&) = 0;
70
71 // vIndex: 13
72 virtual void beginPainting(::std::function<void(::Editor::Brush::BrushPaintCompletionState)>) = 0;
73
74 // vIndex: 14
75 virtual void endPainting(bool const) = 0;
76
77 // vIndex: 15
78 virtual void singlePaint(::std::function<void(::Editor::Brush::BrushPaintCompletionState)>) = 0;
79
80 // vIndex: 16
81 virtual void deactivateBrushTool() = 0;
82
83 // vIndex: 17
84 virtual void setBrushShapeOffset(::Vec3 const&) = 0;
85
86 // vIndex: 18
87 virtual ::Vec3 getBrushShapeOffset() const = 0;
88
89 // vIndex: 19
90 virtual void setTerrainStrength(int const) = 0;
91
92 // vIndex: 20
93 virtual void setFlattenHeight(int const) = 0;
94
95 // vIndex: 21
96 virtual void setFlattenRadius(int const) = 0;
97
98 // vIndex: 22
99 virtual void setBrushShapeVisible(bool const) = 0;
100 // NOLINTEND
101
102public:
103 // destructor thunk
104 // NOLINTBEGIN
105
106 // NOLINTEND
107
108public:
109 // virtual function thunks
110 // NOLINTBEGIN
111
112 // NOLINTEND
113
114public:
115 // vftables
116 // NOLINTBEGIN
117 MCAPI static void** $vftable();
118 // NOLINTEND
119};
120
121} // namespace Editor::Services
Definition CompoundBlockVolume.h:18
Definition BlockMaskList.h:7
Definition BrushShapeManagerServiceProvider.h:25
Definition Closure.h:8
Definition StrongTypedObjectHandle.h:8
Definition Vec3.h:10