LeviLamina
Loading...
Searching...
No Matches
BaseGameTestFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace gametest { class BaseGameTestHelper; }
8namespace gametest { class IGameTestFunctionContext; }
9namespace gametest { class IGameTestFunctionRunResult; }
10// clang-format on
11
12namespace gametest {
13
15public:
16 // member variables
17 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~BaseGameTestFunction();
44
45 // vIndex: 1
46 virtual ::std::unique_ptr<::gametest::IGameTestFunctionContext>
47 createContext(::gametest::BaseGameTestHelper&) const = 0;
48
49 // vIndex: 2
50 virtual ::std::unique_ptr<::gametest::IGameTestFunctionRunResult>
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
58 ::std::string batchName,
59 ::std::string testName,
60 ::std::string structureName,
61 int maxTicks,
62 int setupTicks,
63 int padding,
64 bool rotate,
65 bool required,
66 int requiredSuccesses,
67 int attempts,
68 ::std::vector<::std::string> tags
69 );
70
71 MCNAPI bool hasTag(::std::string const& tag) const;
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCNAPI void* $ctor(
78 ::std::string batchName,
79 ::std::string testName,
80 ::std::string structureName,
81 int maxTicks,
82 int setupTicks,
83 int padding,
84 bool rotate,
85 bool required,
86 int requiredSuccesses,
87 int attempts,
88 ::std::vector<::std::string> tags
89 );
90 // NOLINTEND
91
92public:
93 // destructor thunk
94 // NOLINTBEGIN
95 MCNAPI void $dtor();
96 // NOLINTEND
97
98public:
99 // virtual function thunks
100 // NOLINTBEGIN
101
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCNAPI static void** $vftable();
108 // NOLINTEND
109};
110
111} // namespace gametest
Definition BaseGameTestFunction.h:14
MCAPI bool hasTag(::std::string const &tag) const
static MCAPI void ** $vftable()
MCAPI void * $ctor(::std::string batchName, ::std::string testName, ::std::string structureName, int maxTicks, int setupTicks, int padding, bool rotate, bool required, int requiredSuccesses, int attempts, ::std::vector<::std::string > tags)
MCAPI BaseGameTestFunction(::std::string batchName, ::std::string testName, ::std::string structureName, int maxTicks, int setupTicks, int padding, bool rotate, bool required, int requiredSuccesses, int attempts, ::std::vector<::std::string > tags)
Definition BaseGameTestHelper.h:32
Definition IGameTestFunctionContext.h:7
Definition Alias.h:14