LeviLamina
Loading...
Searching...
No Matches
ScriptPrintLogger.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 Scripting { struct ContextId; }
11// clang-format on
12
14public:
15 // virtual functions
16 // NOLINTBEGIN
17 // vIndex: 0
18 virtual ~ScriptPrintLogger() /*override*/ = default;
19
20 // vIndex: 1
21 virtual void onInfo(::Scripting::ContextId, ::std::string_view message) const /*override*/;
22
23 // vIndex: 2
24 virtual void onWarn(::Scripting::ContextId, ::std::string_view message) const /*override*/;
25
26 // vIndex: 3
27 virtual void onError(::Scripting::ContextId, ::std::string_view message) const /*override*/;
28
29 // vIndex: 4
30 virtual void onException(::Scripting::ContextId, ::entt::meta_any const& e) const /*override*/;
31
32 // vIndex: 5
33 virtual bool shouldPrintException(::Scripting::ContextId, ::entt::meta_any const& e) const /*override*/;
34
35 // vIndex: 6
36 virtual void onPromiseRejection(::Scripting::ContextId, ::std::string_view message, bool isHandled) const
37 /*override*/;
38 // NOLINTEND
39
40public:
41 // destructor thunk
42 // NOLINTBEGIN
43
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI void $onInfo(::Scripting::ContextId, ::std::string_view message) const;
50
51 MCAPI void $onWarn(::Scripting::ContextId, ::std::string_view message) const;
52
53 MCAPI void $onError(::Scripting::ContextId, ::std::string_view message) const;
54
55 MCAPI void $onException(::Scripting::ContextId, ::entt::meta_any const& e) const;
56
57 MCAPI bool $shouldPrintException(::Scripting::ContextId, ::entt::meta_any const& e) const;
58
59 MCAPI void $onPromiseRejection(::Scripting::ContextId, ::std::string_view message, bool isHandled) const;
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCAPI static void** $vftable();
66 // NOLINTEND
67};
Definition ScriptPrintLogger.h:13
Definition IPrinter.h:12
Definition ContextId.h:7