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
47 MCNAPI explicit BlockChangedPendingOperation(::std::vector<::Editor::Transactions::BlockChangeIntentData>&& blocks);
48
50 ::BlockSource const& region,
52 ::std::vector<::Editor::Transactions::BlockChangedOperationData>& changedBlocks
53 ) const;
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI void* $ctor(::std::vector<::Editor::Transactions::BlockChangeIntentData>&& blocks);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCNAPI ::std::unique_ptr<::Editor::Transactions::IOperation>
67
68 MCNAPI ::Scripting::Result_deprecated<bool> $_discard(::Editor::ServiceProviderCollection&);
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
79
80} // namespace Editor::Transactions
Definition BlockSource.h:73
Definition ServiceProviderCollection.h:7
MCAPI ::Scripting::Result_deprecated< bool > $_discard(::Editor::ServiceProviderCollection &)
MCAPI BlockChangedPendingOperation(::std::vector<::Editor::Transactions::BlockChangeIntentData > &&blocks)
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
MCAPI void * $ctor(::std::vector<::Editor::Transactions::BlockChangeIntentData > &&blocks)
Definition IOperation.h:15
Definition IPendingOperation.h:16
Definition BlockChangeIntentData.h:13
Definition BlockChangedOperationData.h:13
Definition Alias.h:14