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
10
class
Block
;
11
class
BlockSource
;
12
namespace
gametest {
class
BaseGameTestInstance; }
13
namespace
gametest {
struct
GameTestError; }
14
// clang-format on
15
16
class
MinecraftReportGameListener
:
public
::gametest::IGameTestListener
,
17
public
::std::enable_shared_from_this<::MinecraftReportGameListener> {
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::UntypedStorage<8, 8>
mUnk80c891;
22
::ll::UntypedStorage<8, 8>
mUnk479f87;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
MinecraftReportGameListener
& operator=(
MinecraftReportGameListener
const
&);
28
MinecraftReportGameListener
(
MinecraftReportGameListener
const
&);
29
MinecraftReportGameListener
();
30
31
public
:
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
47
public
:
48
// member functions
49
// NOLINTBEGIN
50
MCAPI ::std::string _generateErrorDescription(
::gametest::GameTestError
const
& error)
const
;
51
52
MCAPI
void
_reportFailure(
::gametest::GameTestError
const
& error,
::BlockSource
& region);
53
54
MCAPI
void
_say(::std::string
const
& chatColor, ::std::string
const
& text);
55
56
MCAPI
void
_spawnBeacon(
::Block
const
& glassType);
57
58
MCAPI
void
_spawnLectern(::std::string
const
& text);
59
60
MCAPI
void
_visualizeFailedTest(
::gametest::GameTestError
const
& error,
::BlockSource
&);
61
// NOLINTEND
62
63
public
:
64
// destructor thunk
65
// NOLINTBEGIN
66
67
// NOLINTEND
68
69
public
:
70
// virtual function thunks
71
// NOLINTBEGIN
72
MCAPI
void
$onTestStructureLoaded(
::gametest::BaseGameTestInstance
& testInstance);
73
74
MCAPI
void
$onTestPassed(
::gametest::BaseGameTestInstance
& testInstance);
75
76
MCAPI
void
$onTestFailed(
::gametest::BaseGameTestInstance
& testInstance);
77
// NOLINTEND
78
79
public
:
80
// vftables
81
// NOLINTBEGIN
82
MCAPI
static
void
** $vftable();
83
// NOLINTEND
84
};
BlockSource
Definition
BlockSource.h:67
Block
Definition
Block.h:36
MinecraftReportGameListener
Definition
MinecraftReportGameListener.h:17
gametest::BaseGameTestInstance
Definition
BaseGameTestInstance.h:23
gametest::IGameTestListener
Definition
IGameTestListener.h:12
gametest::GameTestError
Definition
GameTestError.h:12
ll::UntypedStorage
Definition
Alias.h:14
src
mc
gametest
MinecraftReportGameListener.h
Generated on Sat Apr 26 2025 05:55:45 for LeviLamina by
1.12.0