Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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/script_core/lifetime_registry/scripting/TypedObjectHandle.h"
7
#include "mc/deps/script_core/script_engine/scripting/Closure.h"
8
#include "mc/deps/script_core/script_engine/scripting/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
&,
::gametest::IGameTestFunctionContext
& fnContext)
const
/*override*/
;
43
// NOLINTEND
44
45
public
:
46
// member functions
47
// NOLINTBEGIN
48
MCNAPI
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
MCNAPI
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
MCNAPI ::std::unique_ptr<::gametest::IGameTestFunctionRunResult>
73
$run
(
::gametest::BaseGameTestHelper
&,
::gametest::IGameTestFunctionContext
& fnContext)
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:17
ScriptModuleGameTest::ScriptAsyncGameTestFunction::$ctor
MCAPI void * $ctor(::Scripting::WeakLifetimeScope scope, ::Scripting::Closure< ::Scripting::Future< void >(::Scripting::TypedObjectHandle<::ScriptModuleGameTest::ScriptGameTestHelper >)> functionHandle, ::std::string const &testName)
ScriptModuleGameTest::ScriptAsyncGameTestFunction::$vftable
static MCAPI void ** $vftable()
ScriptModuleGameTest::ScriptAsyncGameTestFunction::ScriptAsyncGameTestFunction
MCAPI ScriptAsyncGameTestFunction(::Scripting::WeakLifetimeScope scope, ::Scripting::Closure< ::Scripting::Future< void >(::Scripting::TypedObjectHandle<::ScriptModuleGameTest::ScriptGameTestHelper >)> functionHandle, ::std::string const &testName)
ScriptModuleGameTest::ScriptAsyncGameTestFunction::$run
MCAPI ::std::unique_ptr<::gametest::IGameTestFunctionRunResult > $run(::gametest::BaseGameTestHelper &, ::gametest::IGameTestFunctionContext &fnContext) const
ScriptModuleGameTest::ScriptGameTestHelper
Definition
ScriptGameTestHelper.h:44
Scripting::Closure
Definition
Closure.h:8
Scripting::Future
Definition
Future.h:8
Scripting::WeakLifetimeScope
Definition
WeakLifetimeScope.h:12
gametest::BaseGameTestHelper
Definition
BaseGameTestHelper.h:32
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