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 // vIndex: 0
26 virtual ~ScriptSentryLogger() /*override*/ = default;
27
28 // vIndex: 4
29 virtual void onException(::Scripting::ContextId, ::Scripting::BaseError const& error, ::entt::meta_any const&) const
30 /*override*/;
31
32 // vIndex: 6
33 virtual void onPromiseRejection(
35 ::Scripting::BaseError const& error,
36 ::entt::meta_any const&,
37 bool isHandled
38 ) const /*override*/;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCAPI void $onException(::Scripting::ContextId, ::Scripting::BaseError const& error, ::entt::meta_any const&) const;
45
46 MCAPI void $onPromiseRejection(
48 ::Scripting::BaseError const& error,
49 ::entt::meta_any const&,
50 bool isHandled
51 ) const;
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
Definition ScriptSentryLogger.h:15
static MCAPI void ** $vftable()
Definition IPrinter.h:13
Definition BaseError.h:12
Definition ContextId.h:7