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
10namespace ScriptModuleDiagnostics { class ScriptSentrySession; }
11namespace Scripting { struct BaseError; }
12namespace Scripting { struct ContextId; }
13// clang-format on
14
15class ScriptSentryLogger : public ::Scripting::IPrinter {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ScriptModuleDiagnostics::ScriptSentrySession>> mSentrySession;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 ScriptSentryLogger();
25
26public:
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(
36 ::Scripting::BaseError const& isHandled,
37 ::entt::meta_any const&,
38 bool
39 ) const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI explicit ScriptSentryLogger(::std::shared_ptr<::ScriptModuleDiagnostics::ScriptSentrySession> sentrySession);
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCAPI void* $ctor(::std::shared_ptr<::ScriptModuleDiagnostics::ScriptSentrySession> sentrySession);
52 // NOLINTEND
53
54public:
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(
61 ::Scripting::BaseError const& isHandled,
62 ::entt::meta_any const&,
63 bool
64 ) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition ScriptSentrySession.h:20
static MCAPI void ** $vftable()
Definition IPrinter.h:13
Definition BaseError.h:12
Definition ContextId.h:7