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