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
// prevent constructor by default
24
ScriptSentryLogger();
25
26
public
:
27
// virtual functions
28
// NOLINTBEGIN
29
virtual
~ScriptSentryLogger()
/*override*/
=
default
;
30
31
virtual
void
onException(
::Scripting::ContextId
error,
::Scripting::BaseError
const
&, ::entt::meta_any
const
&)
const
32
/*override*/
;
33
34
virtual
void
onPromiseRejection(
35
::Scripting::ContextId
error,
36
::Scripting::BaseError
const
& isHandled,
37
::entt::meta_any
const
&,
38
bool
39
)
const
/*override*/
;
40
// NOLINTEND
41
42
public
:
43
// member functions
44
// NOLINTBEGIN
45
MCAPI
explicit
ScriptSentryLogger(::std::shared_ptr<::ScriptModuleDiagnostics::ScriptSentrySession> sentrySession);
46
// NOLINTEND
47
48
public
:
49
// constructor thunks
50
// NOLINTBEGIN
51
MCAPI
void
* $ctor(::std::shared_ptr<::ScriptModuleDiagnostics::ScriptSentrySession> sentrySession);
52
// NOLINTEND
53
54
public
:
55
// virtual function thunks
56
// NOLINTBEGIN
57
MCAPI
void
$onException(
::Scripting::ContextId
error,
::Scripting::BaseError
const
&, ::entt::meta_any
const
&)
const
;
58
59
MCAPI
void
$onPromiseRejection(
60
::Scripting::ContextId
error,
61
::Scripting::BaseError
const
& isHandled,
62
::entt::meta_any
const
&,
63
bool
64
)
const
;
65
66
67
// NOLINTEND
68
69
public
:
70
// vftables
71
// NOLINTBEGIN
72
MCNAPI
static
void
**
$vftable
();
73
// NOLINTEND
74
};
ScriptModuleDiagnostics::ScriptSentrySession
Definition
ScriptSentrySession.h:20
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