LeviLamina
Loading...
Searching...
No Matches
SelectionContainerVolume.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/editor/selection/EventSource.h"
7#include "mc/editor/selection/SelectionContainer.h"
8
9// auto generated forward declare list
10// clang-format off
11class BoundingBox;
12class Vec3;
13namespace Bedrock::PubSub { class Subscription; }
14namespace Editor { class RelativeVolumeListBlockVolume; }
15namespace Editor { class ServiceProviderCollection; }
16namespace Editor::Selection { struct SelectionVolumeEvent; }
17// clang-format on
18
19namespace Editor::Selection {
20
21class SelectionContainerVolume : public ::Editor::Selection::SelectionContainer {
22public:
23 // member variables
24 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 SelectionContainerVolume& operator=(SelectionContainerVolume const&);
32 SelectionContainerVolume(SelectionContainerVolume const&);
33 SelectionContainerVolume();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~SelectionContainerVolume() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
45
47
49
50 MCNAPI ::std::optional<::BoundingBox> bounds() const;
51
52 MCNAPI void clear(::Editor::Selection::EventSource eventSource);
53
54 MCNAPI ::Editor::RelativeVolumeListBlockVolume const& getVolume() const;
55
56 MCNAPI int getVolumeCount() const;
57
58 MCNAPI bool isEmpty() const;
59
60 MCNAPI void moveTo(::Vec3 const& location, ::Editor::Selection::EventSource eventSource);
61
62 MCNAPI ::Bedrock::PubSub::Subscription registerSelectionVolumeEventListener(
63 ::std::function<void(::Editor::Selection::SelectionVolumeEvent const&)> callback
64 );
65
66 MCNAPI void translate(::Vec3 const& offset, ::Editor::Selection::EventSource eventSource);
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCNAPI void* $ctor(::Editor::ServiceProviderCollection& serviceProviders);
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
81
82} // namespace Editor::Selection
Definition Subscription.h:10
Definition BoundingBox.h:13
Definition RelativeVolumeListBlockVolume.h:23
MCAPI::Editor::RelativeVolumeListBlockVolume const & getVolume() const
MCAPI void moveTo(::Vec3 const &location, ::Editor::Selection::EventSource eventSource)
MCAPI void translate(::Vec3 const &offset, ::Editor::Selection::EventSource eventSource)
MCAPI SelectionContainerVolume(::Editor::ServiceProviderCollection &serviceProviders)
MCAPI ::std::optional<::BoundingBox > bounds() const
MCAPI void * $ctor(::Editor::ServiceProviderCollection &serviceProviders)
MCAPI::Bedrock::PubSub::Subscription registerSelectionVolumeEventListener(::std::function< void(::Editor::Selection::SelectionVolumeEvent const &)> callback)
MCAPI void clear(::Editor::Selection::EventSource eventSource)
Definition SelectionContainer.h:12
Definition ServiceProviderCollection.h:7
Definition Vec3.h:10
Definition SelectionVolumeEvent.h:7
Definition Alias.h:14