LeviLamina
Loading...
Searching...
No Matches
MinecraftGameTest.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/Rotation.h"
7#include "mc/world/level/LevelListener.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12class BlockSource;
13class Dimension;
14class Level;
15namespace gametest { class BaseGameTestInstance; }
16namespace gametest { class IGameTestListener; }
17namespace gametest { struct TestParameters; }
18// clang-format on
19
20class MinecraftGameTest : public ::LevelListener {
21public:
22 // member variables
23 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 MinecraftGameTest& operator=(MinecraftGameTest const&);
33 MinecraftGameTest(MinecraftGameTest const&);
34 MinecraftGameTest();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~MinecraftGameTest() /*override*/ = default;
40
41 virtual void onLevelDestruction(::std::string const&) /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI explicit MinecraftGameTest(::Level& level);
48
49 MCNAPI void clearAllTests(::BlockSource& region);
50
51 MCNAPI ::std::string
52 runTest(::std::string const& testName, ::Dimension& dimension, ::gametest::TestParameters const& params);
53
54 MCNAPI ::std::string runTest(
55 ::std::string const& testName,
56 ::Dimension& dimension,
57 ::gametest::TestParameters const& params,
58 ::std::vector<::std::shared_ptr<::gametest::IGameTestListener>> listeners
59 );
60
61 MCNAPI ::std::string
62 runTestAt(::BlockSource& region, ::BlockPos const& structureBlockPos, ::std::optional<::Rotation> rotation);
63
64 MCNAPI ::std::vector<::std::shared_ptr<::gametest::BaseGameTestInstance>> const&
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCNAPI void* $ctor(::Level& level);
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCNAPI void $onLevelDestruction(::std::string const&);
78
79
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition Dimension.h:85
Definition LevelListener.h:28
Definition Level.h:249
MCAPI ::std::vector<::std::shared_ptr<::gametest::BaseGameTestInstance > > const & runTests(::Dimension &dimension, ::gametest::TestParameters &&params)
MCAPI::std::string runTestAt(::BlockSource &region, ::BlockPos const &structureBlockPos, ::std::optional<::Rotation > rotation)
MCAPI MinecraftGameTest(::Level &level)
MCAPI void $onLevelDestruction(::std::string const &)
static MCAPI void ** $vftable()
MCAPI void * $ctor(::Level &level)
MCAPI::std::string runTest(::std::string const &testName, ::Dimension &dimension, ::gametest::TestParameters const &params, ::std::vector<::std::shared_ptr<::gametest::IGameTestListener > > listeners)
MCAPI void clearAllTests(::BlockSource &region)
MCAPI::std::string runTest(::std::string const &testName, ::Dimension &dimension, ::gametest::TestParameters const &params)
Definition BaseGameTestInstance.h:23
Definition IGameTestListener.h:12
Definition TestParameters.h:16
Definition Alias.h:14