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
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ScriptModuleDiagnostics::ScriptSentrySession>> mSentrySession;
20 // NOLINTEND
21
22public:
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(
32 ::Scripting::BaseError const& error,
33 ::entt::meta_any const&,
34 bool isHandled
35 ) const /*override*/;
36 // NOLINTEND
37
38public:
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(
45 ::Scripting::BaseError const& error,
46 ::entt::meta_any const&,
47 bool isHandled
48 ) const;
49
50
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
Definition ScriptSentrySession.h:20
Definition ScriptSentryLogger.h:15
static MCAPI void ** $vftable()
Definition IPrinter.h:13
Definition BaseError.h:12
Definition ContextId.h:7