LeviLamina
Loading...
Searching...
No Matches
ScriptDebugCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7
8// auto generated forward declare list
9// clang-format off
10class CommandOutput;
11class IScriptDebugger;
13// clang-format on
14
16public:
17 // ScriptDebugCommand inner types define
18 enum class DebuggerAction : int {
19 Listen = 0,
20 Connect = 1,
21 Close = 2,
22 };
23
24 enum class DiagnosticsAction : int {
25 StartCapture = 0,
26 StopCapture = 1,
27 };
28
29 enum class Mode : int {
30 Unknown = 0,
31 Debugger = 1,
32 Profiler = 2,
33 Diagnostics = 3,
34 };
35
36 enum class ProfilerAction : int {
37 Start = 0,
38 Stop = 1,
39 };
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 virtual ~ScriptDebugCommand() /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI void _handleDebuggerAttach(
51 ::IScriptDebugger* debugger,
52 ::std::string const& locPrefix,
53 ::ScriptDebugCommand::DebuggerAction action,
54 ::std::string const& host,
55 ushort port,
56 ::CommandOutput& output
57 ) const;
58
59 MCAPI void _handleDiagnosticsAction(
60 ::ScriptDiagnosticsPublishToFile* diagnosticsPublishToFile,
61 ::std::string const& locPrefix,
62 ::ScriptDebugCommand::DiagnosticsAction action,
63 ::CommandOutput& output
64 ) const;
65
66 MCAPI void _handleProfilerAction(
67 ::IScriptDebugger* debugger,
68 ::std::string const& locPrefix,
69 ::ScriptDebugCommand::ProfilerAction action,
70 ::CommandOutput& output
71 ) const;
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCFOLD void $dtor();
78 // NOLINTEND
79};
Definition CommandOutput.h:19
Definition Command.h:17
Definition IScriptDebugger.h:11
Definition ScriptDebugCommand.h:15
Definition ScriptDiagnosticsPublishToFile.h:16