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
21public:
22 // member variables
23 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~BlockChangedPendingOperation() /*override*/ = default;
38
39 // vIndex: 1
40 virtual ::std::unique_ptr<::Editor::Transactions::IOperation>
41 _commit(::Editor::ServiceProviderCollection& services) /*override*/;
42
43 // vIndex: 2
44 virtual ::Scripting::Result_deprecated<bool> _discard(::Editor::ServiceProviderCollection&) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
51 ::BlockSource const& region,
53 ::std::vector<::Editor::Transactions::BlockChangedOperationData>& changedBlocks
54 ) const;
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCNAPI ::std::unique_ptr<::Editor::Transactions::IOperation>
62
63 MCNAPI ::Scripting::Result_deprecated<bool> $_discard(::Editor::ServiceProviderCollection&);
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
72
73} // namespace Editor::Transactions
Definition BlockSource.h:67
Definition ServiceProviderCollection.h:7
Definition BlockChangedPendingOperation.h:20
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 IPendingOperation.h:16
Definition BlockChangeIntentData.h:13
Definition Alias.h:14