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
14class BaseGameTestFunction {
15public:
16 // member variables
17 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 BaseGameTestFunction& operator=(BaseGameTestFunction const&);
36 BaseGameTestFunction(BaseGameTestFunction const&);
37 BaseGameTestFunction();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~BaseGameTestFunction();
43
44 virtual ::std::unique_ptr<::gametest::IGameTestFunctionContext>
45 createContext(::gametest::BaseGameTestHelper&) const = 0;
46
47 virtual ::std::unique_ptr<::gametest::IGameTestFunctionRunResult>
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
55 ::std::string batchName,
56 ::std::string testName,
57 ::std::string structureName,
58 int maxTicks,
59 int setupTicks,
60 int padding,
61 bool rotate,
62 bool required,
63 int requiredSuccesses,
64 int attempts,
65 ::std::vector<::std::string> tags
66 );
67
68 MCNAPI bool hasTag(::std::string const& tag) const;
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCNAPI void* $ctor(
75 ::std::string batchName,
76 ::std::string testName,
77 ::std::string structureName,
78 int maxTicks,
79 int setupTicks,
80 int padding,
81 bool rotate,
82 bool required,
83 int requiredSuccesses,
84 int attempts,
85 ::std::vector<::std::string> tags
86 );
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCNAPI void $dtor();
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCNAPI static void** $vftable();
105 // NOLINTEND
106};
107
108} // namespace gametest
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 IGameTestFunctionRunResult.h:12
Definition Alias.h:14