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/common/editor/BrushFlattenMode.h"
7#include "mc/common/editor/DirectionalPlacementMode.h"
8#include "mc/editor/services/native_brush/BrushPaintCompletionState.h"
9#include "mc/editor/services/native_brush/BrushPaintMode.h"
10
11// auto generated forward declare list
12// clang-format off
13class HashedString;
14class Vec3;
15namespace Editor { class RelativeVolumeListBlockVolume; }
16namespace Editor::BlockMask { class BlockMaskList; }
17// clang-format on
18
19namespace Editor::Services {
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 0
26 virtual ~BrushShapeManagerServiceProvider() = default;
27
28 // vIndex: 1
29 virtual ::Editor::RelativeVolumeListBlockVolume const& getCurrentBrushVolume() const = 0;
30
31 // vIndex: 2
32 virtual void activateBrushTool() = 0;
33
34 // vIndex: 3
35 virtual void switchBrushPaintMode(::Editor::Brush::BrushPaintMode) = 0;
36
37 // vIndex: 5
38 virtual void setBrushShape(::std::vector<::Vec3> const&) = 0;
39
40 // vIndex: 4
41 virtual void setBrushShape(::Editor::RelativeVolumeListBlockVolume const&) = 0;
42
43 // vIndex: 6
44 virtual void setBrushMask(::Editor::BlockMask::BlockMaskList const&) = 0;
45
46 // vIndex: 7
47 virtual void beginPainting(::std::function<void(::Editor::Brush::BrushPaintCompletionState)>) = 0;
48
49 // vIndex: 8
50 virtual void endPainting(bool const) = 0;
51
52 // vIndex: 9
53 virtual void singlePaint(::std::function<void(::Editor::Brush::BrushPaintCompletionState)>) = 0;
54
55 // vIndex: 10
56 virtual void deactivateBrushTool() = 0;
57
58 // vIndex: 11
59 virtual void setBrushShapeOffset(::Vec3 const&) = 0;
60
61 // vIndex: 12
62 virtual ::Vec3 getBrushShapeOffset() const = 0;
63
64 // vIndex: 13
65 virtual void setTerrainStrength(int const) = 0;
66
67 // vIndex: 14
68 virtual void setFlattenMode(::Editor::Brush::BrushFlattenMode) = 0;
69
70 // vIndex: 15
71 virtual void setFlattenSmoothing(int const) = 0;
72
73 // vIndex: 16
74 virtual void setFloorBlockOverride(bool const) = 0;
75
76 // vIndex: 17
77 virtual void setBrushShapeVisible(bool const) = 0;
78
79 // vIndex: 18
80 virtual bool isBusy() = 0;
81
82 // vIndex: 19
83 virtual void setDirectionalPlacementMode(::Editor::Brush::DirectionalPlacementMode) = 0;
84
85 // vIndex: 20
86 virtual ::Editor::Brush::DirectionalPlacementMode getDirectionalPlacementMode() const = 0;
87
88 // vIndex: 21
89 virtual void setInverseEraseMode(bool const) = 0;
90
91 // vIndex: 22
92 virtual bool getInverseEraseMode() const = 0;
93
94 // vIndex: 23
95 virtual void setItemPlacement(::HashedString const&) = 0;
96
97 // vIndex: 24
98 virtual ::HashedString const& getItemPlacement() const = 0;
99
100 // vIndex: 25
101 virtual bool const isItemPlacementActive() const = 0;
102
103 // vIndex: 26
104 virtual void pushBlockStateOverride(::HashedString const&, ::std::variant<int, ::std::string, bool> const&) = 0;
105
106 // vIndex: 27
107 virtual void clearBlockStateOverrides() = 0;
108
109 // vIndex: 28
110 virtual void setBlockFacePlacementBasedOnCamera(bool const) = 0;
111 // NOLINTEND
112
113public:
114 // virtual function thunks
115 // NOLINTBEGIN
116
117 // NOLINTEND
118
119public:
120 // vftables
121 // NOLINTBEGIN
122 MCNAPI static void** $vftable();
123 // NOLINTEND
124};
125
126} // namespace Editor::Services
Definition BlockMaskList.h:7
Definition RelativeVolumeListBlockVolume.h:21
Definition BrushShapeManagerServiceProvider.h:21
Definition HashedString.h:5
Definition Vec3.h:10