LeviLamina
Loading...
Searching...
No Matches
ScriptPrintLogger.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/runtime/IPrinter.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
namespace
Scripting {
struct
BaseError; }
11
namespace
Scripting {
struct
ContextId; }
12
// clang-format on
13
14
class
ScriptPrintLogger
:
public
::Scripting::IPrinter
{
15
public
:
16
// virtual functions
17
// NOLINTBEGIN
18
// vIndex: 0
19
virtual
~ScriptPrintLogger
()
/*override*/
=
default
;
20
21
// vIndex: 1
22
virtual
void
onInfo(
::Scripting::ContextId
, ::std::string_view message)
const
/*override*/
;
23
24
// vIndex: 2
25
virtual
void
onWarn(
::Scripting::ContextId
, ::std::string_view message)
const
/*override*/
;
26
27
// vIndex: 3
28
virtual
void
onError(
::Scripting::ContextId
, ::std::string_view message)
const
/*override*/
;
29
30
// vIndex: 4
31
virtual
void
onException(
::Scripting::ContextId
,
::Scripting::BaseError
const
& error, ::entt::meta_any
const
&)
const
32
/*override*/
;
33
34
// vIndex: 5
35
virtual
bool
36
shouldPrintException(
::Scripting::ContextId
,
::Scripting::BaseError
const
&, ::entt::meta_any
const
& errorAny)
const
37
/*override*/
;
38
39
// vIndex: 6
40
virtual
void
onPromiseRejection(
41
::Scripting::ContextId
,
42
::Scripting::BaseError
const
& error,
43
::entt::meta_any
const
&,
44
bool
isHandled
45
)
const
/*override*/
;
46
// NOLINTEND
47
48
public
:
49
// virtual function thunks
50
// NOLINTBEGIN
51
MCAPI
void
$onInfo(
::Scripting::ContextId
, ::std::string_view message)
const
;
52
53
MCAPI
void
$onWarn(
::Scripting::ContextId
, ::std::string_view message)
const
;
54
55
MCAPI
void
$onError(
::Scripting::ContextId
, ::std::string_view message)
const
;
56
57
MCAPI
void
$onException(
::Scripting::ContextId
,
::Scripting::BaseError
const
& error, ::entt::meta_any
const
&)
const
;
58
59
MCAPI
bool
$shouldPrintException(
60
::Scripting::ContextId
,
61
::Scripting::BaseError
const
&,
62
::entt::meta_any
const
& errorAny
63
)
const
;
64
65
MCAPI
void
$onPromiseRejection(
66
::Scripting::ContextId
,
67
::Scripting::BaseError
const
& error,
68
::entt::meta_any
const
&,
69
bool
isHandled
70
)
const
;
71
// NOLINTEND
72
73
public
:
74
// vftables
75
// NOLINTBEGIN
76
MCNAPI
static
void
**
$vftable
();
77
// NOLINTEND
78
};
ScriptPrintLogger
Definition
ScriptPrintLogger.h:14
ScriptPrintLogger::$vftable
static MCAPI void ** $vftable()
Scripting::IPrinter
Definition
IPrinter.h:13
Scripting::BaseError
Definition
BaseError.h:12
Scripting::ContextId
Definition
ContextId.h:7
src-server
mc
scripting
ScriptPrintLogger.h
Generated on Tue Oct 28 2025 05:32:16 for LeviLamina by
1.12.0