Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BaseScriptGameTestFunction.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/WeakLifetimeScope.h"
7#include "mc/gametest/BaseGameTestFunction.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace gametest { class BaseGameTestHelper; }
12namespace gametest { class IGameTestFunctionContext; }
13// clang-format on
14
15namespace ScriptModuleGameTest {
16
17class BaseScriptGameTestFunction : public ::gametest::BaseGameTestFunction {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 16, ::Scripting::WeakLifetimeScope> mScope;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 BaseScriptGameTestFunction();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~BaseScriptGameTestFunction() /*override*/ = default;
32
33 virtual ::std::unique_ptr<::gametest::IGameTestFunctionContext>
34 createContext(::gametest::BaseGameTestHelper& helper) const /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCNAPI BaseScriptGameTestFunction(::Scripting::WeakLifetimeScope scope, ::std::string const& testName);
41 // NOLINTEND
42
43public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCNAPI void* $ctor(::Scripting::WeakLifetimeScope scope, ::std::string const& testName);
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCNAPI ::std::unique_ptr<::gametest::IGameTestFunctionContext>
54
55
56 // NOLINTEND
57};
58
59} // namespace ScriptModuleGameTest
MCAPI ::std::unique_ptr<::gametest::IGameTestFunctionContext > $createContext(::gametest::BaseGameTestHelper &helper) const
MCAPI BaseScriptGameTestFunction(::Scripting::WeakLifetimeScope scope, ::std::string const &testName)
MCAPI void * $ctor(::Scripting::WeakLifetimeScope scope, ::std::string const &testName)
Definition WeakLifetimeScope.h:12
Definition BaseGameTestFunction.h:14
Definition BaseGameTestHelper.h:32
Definition IGameTestFunctionContext.h:7