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
ContextId; }
11
// clang-format on
12
13
class
ScriptPrintLogger
:
public
::Scripting::IPrinter
{
14
public
:
15
// virtual functions
16
// NOLINTBEGIN
17
// vIndex: 0
18
virtual
~ScriptPrintLogger
()
/*override*/
=
default
;
19
20
// vIndex: 1
21
virtual
void
onInfo(
::Scripting::ContextId
, ::std::string_view message)
const
/*override*/
;
22
23
// vIndex: 2
24
virtual
void
onWarn(
::Scripting::ContextId
, ::std::string_view message)
const
/*override*/
;
25
26
// vIndex: 3
27
virtual
void
onError(
::Scripting::ContextId
, ::std::string_view message)
const
/*override*/
;
28
29
// vIndex: 4
30
virtual
void
onException(
::Scripting::ContextId
, ::entt::meta_any
const
& e)
const
/*override*/
;
31
32
// vIndex: 5
33
virtual
bool
shouldPrintException(
::Scripting::ContextId
, ::entt::meta_any
const
& e)
const
/*override*/
;
34
35
// vIndex: 6
36
virtual
void
onPromiseRejection(
::Scripting::ContextId
, ::std::string_view message,
bool
isHandled)
const
37
/*override*/
;
38
// NOLINTEND
39
40
public
:
41
// destructor thunk
42
// NOLINTBEGIN
43
44
// NOLINTEND
45
46
public
:
47
// virtual function thunks
48
// NOLINTBEGIN
49
MCAPI
void
$onInfo(
::Scripting::ContextId
, ::std::string_view message)
const
;
50
51
MCAPI
void
$onWarn(
::Scripting::ContextId
, ::std::string_view message)
const
;
52
53
MCAPI
void
$onError(
::Scripting::ContextId
, ::std::string_view message)
const
;
54
55
MCAPI
void
$onException(
::Scripting::ContextId
, ::entt::meta_any
const
& e)
const
;
56
57
MCAPI
bool
$shouldPrintException(
::Scripting::ContextId
, ::entt::meta_any
const
& e)
const
;
58
59
MCAPI
void
$onPromiseRejection(
::Scripting::ContextId
, ::std::string_view message,
bool
isHandled)
const
;
60
// NOLINTEND
61
62
public
:
63
// vftables
64
// NOLINTBEGIN
65
MCAPI
static
void
** $vftable();
66
// NOLINTEND
67
};
ScriptPrintLogger
Definition
ScriptPrintLogger.h:13
Scripting::IPrinter
Definition
IPrinter.h:12
Scripting::ContextId
Definition
ContextId.h:7
src
mc
scripting
ScriptPrintLogger.h
Generated on Sat Apr 26 2025 05:55:55 for LeviLamina by
1.12.0