LeviLamina
Loading...
Searching...
No Matches
MinecraftReportGameListener.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/gametest/framework/IGameTestListener.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockSource;
12namespace gametest { class BaseGameTestInstance; }
13namespace gametest { struct GameTestError; }
14// clang-format on
15
17 public ::std::enable_shared_from_this<::MinecraftReportGameListener> {
18public:
19 // member variables
20 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~MinecraftReportGameListener() /*override*/ = default;
36
37 // vIndex: 1
38 virtual void onTestStructureLoaded(::gametest::BaseGameTestInstance& testInstance) /*override*/;
39
40 // vIndex: 2
41 virtual void onTestPassed(::gametest::BaseGameTestInstance& testInstance) /*override*/;
42
43 // vIndex: 3
44 virtual void onTestFailed(::gametest::BaseGameTestInstance& testInstance) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCNAPI ::std::string _generateErrorDescription(::gametest::GameTestError const& error) const;
51
52 MCNAPI void _reportFailure(::gametest::GameTestError const& error, ::BlockSource& region);
53
54 MCNAPI void _say(::std::string const& chatColor, ::std::string const& text);
55
56 MCNAPI void _spawnBeacon(::Block const& glassType);
57
58 MCNAPI void _spawnLectern(::std::string const& text);
59
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
67
69
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition BlockSource.h:67
Definition Block.h:38
Definition MinecraftReportGameListener.h:17
MCAPI void $onTestPassed(::gametest::BaseGameTestInstance &testInstance)
MCAPI void _reportFailure(::gametest::GameTestError const &error, ::BlockSource &region)
MCAPI void _spawnLectern(::std::string const &text)
static MCAPI void ** $vftable()
MCAPI void $onTestStructureLoaded(::gametest::BaseGameTestInstance &testInstance)
MCAPI void $onTestFailed(::gametest::BaseGameTestInstance &testInstance)
MCAPI void _spawnBeacon(::Block const &glassType)
MCAPI void _visualizeFailedTest(::gametest::GameTestError const &error, ::BlockSource &)
MCAPI::std::string _generateErrorDescription(::gametest::GameTestError const &error) const
MCAPI void _say(::std::string const &chatColor, ::std::string const &text)
Definition BaseGameTestInstance.h:23
Definition IGameTestListener.h:12
Definition GameTestError.h:16
Definition Alias.h:14