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& helper) 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 void _addTag(::std::string tag);
69
70 MCNAPI bool hasTag(::std::string const& tag) const;
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCNAPI void* $ctor(
77 ::std::string batchName,
78 ::std::string testName,
79 ::std::string structureName,
80 int maxTicks,
81 int setupTicks,
82 int padding,
83 bool rotate,
84 bool required,
85 int requiredSuccesses,
86 int attempts,
87 ::std::vector<::std::string> tags
88 );
89 // NOLINTEND
90
91public:
92 // destructor thunk
93 // NOLINTBEGIN
94 MCNAPI void $dtor();
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
103
104} // 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 void _addTag(::std::string tag)
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