LeviLamina
Loading...
Searching...
No Matches
ScriptSentryLogger.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
ScriptModuleDiagnostics {
class
ScriptSentrySession
; }
11
namespace
Scripting {
struct
BaseError
; }
12
namespace
Scripting {
struct
ContextId
; }
13
// clang-format on
14
15
class
ScriptSentryLogger
:
public
::Scripting::IPrinter
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<8, 16, ::std::shared_ptr<::ScriptModuleDiagnostics::ScriptSentrySession>> mSentrySession;
20
// NOLINTEND
21
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual
~ScriptSentryLogger
()
/*override*/
=
default
;
26
27
virtual
void
onException(
::Scripting::ContextId
,
::Scripting::BaseError
const
& error, ::entt::meta_any
const
&)
const
28
/*override*/
;
29
30
virtual
void
onPromiseRejection(
31
::Scripting::ContextId
,
32
::Scripting::BaseError
const
& error,
33
::entt::meta_any
const
&,
34
bool
isHandled
35
)
const
/*override*/
;
36
// NOLINTEND
37
38
public
:
39
// virtual function thunks
40
// NOLINTBEGIN
41
MCAPI
void
$onException(
::Scripting::ContextId
,
::Scripting::BaseError
const
& error, ::entt::meta_any
const
&)
const
;
42
43
MCAPI
void
$onPromiseRejection(
44
::Scripting::ContextId
,
45
::Scripting::BaseError
const
& error,
46
::entt::meta_any
const
&,
47
bool
isHandled
48
)
const
;
49
50
51
// NOLINTEND
52
53
public
:
54
// vftables
55
// NOLINTBEGIN
56
MCNAPI
static
void
**
$vftable
();
57
// NOLINTEND
58
};
ScriptModuleDiagnostics::ScriptSentrySession
Definition
ScriptSentrySession.h:20
ScriptSentryLogger
Definition
ScriptSentryLogger.h:15
ScriptSentryLogger::$vftable
static MCAPI void ** $vftable()
Scripting::IPrinter
Definition
IPrinter.h:13
Scripting::BaseError
Definition
BaseError.h:12
Scripting::ContextId
Definition
ContextId.h:7
src
mc
scripting
ScriptSentryLogger.h
Generated on
for LeviLamina by
1.16.1