LeviLamina
Loading...
Searching...
No Matches
IPrinter.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
Scripting {
struct
BaseError
; }
8
namespace
Scripting {
struct
ContextId
; }
9
// clang-format on
10
11
namespace
Scripting {
12
13
class
IPrinter
{
14
public
:
15
// virtual functions
16
// NOLINTBEGIN
17
virtual
~IPrinter
() =
default
;
18
19
virtual
void
onInfo(
::Scripting::ContextId
, ::std::string_view)
const
;
20
21
virtual
void
onWarn(
::Scripting::ContextId
, ::std::string_view)
const
;
22
23
virtual
void
onError(
::Scripting::ContextId
, ::std::string_view)
const
;
24
25
virtual
void
onException(
::Scripting::ContextId
,
::Scripting::BaseError
const
&, ::entt::meta_any
const
&)
const
;
26
27
virtual
bool
28
shouldPrintException(
::Scripting::ContextId
,
::Scripting::BaseError
const
&, ::entt::meta_any
const
&)
const
;
29
30
virtual
void
31
onPromiseRejection(
::Scripting::ContextId
,
::Scripting::BaseError
const
&, ::entt::meta_any
const
&,
bool
)
const
;
32
// NOLINTEND
33
34
public
:
35
// virtual function thunks
36
// NOLINTBEGIN
37
MCFOLD
void
$onInfo(
::Scripting::ContextId
, ::std::string_view)
const
;
38
39
MCFOLD
void
$onWarn(
::Scripting::ContextId
, ::std::string_view)
const
;
40
41
MCFOLD
void
$onError(
::Scripting::ContextId
, ::std::string_view)
const
;
42
43
MCFOLD
bool
44
$shouldPrintException(
::Scripting::ContextId
,
::Scripting::BaseError
const
&, ::entt::meta_any
const
&)
const
;
45
46
47
// NOLINTEND
48
};
49
50
}
// namespace Scripting
Scripting::IPrinter
Definition
IPrinter.h:13
Scripting::BaseError
Definition
BaseError.h:12
Scripting::ContextId
Definition
ContextId.h:7
src
mc
deps
scripting
runtime
IPrinter.h
Generated on
for LeviLamina by
1.16.1