Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptDebuggerBaseProfilerRequestHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/profile/ProfilerControlAction.h"
8#include "mc/profile/ProfilerControlTarget.h"
9#include "mc/scripting/debugger/request_handlers/IScriptDebuggerRequestHandler.h"
10
11// auto generated forward declare list
12// clang-format off
14class ScriptDebugger;
15namespace Bedrock::Profiling::Control { struct ProfilerControlArgs; }
16namespace ScriptDebuggerMessages { struct DebuggerRequestMessage; }
17// clang-format on
18
19class ScriptDebuggerBaseProfilerRequestHandler : public ::IScriptDebuggerRequestHandler {
20public:
21 // ScriptDebuggerBaseProfilerRequestHandler inner types declare
22 // clang-format off
23 struct PendingRequest;
24 // clang-format on
25
26 // ScriptDebuggerBaseProfilerRequestHandler inner types define
27 struct PendingRequest {
28 public:
29 // member variables
30 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 PendingRequest& operator=(PendingRequest const&);
37 PendingRequest(PendingRequest const&);
38 PendingRequest();
39 };
40
41public:
42 // member variables
43 // NOLINTBEGIN
47 // NOLINTEND
48
49public:
50 // prevent constructor by default
51 ScriptDebuggerBaseProfilerRequestHandler& operator=(ScriptDebuggerBaseProfilerRequestHandler const&);
52 ScriptDebuggerBaseProfilerRequestHandler(ScriptDebuggerBaseProfilerRequestHandler const&);
53 ScriptDebuggerBaseProfilerRequestHandler();
54
55public:
56 // virtual functions
57 // NOLINTBEGIN
58 virtual void update(::ScriptDebugger& debugger) /*override*/;
59
60 virtual void onDisconnect(::ScriptDebugger& debugger) /*override*/;
61 // NOLINTEND
62
63public:
64 // member functions
65 // NOLINTBEGIN
68 ::Bedrock::Profiling::Control::ProfilerControlTarget profilerTarget
69 );
70
73 ::ScriptDebugger& debugger,
74 ::Bedrock::Profiling::Control::ProfilerControlAction action,
76 );
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCNAPI void* $ctor(
84 ::Bedrock::Profiling::Control::ProfilerControlTarget profilerTarget
85 );
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91 MCNAPI void $update(::ScriptDebugger& debugger);
92
93 MCNAPI void $onDisconnect(::ScriptDebugger& debugger);
94
95
96 // NOLINTEND
97};
Definition NonOwnerPointer.h:9
Definition IScriptDebuggerRequestHandler.h:10
Definition LocalProfilerControlBroker.h:11
MCAPI void * $ctor(::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > profilerControlBroker, ::Bedrock::Profiling::Control::ProfilerControlTarget profilerTarget)
MCAPI void $onDisconnect(::ScriptDebugger &debugger)
MCAPI void _queueControlRequest(::ScriptDebuggerMessages::DebuggerRequestMessage const &request, ::ScriptDebugger &debugger, ::Bedrock::Profiling::Control::ProfilerControlAction action, ::Bedrock::Profiling::Control::ProfilerControlArgs args)
MCAPI void $update(::ScriptDebugger &debugger)
MCAPI ScriptDebuggerBaseProfilerRequestHandler(::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > profilerControlBroker, ::Bedrock::Profiling::Control::ProfilerControlTarget profilerTarget)
Definition ScriptDebugger.h:23
Definition ProfilerControlArgs.h:7
Definition ScriptDebuggerBaseProfilerRequestHandler.h:27
Definition DebuggerRequestMessage.h:16
Definition Alias.h:14