LeviLamina
Loading...
Searching...
No Matches
BackgroundTaskBase.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/threading/TaskRunResult.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
IBackgroundTaskOwner
;
11
class
ITaskExecutionContext
;
12
struct
TaskStartInfo
;
13
// clang-format on
14
15
class
BackgroundTaskBase
{
16
public
:
17
// BackgroundTaskBase inner types declare
18
// clang-format off
19
class
CurrentTaskAutoScope
;
20
class
PendingComparer
;
21
class
PriorityComparer
;
22
// clang-format on
23
24
// BackgroundTaskBase inner types define
25
class
PriorityComparer
{};
26
27
class
PendingComparer
{};
28
29
class
CurrentTaskAutoScope
{
30
public
:
31
// member variables
32
// NOLINTBEGIN
33
::ll::UntypedStorage<8, 8>
mUnk209247;
34
// NOLINTEND
35
36
public
:
37
// prevent constructor by default
38
CurrentTaskAutoScope
& operator=(
CurrentTaskAutoScope
const
&);
39
CurrentTaskAutoScope
(
CurrentTaskAutoScope
const
&);
40
CurrentTaskAutoScope
();
41
42
public
:
43
// member functions
44
// NOLINTBEGIN
45
MCNAPI
~CurrentTaskAutoScope
();
46
// NOLINTEND
47
48
public
:
49
// destructor thunk
50
// NOLINTBEGIN
51
MCNAPI
void
$dtor
();
52
// NOLINTEND
53
};
54
55
public
:
56
// member variables
57
// NOLINTBEGIN
58
::ll::UntypedStorage<1, 1>
mUnk2ebc0e;
59
::ll::UntypedStorage<8, 8>
mUnk7e9993;
60
::ll::UntypedStorage<8, 8>
mUnk2e5c7a;
61
::ll::UntypedStorage<8, 16>
mUnk2bac6e;
62
::ll::UntypedStorage<4, 4>
mUnkb3642a;
63
::ll::UntypedStorage<4, 4>
mUnk96ebbd;
64
::ll::UntypedStorage<4, 4>
mUnkcad031;
65
::ll::UntypedStorage<8, 8>
mUnk8b825b;
66
::ll::UntypedStorage<8, 32>
mUnkd0c014;
67
::ll::UntypedStorage<1, 1>
mUnk3605cd;
68
// NOLINTEND
69
70
public
:
71
// prevent constructor by default
72
BackgroundTaskBase
& operator=(
BackgroundTaskBase
const
&);
73
BackgroundTaskBase
(
BackgroundTaskBase
const
&);
74
BackgroundTaskBase
();
75
76
public
:
77
// virtual functions
78
// NOLINTBEGIN
79
// vIndex: 0
80
virtual
~BackgroundTaskBase
();
81
82
// vIndex: 1
83
virtual
void
cancel() = 0;
84
85
// vIndex: 2
86
virtual
bool
isReady()
const
= 0;
87
88
// vIndex: 3
89
virtual ::TaskRunResult run(
::ITaskExecutionContext
const
*) = 0;
90
// NOLINTEND
91
92
public
:
93
// member functions
94
// NOLINTBEGIN
95
MCNAPI
96
BackgroundTaskBase
(::gsl::not_null<::IBackgroundTaskOwner*> group,
::TaskStartInfo
const
& startInfo,
bool
isAsync);
97
98
MCNAPI
void
setNext
(::std::shared_ptr<::BackgroundTaskBase> next);
99
// NOLINTEND
100
101
public
:
102
// static variables
103
// NOLINTBEGIN
104
MCNAPI static ::BackgroundTaskBase*&
gCurrentTask
();
105
// NOLINTEND
106
107
public
:
108
// constructor thunks
109
// NOLINTBEGIN
110
MCNAPI
void
*
$ctor
(::gsl::not_null<::IBackgroundTaskOwner*> group,
::TaskStartInfo
const
& startInfo,
bool
isAsync);
111
// NOLINTEND
112
113
public
:
114
// destructor thunk
115
// NOLINTBEGIN
116
MCNAPI
void
$dtor
();
117
// NOLINTEND
118
119
public
:
120
// virtual function thunks
121
// NOLINTBEGIN
122
123
// NOLINTEND
124
125
public
:
126
// vftables
127
// NOLINTBEGIN
128
MCNAPI
static
void
**
$vftable
();
129
// NOLINTEND
130
};
BackgroundTaskBase::CurrentTaskAutoScope
Definition
BackgroundTaskBase.h:29
BackgroundTaskBase::CurrentTaskAutoScope::$dtor
MCAPI void $dtor()
BackgroundTaskBase::CurrentTaskAutoScope::~CurrentTaskAutoScope
MCAPI ~CurrentTaskAutoScope()
BackgroundTaskBase::PendingComparer
Definition
BackgroundTaskBase.h:27
BackgroundTaskBase::PriorityComparer
Definition
BackgroundTaskBase.h:25
BackgroundTaskBase
Definition
BackgroundTaskBase.h:15
BackgroundTaskBase::$vftable
static MCAPI void ** $vftable()
BackgroundTaskBase::$ctor
MCAPI void * $ctor(::gsl::not_null<::IBackgroundTaskOwner * > group, ::TaskStartInfo const &startInfo, bool isAsync)
BackgroundTaskBase::gCurrentTask
static MCAPI ::BackgroundTaskBase *& gCurrentTask()
BackgroundTaskBase::BackgroundTaskBase
MCAPI BackgroundTaskBase(::gsl::not_null<::IBackgroundTaskOwner * > group, ::TaskStartInfo const &startInfo, bool isAsync)
BackgroundTaskBase::$dtor
MCAPI void $dtor()
BackgroundTaskBase::setNext
MCAPI void setNext(::std::shared_ptr<::BackgroundTaskBase > next)
IBackgroundTaskOwner
Definition
IBackgroundTaskOwner.h:17
ITaskExecutionContext
Definition
ITaskExecutionContext.h:5
TaskStartInfo
Definition
TaskStartInfo.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
core
threading
BackgroundTaskBase.h
Generated on Fri Jun 13 2025 05:04:23 for LeviLamina by
1.12.0