LeviLamina
Loading...
Searching...
No Matches
ScriptAsyncGameTestFunction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/lifetime_registry/TypedObjectHandle.h"
7
#include "mc/deps/scripting/script_engine/Closure.h"
8
#include "mc/deps/scripting/script_engine/Future.h"
9
#include "mc/scripting/modules/gametest/BaseScriptGameTestFunction.h"
10
11
// auto generated forward declare list
12
// clang-format off
13
namespace
ScriptModuleGameTest {
class
ScriptGameTestHelper
; }
14
namespace
Scripting {
class
WeakLifetimeScope
; }
15
namespace
gametest {
class
BaseGameTestHelper
; }
16
namespace
gametest {
class
IGameTestFunctionContext
; }
17
namespace
gametest {
class
IGameTestFunctionRunResult
; }
18
// clang-format on
19
20
namespace
ScriptModuleGameTest {
21
22
class
ScriptAsyncGameTestFunction :
public
::ScriptModuleGameTest::BaseScriptGameTestFunction
{
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::TypedStorage<
27
8,
28
112,
29
::Scripting::Closure
<
30
::Scripting::Future<void>
(
::Scripting::TypedObjectHandle<::ScriptModuleGameTest::ScriptGameTestHelper>
)>>
31
mFunction;
32
// NOLINTEND
33
34
public
:
35
// prevent constructor by default
36
ScriptAsyncGameTestFunction();
37
38
public
:
39
// virtual functions
40
// NOLINTBEGIN
41
virtual ::std::unique_ptr<::gametest::IGameTestFunctionRunResult>
42
run(
::gametest::BaseGameTestHelper
& fnContext,
::gametest::IGameTestFunctionContext
&)
const
/*override*/
;
43
// NOLINTEND
44
45
public
:
46
// member functions
47
// NOLINTBEGIN
48
MCAPI ScriptAsyncGameTestFunction(
49
::Scripting::WeakLifetimeScope
scope,
50
::Scripting::Closure
<
51
::Scripting::Future<void>
(
::Scripting::TypedObjectHandle<::ScriptModuleGameTest::ScriptGameTestHelper>
)>
52
functionHandle,
53
::std::string
const
& testName
54
);
55
// NOLINTEND
56
57
public
:
58
// constructor thunks
59
// NOLINTBEGIN
60
MCAPI
void
* $ctor(
61
::Scripting::WeakLifetimeScope
scope,
62
::Scripting::Closure
<
63
::Scripting::Future<void>
(
::Scripting::TypedObjectHandle<::ScriptModuleGameTest::ScriptGameTestHelper>
)>
64
functionHandle,
65
::std::string
const
& testName
66
);
67
// NOLINTEND
68
69
public
:
70
// virtual function thunks
71
// NOLINTBEGIN
72
MCAPI ::std::unique_ptr<::gametest::IGameTestFunctionRunResult>
73
$run(
::gametest::BaseGameTestHelper
& fnContext,
::gametest::IGameTestFunctionContext
&)
const
;
74
75
76
// NOLINTEND
77
78
public
:
79
// vftables
80
// NOLINTBEGIN
81
MCNAPI
static
void
**
$vftable
();
82
// NOLINTEND
83
};
84
85
}
// namespace ScriptModuleGameTest
ScriptModuleGameTest::BaseScriptGameTestFunction
Definition
BaseScriptGameTestFunction.h:19
ScriptModuleGameTest::ScriptAsyncGameTestFunction::$vftable
static MCAPI void ** $vftable()
ScriptModuleGameTest::ScriptGameTestHelper
Definition
ScriptGameTestHelper.h:43
Scripting::Closure
Definition
Closure.h:8
Scripting::Future
Definition
Future.h:8
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:14
gametest::BaseGameTestHelper
Definition
BaseGameTestHelper.h:34
gametest::IGameTestFunctionContext
Definition
IGameTestFunctionContext.h:7
gametest::IGameTestFunctionRunResult
Definition
IGameTestFunctionRunResult.h:12
Scripting::TypedObjectHandle
Definition
TypedObjectHandle.h:8
src
mc
scripting
modules
gametest
ScriptAsyncGameTestFunction.h
Generated on
for LeviLamina by
1.16.1