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> _commit(::Editor::ServiceProviderCollection& services
41 ) /*override*/;
42
43 // vIndex: 2
44 virtual ::Scripting::Result_deprecated<bool> _discard(::Editor::ServiceProviderCollection&) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI void _processBlockChangeIntent(
51 ::BlockSource const& region,
53 ::std::vector<::Editor::Transactions::BlockChangedOperationData>& changedBlocks
54 ) const;
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI ::std::unique_ptr<::Editor::Transactions::IOperation> $_commit(::Editor::ServiceProviderCollection& services);
67
68 MCAPI ::Scripting::Result_deprecated<bool> $_discard(::Editor::ServiceProviderCollection&);
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCAPI static void** $vftable();
75 // NOLINTEND
76};
77
78} // namespace Editor::Transactions
Definition BlockSource.h:67
Definition ServiceProviderCollection.h:7
Definition BlockChangedPendingOperation.h:20
Definition IPendingOperation.h:16
Definition BlockChangeIntentData.h:13
Definition Alias.h:14