LeviLamina
Loading...
Searching...
No Matches
BlockChangedPendingOperation.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/IPendingOperation.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockSource;
12namespace Editor { class ServiceProviderCollection; }
13namespace Editor::Transactions { class IOperation; }
14namespace Editor::Transactions { struct BlockChangeIntentData; }
15namespace Editor::Transactions { struct BlockChangedOperationData; }
16// clang-format on
17
18namespace Editor::Transactions {
19
20class BlockChangedPendingOperation : public ::Editor::Transactions::IPendingOperation {
21public:
22 // member variables
23 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 BlockChangedPendingOperation& operator=(BlockChangedPendingOperation const&);
30 BlockChangedPendingOperation(BlockChangedPendingOperation const&);
31 BlockChangedPendingOperation();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~BlockChangedPendingOperation() /*override*/ = default;
37
38 virtual ::std::unique_ptr<::Editor::Transactions::IOperation>
39 _commit(::Editor::ServiceProviderCollection& services) /*override*/;
40
41 virtual ::Scripting::Result_deprecated<bool> _discard(::Editor::ServiceProviderCollection&) /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
48 ::BlockSource const& region,
50 ::std::vector<::Editor::Transactions::BlockChangedOperationData>& changedBlocks
51 ) const;
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCNAPI ::std::unique_ptr<::Editor::Transactions::IOperation>
59
60 MCNAPI ::Scripting::Result_deprecated<bool> $_discard(::Editor::ServiceProviderCollection&);
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
71
72} // namespace Editor::Transactions
Definition BlockSource.h:68
Definition ServiceProviderCollection.h:7
MCAPI ::Scripting::Result_deprecated< bool > $_discard(::Editor::ServiceProviderCollection &)
MCAPI ::std::unique_ptr<::Editor::Transactions::IOperation > $_commit(::Editor::ServiceProviderCollection &services)
MCAPI void _processBlockChangeIntent(::BlockSource const &region, ::Editor::Transactions::BlockChangeIntentData &blockIntentData, ::std::vector<::Editor::Transactions::BlockChangedOperationData > &changedBlocks) const
Definition IOperation.h:15
Definition IPendingOperation.h:16
Definition BlockChangeIntentData.h:13
Definition BlockChangedOperationData.h:7
Definition Alias.h:14