LeviLamina
Loading...
Searching...
No Matches
ScriptSentrySession.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/debug/SentryBreadcrumbLevel.h"
7
8// auto generated forward declare list
9// clang-format off
11namespace ScriptModuleDiagnostics { class IScriptSentryRequestSender; }
12namespace ScriptModuleDiagnostics { struct ScriptSentrySessionParameters; }
13namespace Scripting { struct BaseError; }
14// clang-format on
15
16namespace ScriptModuleDiagnostics {
17
19public:
20 // ScriptSentrySession inner types declare
21 // clang-format off
22 struct Breadcrumb;
23 // clang-format on
24
25 // ScriptSentrySession inner types define
26 struct Breadcrumb {
27 public:
28 // member variables
29 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 Breadcrumb& operator=(Breadcrumb const&);
39 Breadcrumb(Breadcrumb const&);
40 Breadcrumb();
41
42 public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI ~Breadcrumb();
46 // NOLINTEND
47
48 public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCNAPI void $dtor();
52 // NOLINTEND
53 };
54
55public:
56 // member variables
57 // NOLINTBEGIN
68 // NOLINTEND
69
70public:
71 // prevent constructor by default
75
76public:
77 // member functions
78 // NOLINTBEGIN
80 ::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender> requestSender,
82 );
83
84 MCNAPI void _fillError(::SentryEnvelopePayload& result, ::Scripting::BaseError const& error);
85
86 MCNAPI void _sendEvent(::SentryEnvelopePayload eventPayload) const;
87
88 MCNAPI void
89 addBreadcrumb(::SentryBreadcrumbLevel level, ::std::string message, ::std::optional<::std::string> category);
90
92 // NOLINTEND
93
94public:
95 // constructor thunks
96 // NOLINTBEGIN
97 MCNAPI void* $ctor(
98 ::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender> requestSender,
100 );
101 // NOLINTEND
102
103public:
104 // destructor thunk
105 // NOLINTBEGIN
106 MCNAPI void $dtor();
107 // NOLINTEND
108};
109
110} // namespace ScriptModuleDiagnostics
Definition ScriptSentrySession.h:18
MCAPI void _fillError(::SentryEnvelopePayload &result, ::Scripting::BaseError const &error)
MCAPI void _sendEvent(::SentryEnvelopePayload eventPayload) const
MCAPI void * $ctor(::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender > requestSender, ::ScriptModuleDiagnostics::ScriptSentrySessionParameters parameters)
MCAPI ScriptSentrySession(::std::unique_ptr<::ScriptModuleDiagnostics::IScriptSentryRequestSender > requestSender, ::ScriptModuleDiagnostics::ScriptSentrySessionParameters parameters)
MCAPI void addBreadcrumb(::SentryBreadcrumbLevel level, ::std::string message, ::std::optional<::std::string > category)
Definition ScriptSentrySessionParameters.h:7
Definition BaseError.h:12
Definition SentryEnvelopePayload.h:10
Definition Alias.h:14