LeviLamina
Loading...
Searching...
No Matches
TransactionContext.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/runtime/Result.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
namespace
Editor {
class
ServiceProviderCollection; }
11
namespace
Editor::Transactions {
class
IOperation; }
12
// clang-format on
13
14
namespace
Editor::Transactions {
15
16
class
TransactionContext
{
17
public
:
18
// TransactionContext inner types define
19
enum class
OperationErrorHandling :
int
{
20
ContinueOnError = 0,
21
StopOnError = 1,
22
};
23
24
public
:
25
// member variables
26
// NOLINTBEGIN
27
::ll::UntypedStorage<8, 32>
mUnk94a2cb;
28
::ll::UntypedStorage<8, 16>
mUnk95977f;
29
::ll::UntypedStorage<8, 24>
mUnkcc2a0c;
30
::ll::UntypedStorage<8, 24>
mUnk4549ce;
31
::ll::UntypedStorage<4, 4>
mUnk1afd03;
32
// NOLINTEND
33
34
public
:
35
// prevent constructor by default
36
TransactionContext
& operator=(
TransactionContext
const
&);
37
TransactionContext
(
TransactionContext
const
&);
38
TransactionContext
();
39
40
public
:
41
// member functions
42
// NOLINTBEGIN
43
MCAPI
TransactionContext
(
44
::std::string name,
45
::Editor::Transactions::TransactionContext::OperationErrorHandling errorHandling
46
);
47
48
MCAPI ::Scripting::Result<void> _redo(
::Editor::ServiceProviderCollection
& serviceProviders)
const
;
49
50
MCAPI ::Scripting::Result<void> _undo(
::Editor::ServiceProviderCollection
& serviceProviders)
const
;
51
52
MCFOLD
void
addOperation(::std::unique_ptr<::Editor::Transactions::IOperation> operation);
53
54
MCAPI
~TransactionContext
();
55
// NOLINTEND
56
57
public
:
58
// constructor thunks
59
// NOLINTBEGIN
60
MCAPI
void
*
61
$ctor(::std::string name, ::Editor::Transactions::TransactionContext::OperationErrorHandling errorHandling);
62
// NOLINTEND
63
64
public
:
65
// destructor thunk
66
// NOLINTBEGIN
67
MCAPI
void
$dtor();
68
// NOLINTEND
69
};
70
71
}
// namespace Editor::Transactions
Editor::ServiceProviderCollection
Definition
ServiceProviderCollection.h:7
Editor::Transactions::TransactionContext
Definition
TransactionContext.h:16
ll::UntypedStorage
Definition
Alias.h:14
src
mc
common
editor
TransactionContext.h
Generated on Sat Apr 26 2025 05:55:23 for LeviLamina by
1.12.0